Function at 0x456bd0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b86ed
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x6218c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x6c], ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0xd
jne 0x456c7f
push 0x10
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
test ecx, ecx
jl 0x456c7f
mov edx, dword [ebp - 0x6c]
movzx eax, byte [edx + 0x44e]
test eax, eax
je 0x456c7a
mov ecx, dword [ebp - 0x6c]
movzx edx, byte [ecx + 0x44f]
test edx, edx
je 0x456c3c
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jl 0x456c57
mov ecx, dword [ebp - 0x6c]
movzx edx, byte [ecx + 0x44f]
test edx, edx
jne 0x456c7a
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, eax
jl 0x456c7a
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx + 0x20], 0
je 0x456c75
push 0
push 0
push 0x2d
mov edx, dword [ebp - 0x6c]
push edx
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax + 0x20]
call fcn.00410af0
jmp 0x456e0b
jmp 0x456de6
mov ecx, dword [ebp - 0x6c]
movzx edx, byte [ecx + 0x454]
test edx, edx
je 0x456de6
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x56
jne 0x456de6
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
movsx ecx, ax
test ecx, ecx
jge 0x456de6
lea ecx, [ebp - 0x28]
call fcn.00406d00
mov dword [ebp - 4], 0
lea edx, [ebp - 0x28]
push edx
call fcn.00458b90
add esp, 4
lea ecx, [ebp - 0x28]
call fcn.00406a20
movzx eax, al
test eax, eax
jne 0x456dd7
lea ecx, [ebp - 0x40]
call fcn.00406d00
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00459020
jmp 0x456d07
push 0
lea edx, [ebp - 0x74]
push edx
lea ecx, [ebp - 0x70]
call fcn.00458ff0
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x28]
call fcn.004097c0
push eax
lea ecx, [ebp - 0x70]
call fcn.00411fa0
movzx ecx, al
test ecx, ecx
je 0x456d5c
lea ecx, [ebp - 0x70]
call fcn.004097b0
movzx edx, word [eax]
cmp edx, 0x39
jg 0x456d5a
lea ecx, [ebp - 0x70]
call fcn.004097b0
movzx eax, word [eax]
cmp eax, 0x30
jl 0x456d5a
lea ecx, [ebp - 0x70]
call fcn.004097b0
mov cx, word [eax]
movzx edx, cx
push edx
lea ecx, [ebp - 0x40]
call fcn.00409650
jmp 0x456cf9
lea ecx, [ebp - 0x40]
call fcn.00406a20
movzx eax, al
test eax, eax
je 0x456d8b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00406c10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406c10
jmp 0x456e0b
lea ecx, [ebp - 0x40]
push ecx
call fcn.00458cf0
add esp, 4
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x7c], esp
lea edx, [ebp - 0x28]
push edx
call fcn.004305b0
lea ecx, [ebp - 0x68]
call fcn.004595e0
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
call fcn.004084b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.004029f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.00406c10
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406c10
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x18]
push eax
push 0x100
mov ecx, dword [ebp - 0x6c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [edx + 0x1dc]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057029b
mov esp, ebp
pop ebp
ret 4