joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45be1c
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x45be2e
add esp, 0xfffffff0
call fcn.0042e9f0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004172f4
mov eax, dword [0x4d3b50]
mov dword [eax + 4], ebx
mov dword [eax], 0x45c1c0
mov eax, dword [0x4d3b54]
mov dword [eax + 4], ebx
mov dword [eax], 0x45c1cc
mov eax, ebx
call fcn.0045c1d8
push 0
call sub.USER32.DLL_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x40d8b8]
call fcn.0042e69c
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x40d8b8]
call fcn.0042e69c
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x40d8b8]
call fcn.0042e69c
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x40d8b8]
call fcn.0042e69c
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x40d8b8]
call fcn.0042e69c
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, 0x457674
push eax
push 0
push 0
mov eax, dword [0x4d3bbc]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x447798]
call fcn.0044908c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x447798]
call fcn.0044908c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x447798]
call fcn.0044908c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.0045c608
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45c4d8
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45c4d8
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x45c4d8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45bf6b
call fcn.0042ea48
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x45c2bc
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 0x45c467
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45c448
mov dl, 1
mov eax, dword [0x40df24]
call fcn.0042e69c
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.0042f4e4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.USER32.DLL_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45c437
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.004799e0
test al, al
je 0x45c42a
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, 0x45c478
lea eax, [ebp - 0x254]
call fcn.0041e9cc
push eax
push SysReAllocStringLen
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x45c42a
xor eax, eax
push ebp
push 0x45c423
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x100
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45c4b0
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x45c40c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0042f754
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 0x45c40c
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, 0x100
call fcn.0042f754
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c42a
mov eax, dword [ebp - 0xc]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45c32d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.0041292c
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 0x45c46e
lea eax, [ebp - 0x260]
call fcn.0042f4e4
ret

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

Disassembly:
push ecx
mov eax, dword [0x4d8fb4]
cmp byte [eax + 0xad], 0
jne 0x45ce51
cmp dword [0x4d8fd0], 0
jne 0x45ce12
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x45cd9c
push eax
push 3
call sub.USER32.DLL_SetWindowsHookExA
mov dword [0x4d8fd0], eax
cmp dword [0x4d8fcc], 0
jne 0x45ce2d
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x4d8fcc], eax
cmp dword [0x4d8fd4], 0
jne 0x45ce51
push esp
push 0
push 0
push 0x45cd40
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x4d8fd4], eax
pop edx
ret
Function at 0x45d024
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45d03b
add esp, 0xfffffff0
call fcn.0042e9f0
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004172f4
mov eax, dword [0x4d3b58]
cmp word [eax + 2], 0
jne 0x45d063
mov eax, dword [0x4d3b58]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ed30
mov eax, dword [0x4d3b5c]
cmp word [eax + 2], 0
jne 0x45d07d
mov eax, dword [0x4d3b5c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045ef3c
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x40d8b8]
call fcn.0042e69c
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x40d8b8]
call fcn.0042e69c
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x40d8b8]
call fcn.0042e69c
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x448348]
call fcn.0044ff54
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45d234
mov eax, dword [0x4d3b04]
mov eax, dword [eax]
push eax
call sub.USER32.DLL_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00450328
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45f600
push 0x100
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4d3b04]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.USER32.DLL_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.004223e4
test eax, eax
je 0x45d184
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.0041e370
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00422418
test eax, eax
je 0x45d198
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.USER32.DLL_CharNextA
push eax
call sub.USER32.DLL_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, 0x100
call fcn.0042f754
mov byte [ebx + 0xd4], 0
push ebx
push 0x45e788
call fcn.00418470
mov dword [ebx + 0xc8], eax
mov eax, dword [0x4d3b0c]
cmp byte [eax], 0
jne 0x45d1e9
mov eax, ebx
call fcn.0045d378
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.0045f814
mov eax, ebx
call fcn.00460378
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45d229
call fcn.0042ea48
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45d5f8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x45d697
cmp dword [ebx + 0x94], 0
jne 0x45d691
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45d580
call sub.USER32.DLL_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45d691
push 3
mov eax, dword [esp + 4]
push eax
call sub.USER32.DLL_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.USER32.DLL_GetWindowLongA
test al, 8
je 0x45d657
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45d691
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00410018
push eax
call sub.USER32.DLL_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45d666
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45d8b0
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x4d8fb4]
cmp dword [eax + 0x30], 0
je 0x45da0d
test bl, bl
jne 0x45d95e
cmp dword [esi + 0x9c], 0
jne 0x45d953
mov eax, esi
call fcn.004601f4
push eax
push 0x45d7dc
call sub.USER32.DLL_EnumWindows
cmp dword [esi + 0x44], 0
je 0x45d924
mov eax, dword [0x4d8fb4]
call fcn.004608d4
test al, al
je 0x45d924
mov eax, dword [0x4d8fd8]
call fcn.0043077c
mov edi, eax
cmp edi, 0
jl 0x45d924
push 0
mov eax, dword [0x4d8fd8]
mov eax, dword [eax + edi*4]
push eax
call sub.USER32.DLL_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45d90e
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45d953
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00410018
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45d933
inc dword [esi + 0x9c]
jmp 0x45da0d
cmp dword [esi + 0x9c], 0
jle 0x45da0d
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x45da0d
cmp dword [esi + 0x44], 0
je 0x45d9b9
mov eax, dword [0x4d8fb4]
call fcn.004608d4
test al, al
je 0x45d9b9
mov eax, dword [0x4d8fd8]
call fcn.0043077c
mov edi, eax
cmp edi, 0
jl 0x45d9b9
push 5
mov eax, dword [0x4d8fd8]
mov eax, dword [eax + edi*4]
push eax
call sub.USER32.DLL_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x45d9a3
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x45d9e8
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.00410018
push eax
call sub.USER32.DLL_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x45d9c8
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x4d8fd8
mov ecx, 1
mov edx, dword [0x45d7bc]
call fcn.00430930
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x45e4dc
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x45e546
mov eax, ebx
call fcn.004608d4
test al, al
jne 0x45e546
push 0x100
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.USER32.DLL_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.0042f5d4
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x45e533
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x45e553
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0042f538
jmp 0x45e553
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.0042f538
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x45f9f8
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45fa66
mov eax, esi
call fcn.00474660
test al, al
je 0x45fa66
mov eax, dword [ebx + 0x84]
call fcn.004742c0
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x45fa66
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x45fa5a
push 0
mov eax, dword [ebx + 0x84]
call fcn.004742c0
push eax
call sub.USER32.DLL_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.0046c0dc
jmp 0x45fa66
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.0045f834
pop esi
pop ebx
ret

Function at 0x463f54
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
movzx ebx, byte [0x463f90]
push 0x10
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x463f6b
or bl, 1
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x463f7a
or bl, 4
push 0x12
call sub.USER32.DLL_GetKeyState
test ax, ax
jge 0x463f89
or bl, 2
mov eax, ebx
pop ebx
ret
Function at 0x464c84
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0042f964
xor eax, eax
push ebp
push 0x464db9
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.USER32.DLL_OpenClipboard
test eax, eax
je 0x464d8c
xor edx, edx
push ebp
push 0x464d85
push dword fs:[edx]
mov dword fs:[edx], esp
mov ebx, dword [ebp - 4]
mov eax, ebx
test eax, eax
je 0x464cd1
sub eax, 4
mov eax, dword [eax]
inc eax
push eax
push 0x2002
call sub.KERNEL32.DLL_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x464d5a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalLock
mov esi, eax
xor eax, eax
push ebp
push 0x464d49
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
je 0x464d10
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
call fcn.0042f974
lea ecx, [ebx + 1]
mov edx, esi
call fcn.0042dc3c
call sub.USER32.DLL_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.USER32.DLL_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464d50
mov eax, dword [ebp - 8]
push eax
call sub.KERNEL32.DLL_GlobalUnlock
ret
mov ecx, dword [0x4d3d24]
mov dl, 1
mov eax, dword [0x41c540]
call fcn.004215ac
call fcn.0042ef40
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464dc0
lea eax, [ebp - 4]
call fcn.0042f4e4
ret
Function at 0x464dc8
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x464f83
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.0042fc68
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 4]
mov ecx, 0x464f9c
call fcn.0042f7fc
mov eax, ebx
call fcn.00417934
mov edi, eax
dec edi
test edi, edi
jl 0x464e80
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00417908
mov edx, dword [0x439b44]
call fcn.0042e858
test al, al
je 0x464e7c
push dword [ebp - 8]
mov edx, esi
mov eax, ebx
call fcn.00417908
lea edx, [ebp - 0x14]
call fcn.0046c1bc
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.0042fc68
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.0042f878
inc esi
dec edi
jne 0x464e2e
movzx eax, byte [0x464fa0]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x464fac
mov eax, dword [ebp - 8]
call fcn.004228f0
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 8]
call fcn.0042f57c
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0046c1bc
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x464f9c
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x360]
call fcn.0046c1bc
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x464f9c
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x464f9c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x464fb8
call fcn.0041ea4c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x464f8a
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.0042f508
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0042f508
lea eax, [ebp - 0x14]
call fcn.0042f4e4
lea eax, [ebp - 0x10]
call fcn.0042f4e4
lea eax, [ebp - 8]
mov edx, 2
call fcn.0042f508
ret
Function at 0x469964
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 [0x4d907c], 0
je 0x469aad
push 0x11
call sub.USER32.DLL_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x4d3b44]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x469aad
mov eax, dword [0x4d9080]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x4d907c]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x469a7c
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x4d907c]
call fcn.00410018
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x469a74
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x469a74
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x469a74
mov eax, dword [ebp - 0x14]
call fcn.004742c0
push eax
call sub.USER32.DLL_IsWindowVisible
test eax, eax
je 0x469a74
push ebp
call fcn.00469920
pop ecx
test al, al
jne 0x469a74
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.0042e8c8
test al, al
je 0x469a74
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.0042e8c8
cmp byte [ebp - 1], 0
je 0x469a74
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.USER32.DLL_PtInRect
test eax, eax
je 0x469a74
mov edx, dword [ebp - 0x14]
mov eax, dword [0x4d9080]
call fcn.0046908c
inc edi
dec ebx
jne 0x4699c9
mov eax, dword [0x4d9080]
cmp dword [eax + 8], 0
jle 0x469a94
mov eax, dword [0x4d9080]
call fcn.00469144
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x469aad
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00469784
pop ecx
test al, al
jne 0x469aad
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 0x471188
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 sub.USER32.DLL_GetMessagePos
call fcn.0041c320
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.0046bcec
test ebx, ebx
jne 0x4711db
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.004710c4
mov ebx, eax
test ebx, ebx
je 0x4712c6
cmp esi, ebx
je 0x471204
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 0x471219
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 0x471251
add eax, 0xffffff5f
sub eax, 2
jb 0x471269
dec eax
sub eax, 2
jb 0x47127d
dec eax
sub eax, 2
jb 0x471273
jmp 0x471287
add eax, 0xfffffdff
sub eax, 2
jb 0x471269
dec eax
sub eax, 2
jb 0x47127d
dec eax
sub eax, 2
jb 0x471273
jmp 0x471287
mov byte [esp + 0x120], 0
jmp 0x47128f
mov byte [esp + 0x120], 2
jmp 0x47128f
mov byte [esp + 0x120], 1
jmp 0x47128f
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.USER32.DLL_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.00453ca0
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.0046d4ac
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x4712c8
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x479684
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x4d3944]
cmp byte [eax + 0xc], 0
je 0x4797f1
push 0x8000
call sub.KERNEL32.DLL_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4797ea
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x4d908c], 0
jne 0x4796d8
push 0x4797f8
call sub.KERNEL32.DLL_GetModuleHandleA
mov ebx, eax
push 0x479800
push ebx
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d908c], eax
cmp dword [0x4c8cb0], 0
jne 0x4797d3
push 0x479810
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x4c8cb0], eax
cmp dword [0x4c8cb0], 0
je 0x4797d3
push 0x47981c
mov eax, dword [0x4c8cb0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d9090], eax
push 0x47982c
mov eax, dword [0x4c8cb0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d9094], eax
push 0x479840
mov eax, dword [0x4c8cb0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d9098], eax
push 0x479858
mov eax, dword [0x4c8cb0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d909c], eax
push 0x479870
mov eax, dword [0x4c8cb0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d90a0], eax
push 0x479884
mov eax, dword [0x4c8cb0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d90a4], eax
push 0x47989c
mov eax, dword [0x4c8cb0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d90a8], eax
push 0x4798b4
mov eax, dword [0x4c8cb0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d90ac], eax
push 0x4798d0
mov eax, dword [0x4c8cb0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d90b0], eax
push 0x4798dc
mov eax, dword [0x4c8cb0]
push eax
call sub.KERNEL32.DLL_GetProcAddress
mov dword [0x4d90b4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4797f1
mov eax, dword [ebp - 4]
push eax
call sub.KERNEL32.DLL_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret