Skip to content

Instantly share code, notes, and snippets.

@jstrosch
Created February 28, 2018 20:33
Show Gist options
  • Save jstrosch/6eded14e5f18509b21f2a8f758a24ab6 to your computer and use it in GitHub Desktop.
Save jstrosch/6eded14e5f18509b21f2a8f758a24ab6 to your computer and use it in GitHub Desktop.
#include <stdio.h>
int main(void) {
__asm
{
mov ebx, fs:[0x30]
mov ebx, [ebx + 0xc]
mov ebx, [ebx + 0x14]
mov esi, [ebx + 0x28]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment