joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42c16c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.004046cc
xor eax, eax
push ebp
push 0x42c29f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42c272
xor eax, eax
push ebp
push 0x42c26b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.004044dc
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x42c240
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalLock
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x42c22f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.004044dc
inc eax
push eax
mov eax, dword [ebp - 8]
call fcn.004046dc
mov edx, dword [ebp - 0x10]
pop ecx
call fcn.00402c48
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 0xc]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c236
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x467e48]
mov dl, 1
mov eax, dword [0x40735c]
call fcn.0040c3d0
call fcn.00403c30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c2a6
lea eax, [ebp - 8]
call fcn.0040421c
ret
Function at 0x42c2b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff80
xor ecx, ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42c47a
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x1c]
mov edx, 0x1b
mov al, 0x2d
call fcn.004048cc
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
mov ecx, 0x42c490
call fcn.00404528
mov eax, dword [ebp - 4]
call fcn.0041cb78
dec eax
test eax, eax
jl 0x42c375
inc eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0041cb38
mov edx, dword [0x43346c]
call fcn.00403628
test al, al
je 0x42c36d
push dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.0041cb38
lea edx, [ebp - 0x20]
call fcn.0043c97c
push dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
mov edx, 3
mov al, 0x20
call fcn.004048cc
push dword [ebp - 0x24]
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.0040459c
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x42c31b
mov al, byte [0x42c494]
push eax
lea eax, [ebp - 0x28]
push eax
xor ecx, ecx
mov edx, 0x42c4a0
mov eax, dword [ebp - 0x10]
call fcn.0040dbb4
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0x10]
call fcn.004042b4
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x78], eax
mov byte [ebp - 0x74], 0xb
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 4]
call fcn.0043c97c
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x70], eax
mov byte [ebp - 0x6c], 0xb
mov eax, 0x42c490
mov dword [ebp - 0x68], eax
mov byte [ebp - 0x64], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x5c], 0xb
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f8]
call fcn.0043c97c
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x58], eax
mov byte [ebp - 0x54], 0xb
mov eax, 0x42c490
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x4c], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x48], eax
mov byte [ebp - 0x44], 0xb
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x3c], 0xb
mov eax, 0x42c490
mov dword [ebp - 0x38], eax
mov byte [ebp - 0x34], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x30], eax
mov byte [ebp - 0x2c], 0xb
lea edx, [ebp - 0x78]
mov ecx, 9
mov eax, 0x42c4ac
call fcn.0040960c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42c481
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.00404240
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00404240
lea eax, [ebp - 0x20]
call fcn.0040421c
lea eax, [ebp - 0x1c]
call fcn.0040421c
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404240
ret
Function at 0x42ffb4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
xor ecx, ecx
mov edx, 8
call fcn.00402ea8
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004046dc
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete byte [ebp - 0xd]
mov eax, dword [ebp - 0x14]
call fcn.0042fbc4
mov edx, dword [ebp - 0xc]
mov byte [edx], al
mov al, byte [ebp - 0xd]
mov esp, ebp
pop ebp
ret

Function at 0x43012c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov al, byte [ebp + 8]
call fcn.0042fb74
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
push 0
mov eax, dword [ebp - 8]
call fcn.004046dc
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x430194
mov eax, dword [ebp - 8]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [0x468010]
mov dl, 1
mov eax, dword [0x42fa50]
call fcn.0040c418
call fcn.00403c30
mov esp, ebp
pop ebp
ret 8

Function at 0x43019c
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.004046dc
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4301fe
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 [0x4681f4]
mov dl, 1
mov eax, dword [0x42fa50]
call fcn.0040c418
call fcn.00403c30
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
call fcn.0042fbc4
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret 8

Function at 0x43644c
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 0x436380
call sub.user32.dll_EnumWindows
pop ecx
pop ebp
ret
Function at 0x4365c4
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 0x43664d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00435f48
call sub.kernel32.dll_GetTickCount
mov dword [ebp - 8], eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, dword [ebp - 8]
cmp eax, 0x3e8
jbe 0x4365f0
lea ecx, [ebp - 0xc]
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00435ab8
cmp dword [ebp - 0xc], 0
je 0x436637
push 0
push 9
mov eax, dword [ebp - 0xc]
call fcn.004046dc
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 0x436654
lea eax, [ebp - 0xc]
call fcn.0040421c
ret

