This is dump is actually based on a single line in the public SearchPattern function. Put it in your dll.cpp It will dump all memory to the screen from your starting offset to the end if you run it (but be prepared to wait a looong time for it to finish running).
PHP Code:
if (strcmp(input,"mem") == 0)
{
DWORD offset =0x00401000;
DWORD end =0x0061A587;
while (offset < end)
{
char &myposition=*(char*)offset; // from public SearchPattern func
printf("%x \n",myposition);
offset++;
}
}
However, as I mentioned before, some output has 6 leading f's. No f's and it's a complete and correct dump of memory.
PHP Code:
55 ffffff8b ffffffec ffffff83 ffffffec 18 ........
But the f's don't seem to fit any pattern and I'm totally new at working with memory. Anyone know why these f's are showing up in my output?