Function at 0x488320
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b40fe
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x4e5114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x230], ebx
mov edi, dword [ebp + 8]
push 0x84
push 0
mov dword [ebp - 0x234], edi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 0
call fcn.0048e340
add esp, 0xc
mov ecx, edi
call fcn.004274b0
mov eax, dword [0x4c2940]
push 0
push 0
push 0x402
push dword [ebx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [0x4c2944]
mov dword [ebp - 4], 0
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x14], eax
call dword [sym.imp.USER32.dll_SendMessageW]
movzx ebx, ax
mov cx, bx
mov dword [ebp - 0x22c], eax
shr cx, 8
movzx ecx, cx
mov dword [ebp - 0x228], ecx
test al, al
jne 0x4883e0
test cx, cx
je 0x4885ee
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov eax, dword [sym.imp.USER32.dll_GetKeyboardLayout]
test ebx, 0x200
je 0x488488
push 0
call eax
push eax
push 0
push 0x11
call esi
push 0x208
mov esi, eax
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0048e340
add esp, 0xc
shl esi, 0x10
lea eax, [ebp - 0x220]
push 0x104
push eax
push esi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.00427480
mov dword [ebp - 0x224], 3
lea eax, [ebp - 0x2b8]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call fcn.004279b0
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0
call fcn.00427610
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.004279d0
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov eax, dword [sym.imp.USER32.dll_GetKeyboardLayout]
test ebx, 0x100
je 0x488517
push 0
call eax
push eax
push 0
push 0x10
call esi
push 0x208
mov esi, eax
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0048e340
add esp, 0xc
shl esi, 0x10
lea eax, [ebp - 0x220]
push 0x104
push eax
push esi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.00427480
or dword [ebp - 0x224], 4
lea eax, [ebp - 0x2b8]
mov dword [ebp - 4], 2
push eax
mov ecx, edi
call fcn.004279b0
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0
call fcn.00427610
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.004279d0
test ebx, 0x400
je 0x4885ae
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
push 0x12
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
push 0x208
mov esi, eax
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.0048e340
add esp, 0xc
shl esi, 0x10
lea eax, [ebp - 0x220]
push 0x104
push eax
push esi
call dword [sym.imp.USER32.dll_GetKeyNameTextW]
push 0xffffffffffffffff
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x2b8]
call fcn.00427480
or dword [ebp - 0x224], 8
lea eax, [ebp - 0x2b8]
mov dword [ebp - 4], 3
push eax
mov ecx, edi
call fcn.004279b0
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0
call fcn.00427610
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.004279d0
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x230]
and eax, 8
push eax
mov eax, dword [ebp - 0x22c]
movzx eax, al
push eax
lea eax, [ebp - 0x2b8]
push eax
call fcn.00488670
push eax
mov ecx, edi
mov dword [ebp - 4], 4
call fcn.004279b0
lea ecx, [ebp - 0x2b8]
call fcn.00427610
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b588
mov esp, ebp
pop ebp
ret 4