Originally Posted by
Departure
While I haven't downloaded the mist SDK or the injector ect.. I just wanted to understand exactly what your doing, Do you know about image headers and sections? dll headers are pretty much the same as PE headers only real difference is the entry point. SO knowing this you can use this to your advantage, add new section to dll write your stub code to decrypt the original code section and then jump to original code section to execute or save it as decrypted, changing the entry point in the header to start from your decryption then when decrypted change header entry point to start at original entry point before encrypting.
This is basically how crypters work, but if you want to keep it simple I suggest just write your strings to eof or resources with decryption/encryption done by the injector. also you can use compressing this way and still read eof strings which means you dont need to decompress to read your setting or other information you may have appended, This will actually reduce the original file size down