joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44f2e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x496733
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.004899b8
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], vtable.CBrush.0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0048f057
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00490573
test eax, eax
je 0x44f3fc
mov ecx, dword [esp + 0x3c]
call fcn.0048f084
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x44f3c0
push edi
mov ecx, esi
call fcn.0048c6e3
mov ecx, esi
call fcn.0044f560
cmp dword [esp + 0x38], 1
jne 0x44f3f5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0048c81e
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x451e20
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x451e53
push esi
call fcn.00454f30
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x451e4c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x451ed9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x451ec2
mov eax, dword [esi + 8]
test eax, eax
je 0x451e77
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x451ebe
cmp eax, 2
je 0x451ec2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x451e6a
cmp eax, 3
je 0x451e9d
cmp eax, 1
jne 0x451e6a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x451e6a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x451e6a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00451f00
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x451ee8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00451f00
add esp, 4
pop esi
ret
Function at 0x45ea10
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x10
lea eax, [esp]
push esi
mov esi, dword [esp + 0x18]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
mov dword [esi + 4], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 1
push eax
mov dword [esi + 8], eax
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x10]
test eax, eax
je 0x45ea5a
push eax
mov eax, dword [esi + 8]
mov dword [esi + 0x18], 0
push eax
jmp 0x45ea89
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xc]
sub ecx, eax
mov eax, dword [esi + 4]
push ecx
mov ecx, dword [esp + 8]
mov dword [esi + 0x18], 1
sub edx, ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [esi + 8]
push eax
mov dword [esi + 0x10], eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0xc]
cmp eax, 1
jne 0x45eacb
mov edx, dword [esi + 4]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x18]
sub eax, edx
mov edx, dword [esp + 0x14]
sub ecx, edx
mov edx, dword [esi + 8]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 8]
pop esi
add esp, 0x10
ret 4
Function at 0x4619b0
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0xa0
push ebx
push ebp
mov ebp, dword [esp + 0xac]
push esi
push edi
push ebp
call sub.RASAPI32.dll_RasHangUpA
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x28
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
mov dword [esp + 0x10], 0xa0
call esi
mov edi, eax
call esi
sub eax, edi
cmp eax, 0xbb8
jae 0x461a16
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0x10]
push eax
push ebp
call sub.RASAPI32.dll_RasGetConnectStatusA
cmp eax, 6
je 0x461a16
push 0
call ebx
call esi
sub eax, edi
cmp eax, 0xbb8
jb 0x4619f7
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret
Function at 0x462300
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov eax, dword [ecx]
lea ecx, [esp]
push ecx
push 0
lea edx, [esp + 0x10]
push 0
push edx
push 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], 1
call sub.WS2_32.dll_select
cmp eax, 0xffffffff
jne 0x462349
xor eax, eax
add esp, 0x10c
ret 4
mov edx, dword [esp + 0x110]
xor ecx, ecx
test eax, eax
setne cl
mov dword [edx], ecx
mov eax, 1
add esp, 0x10c
ret 4

Function at 0x4627c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x496c10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00462370
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.004623f0
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.004623f0
lea ecx, [esi + 0xc]
call fcn.0048836b
lea ecx, [esi + 0x10]
call fcn.0048836b
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.00463980
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.00463980
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.00463980
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.004883e0
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.004883e0
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x467530
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
cmp di, 0x76d
jb 0x467685
cmp di, 0x801
ja 0x467685
mov ebx, dword [esp + 0x28]
cmp bx, 1
jb 0x467685
cmp bx, 0xc
ja 0x467685
mov al, byte [esp + 0x30]
test al, al
je 0x467584
push edi
call fcn.00467ac0
add esp, 4
cmp ax, bx
je 0x467584
mov byte [esp + 0x30], 0
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x3c]
lea eax, [esp + 0x13]
lea ecx, [esp + 0x14]
mov word [esi], di
mov edi, dword [esp + 0x38]
push eax
lea edx, [esp + 0x1c]
mov word [edi], bx
mov ebx, dword [esp + 0x30]
push ecx
lea eax, [esp + 0x24]
mov word [ebp], bx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ebx
push ecx
push edx
call fcn.00467690
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x30]
push ebx
push eax
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x44]
push edx
push eax
push ecx
call fcn.004674b0
add esp, 0x34
mov ebx, eax
xor eax, eax
inc eax
cmp eax, 0x64
mov dword [esp + 0x34], eax
jg 0x467685
test ebx, ebx
jne 0x467619
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x30]
cmp al, cl
je 0x46767b
test al, al
je 0x46760c
push 0xffffffffffffffe1
jmp 0x46760e
push 0x1f
push ebp
push edi
push esi
call fcn.00467460
add esp, 0x10
neg ebx
push ebx
push ebp
push edi
push esi
call fcn.00467460
lea edx, [esp + 0x23]
lea eax, [esp + 0x24]
push edx
lea ecx, [esp + 0x2c]
push eax
mov ax, word [ebp]
lea edx, [esp + 0x34]
push ecx
mov cx, word [edi]
push edx
mov dx, word [esi]
push eax
push ecx
push edx
call fcn.00467690
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x50]
push eax
mov eax, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x54]
push eax
push ecx
push edx
call fcn.004674b0
mov ebx, eax
mov eax, dword [esp + 0x78]
add esp, 0x44
jmp 0x4675e6
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x10
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
Function at 0x468d10
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4970d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push 0x5a550c
lea ecx, [esp + 4]
call fcn.0048844e
push 0x588354
lea ecx, [esp + 8]
mov dword [esp + 0x40], 0
call fcn.0048844e
push 0x588350
lea ecx, [esp + 0xc]
mov byte [esp + 0x40], 1
call fcn.0048844e
push 0x58834c
lea ecx, [esp + 0x10]
mov byte [esp + 0x40], 2
call fcn.0048844e
push 0x588348
lea ecx, [esp + 0x14]
mov byte [esp + 0x40], 3
call fcn.0048844e
push 0x588344
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 4
call fcn.0048844e
push 0x588340
lea ecx, [esp + 0x1c]
mov byte [esp + 0x40], 5
call fcn.0048844e
push 0x58833c
lea ecx, [esp + 0x20]
mov byte [esp + 0x40], 6
call fcn.0048844e
push 0x588338
lea ecx, [esp + 0x24]
mov byte [esp + 0x40], 7
call fcn.0048844e
push 0x588334
lea ecx, [esp + 0x28]
mov byte [esp + 0x40], 8
call fcn.0048844e
push 0x588330
lea ecx, [esp + 0x2c]
mov byte [esp + 0x40], 9
call fcn.0048844e
push 0x58832c
lea ecx, [esp + 0x30]
mov byte [esp + 0x40], 0xa
call fcn.0048844e
push 0x588328
lea ecx, [esp + 0x34]
mov byte [esp + 0x40], 0xb
call fcn.0048844e
mov eax, dword [esp + 0x44]
mov byte [esp + 0x3c], 0xc
cmp eax, 1
jge 0x468e40
cmp eax, 0xc
jle 0x468e40
mov ecx, dword [esp + 0x48]
push 0x5a550c
call fcn.0048851d
jmp 0x468e4e
mov ecx, dword [esp + 0x48]
lea eax, [esp + eax*4]
push eax
call fcn.004884cd
lea ecx, [esp + 0x30]
mov byte [esp + 0x3c], 0xb
call fcn.004883e0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3c], 0xa
call fcn.004883e0
lea ecx, [esp + 0x28]
mov byte [esp + 0x3c], 9
call fcn.004883e0
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c], 8
call fcn.004883e0
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 7
call fcn.004883e0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 6
call fcn.004883e0
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 5
call fcn.004883e0
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 4
call fcn.004883e0
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 3
call fcn.004883e0
lea ecx, [esp + 0xc]
mov byte [esp + 0x3c], 2
call fcn.004883e0
lea ecx, [esp + 8]
mov byte [esp + 0x3c], 1
call fcn.004883e0
lea ecx, [esp + 4]
mov byte [esp + 0x3c], 0
call fcn.004883e0
lea ecx, [esp]
mov dword [esp + 0x3c], 0xffffffff
call fcn.004883e0
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
add esp, 0x40
ret

Function at 0x48a7ae
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48a7e6
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0048883b
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00488813
jmp 0x48a7f2
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4
Function at 0x48bea0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48bee2
call fcn.00491a32
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48bee2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48bed9
xor eax, eax
jmp 0x48beea
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048bef0
pop edi
pop esi
pop ebx
ret 4

Function at 0x491f62
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x491f90
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x491fae
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00491ec8
jmp 0x491fae
mov eax, dword [esi + 0x14]
test eax, eax
je 0x491fae
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00491ec8
test edi, edi
mov eax, edi
jne 0x491f98
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x405080
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
mov ecx, dword [edi + 4]
cmp eax, ecx
jb 0x405232
mov edx, dword [edi + 8]
cmp eax, edx
jae 0x405232
mov esi, dword [edi + 0x14]
mov ebx, eax
sub ebx, ecx
mov ecx, dword [esp + 0x24]
cmp ecx, esi
jae 0x405232
add eax, 2
cmp eax, edx
jae 0x405232
mov esi, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
jmp 0x4050d1
mov edi, dword [esp + 0x10]
push 0x11
call dword [sym.imp.user32.dll_GetAsyncKeyState]
test ax, ax
jge 0x4050ef
push 0x7b
call dword [sym.imp.user32.dll_GetAsyncKeyState]
test ax, ax
jl 0x405232
mov edx, dword [edi + 4]
mov eax, ebx
add eax, edx
push 0
lea edx, [esp + 0x20]
push 1
push edx
push esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebx
call fcn.004025e0
mov edi, eax
add esp, 0x10
test edi, edi
jne 0x40511c
inc ebx
jmp 0x40521e
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x1c], eax
mov ecx, dword [edi + 8]
test ch, 0x40
jne 0x405232
mov ecx, dword [edi + 0xc]
xor edx, edx
add ecx, 0xfffffffe
cmp ecx, 0x45
ja case.0x40514a.8
xor ebx, ebx
mov bl, byte [ecx + 0x405288]
jmp dword [ebx*4 + 0x40526c]
mov edx, 1
xor ecx, ecx
mov cl, byte [eax + esi]
mov ebp, ecx
jmp 0x405167
mov edx, 1
mov ebp, dword [eax + esi]
test edx, edx
mov eax, ebp
je 0x405175
mov edx, dword [esp + 0x20]
lea eax, [edx + ebp + 5]
mov ecx, dword [esp + 0x18]
push eax
call fcn.0042a250
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 8]
mov dl, byte [esi + eax + 1]
mov al, byte [eax + esi]
push 1
push ecx
mov ecx, dword [edi + 0x14]
push edx
push eax
push ecx
call fcn.004024c0
mov edx, dword [edi + 8]
mov bl, al
mov eax, dword [esp + 0x30]
push 1
push edx
and ebx, 0xff
mov cl, byte [esi + eax + 1]
mov dl, byte [eax + esi]
mov eax, dword [edi + 0x10]
push ecx
push edx
push eax
call fcn.004024c0
mov ecx, dword [edi + 8]
and eax, 0xff
add ebx, eax
mov eax, dword [esp + 0x44]
push 1
push ecx
mov dl, byte [esi + eax + 1]
mov al, byte [eax + esi]
mov ecx, dword [edi + 0xc]
push edx
push eax
push ecx
call fcn.004024c0
mov edx, dword [esp + 0x58]
and eax, 0xff
add edx, ebx
add esp, 0x3c
add eax, edx
mov ebx, eax
mov eax, dword [edi + 8]
test ah, 0x16
je 0x40521e
mov eax, dword [esp + 0x10]
cmp ebp, dword [eax + 4]
jb 0x40521e
mov ecx, eax
cmp ebp, dword [ecx + 8]
ja 0x40521e
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x18]
inc edx
push edx
push ebp
push esi
push eax
call fcn.00405080
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add ecx, 2
cmp ecx, dword [edx + 8]
jb 0x4050cd
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x10
xor ebp, ebp
mov bp, word [eax + esi]
jmp 0x405167
mov ecx, dword [edi + 0x10]
add ecx, 0xfffffffe
cmp ecx, 0x45
ja case.0x40525c.8
xor ebx, ebx
mov bl, byte [ecx + 0x4052ec]
jmp dword [ebx*4 + 0x4052d0]
mov ebp, dword [eax + esi + 1]
jmp 0x405167
Function at 0x423630
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [esp + 4]
push 0
push eax
push 0
push 0x8000004
push 0
push 0xffffffffffffffff
mov dword [0x467ee0], 0
mov dword [0x467efc], 0
mov dword [0x467f14], eax
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingA]
test eax, eax
mov dword [0x4676dc], eax
jne 0x423678
push ecx
mov ecx, esp
mov dword [esp + 8], esp
push 0x463304
jmp 0x42369c
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
test eax, eax
mov dword [0x467ee0], eax
jne 0x4236af
push ecx
mov ecx, esp
mov dword [esp + 8], esp
push 0x4632e8
call fcn.004429fd
mov ecx, dword [0x467f2c]
call fcn.0041d3e0
xor eax, eax
ret
mov eax, 1
ret
Function at 0x4270b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x11
call dword [sym.imp.user32.dll_GetAsyncKeyState]
mov ebp, dword [esp + 0x18]
test ax, ax
jl 0x4270f8
mov eax, dword [edi + 0x3d0]
xor esi, esi
test eax, eax
jle 0x4270f8
xor ebx, ebx
mov ecx, dword [edi + 0x3a8]
push ebp
add ecx, ebx
call fcn.004096a0
test eax, eax
jne 0x427136
mov eax, dword [edi + 0x3d0]
inc esi
add ebx, 0x43c
cmp esi, eax
jl 0x4270d5
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push 0
push edx
push eax
mov eax, dword [esp + 0x2c]
lea edx, [esp + 0x30]
push ecx
push edx
push eax
lea ecx, [esp + 0x30]
push ebp
push ecx
push 0x4639f4
push 0x4676e0
mov ecx, edi
call fcn.00427690
pop edi
pop esi
pop ebp
pop ebx
ret 0x20
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
push 0
mov edx, dword [esp + 0x24]
push eax
push ecx
mov eax, dword [esp + 0x28]
mov ecx, esi
shl ecx, 4
add ecx, esi
push edx
mov edx, dword [edi + 0x3a8]
push eax
shl ecx, 4
sub ecx, esi
push ebp
lea ecx, [edx + ecx*4]
call fcn.004097a0
test eax, eax
je 0x4270f8
mov eax, dword [esp + 0x2c]
pop edi
mov dword [eax], esi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret 0x20
Function at 0x4275b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
push esi
push edi
mov esi, ecx
push 0x11
call dword [sym.imp.user32.dll_GetAsyncKeyState]
mov ebp, dword [esp + 0x1c]
test ax, ax
jl 0x4275f8
mov eax, dword [esi + 0x3d0]
xor edi, edi
test eax, eax
jle 0x4275f8
xor ebx, ebx
mov ecx, dword [esi + 0x3a8]
push ebp
add ecx, ebx
call fcn.004096a0
test eax, eax
jne 0x427646
mov eax, dword [esi + 0x3d0]
inc edi
add ebx, 0x43c
cmp edi, eax
jl 0x4275d5
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push 0
push edx
mov edx, dword [esp + 0x34]
mov eax, dword [esi + 0x1258]
push ecx
push edx
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x38]
push ecx
push edx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x34]
shl edx, 0xb
push ebp
push ecx
lea eax, [edx + eax + 0x400]
push 0x462394
push eax
mov ecx, esi
call fcn.00427690
pop edi
pop esi
pop ebp
pop ebx
ret 0x24
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push 0
mov edx, dword [esp + 0x28]
push eax
push ecx
mov eax, dword [esp + 0x2c]
mov ecx, edi
shl ecx, 4
add ecx, edi
push edx
mov edx, dword [esi + 0x3a8]
push eax
shl ecx, 4
sub ecx, edi
push ebp
lea ecx, [edx + ecx*4]
call fcn.004097a0
test eax, eax
je 0x4275f8
mov eax, dword [esp + 0x30]
mov dword [eax], edi
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
ret 0x24
Function at 0x4294ac
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x44811c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov al, byte [esp + 3]
push esi
mov esi, ecx
mov dword [esp + 8], esi
mov byte [esi + 4], al
xor eax, eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov cl, byte [esp + 7]
mov dword [esp + 0x14], eax
mov byte [esi + 0x14], cl
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov dl, byte [esp + 7]
mov dword [esi + 0x28], eax
mov byte [esi + 0x24], dl
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov cl, byte [esp + 7]
mov dword [esi + 0x38], eax
mov byte [esi + 0x34], cl
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov ecx, esi
mov byte [esp + 0x14], 3
mov dword [esi], 0x44e164
call fcn.00429b90
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x42c410
Capabilities:
Parse pe header

Disassembly:
mov edx, dword [ecx + 0x40c]
push esi
test edx, edx
push edi
jne 0x42c430
push 0x4641c4
call fcn.00434862
add esp, 4
xor al, al
pop edi
pop esi
ret 4
cmp word [edx], 0x5a4d
je 0x42c44b
push 0x4641a8
call fcn.00434862
add esp, 4
xor al, al
pop edi
pop esi
ret 4
mov edi, dword [ecx + 0x410]
cmp edi, 0x40
jge 0x42c46a
push 0x46418c
call fcn.00434862
add esp, 4
xor al, al
pop edi
pop esi
ret 4
mov esi, dword [edx + 0x3c]
lea eax, [esi + 4]
cmp eax, edi
jb 0x42c488
push 0x46418c
call fcn.00434862
add esp, 4
xor al, al
pop edi
pop esi
ret 4
cmp dword [edx + esi], 0x4550
je 0x42c4a5
push 0x46418c
call fcn.00434862
add esp, 4
xor al, al
pop edi
pop esi
ret 4
mov dword [ecx + 0x41c], eax
lea esi, [edx + eax]
add eax, 0x14
mov dword [ecx + 0x420], esi
mov edi, dword [ecx + 0x420]
lea esi, [edx + eax]
mov dword [ecx + 0x428], esi
add esi, 0x60
mov dword [ecx + 0x430], esi
xor esi, esi
mov si, word [edi + 0x10]
add esi, edx
add esi, eax
mov al, byte [esp + 0xc]
test al, al
mov dword [ecx + 0x434], esi
je 0x42c521
xor esi, esi
cmp word [edi + 2], si
jbe 0x42c521
xor eax, eax
mov edx, dword [ecx + 0x434]
add edx, eax
mov edi, dword [edx + 0xc]
mov dword [edx + 0x14], edi
mov edx, dword [ecx + 0x434]
add edx, eax
inc esi
add eax, 0x28
mov edi, dword [edx + 8]
mov dword [edx + 0x10], edi
mov edx, dword [ecx + 0x420]
xor edi, edi
mov di, word [edx + 2]
cmp esi, edi
jb 0x42c4f1
pop edi
mov al, 1
pop esi
ret 4

Function at 0x42ca90
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x42ca9b
xor al, al
ret
cmp word [ecx], 0x5a4d
je 0x42cab2
push 0x4641a8
call fcn.00434862
add esp, 4
xor al, al
ret
mov eax, dword [ecx + 0x3c]
cmp dword [eax + ecx], 0x4550
je 0x42cace
push 0x46418c
call fcn.00434862
add esp, 4
xor al, al
ret
add eax, 4
xor edx, edx
push esi
mov dx, word [eax + ecx + 0x10]
add edx, eax
lea esi, [edx + ecx + 0x14]
lea ecx, [eax + ecx + 2]
xor edx, edx
cmp word [ecx], dx
jbe 0x42cb05
lea eax, [esi + 0x14]
mov esi, dword [eax - 8]
inc edx
mov dword [eax], esi
mov esi, dword [eax - 0xc]
mov dword [eax - 4], esi
xor esi, esi
mov si, word [ecx]
add eax, 0x28
cmp edx, esi
jb 0x42caed
mov al, 1
pop esi
ret