void* AneurysmForeignPEBPointer(char* pAddress)
{
void* pPEB;
*pAddress = 0x64;
*(char*)(pAddress+1) = 0xA1;
*(DWORD*)(pAddress+2) = 0x00000030;
*(char*)(pAddress+6) = 0x64;
*(char*)(pAddress+7) = 0x00;
*(DWORD*)(pAddress+8) = &pPEB;
while(!pPEB)Sleep(100);
return pPEB;
}
mov eax, fs:[0x30] mov pPEB, eax

mov eax, fs:[0x30]