alloc(newmem,2048) //2kb should be enough label(returnhere) label(originalcode) label(exit) 04235e69: jmp newmem nop returnhere: newmem: //this is allocated memmory, you have read,write execute access //place your code here ADD [EBX+00000150],2000 originalcode: //fstp dword ptr [ebx+00000150] exit: jmp returnhere

DWORD m_dwDataTransfer; //0x0304 char unknown320[8]; //0x0989