Help with masking

Hi all,

Can someone tell me how to make a masklike the one in this preloader?
I want to do my own preloader like this.

Thanks for the help,
Teriel