joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406450
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4064b6
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404844
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.0040313c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4064a0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4064bd
lea eax, [ebp - 0x10]
call fcn.004045d4
ret

Function at 0x40b7a4
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 0x40b7dd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004046c4
jmp 0x40b7e6
mov eax, ebx
mov edx, esi
call fcn.00404628
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b7f0
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 0x40b811
mov al, byte [esp]
jmp 0x40b813
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40be98
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bd10
mov eax, dword [0x46f968]
cmp byte [eax], 0
je 0x40bf14
mov eax, dword [0x46f6c8]
call fcn.00402f80
call fcn.004028fc
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.00408fd0
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 0x40bf5c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bf4a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x46f660]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x470668]
call fcn.00405948
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 0x40c804
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c8da
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040466c
lea eax, [ebp - 8]
call fcn.00404ae4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404a94
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c8c4
mov eax, ebx
call fcn.00402794
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c8bd
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 - 8]
call fcn.00404a94
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c8a7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c8ec
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c8a7
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c8c4
mov eax, dword [ebp - 0x10]
call fcn.004027b4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c8e1
lea eax, [ebp - 8]
call fcn.004045d4
ret

Function at 0x40cea4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40cf08
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404844
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004089f8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cf0f
lea eax, [ebp - 0xc]
call fcn.004045d4
ret

Function at 0x41ea7c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x470888
cmp dword [edi], 0
jne 0x41eaf8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x470884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x46e404
mov ecx, 2
call fcn.00402990
mov edx, 0x41ea54
lea eax, [esi + 5]
call fcn.0041ea74
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041ea74
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 0x41eacd
mov dword [0x470884], 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 0x420114
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 0x42011a
ret
Function at 0x422624
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 0x422675
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42265c
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42264c
jmp 0x422675
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 0x42265d
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42b718
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404a84
xor eax, eax
push ebp
push 0x42b846
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42b819
xor eax, eax
push ebp
push 0x42b812
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404894
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42b7e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x42b7d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404894
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404a94
mov edx, ebx
pop ecx
call fcn.00402990
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b7dd
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x46f5d8]
mov dl, 1
mov eax, dword [0x4078d0]
call fcn.0040c028
call fcn.00403ff0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b84d
lea eax, [ebp - 4]
call fcn.004045d4
ret
Function at 0x42efbc
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 0x42f125
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0040466c
mov eax, dword [ebp - 0x10]
call fcn.0042ec70
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x42f00e
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404b34
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.0042f244
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x42f0e3
xor eax, eax
push ebp
push 0x42f0dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0042edb8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0042f134
test al, al
je 0x42f0ba
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004046c4
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x42f0ba
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.00404a94
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x42f0b4
mov eax, dword [ebp - 0x14]
call fcn.00404a94
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004047cc
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0042efbc
dec ebx
cmp ebx, 0xffffffff
jne 0x42f06d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f0e3
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0042edb8
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404a94
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0042eda4
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 0x42f12c
lea eax, [ebp - 0x3c]
call fcn.004045d4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004045f8
ret
Function at 0x42f0e3
Capabilities:
Delete 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 0x42f125
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0040466c
mov eax, dword [ebp - 0x10]
call fcn.0042ec70
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x42f00e
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00404b34
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.0042f244
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x42f0e3
xor eax, eax
push ebp
push 0x42f0dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.0042edb8
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.0042f134
test al, al
je 0x42f0ba
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.004046c4
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x42f0ba
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.00404a94
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x42f0b4
mov eax, dword [ebp - 0x14]
call fcn.00404a94
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004047cc
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.0042efbc
dec ebx
cmp ebx, 0xffffffff
jne 0x42f06d
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42f0e3
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.0042edb8
mov eax, dword [ebp - 0x1c]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
mov eax, dword [ebp - 0x10]
call fcn.00404a94
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.0042eda4
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 0x42f12c
lea eax, [ebp - 0x3c]
call fcn.004045d4
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.004045f8
ret

Function at 0x42f134
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.00403100
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 [0x46fad0]
cmp byte [edx + 0xc], 0
je 0x42f198
mov edx, dword [0x46fac4]
cmp dword [edx], 2
jne 0x42f198
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 0x42f1dc
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.0042ec84
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.00404a94
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x42f23a
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x46f844]
mov dl, 1
mov eax, dword [0x42eba8]
call fcn.0040c064
call fcn.00403ff0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x434ab8
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x434a04
call sub.user32.dll_EnumWindows
ret

