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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d6556
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x658d98]
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, 0x6825d0
call fcn.0059e74b
push 0x24
lea ecx, [ebp - 0x38]
call fcn.0040d030
lea ecx, [ebp - 0x38]
call fcn.0043cdb0
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 0x46ad66
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 0x46ad53
mov eax, dword [ebp - 0x30]
or eax, 4
mov dword [ebp - 0x30], eax
jmp 0x46ad64
mov eax, dword [ebp + 0x14]
and eax, 1
je 0x46ad64
mov eax, dword [ebp - 0x30]
or eax, 2
mov dword [ebp - 0x30], eax
jmp 0x46ad90
mov al, byte [ebp + 0x10]
mov byte [ebp - 0x39], al
mov eax, dword [ebp + 0x14]
and eax, 2
je 0x46ad7f
mov eax, dword [ebp - 0x30]
or eax, 4
mov dword [ebp - 0x30], eax
jmp 0x46ad90
mov eax, dword [ebp + 0x14]
and eax, 1
je 0x46ad90
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
mov eax, dword [ebp - 0x28]
or eax, 0xc0000000
mov dword [ebp - 0x28], eax
movzx eax, byte [ebp - 0x39]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], 2
lea ecx, [ebp + 8]
call fcn.00440f20
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x88]
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], 2
mov ecx, dword [ebp - 0x9c]
call fcn.00440f20
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 - 0x88]
call fcn.00440020
cmp dword [ebp + 0xc], 0
je 0x46af5a
mov eax, dword [ebp + 0x14]
and eax, 1
je 0x46aed6
movzx eax, byte [0x658230]
test eax, eax
je 0x46aed1
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x850]
push ecx
push 0x12c
push 0x50
call fcn.00468410
add esp, 8
push eax
call fcn.00447680
add esp, 8
test eax, eax
jne 0x46aea3
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.0043f080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00440020
jmp 0x46af75
push 0
push 0x10
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x8c], esp
lea eax, [ebp + 8]
push eax
call fcn.0043e350
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 3
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
call fcn.0046aca0
jmp 0x46af5a
mov eax, dword [ebp + 0x14]
and eax, 2
je 0x46af5a
movzx eax, byte [0x658230]
test eax, eax
je 0x46af5a
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x850]
push ecx
push 0x12c
push 0x50
call fcn.00468410
add esp, 8
push eax
call fcn.00447680
add esp, 8
test eax, eax
jne 0x46af2c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.0043f080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00440020
jmp 0x46af75
push 0
push 0x11
push 0
push ecx
mov ecx, esp
mov dword [ebp - 0x90], esp
lea eax, [ebp + 8]
push eax
call fcn.0043e350
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 4
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
call fcn.0046aca0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.0043f080
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00440020
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.0059e77d
mov esp, ebp
pop ebp
ret 0x10