joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41e85c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov word [ebp - 4], cx
mov byte [ebp - 1], dl
xor eax, eax
push ebp
push 0x8d0e6d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
call fcn.00405060
xor ebx, ebx
mov eax, ebx
and eax, 0x80000001
jns 0x41e897
dec eax
or eax, 0xfffffffe
inc eax
test eax, eax
jne 0x41e8b0
lea eax, [ebp - 0xc]
mov edx, dword [0x8e619c]
mov edx, dword [edx]
mov edx, dword [edx + 0x10]
call fcn.004050c0
jmp 0x41e8c3
lea eax, [ebp - 0xc]
mov edx, dword [0x8e619c]
mov edx, dword [edx]
mov edx, dword [edx + 0x14]
call fcn.004050c0
lea eax, [ebp - 0xc]
mov edx, ebx
sar edx, 1
jns 0x41e8cf
adc edx, 0
mov edx, dword [edx*4 + 0x8e4cbc]
call fcn.004052b0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp - 0xc]
call fcn.00405294
push eax
call fcn.00406ecc
mov esi, eax
cmp esi, 0xffffffff
je 0x41ea3f
mov eax, 0x40
call fcn.004035bc
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x40
push edi
push esi
call fcn.00407104
test eax, eax
je 0x41ea32
mov eax, edi
cmp word [eax], 0x5a4d
jne 0x41ea32
push 0
push 0
mov eax, dword [eax + 0x3c]
push eax
push esi
call fcn.0040714c
mov eax, edi
call fcn.004035ec
mov eax, 0x18
call fcn.004035bc
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0x18
push edi
push esi
call fcn.00407104
test eax, eax
je 0x41ea32
mov eax, edi
cmp dword [eax], 0x4550
jne 0x41ea32
add eax, 4
cmp byte [ebp - 1], 0
je 0x41e9d6
cmp word [eax], 0x8664
jne 0x41e9d6
mov eax, edi
call fcn.004035ec
mov eax, 0xf0
call fcn.004035bc
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xf0
push edi
push esi
call fcn.00407104
test eax, eax
je 0x41ea32
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x41ea32
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.0040509c
jmp 0x41ea32
cmp byte [ebp - 1], 0
jne 0x41ea32
cmp word [eax], 0x14c
jb 0x41ea32
cmp word [eax], 0x150
ja 0x41ea32
mov eax, edi
call fcn.004035ec
mov eax, 0xe0
call fcn.004035bc
mov edi, eax
push 0
lea eax, [ebp - 8]
push eax
push 0xe0
push edi
push esi
call fcn.00407104
test eax, eax
je 0x41ea32
mov eax, edi
mov dx, word [eax + 0x44]
cmp dx, word [ebp - 4]
jne 0x41ea32
mov eax, dword [eax + 0x10]
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
call fcn.0040509c
mov eax, edi
call fcn.004035ec
push esi
call fcn.00406e84
mov eax, dword [ebp + 8]
mov eax, dword [eax]
xor edx, edx
call fcn.004053c0
jne 0x41ea57
inc ebx
cmp ebx, 0x19
jne 0x41e889
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8d0e74
lea eax, [ebp - 0xc]
call fcn.00405060
ret
Function at 0x403a74
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x390
mov eax, dword [0x44608c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, 0x101
push 0
push eax
mov ecx, esi
mov dword [ebp - 0x390], eax
call fcn.004046c1
cmp dword [esi + 0x14], 8
jb 0x403aaa
mov eax, dword [esi]
jmp 0x403aac
mov eax, esi
lea ecx, [ebp - 0x390]
push ecx
push eax
push 2
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x403adf
push 0
push dword [ebp - 0x390]
mov ecx, esi
call fcn.004046c1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004065bb
mov esp, ebp
pop ebp
ret 4
push 0x4243c0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xf
lea ecx, [ebp - 0x38c]
call fcn.004018f5
push 0x442bc0
lea eax, [ebp - 0x38c]
push eax
call fcn.004073d4
int3

Function at 0x1000928f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000b348]
jne 0x10009299
repz ret
jmp fcn.1000966a
Function at 0x403800
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x48a020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403898
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403878
xor eax, eax
push ebp
push 0x403871
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4038b4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403878
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x48a020]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x48a020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404694
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48c048], 0
je 0x4046f5
cmp word [0x48c21c], 0xd7b2
jne 0x4046bd
cmp dword [0x48c224], 0
jbe 0x4046bd
mov eax, 0x48c218
call dword [0x48c234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40471c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48a02c], 0
jne 0x404711
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x408250
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4082a2
test eax, edx
je 0x4082a5
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x408265
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x40828b
add ecx, 4
js 0x40827b
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x408288
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x4082b1
test edx, edx
jne 0x408258
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x40b478
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b4b1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404904
jmp 0x40b4ba
mov eax, ebx
mov edx, esi
call fcn.00404868
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b4c4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b4e6
movzx eax, byte [esp]
jmp 0x40b4e8
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bb78
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b9f0
mov eax, dword [0x48b9a8]
cmp byte [eax], 0
je 0x40bbf4
mov eax, dword [0x48b7d8]
call fcn.004031c8
call fcn.00402fac
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408bf8
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40bc3c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bc2a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x48b784]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x48e7f4]
call fcn.0040596c
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c4a0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c576
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004048ac
lea eax, [ebp - 4]
call fcn.00404cfc
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ca4
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c560
mov eax, ebx
call fcn.00402e50
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c559
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404ca4
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c543
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c588
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c543
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c560
mov eax, dword [ebp - 0x10]
call fcn.00402e6c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c57d
lea eax, [ebp - 4]
call fcn.00404814
ret