Function at 0x434bd8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x434c55
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00434638
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jbe 0x434bfd
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.00434238
cmp dword [ebp - 4], 0
je 0x434c3f
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404a94
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x434c5c
lea eax, [ebp - 4]
call fcn.004045d4
ret

Function at 0x436ebc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x436f0c]
test si, 4
je 0x436ed0
or bl, 1
test si, 8
je 0x436eda
or bl, 4
test si, 1
je 0x436ee4
or bl, 8
test si, 2
je 0x436eee
or bl, 0x10
test si, 0x10
je 0x436ef8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x436f07
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x436f10
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x436f48]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x436f29
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x436f38
or bl, 4
test esi, 0x20000000
je 0x436f43
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x43da8c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43dc37
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x43dc18
mov dl, 1
mov eax, dword [0x415ed8]
call fcn.00403834
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004045d4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x43dc07
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00451d9c
test al, al
je 0x43dbfa
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x43dc48
lea eax, [ebp - 0x254]
call fcn.0040962c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x43dbfa
xor eax, eax
push ebp
push 0x43dbf3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x43dc80
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x43dbdc
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404844
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x43dbdc
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404844
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43dbfa
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x43dafd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00419a3c
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43dc3e
lea eax, [ebp - 0x260]
call fcn.004045d4
ret

Function at 0x43e56c
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x470b40]
cmp byte [eax + 0xa5], 0
jne 0x43e5dd
cmp dword [0x470b58], 0
jne 0x43e59e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x43e528
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x470b58], eax
cmp dword [0x470b54], 0
jne 0x43e5b9
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x470b54], eax
cmp dword [0x470b5c], 0
jne 0x43e5dd
push esp
push 0
push 0
push 0x43e4cc
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x470b5c], eax
pop edx
ret
Function at 0x43e6d4
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x43e6eb
add esp, 0xfffffff0
call fcn.00403b88
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041d9ec
mov eax, dword [0x46f818]
cmp word [eax + 2], 0
jne 0x43e713
mov eax, dword [0x46f818]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0043fdc4
mov eax, dword [0x46f90c]
cmp word [eax + 2], 0
jne 0x43e72d
mov eax, dword [0x46f90c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0043ffbc
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415abc]
call fcn.00403834
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415abc]
call fcn.00403834
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41ffc8]
call fcn.00427950
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x43e8b4
mov eax, dword [0x46f6fc]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00427d20
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x44055c
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x46f6fc]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
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.0040ce3c
test eax, eax
je 0x43e822
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0040900c
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040ce64
test eax, eax
je 0x43e836
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404844
mov eax, dword [0x46f550]
cmp byte [eax], 0
jne 0x43e86a
mov eax, ebx
call fcn.0043e9dc
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00440738
mov eax, ebx
call fcn.004410fc
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43e8aa
call fcn.00403be0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451a3c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x46fad0]
cmp byte [eax + 0xc], 0
je 0x451ba9
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x451ba2
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x470bb4], 0
jne 0x451a90
push 0x451bb0
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x451bb8
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470bb4], eax
cmp dword [0x46ecd4], 0
jne 0x451b8b
push 0x451bc8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x46ecd4], eax
cmp dword [0x46ecd4], 0
je 0x451b8b
push 0x451bd4
mov eax, dword [0x46ecd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470bb8], eax
push 0x451be4
mov eax, dword [0x46ecd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470bbc], eax
push 0x451bf8
mov eax, dword [0x46ecd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470bc0], eax
push 0x451c10
mov eax, dword [0x46ecd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470bc4], eax
push 0x451c28
mov eax, dword [0x46ecd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470bc8], eax
push 0x451c3c
mov eax, dword [0x46ecd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470bcc], eax
push 0x451c54
mov eax, dword [0x46ecd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470bd0], eax
push 0x451c6c
mov eax, dword [0x46ecd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470bd4], eax
push 0x451c88
mov eax, dword [0x46ecd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470bd8], eax
push 0x451c94
mov eax, dword [0x46ecd4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x470bdc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x451ba9
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x4530bc
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.004045d4
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x45310b
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.00404844
pop ebx
mov esp, ebp
pop ebp
ret