joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c0b4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.00404c10
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x44c116
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x1c]
push eax
push 0
mov ecx, dword [0x516c64]
mov dl, 1
mov eax, dword [0x44b6c0]
call fcn.0040de18
call fcn.004040a4
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
call fcn.0044b8a0
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8

Function at 0x44c37c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44c4aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 4]
call fcn.0044ba74
xor eax, eax
push ebp
push 0x44c485
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x38]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044be60
test al, al
je 0x44c469
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0044c24c
pop ecx
mov ecx, dword [ebp - 0x2c]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404840
mov eax, dword [ebp - 0x30]
dec eax
test eax, eax
jl 0x44c469
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404c10
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegEnumValueA
test eax, eax
jne 0x44c461
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404c10
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00404948
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0044c24c
pop ecx
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x44c40f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c48c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.0044ba74
ret
Function at 0x44c4b8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44c6f9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 4]
call fcn.0044ba74
xor eax, eax
push ebp
push 0x44c6cf
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x44]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044be60
test al, al
je 0x44c6b3
mov ecx, dword [ebp - 0x40]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00404840
mov eax, dword [ebp - 0x44]
dec eax
test eax, eax
jl 0x44c6b3
inc eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00404c10
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
test eax, eax
jne 0x44c6a7
mov eax, dword [ebp - 0x14]
call fcn.00404c10
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00404948
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044c134
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x44c6a7
xor eax, eax
push ebp
push 0x44c6a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 8]
call fcn.0044ba74
xor eax, eax
push ebp
push 0x44c682
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
call fcn.00404c10
mov edx, eax
lea eax, [ebp - 0x4c]
call fcn.00404948
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044ba90
mov eax, dword [ebp - 0x14]
call fcn.00404c10
mov edx, eax
lea eax, [ebp - 0x50]
call fcn.00404948
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044c134
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x44c65f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0044c37c
pop ecx
mov eax, dword [ebp + 8]
push eax
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
call fcn.0044c4b8
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c666
mov eax, dword [ebp - 0x24]
push eax
call sub.advapi32.dll_RegCloseKey
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x28]
jne 0x44c543
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44c6d6
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x18]
call fcn.0044ba74
ret
Function at 0x4568a8
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 0
mov eax, dword [ebp - 4]
mov byte [eax + 0xd], 0
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
push eax
push 0x4567dc
call sub.user32.dll_EnumWindows
pop ecx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x456aa9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004563a4
call sub.KERNEL32.DLL_GetTickCount
mov dword [ebp - 8], eax
push 0
call sub.KERNEL32.DLL_Sleep_1
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [ebp - 8]
cmp eax, 0x3e8
jbe 0x456a4c
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00455f14
cmp dword [ebp - 0xc], 0
je 0x456a93
push 0
push 9
mov eax, dword [ebp - 0xc]
call fcn.00404c10
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 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 0x456ab0
lea eax, [ebp - 0xc]
call fcn.00404750
ret
Function at 0x45a1ac
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
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 [0x517fdc], 0
je 0x45a307
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x516a4c]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x45a307
mov eax, dword [0x517fe0]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x517fdc]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x45a2d6
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x517fdc]
call fcn.0041c14c
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x45a2ca
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x45a2ca
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x45a2ca
mov eax, dword [ebp - 0x14]
call fcn.00465910
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45a2ca
push ebp
call fcn.0045a160
pop ecx
test al, al
jne 0x45a2ca
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x45a286
mov eax, dword [ebp - 0x14]
call fcn.00463c90
dec eax
jle 0x45a2ca
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x30]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403acc
cmp byte [ebp - 1], 0
je 0x45a2ca
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x45a2ca
mov edx, dword [ebp - 0x14]
mov eax, dword [0x517fe0]
call fcn.00459628
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x45a218
mov eax, dword [0x517fe0]
cmp dword [eax + 8], 0
jle 0x45a2ee
mov eax, dword [0x517fe0]
call fcn.004596d4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x45a307
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00459f9c
pop ecx
test al, al
jne 0x45a307
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x45ea50
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee4
push ebx
push esi
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
test byte [eax + 0x1c], 0x10
je 0x45eaa3
mov eax, dword [ebp - 0x14]
call fcn.0047a82c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x45eaa3
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x45eaa3
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x250]
mov edx, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x24]
test al, al
jne 0x45ec32
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x45eaec
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x45eaec
mov eax, dword [ebp - 0x14]
call fcn.0047a82c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x45ec27
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0xf0]
test al, al
jne 0x45ec32
jmp 0x45ec27
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x45ec02
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x45ec02
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x45eb2f
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x45eb29
sub eax, 3
je 0x45eb29
sub eax, 3
jne 0x45eb2f
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x45eb46
dec eax
je 0x45eb5d
dec eax
je 0x45eb84
dec eax
je 0x45eb5d
jmp 0x45eb91
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x516a4c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.00486b14
jmp 0x45ec27
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x45eb77
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.00403acc
jmp 0x45ec32
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x45ec27
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x45ec27
mov eax, dword [0x517f98]
cmp byte [eax + 0x20], 0
je 0x45ec27
mov eax, dword [0x517f98]
cmp dword [eax + 0x1c], 0
je 0x45ec27
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x517f98]
cmp eax, dword [edx + 0x1c]
jne 0x45ec27
lea eax, [ebp - 0x11c]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x11c]
call fcn.0047a748
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0x18]
mov ax, word [eax + 4]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffc9
call fcn.00403acc
jmp 0x45ec32
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x45ec27
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
push eax
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx + 4]
mov edx, dword [ebp - 0x18]
mov edx, dword [edx]
mov eax, dword [ebp - 0x14]
call fcn.0045caa8
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx - 0x14]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x463004
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0x1f8], 0
je 0x463025
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x46305a
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x46304a
mov eax, dword [ebp - 4]
call fcn.004615e0
test eax, eax
jne 0x46304a
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x463184
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004629d8
jmp 0x463184
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x46317d
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00465910
push eax
call sub.user32.dll_BeginPaint
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x14
mov eax, dword [ebp - 4]
call fcn.0045e904
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00463004
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 4], edx
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
lea edx, [ebp - 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x5c]
push eax
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x70]
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.00465910
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x463184
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 0x14]
push eax
call sub.gdi32.dll_DeleteObject
ret
mov esp, ebp
pop ebp
ret
Function at 0x46b770
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x516c54]
cmp byte [eax + 0xc], 0
je 0x46b8e2
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x46b8db
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x517fec], 0
jne 0x46b7c9
push 0x46b8e8
call sub.KERNEL32.DLL_GetModuleHandleA
mov dword [ebp - 4], eax
push 0x46b8f0
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x517fec], eax
cmp dword [0x515174], 0
jne 0x46b8c4
push 0x46b900
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x515174], eax
cmp dword [0x515174], 0
je 0x46b8c4
push 0x46b90c
mov eax, dword [0x515174]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x517ff0], eax
push 0x46b91c
mov eax, dword [0x515174]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x517ff4], eax
push 0x46b930
mov eax, dword [0x515174]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x517ff8], eax
push 0x46b948
mov eax, dword [0x515174]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x517ffc], eax
push 0x46b960
mov eax, dword [0x515174]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x518000], eax
push 0x46b974
mov eax, dword [0x515174]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x518004], eax
push 0x46b98c
mov eax, dword [0x515174]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x518008], eax
push 0x46b9a4
mov eax, dword [0x515174]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x51800c], eax
push 0x46b9c0
mov eax, dword [0x515174]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x518010], eax
push 0x46b9cc
mov eax, dword [0x515174]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x518014], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46b8e2
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

Function at 0x470634
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef4
mov dword [ebp - 8], edx
mov word [ebp - 2], ax
mov eax, dword [ebp - 8]
call fcn.00404750
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x47068d
push pe_nt_image_headers32
lea eax, [ebp - 0x10c]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.user32.dll_GetKeyNameTextA
mov eax, dword [ebp - 8]
lea edx, [ebp - 0x10c]
mov ecx, pe_nt_image_headers32
call fcn.004049c0
mov esp, ebp
pop ebp
ret
Function at 0x47a6a4
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x47a6fc]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x47a6be
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x47a6c8
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x47a6d2
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x47a6dc
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x47a6e6
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47a6f6
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x47a700
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov dword [ebp - 4], eax
mov al, byte [0x47a744]
mov byte [ebp - 5], al
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47a721
or byte [ebp - 5], 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x47a731
or byte [ebp - 5], 4
test byte [ebp - 1], 0x20
je 0x47a73b
or byte [ebp - 5], 2
mov al, byte [ebp - 5]
pop ecx
pop ecx
pop ebp
ret
Function at 0x482bc4
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x482bd6
add esp, 0xfffffff0
call fcn.00403c3c
mov dword [ebp - 0xc], ecx
mov byte [ebp - 5], dl
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004262fc
mov eax, dword [0x516770]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x483134
mov eax, dword [0x516780]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x483154
mov eax, dword [ebp - 4]
call fcn.00483174
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x41948c]
call fcn.00403894
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x41948c]
call fcn.00403894
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x41948c]
call fcn.00403894
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x41948c]
call fcn.00403894
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x41948c]
call fcn.00403894
mov edx, dword [ebp - 4]
mov dword [edx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov dword [ebp - 0x10], eax
push 0x5a
mov eax, dword [ebp - 0x10]
push eax
call sub.gdi32.dll_GetDeviceCaps
mov edx, dword [ebp - 4]
mov dword [edx + 0x40], eax
mov eax, dword [ebp - 0x10]
push eax
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x58]
push eax
mov eax, 0x47e584
push eax
push 0
push 0
mov eax, dword [0x516980]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x4293f0]
call fcn.0042adb8
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x4293f0]
call fcn.0042adb8
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x4293f0]
call fcn.0042adb8
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.004837a0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x483588
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x483588
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x483588
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x482d5e
call fcn.00403c94
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x483340
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd98
push ebx
xor edx, edx
mov dword [ebp - 0x268], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x48350b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x4834e9
mov dl, 1
mov eax, dword [0x419a34]
call fcn.00403894
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404750
lea eax, [ebp - 0x11c]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
dec eax
test eax, eax
jl 0x4834d2
inc eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
call fcn.0046bb10
test al, al
je 0x4834c6
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov dword [ebp - 0x264], eax
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x264]
mov edx, 0x48351c
lea eax, [ebp - 0x25c]
call fcn.0040ac94
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4834c6
xor eax, eax
push ebp
push 0x4834bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x14], pe_nt_image_headers32
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push 0
push 0x483554
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x4834a8
lea eax, [ebp - 0x268]
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.004049c0
mov edx, dword [ebp - 0x268]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + eax*4 - 0x11c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x10]
mov eax, dword [ebp + eax*4 - 0x11c]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4834a8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x21c]
mov ecx, pe_nt_image_headers32
call fcn.004049c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4834c6
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey
ret
inc dword [ebp - 0x10]
dec dword [ebp - 0x1c]
jne 0x4833b5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dl, 1
call fcn.0041f0b0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x483512
lea eax, [ebp - 0x268]
call fcn.00404750
ret