joyce8/EMBER2024-capa huggingface dataset:
Function at 0x600f90
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x10052c48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x10]
mov eax, dword [edi + 0x20]
neg eax
sbb eax, eax
xor ebx, ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ebx
call 0x64b2be
lea esi, [edi + 4]
push 0x10064000
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], ebx
lea ecx, [esi + 8]
call 0x64b2a0
push 0x10064000
lea ecx, [esi + 4]
call 0x64b2a0
push 0x10064000
mov ecx, esi
call 0x64b2a0
push 0x10064000
lea ecx, [esi + 0xc]
call 0x64b2a0
cmp dword [esp + 0x18], ebx
je 0x6010c6
mov esi, dword [0x10056628]
push ebp
lea ebp, [edi + 0x14]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
mov ecx, ebp
call 0x64b4ce
mov ecx, dword [esp + 0x10]
cmp ecx, ebx
je 0x6010bb
mov eax, dword [ecx + 0xc]
neg eax
sbb eax, eax
cmp eax, ebx
mov dword [esp + 0x20], eax
je 0x6010bb
jmp 0x601050
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
lea eax, [esp + 0x24]
push edx
lea edx, [esp + 0x24]
push eax
push edx
call 0x64b300
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x6010b5
mov eax, dword [ecx]
call dword [eax + 0xc]
mov eax, dword [edi + 0x108]
mov ecx, dword [esp + 0x14]
push eax
push ecx
call esi
add esp, 8
test eax, eax
je 0x6010b5
mov edx, dword [esp + 0x14]
push 0x100621bc
push edx
call esi
add esp, 8
test eax, eax
je 0x6010b5
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x10]
push eax
call 0x64b564
mov ecx, dword [esp + 0x18]
cmp ecx, ebx
je 0x6010b5
mov edx, dword [ecx]
push 1
call dword [edx]
cmp dword [esp + 0x20], ebx
jne 0x60104c
cmp dword [esp + 0x1c], ebx
jne 0x601019
pop ebp
lea ecx, [esp + 0x10]
mov dword [edi + 0x10c], ebx
mov dword [esp + 0x2c], 0xffffffff
call 0x64b2a6
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x602666
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10052dc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [esp + 8], esi
call fcn.006028a0
xor edi, edi
lea ecx, [esi + 0x20]
mov dword [esp + 0x14], edi
call 0x64b2be
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov byte [esi + 0x34], 2
mov dword [esi], 0x10056c48
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x602d90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10052e61
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
lea ecx, [esi + 4]
call 0x64b2be
xor ebx, ebx
mov ecx, 1
mov eax, 0x10056d2c
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], 0xffffffff
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ecx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esp + 0x18], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x40], eax
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x48], eax
lea edi, [esi + 0x74]
mov word [esi + 0x70], cx
push 0xa
mov ecx, edi
mov byte [esp + 0x1c], 2
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov byte [esi + 0x68], bl
mov dword [esi + 0x6c], ebx
call 0x64b2dc
push ebx
push ebx
push ebx
lea eax, [esi + 0x50]
push ebx
mov dword [edi], 0x10056d14
push eax
mov dword [esi], 0x10056c9c
call dword [0x100567dc]
lea eax, [esi + 0x24]
xor ecx, ecx
mov edx, eax
pop edi
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov ecx, dword [0x10064100]
mov dword [eax], ecx
mov ecx, dword [esp + 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x6120d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10053c08
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0xc]
mov eax, dword [esi + 0x18]
push ecx
push eax
mov dword [esp + 0x24], eax
call dword [0x10056800]
mov edx, dword [esp + 0xa8]
push 0
push 0
push edx
lea ecx, [esp + 0x30]
call fcn.00638940
mov ebx, dword [0x100568c8]
mov edi, dword [esi + 0x18]
mov dword [esp + 0xa0], 0
call ebx
cmp eax, edi
jne 0x612153
mov eax, dword [esi + 0x90]
test eax, eax
jne 0x612153
push 0x1e
mov ecx, esi
call fcn.00604ab0
mov ecx, eax
call fcn.0063e500
mov edi, eax
jmp 0x612202
mov eax, dword [esi + 0x90]
sub eax, 0
je 0x612170
dec eax
je 0x61216c
dec eax
jne 0x6121fe
push 0x18
jmp 0x61213e
push 0x1a
jmp 0x61213e
push edi
call dword [0x100567f4]
mov edi, eax
test edi, edi
je 0x612260
push 0
push 0
push 0x400
push edi
call dword [0x100567f8]
mov ecx, eax
shr ecx, 0x10
cmp ecx, 0x534b
jne 0x612260
and eax, 0xffff
push eax
push edi
call dword [0x100568a0]
mov ecx, dword [esi + 0x18]
cmp eax, ecx
jne 0x612260
push ecx
call dword [0x10056770]
test eax, eax
je 0x612260
call ebx
test eax, eax
je 0x61213c
cmp eax, dword [esi + 0x18]
je 0x61213c
push eax
call fcn.00602cc0
add esp, 4
test eax, eax
je 0x61213c
cmp dword [eax + 0x20], 4
jne 0x61213c
push 0x16
jmp 0x61213e
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
test eax, eax
mov eax, dword [esp + 0x2c]
jne 0x612212
mov eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi]
push 0
push ecx
push eax
mov ecx, esi
call dword [edx + 0x44]
mov eax, dword [esp + 0x38]
test eax, eax
mov eax, dword [esp + 0x2c]
jne 0x612230
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0xc]
push 0
push 0
push edi
sub esp, 0x10
mov edx, esp
push eax
mov dword [edx], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x34]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x38]
mov dword [edx + 0xc], ecx
call fcn.00635de0
add esp, 0x20
jmp 0x612278
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x34]
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x2c]
call fcn.00639080
lea ecx, [esp + 0x24]
mov dword [esp + 0xa0], 0xffffffff
call fcn.00638ac0
mov ecx, dword [esp + 0x98]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x98
ret 4
Function at 0x40698a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x4069c1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x40699b
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x406996
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x4069f2
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x4069d4
pop edi
not eax
pop esi
ret 0xc
Function at 0x40330c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4a8008], 0x8088405
inc edx
mov dword [ebx + 0x4a8008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x403a28
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x4a8024]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403ac0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403aa0
xor eax, eax
push ebp
push 0x403a99
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 0x403adc
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 0x403aa0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
movzx eax, word [0x4a8024]
and ax, 0xffc0
movzx edx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x4a8024], ax
mov esp, ebp
pop ebp
ret
Function at 0x406118
Capabilities:
Query or enumerate registry value

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 fcn.0040129c
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406348
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40619b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406348
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40619b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406364
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x406224
xor eax, eax
push ebp
push 0x40621d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405f54
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 0x406202
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x406384
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x406202
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 0x406224
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 fcn.004012d4
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call fcn.004012bc
push eax
call fcn.00401294
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x40633e
cmp byte [ebp - 0xd], 0
jne 0x40626b
cmp byte [ebp - 0x12], 0
je 0x40633e
lea eax, [ebp - 0x11d]
push eax
call fcn.004012dc
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x406284
dec ebx
cmp byte [ebx], 0x2e
je 0x406293
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x406283
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40633e
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4062d0
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call fcn.004012d4
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call fcn.004012c4
mov esi, eax
test esi, esi
jne 0x40633e
cmp byte [ebp - 0xd], 0
je 0x40633e
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 fcn.004012d4
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call fcn.004012c4
mov esi, eax
test esi, esi
jne 0x40633e
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 fcn.004012d4
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call fcn.004012c4
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408984
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4089d6
test eax, edx
je 0x4089d9
movzx ecx, byte [edx]
cmp cl, byte [eax]
je 0x408999
movzx eax, byte [eax]
sub eax, ecx
ret
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x4089bf
add ecx, 4
js 0x4089af
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 3
add ecx, ebx
jns 0x4089bc
movzx eax, byte [ecx + eax]
movzx edx, byte [ecx + edx]
sub eax, edx
pop ebx
pop ebx
ret
xor eax, eax
ret
test eax, eax
je 0x4089e5
test edx, edx
jne 0x40898c
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

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

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.00404fec
push eax
call fcn.00406dfc
cmp eax, 0xffffffff
je 0x409472
test al, 0x10
sete al
pop esi
pop ebx
ret
call fcn.00406e0c
mov ebx, eax
cmp ebx, 2
je 0x409493
cmp ebx, 3
je 0x409493
cmp ebx, 0x7b
je 0x409493
mov eax, esi
call fcn.00409414
test al, al
jne 0x409497
xor eax, eax
jmp 0x409499
mov al, 1
pop esi
pop ebx
ret

Function at 0x40c070
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 fcn.00406e1c
test eax, eax
jle 0x40c0a9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404c4c
jmp 0x40c0b2
mov eax, ebx
mov edx, esi
call fcn.00404bb0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c0bc
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 fcn.00406e1c
test eax, eax
jle 0x40c0de
movzx eax, byte [esp]
jmp 0x40c0e0
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40c770
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c5e8
mov eax, dword [0x4aac60]
cmp byte [eax], 0
je 0x40c7ec
mov eax, dword [0x4aa924]
call fcn.004033f0
call fcn.00402ff4
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.0040719c
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0040960c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call fcn.00406e44
push eax
call fcn.00406f24
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40c834
push 0xfffffffffffffff4
call fcn.00406e44
push eax
call fcn.00406f24
jmp 0x40c822
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4aa8a0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4ad7f4]
call fcn.00405efc
push eax
call fcn.004074ec
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call fcn.0040750c
add esp, 0x444
ret
Function at 0x40d0d0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d1a6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404bf4
lea eax, [ebp - 4]
call fcn.00405044
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404fec
push eax
call fcn.00406f4c
mov ebx, eax
test ebx, ebx
je 0x40d190
mov eax, ebx
call fcn.00402e98
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d189
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00404fec
push eax
call fcn.00406f44
test eax, eax
je 0x40d173
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d1b8
mov eax, dword [ebp - 0x10]
push eax
call fcn.00406f54
test eax, eax
je 0x40d173
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d190
mov eax, dword [ebp - 0x10]
call fcn.00402eb4
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d1ad
lea eax, [ebp - 4]
call fcn.00404b5c
ret

Function at 0x422da4
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call fcn.00406ec4
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00422ab4
dec esi
jne 0x422dc6
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x423f38
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4af9ec
cmp dword [edi], 0
jne 0x423fb4
push 0x40
push 0x1000
push 0x1000
push 0
call fcn.00406f04
mov esi, eax
mov eax, dword [0x4af9e8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4a8c24
mov ecx, 2
call fcn.00403088
mov edx, 0x423f10
lea eax, [esi + 5]
call fcn.00423f30
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00423f30
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 0x423f89
mov dword [0x4af9e8], 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 0x427a80
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.00404fec
push eax
mov eax, dword [ebx + 4]
push eax
call fcn.00406d3c
test eax, eax
je 0x427ad8
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x4aae54]
mov dl, 1
mov eax, dword [0x4273bc]
call fcn.0040c954
call fcn.004044cc
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00427530
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 0x428b3c
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 0x428b42
ret
Function at 0x441fcc
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.00404b5c
push 0
movzx eax, byte [ebp - 2]
push eax
call fcn.004074f4
shl eax, 0x10
test eax, eax
je 0x44201a
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call fcn.00407334
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00404dcc
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4470fc
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44722f
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x16]
push eax
call fcn.00407354
mov dl, 1
mov eax, dword [0x42741c]
call fcn.00427558
mov dword [ebp - 0xc], eax
xor edx, edx
push ebp
push 0x447205
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x80000002
mov eax, dword [ebp - 0xc]
call fcn.00427634
lea eax, [ebp - 0x20]
lea edx, [ebp - 0x16]
mov ecx, 0xa
call fcn.00404dcc
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x447244
call fcn.00404e74
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.004277c0
lea ecx, [ebp - 4]
mov edx, 0x447280
mov eax, dword [ebp - 0xc]
call fcn.00427a08
mov edx, 0x8000
mov eax, dword [ebp - 4]
call fcn.0040e4a0
mov dword [ebp - 8], eax
xor edx, edx
push ebp
push 0x4471e8
push dword fs:[edx]
mov dword fs:[edx], esp
push 0x44728c
mov eax, dword [ebp - 8]
push eax
call fcn.00406e3c
mov ebx, eax
call ebx
movzx eax, word [eax + 0x28]
and ax, 1
cmp ax, 1
sete byte [0x4a96e0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4471ef
mov eax, dword [ebp - 8]
push eax
call fcn.00406da4
ret

Function at 0x4472dc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff0
mov esi, eax
lea edi, [esp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movzx ebx, byte [esp + 4]
test bx, bx
je 0x447323
push 0x10
call fcn.0040733c
test ax, ax
jge 0x447306
add bx, 0x2000
push 0x11
call fcn.0040733c
test ax, ax
jge 0x447317
add bx, 0x4000
test byte [esp + 0xb], 0x20
je 0x447323
add bx, 0x8000
mov eax, ebx
add esp, 0x10
pop edi
pop esi
pop ebx
ret
Function at 0x44c784
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x4afc50], 0
je 0x44c8cd
push 0x11
call fcn.0040733c
test ax, 0x8000
setne al
mov edx, dword [0x4aabb0]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x44c8cd
mov eax, dword [0x4afc54]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4afc50]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44c89c
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4afc50]
call fcn.00419cfc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44c894
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x44c894
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44c894
mov eax, dword [ebp - 0x14]
call fcn.00457084
push eax
call fcn.004074b4
test eax, eax
je 0x44c894
push ebp
call fcn.0044c740
pop ecx
test al, al
jne 0x44c894
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.00403e2c
test al, al
je 0x44c894
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.00403e2c
cmp byte [ebp - 1], 0
je 0x44c894
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call fcn.00407554
test eax, eax
je 0x44c894
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4afc54]
call fcn.0044beb0
inc edi
dec ebx
jne 0x44c7e9
mov eax, dword [0x4afc54]
cmp dword [eax + 8], 0
jle 0x44c8b4
mov eax, dword [0x4afc54]
call fcn.0044bf68
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44c8cd
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044c5a4
pop ecx
test al, al
jne 0x44c8cd
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 0x453f58
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call fcn.0040739c
call fcn.00406bc4
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.0044eb0c
test ebx, ebx
jne 0x453fab
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.00453e94
mov ebx, eax
test ebx, ebx
je 0x454096
cmp esi, ebx
je 0x453fd4
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x453fe9
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x454021
add eax, 0xffffff5f
sub eax, 2
jb 0x454039
dec eax
sub eax, 2
jb 0x45404d
dec eax
sub eax, 2
jb 0x454043
jmp 0x454057
add eax, 0xfffffdff
sub eax, 2
jb 0x454039
dec eax
sub eax, 2
jb 0x45404d
dec eax
sub eax, 2
jb 0x454043
jmp 0x454057
mov byte [esp + 0x120], 0
jmp 0x45405f
mov byte [esp + 0x120], 2
jmp 0x45405f
mov byte [esp + 0x120], 1
jmp 0x45405f
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call fcn.0040735c
lea eax, [esp + 0x14]
call fcn.0046356c
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.004502c4
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x454098
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret