joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e9b20
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x52a098]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
push ebx
push esi
push edi
lea ecx, [eax + 2]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x12c], ecx
lea esi, [ebp - 0x124]
lea ecx, [eax + 3]
xor bl, bl
mov dword [ebp - 0x130], ecx
mov edi, 0x10
nop dword [eax]
movzx ecx, bl
lea esi, [esi + 4]
add bl, 4
movzx edx, byte [ecx + eax]
movzx eax, byte [eax + ecx + 1]
shl edx, 8
or edx, eax
mov eax, dword [ebp - 0x12c]
shl edx, 8
movzx eax, byte [eax + ecx]
or edx, eax
mov eax, dword [ebp - 0x130]
shl edx, 8
movzx eax, byte [eax + ecx]
or edx, eax
mov eax, dword [ebp - 0x128]
mov dword [esi - 4], edx
sub edi, 1
jne 0x4e9b60
lea eax, [ebp - 0x120]
mov ebx, 0x30
nop
mov edx, dword [eax]
lea eax, [eax + 4]
mov esi, dword [eax + 0x30]
mov edi, edx
mov ecx, edx
rol edi, 0xe
ror ecx, 7
xor edi, ecx
shr edx, 3
xor edi, edx
mov ecx, esi
mov edx, esi
rol ecx, 0xd
rol edx, 0xf
xor edx, ecx
shr esi, 0xa
xor edx, esi
add edi, edx
add edi, dword [eax + 0x1c]
add edi, dword [eax - 8]
mov dword [eax + 0x38], edi
sub ebx, 1
jne 0x4e9bb0
mov ebx, dword [ebp - 0x128]
add ebx, 0x50
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x12c], 0x40
movups xmm0, xmmword [ebx]
movups xmmword [ebp - 0x24], xmm0
movups xmm0, xmmword [ebx + 0x10]
movups xmmword [ebp - 0x14], xmm0
mov ebx, dword [ebp - 0x14]
nop
mov edx, dword [ebp - 0x1c]
mov edi, ebx
mov esi, dword [ebp - 0x20]
mov eax, ebx
rol eax, 7
mov ecx, ebx
ror edi, 0xb
not ecx
and ecx, dword [ebp - 0xc]
xor edi, eax
mov eax, ebx
ror eax, 6
xor edi, eax
mov eax, dword [ebp - 0x10]
and eax, ebx
xor ecx, eax
mov eax, dword [ebp - 0x128]
add edi, ecx
add dword [ebp - 0x128], 4
add edi, dword [eax + 0x51fff0]
add edi, dword [ebp + eax - 0x124]
add edi, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, edx
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
add ebx, edi
mov eax, esi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x24]
mov ecx, eax
mov dword [ebp - 0x20], eax
rol eax, 0xa
ror ecx, 0xd
xor ecx, eax
mov eax, dword [ebp - 0x24]
ror eax, 2
xor ecx, eax
mov eax, esi
or eax, edx
and esi, edx
and eax, dword [ebp - 0x24]
add ecx, edi
or eax, esi
add eax, ecx
sub dword [ebp - 0x12c], 1
mov dword [ebp - 0x24], eax
jne 0x4e9c20
mov dword [ebp - 0x14], ebx
lea ecx, [ebp - 0x24]
mov ebx, dword [ebp - 0x130]
mov edx, 8
nop dword [eax]
mov eax, dword [ecx]
lea ecx, [ecx + 4]
add dword [ebx], eax
lea ebx, [ebx + 4]
sub edx, 1
jne 0x4e9cd0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049ca3f
mov esp, ebp
pop ebp
ret
Function at 0x4ea630
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x8008
call fcn.0049d540
mov eax, dword [0x52a098]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
xor esi, esi
mov bl, byte [edi]
cmp bl, 0x41
jl 0x4ea65a
cmp bl, 0x5a
jle 0x4ea664
cmp bl, 0x61
jl 0x4ea676
cmp bl, 0x7a
jg 0x4ea676
cmp byte [edi + 1], 0x3a
jne 0x4ea676
mov dword [ebp - 0x8008], 1
jmp 0x4ea67e
xor eax, eax
mov dword [ebp - 0x8008], eax
push 0x8000
lea eax, [ebp - 0x8004]
push 0
push eax
call fcn.004b5690
mov ecx, dword [ebp - 0x8008]
add esp, 0xc
test ecx, ecx
je 0x4ea6b2
mov al, byte [edi + 1]
mov esi, 2
mov byte [ebp - 0x8004], bl
mov byte [ebp - 0x8003], al
mov al, byte [edi + esi]
add edi, esi
test al, al
je 0x4ea715
nop dword [eax + eax]
cmp esi, 0x7fff
jge 0x4ea715
cmp al, 0x2f
je 0x4ea6d0
cmp al, 0x5c
jne 0x4ea703
test ecx, ecx
jne 0x4ea6da
test esi, esi
jg 0x4ea6df
jmp 0x4ea703
cmp esi, 2
jle 0x4ea703
lea eax, [ebp - 0x8004]
push eax
call fcn.004bd4c7
add esp, 4
cmp eax, 0xffffffff
jne 0x4ea6fd
call fcn.004bd002
cmp dword [eax], 0x11
jne 0x4ea728
mov ecx, dword [ebp - 0x8008]
movzx eax, byte [edi]
inc edi
mov byte [ebp + esi - 0x8004], al
inc esi
mov al, byte [edi]
test al, al
jne 0x4ea6c0
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0049ca3f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0049ca3f
mov esp, ebp
pop ebp
ret
Function at 0x4eb110
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
test ecx, ecx
je 0x4eb235
mov esi, dword [ecx + 0x48]
test esi, esi
je 0x4eb235
cmp edx, dword [ecx + 0x10]
jae 0x4eb235
cmp dword [ecx + 0x14], 1
jne 0x4eb235
mov eax, dword [esi + 0x10]
mov edi, dword [eax + edx*4]
add edi, dword [esi]
je 0x4eb235
mov ebx, dword [ebp + 8]
test ebx, ebx
je 0x4eb235
mov dword [ebx], edx
mov eax, dword [ecx + 0x48]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + edx*4]
mov dword [ebx + 4], eax
movzx eax, word [edi + 4]
mov word [ebx + 8], ax
movzx eax, word [edi + 6]
mov word [ebx + 0xa], ax
movzx eax, word [edi + 8]
mov word [ebx + 0xc], ax
movzx eax, word [edi + 0xa]
mov word [ebx + 0xe], ax
movzx edx, word [edi + 0xe]
movzx ecx, word [edi + 0xc]
call fcn.004ec1d0
mov dword [ebx + 0x10], eax
mov esi, 0x103
mov dword [ebx + 0x14], edx
mov eax, dword [edi + 0x10]
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0x14]
mov dword [ebx + 0x20], eax
mov dword [ebx + 0x24], 0
mov eax, dword [edi + 0x18]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], 0
movzx eax, word [edi + 0x24]
mov word [ebx + 0x30], ax
mov eax, dword [edi + 0x26]
mov dword [ebx + 0x34], eax
mov eax, dword [edi + 0x2a]
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], 0
movzx eax, word [edi + 0x1c]
cmp eax, esi
cmovb esi, eax
lea eax, [edi + 0x2e]
push esi
push eax
lea eax, [ebx + 0x44]
push eax
call fcn.004b5a60
mov byte [esi + ebx + 0x44], 0
mov esi, 0xff
movzx eax, word [edi + 0x20]
cmp eax, esi
cmovb esi, eax
mov dword [ebx + 0x40], esi
movzx ecx, word [edi + 0x1e]
movzx eax, word [edi + 0x1c]
add ecx, edi
add eax, 0x2e
add eax, ecx
push esi
push eax
lea eax, [ebx + 0x148]
push eax
call fcn.004b5a60
add esp, 0x18
mov byte [esi + ebx + 0x148], 0
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
Function at 0x4edf60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, edx
test esi, esi
jne 0x4edf6f
xor eax, eax
pop esi
pop ebp
ret
push edi
mov edi, dword [ebp + 8]
not ecx
test edi, edi
je 0x4edfb2
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
movzx edx, al
mov eax, edx
shr edx, 4
xor eax, ecx
shr ecx, 4
and eax, 0xf
xor ecx, dword [eax*4 + 0x51f600]
mov eax, ecx
shr ecx, 4
and eax, 0xf
xor edx, eax
xor ecx, dword [edx*4 + 0x51f600]
sub edi, 1
jne 0x4edf80
not ecx
pop edi
mov eax, ecx
pop esi
pop ebp
ret
Function at 0x41d67c
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 0x41d6cd
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41d6b4
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41d6a4
jmp 0x41d6cd
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 0x41d6b5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427b40
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 0x427a8c
call sub.user32.dll_EnumWindows
ret

Function at 0x427c60
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 0x427cdd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004276c0
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x427c85
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.004272c0
cmp dword [ebp - 4], 0
je 0x427cc7
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.004042d0
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 0x427ce4
lea eax, [ebp - 4]
call fcn.00403e10
ret

Function at 0x42ab1c
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 [0x451b54], 0
je 0x42ac6b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x44ffc0]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x42ac6b
mov eax, dword [0x451b58]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x451b54]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x42ac3a
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x451b54]
call fcn.0041352c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x42ac32
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x42ac32
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x42ac32
mov eax, dword [ebp - 0x14]
call fcn.00433758
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42ac32
push ebp
call fcn.0042aad8
pop ecx
test al, al
jne 0x42ac32
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x42abee
mov eax, dword [ebp - 0x14]
call fcn.00432288
dec eax
jle 0x42ac32
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, 0xffbd
call fcn.004032d4
cmp byte [ebp - 1], 0
je 0x42ac32
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x42ac32
mov edx, dword [ebp - 0x14]
mov eax, dword [0x451b58]
call fcn.0042a2a4
inc edi
dec ebx
jne 0x42ab81
mov eax, dword [0x451b58]
cmp dword [eax + 8], 0
jle 0x42ac52
mov eax, dword [0x451b58]
call fcn.0042a334
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x42ac6b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0042a940
pop ecx
test al, al
jne 0x42ac6b
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 0x42e230
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
test byte [esi + 0x1c], 0x10
je 0x42e27c
mov eax, esi
call fcn.004438b8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42e27c
mov eax, dword [ebp - 0x14]
cmp dword [eax + 0x250], 0
je 0x42e27c
mov ecx, ebx
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x250]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0x24]
test al, al
jne 0x42e3bb
mov eax, dword [ebx]
cmp eax, 0x100
jb 0x42e2bc
cmp eax, 0x108
ja 0x42e2bc
mov eax, esi
call fcn.004438b8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x42e3b2
mov ecx, ebx
mov edx, esi
mov eax, dword [ebp - 0x14]
mov edi, dword [eax]
call dword [edi + 0xf0]
test al, al
jne 0x42e3bb
jmp 0x42e3b2
mov eax, dword [ebx]
cmp eax, 0x200
jb 0x42e39b
cmp eax, 0x20a
ja 0x42e39b
test byte [esi + 0x50], 0x80
jne 0x42e2ee
sub eax, 0x203
je 0x42e2eb
sub eax, 3
je 0x42e2eb
sub eax, 3
jne 0x42e2ee
sub dword [ebx], 2
mov eax, dword [ebx]
sub eax, 0x200
je 0x42e302
dec eax
je 0x42e317
dec eax
je 0x42e334
dec eax
je 0x42e317
jmp 0x42e33b
mov ecx, ebx
mov eax, dword [0x44ffc0]
mov eax, dword [eax]
mov edx, esi
call fcn.0044d064
jmp 0x42e3b2
cmp byte [esi + 0x5d], 1
jne 0x42e32d
mov eax, esi
mov si, 0xffed
call fcn.004032d4
jmp 0x42e3bb
or word [esi + 0x54], 1
jmp 0x42e3b2
and word [esi + 0x54], 0xfffe
jmp 0x42e3b2
mov eax, dword [0x451b10]
cmp byte [eax + 0x20], 0
je 0x42e3b2
mov eax, dword [0x451b10]
cmp dword [eax + 0x1c], 0
je 0x42e3b2
mov eax, dword [ebx]
mov edx, dword [0x451b10]
cmp eax, dword [edx + 0x1c]
jne 0x42e3b2
lea eax, [ebp - 0x114]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
call fcn.004437fc
mov byte [ebp - 0xc], al
mov ax, word [ebx + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, esi
mov si, 0xffc9
call fcn.004032d4
jmp 0x42e3bb
cmp eax, 0xb00b
jne 0x42e3b2
mov edx, dword [ebx + 8]
push edx
mov ecx, dword [ebx + 4]
mov edx, eax
mov eax, esi
call fcn.0042cb6c
mov edx, ebx
mov eax, esi
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4318e8
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 0x431904
cmp dword [esi + 4], 0
je 0x431931
test byte [ebx + 0x55], 1
jne 0x431923
mov eax, ebx
call fcn.00430488
test eax, eax
jne 0x431923
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x431a41
mov edx, esi
mov eax, ebx
call fcn.0043140c
jmp 0x431a41
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 0x431a3a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00433758
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.0042e164
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.004318e8
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.00433758
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x431a41
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 0x438010
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x450120]
cmp byte [eax + 0xc], 0
je 0x43817d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x438176
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x451b64], 0
jne 0x438064
push 0x438184
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x43818c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b64], eax
cmp dword [0x44fb08], 0
jne 0x43815f
push 0x43819c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x44fb08], eax
cmp dword [0x44fb08], 0
je 0x43815f
push 0x4381a8
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b68], eax
push 0x4381b8
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b6c], eax
push 0x4381cc
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b70], eax
push 0x4381e4
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b74], eax
push 0x4381fc
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b78], eax
push 0x438210
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b7c], eax
push 0x438228
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b80], eax
push 0x438240
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b84], eax
push 0x43825c
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b88], eax
push 0x438268
mov eax, dword [0x44fb08]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x451b8c], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43817d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x43c008
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.00403e10
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x43c057
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.00404080
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x44376c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4437bc]
test si, 4
je 0x443780
or bl, 1
test si, 8
je 0x44378a
or bl, 4
test si, 1
je 0x443794
or bl, 8
test si, 2
je 0x44379e
or bl, 0x10
test si, 0x10
je 0x4437a8
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4437b7
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x4437c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x4437f8]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4437d9
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x4437e8
or bl, 4
test esi, 0x20000000
je 0x4437f3
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x449ea0
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x449eb2
add esp, 0xfffffff0
call fcn.004033e4
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00418ecc
mov eax, dword [0x44fdfc]
mov dword [eax + 4], ebx
mov dword [eax], 0x44a244
mov eax, dword [0x44fe08]
mov dword [eax + 4], ebx
mov dword [eax], 0x44a250
mov eax, ebx
call fcn.0044a25c
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4111c4]
call fcn.004030a8
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4111c4]
call fcn.004030a8
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4111c4]
call fcn.004030a8
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4111c4]
call fcn.004030a8
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4111c4]
call fcn.004030a8
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x446678
push eax
push 0
push 0
mov eax, dword [0x44ff48]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41a8f0]
call fcn.0041bd34
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41a8f0]
call fcn.0041bd34
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41a8f0]
call fcn.0041bd34
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0044a67c
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44a558
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44a558
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x44a558
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x449fef
call fcn.0040343c
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x44a33c
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 0x44a4e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x44a4c8
mov dl, 1
mov eax, dword [0x4115e0]
call fcn.004030a8
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00403e10
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x44a4b7
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.00438370
test al, al
je 0x44a4aa
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, 0x44a4f8
lea eax, [ebp - 0x254]
call fcn.00408778
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x44a4aa
xor eax, eax
push ebp
push 0x44a4a3
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 0x44a530
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x44a48c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404080
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 0x44a48c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404080
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44a4aa
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x44a3ad
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004150bc
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 0x44a4ee
lea eax, [ebp - 0x260]
call fcn.00403e10
ret

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

Disassembly:
push ecx
mov eax, dword [0x451bb0]
cmp byte [eax + 0xa5], 0
jne 0x44ae8d
cmp dword [0x451bc8], 0
jne 0x44ae4e
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x44add8
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x451bc8], eax
cmp dword [0x451bc4], 0
jne 0x44ae69
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x451bc4], eax
cmp dword [0x451bcc], 0
jne 0x44ae8d
push esp
push 0
push 0
push 0x44ad7c
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x451bcc], eax
pop edx
ret