joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43398c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
cmp dword [0x4b675c], 0
jne 0x433a39
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [0x4b6758]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x4b47a8
mov ecx, 2
call fcn.00402824
mov edx, 0x433948
mov eax, dword [ebp - 8]
add eax, 5
call fcn.00433968
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebp - 0xc]
call fcn.00433968
mov edx, dword [ebp - 0xc]
mov dword [edx + 1], eax
mov eax, dword [0x4b675c]
mov edx, dword [ebp - 0xc]
mov dword [edx + 5], eax
mov eax, dword [ebp - 0xc]
mov dword [0x4b675c], eax
add dword [ebp - 0xc], 0xd
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x4339f3
mov eax, dword [ebp - 8]
mov dword [0x4b6758], eax
mov eax, dword [0x4b675c]
mov dword [ebp - 4], eax
mov eax, dword [0x4b675c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 5]
mov dword [0x4b675c], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 8

Function at 0x433b94
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x433bec]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x433bae
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x433bb8
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x433bc2
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x433bcc
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x433bd6
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x433be6
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x433bf0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x433c34]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x433c11
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x433c21
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x433c2b
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x43b924
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x43b936
add esp, 0xfffffff0
call fcn.004031d8
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0041762c
mov eax, dword [ebp - 4]
call fcn.0043be38
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
mov dl, 1
mov eax, dword [0x40d4f8]
call fcn.00402e68
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov dl, 1
mov eax, dword [0x40d4f8]
call fcn.00402e68
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov dl, 1
mov eax, dword [0x40d4f8]
call fcn.00402e68
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], eax
mov dl, 1
mov eax, dword [0x40d4f8]
call fcn.00402e68
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x40d4f8]
call fcn.00402e68
mov edx, dword [ebp - 4]
mov dword [edx + 0x70], eax
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4c]
push eax
mov eax, 0x43b8dc
push eax
push 0
push 0
mov eax, dword [0x4b5394]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x419174]
call fcn.0041a860
mov edx, dword [ebp - 4]
mov dword [edx + 0x78], eax
mov dl, 1
mov eax, dword [0x419174]
call fcn.0041a860
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
mov dl, 1
mov eax, dword [0x419174]
call fcn.0041a860
mov edx, dword [ebp - 4]
mov dword [edx + 0x74], eax
mov eax, dword [ebp - 4]
call fcn.0043c348
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x78]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x43c1d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x7c]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x43c1d0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x43c1d0
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x43ba8a
call fcn.00403230
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x43bf88
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43c153
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x43c131
mov dl, 1
mov eax, dword [0x40da24]
call fcn.00402e68
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403be4
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x43c11a
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.00452d90
test al, al
je 0x43c10e
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x43c164
lea eax, [ebp - 0x25c]
call fcn.00409730
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x43c10e
xor eax, eax
push ebp
push 0x43c107
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], 0x100
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x43c19c
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x43c0f0
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, 0x100
call fcn.00403e14
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x43c0f0
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x21c]
mov ecx, 0x100
call fcn.00403e14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c10e
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x43bffd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov dl, 1
call fcn.00411e08
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c15a
lea eax, [ebp - 0x268]
call fcn.00403be4
ret
Function at 0x43cba4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4b674c]
cmp byte [eax + 0x95], 0
jne 0x43cc1b
cmp dword [0x4b6768], 0
jne 0x43cbd9
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x43cb60
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b6768], eax
cmp dword [0x4b6764], 0
jne 0x43cbf4
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4b6764], eax
cmp dword [0x4b676c], 0
jne 0x43cc1b
lea eax, [ebp - 4]
push eax
push 0
push 0
push 0x43cb00
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x4b676c], eax
pop ecx
pop ebp
ret

Function at 0x43cce4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
call fcn.0043cc7c
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
je 0x43cd05
xor eax, eax
call fcn.0043ccb4
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_ShowWindow
cmp byte [ebp - 9], 0
je 0x43cd1f
mov al, 1
call fcn.0043ccb4
mov esp, ebp
pop ebp
ret

Function at 0x43d338
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov eax, dword [0x4b674c]
cmp dword [eax + 0x24], 0
je 0x43d3ff
mov eax, dword [ebp - 4]
cmp dword [eax + 0x84], 0
jne 0x43d3f6
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x14], eax
mov al, byte [ebp - 5]
mov byte [ebp - 0x10], al
lea eax, [ebp - 0x14]
push eax
push 0x43d2b8
call sub.user32.dll_EnumWindows
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
cmp dword [eax + 8], 0
je 0x43d3f6
push 3
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindow
mov dword [ebp - 0x14], eax
push 0xffffffffffffffec
mov eax, dword [ebp - 0x14]
push eax
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x43d3b3
mov dword [ebp - 0x14], 0xfffffffe
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov eax, dword [eax + 8]
dec eax
cmp eax, 0
jl 0x43d3f6
mov dword [ebp - 0xc], eax
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x14]
push eax
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
call fcn.0040f324
push eax
call sub.user32.dll_SetWindowPos
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x43d3c8
mov eax, dword [ebp - 4]
inc dword [eax + 0x84]
mov esp, ebp
pop ebp
ret

Function at 0x43df84
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x94], 0
je 0x43dfc9
push 0x100
lea eax, [ebp - 0x108]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
lea edx, [ebp - 0x108]
mov eax, dword [ebp - 8]
call fcn.00403ccc
jmp 0x43dfd7
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x7c]
call fcn.00403c38
mov esp, ebp
pop ebp
ret
Function at 0x43f30c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x74], 0
je 0x43f353
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
call fcn.0044da20
test al, al
je 0x43f353
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
call fcn.0044d55c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43f353
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x74]
call fcn.0044d55c
push eax
call sub.user32.dll_ShowWindow
pop ecx
pop ebp
ret

Function at 0x4429ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0xc]
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
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne byte [ebp - 0x1d]
cmp dword [0x4b67a8], 0
sete al
or al, byte [ebp - 0x1d]
jne 0x442b3b
mov eax, dword [0x4b67ac]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4b67a8]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x442b0a
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x4b67a8]
call fcn.0040f324
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x442afe
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x168], 0
je 0x442afe
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
je 0x442afe
mov eax, dword [ebp - 0x14]
call fcn.0044d55c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x442afe
push ebp
call fcn.004429a0
pop ecx
test al, al
jne 0x442afe
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x90]
cmp eax, dword [ebp - 0x14]
jne 0x442aba
mov eax, dword [ebp - 0x14]
call fcn.0044b6bc
dec eax
jle 0x442afe
mov byte [ebp - 1], 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x34]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffc1
call fcn.00403074
cmp byte [ebp - 1], 0
je 0x442afe
push dword [ebp - 8]
push dword [ebp - 0xc]
lea eax, [ebp - 0x34]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x442afe
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4b67ac]
call fcn.00441f14
inc dword [ebp - 0x1c]
dec dword [ebp - 0x24]
jne 0x442a4c
mov eax, dword [0x4b67ac]
cmp dword [eax + 8], 0
jle 0x442b22
mov eax, dword [0x4b67ac]
call fcn.00441fc0
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x442b3b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.004427dc
pop ecx
test al, al
jne 0x442b3b
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 0x44a218
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed4
push ebx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
cmp eax, 0x84
jg 0x44a24c
je 0x44a2af
sub eax, 7
je 0x44a26d
dec eax
je 0x44a29d
sub eax, 0x17
je 0x44a371
jmp 0x44a3bb
add eax, 0xffffff00
sub eax, 9
jb 0x44a35c
add eax, 0xffffff09
sub eax, 0xb
jb 0x44a315
jmp 0x44a3bb
mov eax, dword [ebp - 0x14]
call fcn.00433d1c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x44a428
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0xd4]
test al, al
je 0x44a433
jmp 0x44a428
mov eax, dword [ebp - 0x14]
test byte [eax + 0x44], 0x20
jne 0x44a433
jmp 0x44a428
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.00446cd4
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 0xffffffff
jne 0x44a433
push 0
lea edx, [ebp - 0x12c]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
call fcn.004076cc
lea edx, [ebp - 0x12c]
lea ecx, [ebp - 0x124]
mov eax, dword [ebp - 0x14]
call fcn.00444ff8
lea edx, [ebp - 0x124]
xor ecx, ecx
mov eax, dword [ebp - 0x14]
call fcn.0044a09c
test eax, eax
je 0x44a433
mov eax, dword [ebp - 0x18]
mov dword [eax + 0xc], 1
jmp 0x44a433
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.0044a158
test al, al
je 0x44a428
mov eax, dword [ebp - 0x18]
cmp dword [eax + 0xc], 0
jne 0x44a433
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0x14]
call fcn.0044d55c
push eax
call sub.user32.dll_DefWindowProcA
jmp 0x44a433
mov eax, dword [ebp - 0x14]
call fcn.00446064
test al, al
jne 0x44a433
jmp 0x44a428
mov eax, dword [ebp - 0x14]
call fcn.0044d55c
mov ebx, eax
call sub.user32.dll_GetCapture
cmp ebx, eax
jne 0x44a428
cmp dword [0x4b4988], 0
je 0x44a428
mov eax, dword [0x4b4988]
mov eax, dword [eax + 0x24]
cmp eax, dword [ebp - 0x14]
jne 0x44a428
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x4b4988]
call fcn.00446b88
jmp 0x44a428
mov eax, dword [0x4b6770]
cmp byte [eax + 0x20], 0
je 0x44a428
mov eax, dword [0x4b6770]
cmp dword [eax + 0x1c], 0
je 0x44a428
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x4b6770]
cmp eax, dword [edx + 0x1c]
jne 0x44a428
lea eax, [ebp - 0x11c]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
call fcn.00433c38
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov bx, 0xffb7
call fcn.00403074
jmp 0x44a433
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
call fcn.00446cd4
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44aa74
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1e8], 0
je 0x44aa95
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x44aaca
mov eax, dword [ebp - 4]
test byte [eax + 0x45], 1
jne 0x44aaba
mov eax, dword [ebp - 4]
call fcn.0044952c
test eax, eax
jne 0x44aaba
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x44abf4
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0044a5f0
jmp 0x44abf4
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x44abed
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.0044d55c
push eax
call sub.user32.dll_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.00446b88
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0044aa74
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.0044d55c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44abf4
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov esp, ebp
pop ebp
ret
Function at 0x4529f0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x4b55bc]
cmp byte [eax + 8], 0
je 0x452b62
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x452b5b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4b67b4], 0
jne 0x452a49
push 0x452b68
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x452b70
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b67b4], eax
cmp dword [0x4b49e8], 0
jne 0x452b44
push 0x452b80
call sub.kernel32.dll_LoadLibraryA
mov dword [0x4b49e8], eax
cmp dword [0x4b49e8], 0
je 0x452b44
push 0x452b8c
mov eax, dword [0x4b49e8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b67b8], eax
push 0x452b9c
mov eax, dword [0x4b49e8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b67bc], eax
push 0x452bb0
mov eax, dword [0x4b49e8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b67c0], eax
push 0x452bc8
mov eax, dword [0x4b49e8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b67c4], eax
push 0x452be0
mov eax, dword [0x4b49e8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b67c8], eax
push 0x452bf4
mov eax, dword [0x4b49e8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b67cc], eax
push 0x452c0c
mov eax, dword [0x4b49e8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b67d0], eax
push 0x452c24
mov eax, dword [0x4b49e8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b67d4], eax
push 0x452c40
mov eax, dword [0x4b49e8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b67d8], eax
push 0x452c4c
mov eax, dword [0x4b49e8]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x4b67dc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x452b62
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

Function at 0x453f08
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.00403be4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x453f61
push 0x100
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, 0x100
call fcn.00403e14
mov esp, ebp
pop ebp
ret
Function at 0x460e30
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
xor edx, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x460ea1
push dword fs:[eax]
mov dword fs:[eax], esp
push 7
lea eax, [ebp - 0xf]
push eax
push 0x1004
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
call sub.kernel32.dll_GetACP
test eax, eax
jns 0x460e6e
call fcn.00402dd8
push eax
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xf]
mov ecx, 7
call fcn.00403e14
mov eax, dword [ebp - 0x14]
pop edx
call fcn.00408c2c
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460ea8
lea eax, [ebp - 0x14]
call fcn.00403be4
ret

Function at 0x46754c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
push 0x20
lea eax, [ebp - 0x30]
push eax
push 0x58
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00460d60
test eax, eax
jns 0x467573
call fcn.00402dd8
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
je 0x4675cf
mov dword [ebp - 0x10], 1
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
and eax, dword [ebp - 0x20]
je 0x4675c3
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
cmp edx, 0x1f
jbe 0x4675a1
call fcn.00402dd8
lea edx, [edx + edx*2]
mov ecx, dword [edx*4 + 0x4b4be0]
mov dword [eax], ecx
mov ecx, dword [edx*4 + 0x4b4be4]
mov dword [eax + 4], ecx
mov ecx, dword [edx*4 + 0x4b4be8]
mov dword [eax + 8], ecx
jmp 0x4675ec
shl dword [ebp - 0x10], 1
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x20
jne 0x467589
mov eax, dword [ebp - 8]
mov edx, dword [0x4b4be0]
mov dword [eax], edx
mov edx, dword [0x4b4be4]
mov dword [eax + 4], edx
mov edx, dword [0x4b4be8]
mov dword [eax + 8], edx
mov esp, ebp
pop ebp
ret

Function at 0x467d6c
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.00403be4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
jns 0x467d9d
call fcn.00402dd8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x467de0
push 0x100
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x10b], 0
jne 0x467de0
cmp byte [ebp - 0x10c], 0
je 0x467de0
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, 0x100
call fcn.00403e14
mov esp, ebp
pop ebp
ret