Skip to content

Instantly share code, notes, and snippets.



Created Aug 21, 2015
What would you like to do?
.text:00406FCF loc_406FCF: ; CODE XREF: sub_406E20+186j
.text:00406FCF lea eax, [ebp+NumberOfBytesWritten]
.text:00406FD2 push eax ; lpNumberOfBytesWritten
.text:00406FD3 push [ebp+dwSize] ; nSize
.text:00406FD6 push [ebp+lpBuffer] ; lpBuffer
.text:00406FD9 push esi ; lpBaseAddress
.text:00406FDA push ebx ; hProcess
.text:00406FDB call ds:WriteProcessMemory
.text:00406FE1 test eax, eax
.text:00406FE3 jnz short loc_40701C
.text:00406FE5 call ds:GetLastError
.text:00406FEB push eax
.text:00406FEC push offset unk_54DDE0
.text:00406FF1 loc_406FF1: ; CODE XREF: sub_406E20+249j
.text:00406FF1 push edi
.text:00406FF2 call sub_4085A0
.text:00406FF7 add esp, 0Ch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment