joyce8/EMBER2024-capa huggingface dataset:
Function at 0x451ff8
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45200f
add esp, 0xfffffff0
call fcn.00403308
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418cc4
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x410720]
call fcn.00402f98
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x410720]
call fcn.00402f98
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x41ab5c]
call fcn.00422628
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x452184
mov eax, dword [0x531124]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.004229f8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x453b20
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x531124]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040d9f0
test eax, eax
je 0x452102
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00409dbc
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040da18
test eax, eax
je 0x452116
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.00403ec0
mov eax, dword [0x530f34]
cmp byte [eax], 0
jne 0x452147
mov eax, ebx
call fcn.00452270
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x452179
call fcn.00403360
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4524e0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x5327d4]
cmp dword [eax + 0x24], 0
je 0x452583
cmp dword [ebx + 0x84], 0
jne 0x45257d
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x452470
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x45257d
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x452546
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45257d
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.0041227c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x452555
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x452f90
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x452fc5
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403d78
jmp 0x452fcf
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403ce4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x453e94
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x453ecc
mov eax, esi
call fcn.0043a7cc
test al, al
je 0x453ecc
mov eax, dword [ebx + 0x74]
call fcn.0043a4d0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x453ecc
push 0
mov eax, dword [ebx + 0x74]
call fcn.0043a4d0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45d0fc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
xor ecx, ecx
mov dword [ebp - 0x21c], ecx
mov dword [ebp - 0x218], ecx
mov dword [ebp - 0x214], ecx
mov dword [ebp - 0x210], ecx
mov dword [ebp - 0x20c], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45d35b
push dword fs:[eax]
mov dword fs:[eax], esp
cmp ebx, 1
jl 0x45d15e
lea edx, [ebp - 0x20c]
mov eax, dword [ebp - 4]
call fcn.0045cbc4
mov eax, dword [ebp - 0x20c]
mov edx, ebx
call fcn.0040d59c
cmp al, 1
jne 0x45d15e
dec ebx
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
call fcn.0045cedc
test al, al
je 0x45d2ea
cmp dword [ebp - 8], 0
jge 0x45d17c
xor eax, eax
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
inc ebx
lea edx, [ebp - 0x210]
mov eax, dword [ebp - 4]
call fcn.0045cbc4
mov eax, dword [ebp - 0x210]
call fcn.00403f10
cmp ebx, eax
jge 0x45d1c6
lea edx, [ebp - 0x214]
mov eax, dword [ebp - 4]
call fcn.0045cbc4
mov eax, dword [ebp - 0x214]
mov al, byte [eax + ebx - 1]
mov edx, dword [0x531564]
and eax, 0xff
bt dword [edx], eax
jae 0x45d1c6
inc ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x210]
cmp eax, dword [ebp - 8]
jg 0x45d1da
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
mov ecx, ebx
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0045d0d8
cmp ebx, dword [ebp - 8]
je 0x45d2dc
lea eax, [ebp - 0x108]
push eax
call sub.user32.dll_GetKeyboardState
mov edx, 0x100
lea eax, [ebp - 0x208]
mov byte [eax], 0
inc eax
dec edx
jne 0x45d206
mov byte [ebp - 0x1f8], 0x81
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.004031a4
and eax, 0x7f
movzx eax, word [eax*2 + 0x52fcec]
mov byte [ebp + eax - 0x208], 0x81
lea eax, [ebp - 0x208]
push eax
call sub.user32.dll_SetKeyboardState
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 1
xor eax, eax
push ebp
push 0x45d2c9
push dword fs:[eax]
mov dword fs:[eax], esp
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.004031a4
and eax, 0x7f
movzx eax, word [eax*2 + 0x52fcec]
push eax
push 0x100
mov eax, dword [ebp - 4]
call fcn.0043a4d0
push eax
call sub.user32.dll_SendMessageA
push 1
mov eax, dword [ebp - 4]
mov bx, 0xffce
call fcn.004031a4
and eax, 0x7f
movzx eax, word [eax*2 + 0x52fcec]
push eax
push 0x101
mov eax, dword [ebp - 4]
call fcn.0043a4d0
push eax
call sub.user32.dll_SendMessageA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d2d0
mov eax, dword [ebp - 4]
mov byte [eax + 0x224], 0
ret
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [eax + 0x218], edx
jmp 0x45d33d
cmp dword [ebp - 8], 0
jge 0x45d2f5
xor eax, eax
mov dword [ebp - 8], eax
lea edx, [ebp - 0x218]
mov eax, dword [ebp - 4]
call fcn.0045cbc4
mov eax, dword [ebp - 0x218]
call fcn.00403f10
cmp eax, dword [ebp - 8]
jg 0x45d32f
lea edx, [ebp - 0x21c]
mov eax, dword [ebp - 4]
call fcn.0045cbc4
mov eax, dword [ebp - 0x21c]
call fcn.00403f10
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0045d0d8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d362
lea eax, [ebp - 0x21c]
mov edx, 5
call fcn.00403cb4
ret
Function at 0x47a15f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0x530afe
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x47a1b7
movzx edx, word [ebp + 8]
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
push ecx
push dword [ebp + 0xc]
push 0
push 0
push 0x530b1f
push dword [ebp - 4]
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x47a1ad
mov bx, 0x2a04
push dword [ebp - 4]
call sub.advapi32.dll_RegCloseKey_1
jmp 0x47a1bb
mov bx, 0x2a04
mov eax, ebx
pop ebx
pop ecx
pop ecx
pop ebp
ret 8

Function at 0x4972c4
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49742d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00403d28
mov eax, dword [ebp - 0x10]
call fcn.00496f14
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x497316
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404158
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.004977ec
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4973eb
xor eax, eax
push ebp
push 0x4973e4
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.004970c0
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0049743c
test al, al
je 0x4973c2
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00403d78
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x4973c2
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.004040d4
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x4973bc
mov eax, dword [ebp - 0x14]
call fcn.004040d4
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00403e48
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.004972c4
dec ebx
cmp ebx, 0xffffffff
jne 0x497375
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4973eb
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.004970c0
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.004040d4
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.004970ac
push eax
call sub.advapi32.dll_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497434
lea eax, [ebp - 0x3c]
call fcn.00403c90
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00403cb4
ret
Function at 0x49743c
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00402bf8
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x531584]
cmp byte [edx + 8], 0
je 0x4974a0
mov edx, dword [0x531574]
cmp dword [edx], 2
jne 0x4974a0
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret

Function at 0x4974a4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x49755c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.0049743c
test al, al
je 0x49753e
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403d78
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x49753e
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.004040d4
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.004040d4
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00403e48
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x4974f7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x497563
lea eax, [ebp - 0x2c]
call fcn.00403c90
lea eax, [ebp - 0xc]
call fcn.00403c90
ret

Function at 0x497700
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov al, byte [ebp + 8]
call fcn.00496f28
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004040d4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x49775e
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5312a8]
mov dl, 1
mov eax, dword [0x496db4]
call fcn.0040cd58
call fcn.00403760
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x497768
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.004040d4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4977c0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x531590]
mov dl, 1
mov eax, dword [0x496db4]
call fcn.0040cd58
call fcn.00403760
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00496f58
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 0x4ad678
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x4ad6c9
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x4ad6b0
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x4ad6a0
jmp 0x4ad6c9
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x4ad6b1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4b1f98
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.004040d4
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x4b1fb1
test al, 0x10
jne 0x4b1fb5
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret
Function at 0x4b6e1c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
add esi, 0xfffffffc
lea edx, [ebp - 0x18]
mov eax, dword [esi]
mov ecx, dword [eax]
call dword [ecx + pe_nt_image_headers32]
mov edi, 4
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx + 0xd0]
test al, al
je 0x4b6e51
or edi, 0x400
mov eax, dword [esi]
test byte [eax + 0x44], 1
je 0x4b6ef1
mov eax, dword [esi]
mov bx, 0xffb9
call fcn.004031a4
test al, al
je 0x4b6ef1
mov eax, dword [esi]
test byte [eax + 0x44], 0x80
jne 0x4b6ef1
mov eax, dword [ebp + 8]
cmp byte [eax - 5], 0
je 0x4b6ee0
lea eax, [ebp - 8]
push eax
call sub.user32.dll_GetCursorPos
lea ecx, [ebp - 0x20]
lea edx, [ebp - 8]
mov eax, dword [esi]
call fcn.00433da0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push dword [ebp - 8]
mov eax, dword [ebp - 0xc]
add eax, 3
push eax
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 3
mov edx, dword [ebp - 0x14]
sub edx, 3
mov eax, dword [ebp - 0x18]
sub eax, 3
call fcn.00411614
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x4b6ef1
or edi, 0x200
jmp 0x4b6ef1
mov eax, dword [esi]
call fcn.004b7714
test al, al
je 0x4b6ef1
or edi, 0x200
mov eax, dword [esi]
cmp byte [eax + 0x219], 0
je 0x4b6f25
push 0x20
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4b6f25
mov eax, dword [esi]
mov bx, 0xffb9
call fcn.004031a4
test al, al
je 0x4b6f25
mov eax, dword [esi]
test byte [eax + 0x44], 0x80
jne 0x4b6f25
or edi, 0x200
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx + 0xd0]
test al, al
je 0x4b6f6f
mov eax, dword [esi]
mov ebx, dword [eax + 0x21c]
test ebx, ebx
je 0x4b6fac
mov eax, ebx
call fcn.00440414
dec eax
jle 0x4b6fac
mov eax, dword [ebp - 0x14]
push eax
push 1
push 1
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx + 0xe4]
mov edx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x21c]
mov ecx, dword [ebp - 0x18]
call fcn.00440930
jmp 0x4b6fd9
mov eax, dword [esi]
mov ebx, dword [eax + 0x21c]
test ebx, ebx
je 0x4b6fac
mov eax, ebx
call fcn.00440414
test eax, eax
jle 0x4b6fac
mov eax, dword [ebp - 0x14]
push eax
push 0
push 1
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx + 0xe4]
mov edx, eax
mov eax, dword [esi]
mov eax, dword [eax + 0x21c]
mov ecx, dword [ebp - 0x18]
call fcn.00440930
jmp 0x4b6fd9
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx + 0x4c]
test al, al
jne 0x4b6fbd
add edi, 0x100
push edi
push 4
lea eax, [ebp - 0x18]
push eax
mov eax, dword [esi]
mov edx, dword [eax]
call dword [edx + 0xe4]
call fcn.0041cc90
push eax
call sub.user32.dll_DrawFrameControl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4cb940
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_GetKeyboardState
push esi
push edi
lea esi, [ebp - 0x100]
lea edi, [ebp - 0x200]
mov ecx, 0x40
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
movzx eax, si
mov byte [ebp + eax - 0x200], 0x81
movzx esi, bx
mov byte [ebp + esi - 0x200], 0x81
lea eax, [ebp - 0x200]
push eax
call sub.user32.dll_SetKeyboardState
push 1
push esi
push 0x100
push edi
call sub.user32.dll_SendMessageA
lea eax, [ebp - 0x100]
push eax
call sub.user32.dll_SetKeyboardState
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4cf7ae
Capabilities:
Get file version info

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff4
push esp
push 0x4cf808
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jne 0x4cf7a3
call sub.kernel32.dll_GetLastError_1
mov dword [esp], eax
mov bl, 1
jmp 0x4cf7fc
mov eax, edi
call fcn.00402788
mov esi, eax
push esi
push edi
push 0
push 0x4cf808
call sub.version.dll_GetFileVersionInfoA
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
push 0x4cf818
push esi
call sub.version.dll_VerQueryValueA
mov eax, dword [esp + 8]
mov edx, dword [eax + 8]
shr edx, 0x10
mov ax, word [eax + 8]
and ax, 0xffff
cmp dx, 4
jb 0x4cf7ed
cmp ax, 0x46
ja 0x4cf7f1
xor ebx, ebx
jmp 0x4cf7f3
mov bl, 1
mov edx, edi
mov eax, esi
call fcn.004027a0
mov eax, ebx
add esp, 0xc
pop edi
pop esi
pop ebx
ret

Function at 0x4d1c3c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, edx
mov esi, eax
cmp bl, 7
jne 0x4d1c68
push 2
lea eax, [esp + 4]
push eax
push 0x100c
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
movzx edi, byte [esp]
sub edi, 0x30
jmp 0x4d1c6d
mov edi, ebx
and edi, 0x7f
mov eax, esi
call fcn.0043a4d0
test eax, eax
je 0x4d1c85
mov edx, edi
mov eax, dword [esi + 0x14c]
call fcn.00423484
mov byte [esi + 0x280], bl
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x4d9da4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push ecx
mov esi, ecx
mov ebx, edx
mov edx, dword [eax + 0x210]
mov dl, byte [edx + 0x20]
cmp dl, 7
jne 0x4d9de9
push 2
lea eax, [esp + 4]
push eax
push 0x100c
push 0x400
call sub.kernel32.dll_GetLocaleInfoA_1
xor eax, eax
mov al, byte [esp]
sub eax, 0x30
add eax, 2
mov dword [ebx], eax
cmp dword [ebx], 8
jne 0x4d9dff
mov dword [ebx], 1
jmp 0x4d9dff
cmp dl, 6
jne 0x4d9df6
mov dword [ebx], 1
jmp 0x4d9dff
xor eax, eax
mov al, dl
add eax, 2
mov dword [ebx], eax
mov eax, dword [ebx]
dec eax
cmp eax, 1
jge 0x4d9e0f
mov dword [esi], 7
jmp 0x4d9e11
mov dword [esi], eax
pop edx
pop esi
pop ebx
ret
Function at 0x4e1d3c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push ecx
mov byte [esp], cl
mov esi, edx
mov ebx, eax
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4e1d56
or byte [esp], 2
mov edx, esi
mov cl, byte [esp]
mov eax, ebx
call fcn.004e1c6c
mov edx, esi
mov cl, byte [esp]
mov eax, ebx
call fcn.0050a6a4
mov ax, word [esi]
call fcn.005135c8
test al, al
je 0x4e1d8d
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0xfc]
test al, al
jne 0x4e1d8d
mov word [esi], 0
pop edx
pop esi
pop ebx
ret

Function at 0x4e58f4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov ebx, eax
push esp
call sub.user32.dll_GetKeyboardState
mov eax, dword [0x5310a8]
mov eax, dword [eax]
mov esi, dword [eax + 0x50]
cmp byte [esp + 0x90], 0
je 0x4e593b
mov eax, dword [ebx + 0x324]
mov eax, dword [eax + 0x1f0]
mov edx, 2
call fcn.004a54bc
mov edx, dword [esi + 0xb0]
call fcn.004a5434
jmp 0x4e5958
mov eax, dword [ebx + 0x324]
mov eax, dword [eax + 0x1f0]
mov edx, 2
call fcn.004a54bc
xor edx, edx
call fcn.004a5434
cmp byte [esp + 0x14], 0
je 0x4e5982
mov eax, dword [ebx + 0x324]
mov eax, dword [eax + 0x1f0]
mov edx, 1
call fcn.004a54bc
mov edx, dword [esi + 0xac]
call fcn.004a5434
jmp 0x4e599f
mov eax, dword [ebx + 0x324]
mov eax, dword [eax + 0x1f0]
mov edx, 1
call fcn.004a54bc
xor edx, edx
call fcn.004a5434
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4ee5e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
xor edx, edx
mov dword [ebp - 0x204], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4ee671
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x200]
push eax
push 0x100
call sub.kernel32.dll_GetTempPathA
test eax, eax
jne 0x4ee61e
mov eax, ebx
call fcn.00403c90
lea eax, [ebp - 0x100]
push eax
push 0
push 0x4ee680
lea eax, [ebp - 0x200]
push eax
call sub.kernel32.dll_GetTempFileNameA
lea edx, [ebp - 0x204]
lea eax, [ebp - 0x100]
call fcn.00409fec
mov edx, dword [ebp - 0x204]
mov eax, ebx
call fcn.00403ce4
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ee678
lea eax, [ebp - 0x204]
call fcn.00403c90
ret

Function at 0x4ef654
Capabilities:
Open clipboard

Disassembly:
push ebx
push esi
push ecx
mov esi, eax
mov al, byte [esi + 0x1f6]
mov byte [esp], al
xor edx, edx
mov eax, esi
call fcn.0042ad4c
push 0
push 0
push 0x432
mov eax, esi
call fcn.0043a4d0
push eax
call sub.user32.dll_SendMessageA
test eax, eax
setne bl
mov dl, byte [esp]
mov eax, esi
call fcn.0042ad4c
mov eax, esi
call fcn.0043a4d0
push eax
call sub.user32.dll_OpenClipboard
xor eax, eax
push eax
call sub.user32.dll_EnumClipboardFormats
test eax, eax
je 0x4ef6c4
cmp eax, 2
jne 0x4ef6b2
xor ebx, ebx
jmp 0x4ef6c0
cmp eax, 3
je 0x4ef6bc
cmp eax, 0xe
jne 0x4ef6c0
mov bl, 1
jmp 0x4ef6c4
test eax, eax
jne 0x4ef69f
call sub.user32.dll_CloseClipboard
mov eax, ebx
pop edx
pop esi
pop ebx
ret