Function at 0x41b124
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4909e8
cmp dword [edi], 0
jne 0x41b1a0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4909e4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x48aad4
mov ecx, 2
call fcn.00403040
mov edx, 0x41b0fc
lea eax, [esi + 5]
call fcn.0041b11c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041b11c
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41b175
mov dword [0x4909e4], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41d6d8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404ca4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x41d730
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x48bab8]
mov dl, 1
mov eax, dword [0x41d1e4]
call fcn.0040bd38
call fcn.0040425c
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0041d2ec
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41e58c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41e592
ret
Function at 0x42a2cc
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00404814
push 0
movzx eax, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x42a31a
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404a84
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42e39c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42e4cf
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call sub.user32.dll_GetKeyboardLayoutNameA
mov dl, 1
mov eax, dword [0x41d244]
call fcn.0041d314
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x42e4a5
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.0041d3b4
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00404a84
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x42e4e4
call fcn.00404b2c
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0041d418
lea ecx, [ebp - 4]
mov edx, 0x42e520
mov eax, dword [ebp - 0xc]
call fcn.0041d660
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040d6c0
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x42e488
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x42e52c
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x48b43c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42e48f
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_FreeLibrary_1
ret

Function at 0x42e57c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x42e5c3
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42e5a6
add bx, 0x2000
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x42e5b7
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x42e5c3
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x433114
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x490c48], 0
je 0x43325d
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x48b94c]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x43325d
mov eax, dword [0x490c4c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x490c48]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x43322c
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x490c48]
call fcn.004141b8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x433224
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x433224
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x433224
mov eax, dword [ebp - 0x14]
call fcn.0043d7a8
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x433224
push ebp
call fcn.004330d0
pop ecx
test al, al
jne 0x433224
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403bfc
test al, al
je 0x433224
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00403bfc
cmp byte [ebp - 1], 0
je 0x433224
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x433224
mov edx, dword [ebp - 0x14]
mov eax, dword [0x490c4c]
call fcn.00432840
inc edi
dec ebx
jne 0x433179
mov eax, dword [0x490c4c]
cmp dword [eax + 8], 0
jle 0x433244
mov eax, dword [0x490c4c]
call fcn.004328f8
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x43325d
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00432f34
pop ecx
test al, al
jne 0x43325d
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43a6a4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.00406634
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0043549c
test ebx, ebx
jne 0x43a6f7
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0043a5e0
mov ebx, eax
test ebx, ebx
je 0x43a7e2
cmp esi, ebx
je 0x43a720
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x43a735
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x43a76d
add eax, 0xffffff5f
sub eax, 2
jb 0x43a785
dec eax
sub eax, 2
jb 0x43a799
dec eax
sub eax, 2
jb 0x43a78f
jmp 0x43a7a3
add eax, 0xfffffdff
sub eax, 2
jb 0x43a785
dec eax
sub eax, 2
jb 0x43a799
dec eax
sub eax, 2
jb 0x43a78f
jmp 0x43a7a3
mov byte [esp + 0x120], 0
jmp 0x43a7ab
mov byte [esp + 0x120], 2
jmp 0x43a7ab
mov byte [esp + 0x120], 1
jmp 0x43a7ab
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0044840c
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00436c50
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x43a7e4
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x44293c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x48baac]
cmp byte [eax + 0xc], 0
je 0x442aa9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x442aa2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x490c58], 0
jne 0x442990
push 0x442ab0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x442ab8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x490c58], eax
cmp dword [0x48b580], 0
jne 0x442a8b
push 0x442ac8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x48b580], eax
cmp dword [0x48b580], 0
je 0x442a8b
push 0x442ad4
mov eax, dword [0x48b580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x490c5c], eax
push 0x442ae4
mov eax, dword [0x48b580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x490c60], eax
push 0x442af8
mov eax, dword [0x48b580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x490c64], eax
push 0x442b10
mov eax, dword [0x48b580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x490c68], eax
push 0x442b28
mov eax, dword [0x48b580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x490c6c], eax
push 0x442b3c
mov eax, dword [0x48b580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x490c70], eax
push 0x442b54
mov eax, dword [0x48b580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x490c74], eax
push 0x442b6c
mov eax, dword [0x48b580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x490c78], eax
push 0x442b88
mov eax, dword [0x48b580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x490c7c], eax
push 0x442b94
mov eax, dword [0x48b580]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x490c80], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442aa9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x447f54
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
push ecx
mov byte [esp + 1], cl
mov byte [esp], dl
mov esi, eax
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
mov edi, eax
mov eax, dword [0x490c90]
cmp esi, dword [eax + 0x30]
jne 0x447f7b
or edi, 0x8000000
push esi
call sub.user32.dll_IsIconic
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call sub.user32.dll_IsWindowVisible
test eax, eax
jne 0x447faa
mov eax, dword [0x490c90]
cmp esi, dword [eax + 0x30]
jne 0x447fa6
mov eax, dword [0x490c90]
cmp byte [eax + 0x5b], 0
jne 0x447faa
xor eax, eax
jmp 0x447fac
mov al, 1
mov byte [esp + 2], al
movzx eax, byte [esp + 2]
or al, bl
je 0x447fc1
push 0
push esi
call sub.user32.dll_ShowWindow
cmp byte [esp], 0
je 0x447fd8
or edi, 0x40000
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
jmp 0x447fe7
and edi, 0xfffbffff
push edi
push 0xffffffffffffffec
push esi
call sub.user32.dll_SetWindowLongA
movzx eax, byte [esp + 1]
and al, byte [esp + 2]
jne 0x447ff6
test bl, bl
je 0x44800c
test bl, bl
je 0x448004
push 6
push esi
call sub.user32.dll_ShowWindow
jmp 0x44800c
push 5
push esi
call sub.user32.dll_ShowWindow
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4482b0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, eax
call sub.user32.dll_GetActiveWindow
mov dword [esp], eax
mov byte [esp + 4], 0
test bl, bl
je 0x4482d6
mov eax, esp
push eax
push 0x448278
call sub.user32.dll_EnumWindows
jmp 0x4482e9
mov eax, esp
push eax
push 0x448258
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_EnumThreadWindows
movzx eax, byte [esp + 4]
pop ecx
pop edx
pop ebx
ret

Function at 0x448374
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x4483c8]
test si, 4
je 0x448389
or bl, 1
test si, 8
je 0x448393
or bl, 4
test si, 1
je 0x44839d
or bl, 8
test si, 2
je 0x4483a7
or bl, 0x10
test si, 0x10
je 0x4483b1
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4483c0
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x4483cc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x448408]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4483e6
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4483f5
or bl, 4
test esi, 0x20000000
je 0x448400
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4502d4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x4502e6
add esp, 0xfffffff0
call fcn.00403d0c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a064
mov eax, dword [0x48b78c]
mov dword [eax + 4], ebx
mov dword [eax], 0x450678
mov eax, dword [0x48b798]
mov dword [eax + 4], ebx
mov dword [eax], 0x450684
mov eax, ebx
call fcn.00450690
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x411e14]
call fcn.004039d0
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x411e14]
call fcn.004039d0
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x411e14]
call fcn.004039d0
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x411e14]
call fcn.004039d0
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x411e14]
call fcn.004039d0
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44bd40
push eax
push 0
push 0
mov eax, dword [0x48b8d8]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41dbec]
call fcn.0041f10c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41dbec]
call fcn.0041f10c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41dbec]
call fcn.0041f10c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00450ac0
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450990
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450990
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x450990
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x450423
call fcn.00403d64
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret