I was wondering if it was possible? If it is, is this how you do it:
I was thinking, load the entire exe file into memory.. and call a function like CreateProcess to load it from memory and not from file
Ofcourse ive never done this before so im just making it up as i go along, the reason i want to do this is so that instead of releasing alot of EXE's, i cud pack them all into 1 exe and use a main program that basically extracts them from a DAT file or something and decrypts it and loads it from memory...Code:BYTE bData[/*sizeof(exe file)*/]; //get data from file into bData CreateProcess(...bData, *FROM_MEMORY);
Anyway, im not even sure if thats how its supposed to be done..
Any help would be appreciated,