Function at 0x456540
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5f3d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
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 - 0x2c], ecx
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x90]
call eax
movzx ecx, al
test ecx, ecx
jne 0x456592
mov edx, dword [ebp + 8]
cmp dword [edx], 0xd
jle 0x456592
mov eax, dword [ebp + 8]
cmp dword [eax], 0x19
jl 0x4565a9
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x88]
call eax
movzx ecx, al
test ecx, ecx
jne 0x4565df
mov edx, dword [ebp - 0x2c]
cmp dword [edx + 0x24], 0
je 0x4565ce
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x24]
mov eax, dword [ebp - 0x2c]
mov edx, dword [edx]
mov ecx, dword [eax + 0x24]
mov eax, dword [edx + 0xd0]
call eax
jmp 0x4565da
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.00440390
jmp 0x4568b8
mov edx, dword [ebp + 8]
cmp dword [edx], 0x28
jne 0x4565f8
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.004568e0
jmp 0x4568b8
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0xa
jne 0x456611
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x2c]
call fcn.00456b40
jmp 0x4568b8
mov eax, dword [ebp + 8]
cmp dword [eax], 8
jne 0x45662a
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.00456bd0
jmp 0x4568b8
mov edx, dword [ebp + 8]
cmp dword [edx], 0xe
jne 0x456648
mov eax, dword [ebp + 8]
push eax
push 0x200
mov ecx, dword [ebp - 0x2c]
call fcn.00456f50
jmp 0x4568b8
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0x18
jne 0x456675
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx edx, ax
test edx, edx
jge 0x456664
jmp 0x4568b8
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.00448610
jmp 0x4568b8
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0x12
je 0x456689
mov edx, dword [ebp + 8]
cmp dword [edx], 0x20
jne 0x45673e
mov ecx, dword [ebp - 0x2c]
add ecx, 0x598
call fcn.00458dd0
test eax, eax
jbe 0x456712
lea ecx, [ebp - 0x28]
call fcn.00406d00
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
sub esp, 8
mov ecx, esp
mov dword [ebp - 0x30], esp
mov edx, dword [ebp + 8]
add edx, 0xc
push edx
call fcn.0041a0d0
mov ecx, dword [ebp - 0x2c]
call fcn.00458a70
movzx eax, al
test eax, eax
je 0x456703
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x20], 0
je 0x4566ef
push 0
push 0
push 0x2f
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x20]
call fcn.00410af0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406c10
jmp 0x4568b8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00406c10
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0x20
jne 0x456728
push 1
call fcn.00471ff0
mov ecx, eax
call fcn.00472150
mov edx, dword [ebp + 8]
push edx
push 0x201
mov ecx, dword [ebp - 0x2c]
call fcn.00456f50
jmp 0x4568b8
mov eax, dword [ebp + 8]
cmp dword [eax], 0x13
je 0x456752
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0x22
jne 0x4567d4
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 0x81]
test eax, eax
je 0x4567be
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x457]
test edx, edx
jne 0x4567be
mov eax, dword [ebp - 0x2c]
mov byte [eax + 0x457], 1
mov ecx, dword [ebp - 0x2c]
movzx edx, byte [ecx + 0x459]
test edx, edx
je 0x4567be
mov ecx, dword [ebp - 0x2c]
call fcn.004552e0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x48c]
and ecx, 4
je 0x4567ae
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2c]
mov edx, dword [eax + 0x198]
call edx
jmp 0x4567be
mov eax, dword [ebp - 0x2c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [edx + 0x1a8]
call eax
mov ecx, dword [ebp + 8]
push ecx
push 0x202
mov ecx, dword [ebp - 0x2c]
call fcn.00456f50
jmp 0x4568b8
mov edx, dword [ebp + 8]
cmp dword [edx], 0
jne 0x45680d
mov eax, dword [ebp - 0x2c]
movzx ecx, byte [eax + 0x451]
test ecx, ecx
je 0x4567f7
mov ecx, dword [ebp - 0x2c]
call fcn.004552e0
jmp 0x4568b8
mov edx, dword [ebp + 8]
push edx
push 0x203
mov ecx, dword [ebp - 0x2c]
call fcn.00456f50
jmp 0x4568b8
mov eax, dword [ebp + 8]
cmp dword [eax], 0x14
jne 0x45682b
mov ecx, dword [ebp + 8]
push ecx
push 0x204
mov ecx, dword [ebp - 0x2c]
call fcn.00456f50
jmp 0x4568b8
mov edx, dword [ebp + 8]
cmp dword [edx], 0x15
jne 0x456846
mov eax, dword [ebp + 8]
push eax
push 0x205
mov ecx, dword [ebp - 0x2c]
call fcn.00456f50
jmp 0x4568b8
mov ecx, dword [ebp + 8]
cmp dword [ecx], 0x30
jne 0x45685c
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x2c]
call fcn.00456e50
jmp 0x4568b8
mov eax, dword [ebp + 8]
cmp dword [eax], 0x31
jne 0x456872
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x2c]
call fcn.00456f30
jmp 0x4568b8
mov edx, dword [ebp + 8]
cmp dword [edx], 2
jne 0x456888
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.004569e0
jmp 0x4568b8
mov ecx, dword [ebp + 8]
cmp dword [ecx], 3
jne 0x4568ac
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x2c]
call fcn.00456a60
push 0
call fcn.00471ff0
mov ecx, eax
call fcn.00472150
jmp 0x4568b8
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.00448610
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