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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4e763e
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x51a230]
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.004bac70
add esp, 0xc
mov ecx, edi
call fcn.00429120
mov eax, dword [0x4f8af0]
push 0
push 0
push 0x402
push dword [ebx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [0x4f8af4]
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 0x48ceb0
test cx, cx
je 0x48d0be
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov eax, dword [sym.imp.USER32.dll_GetKeyboardLayout]
test ebx, 0x200
je 0x48cf58
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.004bac70
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.004290f0
mov dword [ebp - 0x224], 3
lea eax, [ebp - 0x2b8]
mov dword [ebp - 4], 1
push eax
mov ecx, edi
call fcn.00429630
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0
call fcn.004292a0
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.00429650
mov esi, dword [sym.imp.USER32.dll_MapVirtualKeyExW]
mov eax, dword [sym.imp.USER32.dll_GetKeyboardLayout]
test ebx, 0x100
je 0x48cfe7
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.004bac70
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.004290f0
or dword [ebp - 0x224], 4
lea eax, [ebp - 0x2b8]
mov dword [ebp - 4], 2
push eax
mov ecx, edi
call fcn.00429630
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0
call fcn.004292a0
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.00429650
test ebx, 0x400
je 0x48d07e
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.004bac70
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.004290f0
or dword [ebp - 0x224], 8
lea eax, [ebp - 0x2b8]
mov dword [ebp - 4], 3
push eax
mov ecx, edi
call fcn.00429630
lea ecx, [ebp - 0x2b8]
mov byte [ebp - 4], 0
call fcn.004292a0
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.00429650
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.0048d140
push eax
mov ecx, edi
mov dword [ebp - 4], 4
call fcn.00429630
lea ecx, [ebp - 0x2b8]
call fcn.004292a0
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.00490604
mov esp, ebp
pop ebp
ret 4