any reason why you need it to write to the exe itself?

what about encryption or something???

what was the topic at school? security?