Function at 0x46ae30
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6c66
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x651da0]
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 dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
mov ecx, 0x67b5d0
call fcn.0059f048
push 0x24
lea ecx, [ebp - 0x38]
call fcn.0040d070
lea ecx, [ebp - 0x38]
call fcn.0043cf80
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x39], 0
cmp dword [ebp + 0xc], 0
je 0x46b003
movzx eax, word [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_VkKeyScanW]
mov word [ebp - 0x40], ax
movsx eax, word [ebp - 0x40]
and eax, 0xff
mov byte [ebp - 0x39], al
movsx eax, word [ebp - 0x40]
shr eax, 8
and eax, 0xff
movzx ecx, al
or ecx, dword [ebp + 0x14]
mov dword [ebp + 0x14], ecx
mov eax, dword [ebp + 0x14]
and eax, 2
je 0x46af6d
mov eax, dword [ebp - 0x30]
or eax, 4
mov dword [ebp - 0x30], eax
movzx eax, byte [0x651230]
test eax, eax
je 0x46af68
push 0
push 0x11
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x88], esp
lea eax, [ebp + 8]
push eax
call fcn.0043e520
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 2
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
call fcn.0046ae30
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x850]
push ecx
push 0x12c
push 0x50
call fcn.0046a200
add esp, 8
push eax
call fcn.004478b0
add esp, 8
test eax, eax
jne 0x46af68
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.0043f280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00440220
jmp 0x46b10d
jmp 0x46b001
mov eax, dword [ebp + 0x14]
and eax, 1
je 0x46b001
mov eax, dword [ebp - 0x30]
or eax, 2
mov dword [ebp - 0x30], eax
movzx eax, byte [0x651230]
test eax, eax
je 0x46b001
push 0
push 0x10
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x8c], esp
lea eax, [ebp + 8]
push eax
call fcn.0043e520
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
call fcn.0046ae30
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x850]
push ecx
push 0x12c
push 0x50
call fcn.0046a200
add esp, 8
push eax
call fcn.004478b0
add esp, 8
test eax, eax
jne 0x46b001
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.0043f280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00440220
jmp 0x46b10d
jmp 0x46b051
mov al, byte [ebp + 0x10]
mov byte [ebp - 0x39], al
movzx eax, byte [ebp + 0x10]
cmp eax, 0x11
jne 0x46b01b
mov eax, dword [ebp - 0x30]
or eax, 4
mov dword [ebp - 0x30], eax
movzx eax, byte [ebp + 0x10]
cmp eax, 0x10
jne 0x46b02d
mov eax, dword [ebp - 0x30]
or eax, 2
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x14]
and eax, 2
je 0x46b040
mov eax, dword [ebp - 0x30]
or eax, 4
mov dword [ebp - 0x30], eax
jmp 0x46b051
mov eax, dword [ebp + 0x14]
and eax, 1
je 0x46b051
mov eax, dword [ebp - 0x30]
or eax, 2
mov dword [ebp - 0x30], eax
push 0
movzx eax, byte [ebp - 0x39]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
shl eax, 0x10
or eax, 1
mov dword [ebp - 0x28], eax
movzx eax, byte [ebp - 0x39]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], 0
lea ecx, [ebp + 8]
call fcn.00441140
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x94]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x94]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0x98]
mov dword [ebp - 0x9c], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x9c]
call fcn.00441140
mov dword [ebp - 0xa0], eax
lea edx, [ebp - 0x38]
push edx
mov eax, dword [ebp - 0xa0]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xa0]
mov eax, dword [edx + 0x80]
call eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call fcn.00440220
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.0043f280
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00440220
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.0059f07a
mov esp, ebp
pop ebp
ret 0x10