Function at 0x439a64
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 [0x469b88], 0
je 0x439bbf
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x468084]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x439bbf
mov eax, dword [0x469b8c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x469b88]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x439b8e
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov edx, dword [ebp - 0x1c]
mov eax, dword [0x469b88]
call fcn.00415750
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x439b82
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x439b82
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x439b82
mov eax, dword [ebp - 0x14]
call fcn.004450dc
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x439b82
push ebp
call fcn.00439a18
pop ecx
test al, al
jne 0x439b82
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x439b3e
mov eax, dword [ebp - 0x14]
call fcn.004434dc
dec eax
jle 0x439b82
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.00403698
cmp byte [ebp - 1], 0
je 0x439b82
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x439b82
mov edx, dword [ebp - 0x14]
mov eax, dword [0x469b8c]
call fcn.00438ee0
inc dword [ebp - 0x1c]
dec dword [ebp - 0x20]
jne 0x439ad0
mov eax, dword [0x469b8c]
cmp dword [eax + 8], 0
jle 0x439ba6
mov eax, dword [0x469b8c]
call fcn.00438f8c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x439bbf
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00439854
pop ecx
test al, al
jne 0x439bbf
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 0x43e29c
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 0x43e2ef
mov eax, dword [ebp - 0x14]
call fcn.00458740
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43e2ef
mov eax, dword [ebp - 0x1c]
cmp dword [eax + 0x250], 0
je 0x43e2ef
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 0x43e47e
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x100
jb 0x43e338
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x108
ja 0x43e338
mov eax, dword [ebp - 0x14]
call fcn.00458740
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x43e473
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 0x43e47e
jmp 0x43e473
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x200
jb 0x43e44e
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x20a
ja 0x43e44e
mov eax, dword [ebp - 0x14]
test byte [eax + 0x50], 0x80
jne 0x43e37b
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x203
je 0x43e375
sub eax, 3
je 0x43e375
sub eax, 3
jne 0x43e37b
mov eax, dword [ebp - 0x18]
sub dword [eax], 2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
sub eax, 0x200
je 0x43e392
dec eax
je 0x43e3a9
dec eax
je 0x43e3d0
dec eax
je 0x43e3a9
jmp 0x43e3dd
mov ecx, dword [ebp - 0x18]
mov eax, dword [0x468084]
mov eax, dword [eax]
mov edx, dword [ebp - 0x14]
call fcn.0046433c
jmp 0x43e473
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x5d], 1
jne 0x43e3c3
mov eax, dword [ebp - 0x14]
mov si, 0xffed
call fcn.00403698
jmp 0x43e47e
mov eax, dword [ebp - 0x14]
or word [eax + 0x54], 1
jmp 0x43e473
mov eax, dword [ebp - 0x14]
and word [eax + 0x54], 0xfffe
jmp 0x43e473
mov eax, dword [0x469b44]
cmp byte [eax + 0x20], 0
je 0x43e473
mov eax, dword [0x469b44]
cmp dword [eax + 0x1c], 0
je 0x43e473
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [0x469b44]
cmp eax, dword [edx + 0x1c]
jne 0x43e473
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.0045865c
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.00403698
jmp 0x43e47e
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0xb00b
jne 0x43e473
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.0043c360
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 0x442850
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 0x442871
mov eax, dword [ebp - 8]
cmp dword [eax + 4], 0
je 0x4428a6
mov eax, dword [ebp - 4]
test byte [eax + 0x55], 1
jne 0x442896
mov eax, dword [ebp - 4]
call fcn.00440e2c
test eax, eax
jne 0x442896
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4429d0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00442224
jmp 0x4429d0
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 0x4429c9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x58]
push eax
mov eax, dword [ebp - 4]
call fcn.004450dc
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.0043e150
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.00442850
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.004450dc
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4429d0
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 0x44ae48
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
mov eax, dword [0x4681e8]
cmp byte [eax + 0xc], 0
je 0x44afba
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x44afb3
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x469b98], 0
jne 0x44aea1
push 0x44afc0
call sub.kernel32.dll_GetModuleHandleA_2
mov dword [ebp - 4], eax
push 0x44afc8
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469b98], eax
cmp dword [0x467ba0], 0
jne 0x44af9c
push 0x44afd8
call sub.kernel32.dll_LoadLibraryA
mov dword [0x467ba0], eax
cmp dword [0x467ba0], 0
je 0x44af9c
push 0x44afe4
mov eax, dword [0x467ba0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469b9c], eax
push 0x44aff4
mov eax, dword [0x467ba0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469ba0], eax
push 0x44b008
mov eax, dword [0x467ba0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469ba4], eax
push 0x44b020
mov eax, dword [0x467ba0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469ba8], eax
push 0x44b038
mov eax, dword [0x467ba0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469bac], eax
push 0x44b04c
mov eax, dword [0x467ba0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469bb0], eax
push 0x44b064
mov eax, dword [0x467ba0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469bb4], eax
push 0x44b07c
mov eax, dword [0x467ba0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469bb8], eax
push 0x44b098
mov eax, dword [0x467ba0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469bbc], eax
push 0x44b0a4
mov eax, dword [0x467ba0]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x469bc0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44afba
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ecx
pop ecx
pop ebp
ret

Function at 0x44f958
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.0040421c
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 0x44f9b1
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.0040448c
mov esp, ebp
pop ebp
ret
Function at 0x4585b8
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 2], ax
mov al, byte [0x458610]
mov byte [ebp - 3], al
test byte [ebp - 2], 4
je 0x4585d2
or byte [ebp - 3], 1
test byte [ebp - 2], 8
je 0x4585dc
or byte [ebp - 3], 4
test byte [ebp - 2], 1
je 0x4585e6
or byte [ebp - 3], 8
test byte [ebp - 2], 2
je 0x4585f0
or byte [ebp - 3], 0x10
test byte [ebp - 2], 0x10
je 0x4585fa
or byte [ebp - 3], 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x45860a
or byte [ebp - 3], 2
mov al, byte [ebp - 3]
pop ecx
pop ebp
ret

Function at 0x458614
Capabilities:
Log keystrokes via polling

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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
test dl, dl
je 0x4605da
add esp, 0xfffffff0
call fcn.004037c8
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.0041c218
mov eax, dword [0x467ea8]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x460b38
mov eax, dword [0x467eb4]
mov edx, dword [ebp - 4]
mov dword [eax + 4], edx
mov dword [eax], 0x460b58
mov eax, dword [ebp - 4]
call fcn.00460b78
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
mov dl, 1
mov eax, dword [0x412f48]
call fcn.00403460
mov edx, dword [ebp - 4]
mov dword [edx + 0x4c], eax
mov dl, 1
mov eax, dword [0x412f48]
call fcn.00403460
mov edx, dword [ebp - 4]
mov dword [edx + 0x50], eax
mov dl, 1
mov eax, dword [0x412f48]
call fcn.00403460
mov edx, dword [ebp - 4]
mov dword [edx + 0x54], eax
mov dl, 1
mov eax, dword [0x412f48]
call fcn.00403460
mov edx, dword [ebp - 4]
mov dword [edx + 0x58], eax
mov dl, 1
mov eax, dword [0x412f48]
call fcn.00403460
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, 0x45bf88
push eax
push 0
push 0
mov eax, dword [0x468004]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e430]
call fcn.0041fd58
mov edx, dword [ebp - 4]
mov dword [edx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e430]
call fcn.0041fd58
mov edx, dword [ebp - 4]
mov dword [edx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e430]
call fcn.0041fd58
mov edx, dword [ebp - 4]
mov dword [edx + 0x80], eax
mov eax, dword [ebp - 4]
call fcn.004610c4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x460f10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x88]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x460f10
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x80]
mov edx, dword [ebp - 4]
mov dword [eax + 0xc], edx
mov dword [eax + 8], 0x460f10
mov eax, dword [ebp - 4]
cmp byte [ebp - 5], 0
je 0x460762
call fcn.00403820
pop dword fs:[0]
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret