joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4fb327
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
mov dword [ebp - 0x10], 0
jmp 0x4fb340
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x4fb388
mov dword [ebp - 0x14], 0
jmp 0x4fb358
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0x100
jge 0x4fb386
mov edx, dword [ebp - 0x10]
shl edx, 0xa
mov eax, dword [ebp - 0x10]
shl eax, 0xa
mov ecx, dword [ebp + 8]
lea eax, [ecx + eax + 0x48]
mov ecx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x14]
mov edx, dword [edx + esi*4 + 0x503a64]
mov dword [eax + ecx*4], edx
jmp 0x4fb34f
jmp 0x4fb337
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
jmp 0x4fb3a1
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x12
jge 0x4fb40d
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
jmp 0x4fb3c0
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 4
jge 0x4fb3f5
mov edx, dword [ebp - 8]
shl edx, 8
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x14]
xor ecx, ecx
mov cl, byte [eax]
or edx, ecx
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 0x10]
jl 0x4fb3f3
mov dword [ebp - 0x14], 0
jmp 0x4fb3b7
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx*4 + 0x503a1c]
xor edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov dword [ecx + eax*4], edx
jmp 0x4fb398
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
jmp 0x4fb42d
mov edx, dword [ebp - 0x10]
add edx, 2
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 0x12
jge 0x4fb462
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004fb120
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov dword [ecx + eax*4], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov dword [ecx + eax*4 + 4], edx
jmp 0x4fb424
mov dword [ebp - 0x10], 0
jmp 0x4fb474
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jge 0x4fb4da
mov dword [ebp - 0x14], 0
jmp 0x4fb48c
mov ecx, dword [ebp - 0x14]
add ecx, 2
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0x100
jge 0x4fb4d8
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004fb120
add esp, 0xc
mov edx, dword [ebp - 0x10]
shl edx, 0xa
mov eax, dword [ebp + 8]
lea ecx, [eax + edx + 0x48]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp - 0x10]
shl ecx, 0xa
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x48]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0xc]
mov dword [eax + ecx*4 + 4], edx
jmp 0x4fb483
jmp 0x4fb46b
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x402a90
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404180
test esi, esi
jne 0x402ac6
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404270
jmp 0x402ae4
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029a4
mov edi, eax
test esi, esi
je 0x402ae4
cmp dword [ebx], 0
je 0x402ae4
dec esi
jmp 0x402acd
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4032a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x49b020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403338
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403318
xor eax, eax
push ebp
push 0x403311
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 0x403354
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 0x403318
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x49b020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x49b020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404004
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x49d04c], 0
je 0x404065
cmp word [0x49d220], 0xd7b2
jne 0x40402d
cmp dword [0x49d228], 0
jbe 0x40402d
mov eax, 0x49d21c
call dword [0x49d238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x49b06c
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 0x40408c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x49b030], 0
jne 0x404081
push 0
push 0x49b064
push 0x49b06c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405ab4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405bd8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405a2b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405bd8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405a2b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405bf4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405ab4
xor eax, eax
push ebp
push 0x405aad
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004057f0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405a92
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405c14
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405a92
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ab4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405bce
cmp byte [ebp - 0xd], 0
jne 0x405afb
cmp byte [ebp - 0x12], 0
je 0x405bce
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405b14
dec ebx
cmp byte [ebx], 0x2e
je 0x405b23
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405b13
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405bce
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405b60
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405bce
cmp byte [ebp - 0xd], 0
je 0x405bce
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405bce
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4062a0
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 0x406306
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.004043f0
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402e0c
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4062f0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40630d
lea eax, [ebp - 0x10]
call fcn.00404180
ret

Function at 0x40bdcc
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 0x40be05
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404270
jmp 0x40be0e
mov eax, ebx
mov edx, esi
call fcn.004041d4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40c4c0
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c338
mov eax, dword [0x49c90c]
cmp byte [eax], 0
je 0x40c53c
mov eax, dword [0x49c638]
call fcn.00402bd0
call fcn.004028d0
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.00408f40
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 0x40c584
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40c572
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x49c5d0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x49d668]
call fcn.004057b4
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 0x40ce44
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 0x40cf1a
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404218
lea eax, [ebp - 8]
call fcn.00404690
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404640
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40cf04
mov eax, ebx
call fcn.00402768
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40cefd
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.00404640
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40cee7
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40cf2c
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40cee7
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 0x40cf04
mov eax, dword [ebp - 0x10]
call fcn.00402788
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cf21
lea eax, [ebp - 8]
call fcn.00404180
ret

Function at 0x40d4a4
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 0x40d508
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.004043f0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408a34
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d50f
lea eax, [ebp - 0xc]
call fcn.00404180
ret

Function at 0x4147f4
Capabilities:
Encode data using xor

Disassembly:
mov al, byte [0x8a987b57]
push 0x53
or eax, 0x2469b6cd
add eax, 0x1e2d456b
sbb al, 0x65
inc eax
inc esi
dec eax

Function at 0x44b8c4
Capabilities:
Authenticate hmac

Disassembly:
inc ebp
cli
pushfd
push cs
xchg ecx, eax
adc al, 0x38
pop eax
pushfd
inc edi
push 0x494562e3
push edi
mov esp, 0x1be3de59
pop ds
ror dh, 1
add al, 0xc6
or ebx, edx
sbb dl, bl
xchg esi, eax
push es
lcall 0xdf19, 0x47ea7b10
out 0x22, al
cld
invalid

Function at 0x44c1b0
Capabilities:
Encode data using xor

Disassembly:
dec ebp
or al, byte [ecx + 0x7d]
mov word [esi + 0x2b], fs
xor dword [ecx], esi
sub dl, byte [ebx - 0x19cd6eb9]
xchg ecx, eax
xor ah, dh
cmp ebp, dword [esi]
pop esp
mov ebp, 0x5c3cf74
js 0x44c1bc
retf 0x5702
Function at 0x453980
Capabilities:
Encode data using xor

Disassembly:
xchg edx, eax
xlatb
mov eax, dword [0x25e220cc]
mov cl, 0xc8
xor eax, 0x8b258ff8
mov bl, 0x34
shl cl, 0xd1
xchg ecx, eax
mov bh, 0x92
mov ecx, 0xa6944832
inc eax
invalid
ja 0x45393b
mov esi, ds
push es
inc edx
aad 0x9c
inc esi
jbe 0x45397b
jl 0x4539a5
cld
sub bl, byte [esi + 0x1b]
or eax, 0x72be4f0d
add al, byte [ecx + 0x14767ba1]
jae 0x4539c5
mov eax, dword [0x7314767b]
sub al, 0xb
lds ebx, [edx]
rcl bl, 0x2a
or eax, ebp
sbb al, al
shr dword [edx], cl
inc esp
movsb byte es:[edi], byte [esi]
scasb al, byte es:[edi]
sbb dword [ebx - 0x720f3468], 0xed27a649
retf
lea ecx, [ecx - 0x5a]
daa
in eax, dx
push eax
mov eax, 0x34468888
mov dl, 0x12
xor byte [esi + 0x3f], 0xdb
cmpsd dword [esi], dword es:[edi]
push esi
xchg ebp, eax
call 0x4d0cf25c
and al, 0x7c
insd dword es:[edi], dx
pop edx
test dword [edi - 0x34], esi
ja 0x453993
lahf
inc esi
inc ecx
push ebp
and bh, byte [ebx + ebx*2]
popal
adc esp, dword [ecx - 0x51]
mov cl, 0x3e
cli
xor dword [ecx - 0x42], ebx
pop es
dec ebp
jno 0x4539c9
ja 0x4539a7
pop esp
lahf
mov eax, 0x3c1945f4
and eax, 0xff4217db
fcom st(1)
loopne 0x4539e7
pop ss
inc edx
invalid
inc ecx
and dl, byte [eax + 0x29551065]
adc ebp, ecx
sal byte [esp + edx], 0xb2
lodsb al, byte [esi]
mov cl, byte [ebx]
ljmp 0xc02b

Function at 0x456d40
Capabilities:
Encode data using xor

Disassembly:
mov bl, 0x28
jae 0xe851d014
add ebp, eax
arpl word ds:[edx + edi*2 + 0x36f7b477], cx
sar cl, 1
invalid
mov dword [esp + ecx - 0x7dd9c158], 0x45544dac
jbe 0x456ce3
push ecx
sbb byte [edi + 0x4552ee24], bh
jae 0x456d5d
int1
leave
movsb byte es:[edi], byte [esi]
int3
retf 0xc2f3
Function at 0x459b44
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1f8], 0
je 0x459b60
cmp dword [esi + 4], 0
je 0x459b8d
test byte [ebx + 0x55], 1
jne 0x459b7f
mov eax, ebx
call fcn.004586e4
test eax, eax
jne 0x459b7f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x459c9d
mov edx, esi
mov eax, ebx
call fcn.00459668
jmp 0x459c9d
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x459c96
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045b9b4
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0045626c
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.00459b44
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0045b9b4
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x459c9d
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4603d4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x49ca7c]
cmp byte [eax + 0xc], 0
je 0x460541
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x46053a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49dbc8], 0
jne 0x460428
push 0x460548
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x460550
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49dbc8], eax
cmp dword [0x49bfac], 0
jne 0x460523
push 0x460560
call sub.kernel32.dll_LoadLibraryA
mov dword [0x49bfac], eax
cmp dword [0x49bfac], 0
je 0x460523
push 0x46056c
mov eax, dword [0x49bfac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49dbcc], eax
push 0x46057c
mov eax, dword [0x49bfac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49dbd0], eax
push 0x460590
mov eax, dword [0x49bfac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49dbd4], eax
push 0x4605a8
mov eax, dword [0x49bfac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49dbd8], eax
push 0x4605c0
mov eax, dword [0x49bfac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49dbdc], eax
push 0x4605d4
mov eax, dword [0x49bfac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49dbe0], eax
push 0x4605ec
mov eax, dword [0x49bfac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49dbe4], eax
push 0x460604
mov eax, dword [0x49bfac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49dbe8], eax
push 0x460620
mov eax, dword [0x49bfac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49dbec], eax
push 0x46062c
mov eax, dword [0x49bfac]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49dbf0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460541
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x46455c
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.00404180
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4645ab
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.004043f0
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46bd44
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x46bd7c]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46bd5d
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x46bd6c
or bl, 4
test esi, 0x20000000
je 0x46bd77
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x472908
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 0x472ab3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x472a94
mov dl, 1
mov eax, dword [0x419c2c]
call fcn.00403400
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404180
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x472a83
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.00460734
test al, al
je 0x472a76
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, 0x472ac4
lea eax, [ebp - 0x254]
call fcn.004095c8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x472a76
xor eax, eax
push ebp
push 0x472a6f
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 0x472afc
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x472a58
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004043f0
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 0x472a58
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004043f0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x472a76
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x472979
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.0041df4c
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 0x472aba
lea eax, [ebp - 0x260]
call fcn.00404180
ret