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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47b20e
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x49a324]
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.00461a60
add esp, 0xc
mov ecx, edi
call fcn.0040bac0
mov eax, dword [0x4875f0]
push 0
push 0
push 0x402
push dword [ebx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [0x4875f4]
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 0x45aec0
test cx, cx
je 0x45b0ce
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov eax, dword [sym.imp.USER32.dll_GetKeyboardLayout]
test ebx, 0x200
je 0x45af68
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.00461a60
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.0040ba90
mov dword [ebp - 0x224], 3
lea eax, [ebp - 0x2b8]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call fcn.0040bfc0
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0
call fcn.0040bc20
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.0040bfe0
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov eax, dword [sym.imp.USER32.dll_GetKeyboardLayout]
test ebx, 0x100
je 0x45aff7
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.00461a60
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.0040ba90
or dword [ebp - 0x224], 4
lea eax, [ebp - 0x2b8]
mov dword [ebp - 4], 2
push eax
mov ecx, edi
call fcn.0040bfc0
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0
call fcn.0040bc20
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.0040bfe0
test ebx, 0x400
je 0x45b08e
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.00461a60
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.0040ba90
or dword [ebp - 0x224], 8
lea eax, [ebp - 0x2b8]
mov dword [ebp - 4], 3
push eax
mov ecx, edi
call fcn.0040bfc0
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0
call fcn.0040bc20
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.0040bfe0
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.0045b150
push eax
mov ecx, edi
mov dword [ebp - 4], 4
call fcn.0040bfc0
lea ecx, [ebp - 0x2b8]
call fcn.0040bc20
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.0045edac
mov esp, ebp
pop ebp
ret 4