Seriously? You can make hacks but you don't know how to scan memory?
Use Module32First & Module32Next to iterate through every module and get the base address of the module & the size.
Once you've done that use ReadProcessMemory, don't try and scan the whole process at once ( too long ) and don't use ReadProcessMemory on every address like a fucking idiot.
After each call to ReadProcessMemory you should now have a buffer holding the module's bytes, now just look through it. \: