Skip to content

Instantly share code, notes, and snippets.

@taida957789
Created August 21, 2015 01:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save taida957789/89a0acd597c2c9c7ef18 to your computer and use it in GitHub Desktop.
Save taida957789/89a0acd597c2c9c7ef18 to your computer and use it in GitHub Desktop.
XDD.asm
.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
.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