Ok so I been browsing the web and asking for help and I got some help and this is what we have come up with. The goal to write random bytes in my DLL file, each time i load it. However it only randomizes the DLL crc 1 time.
The .exe file is the one that reads out the DLL bytes and then writes over certain area randomly, but I dunno why it is only random crc 1 time..
Heres the code.
in the DLL.
Been trying to figure it out for days now, no luck.Code:
Again first run of the exe. the dll randomizes the crc, 2nd time and 3rd and so on, nothing even though its still writing..