Skip to content

Instantly share code, notes, and snippets.

@trkyshorty
Created November 17, 2022 10:46
Show Gist options
  • Save trkyshorty/5d6a748219439551a1de71d80ad069e4 to your computer and use it in GitHub Desktop.
Save trkyshorty/5d6a748219439551a1de71d80ad069e4 to your computer and use it in GitHub Desktop.
ko login function
alloc(ko_login, 512)
ko_login:
pushad
mov edx,[0100429C] //pointer
mov ecx,[edx+000000A8] //offset
mov eax,[ecx]
mov esi,[010050B8] // idbase
mov esi,[esi+2C]
mov esi,[esi+110]
mov esi,[esi+0]
push 00001000 //enter dik
push esi
call 005CB8F0 //call addr
popad
ret
[ENABLE]
createthread(ko_login)
[DISABLE]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment