Skip to content

Instantly share code, notes, and snippets.

@NaniteFactory
Created June 13, 2018 07:08
Show Gist options
  • Select an option

  • Save NaniteFactory/efe22f34bf8b329d4dd155816c2f50c1 to your computer and use it in GitHub Desktop.

Select an option

Save NaniteFactory/efe22f34bf8b329d4dd155816c2f50c1 to your computer and use it in GitHub Desktop.
memset() - fills a specified (ecx) amount of memory (at [edi]) with a given value (in eax).
lea edi,[ebp-000000CC]; 8D BD 34FFFFFF
mov ecx,00000033; B9 33000000
mov eax,CCCCCCCC; B8 CCCCCCCC
repe stosd; repeat until equal(zero flag 1) - store string dword of accumulator(eax)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment