Function at 0x45bab0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529f10
mov eax, dword fs:[0]
push eax
mov eax, 0x158c
call fcn.004fbbc0
mov eax, dword [0x801aa8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1558], eax
mov dword [ebp - 0x155c], 0
mov byte [ebp - 0x1551], 0
mov ecx, dword [ebp - 0x1558]
movsx edx, word [ecx]
cmp edx, 0xffffffff
jne 0x45bcb0
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x45bb1f
mov dword [ebp - 0x1568], 0x52cbdc
jmp 0x45bb29
mov dword [ebp - 0x1568], str.__Press_the_key__
mov ecx, dword [ebp - 0x1568]
mov dword [ebp - 0x155c], ecx
mov dword [ebp - 0x156c], 0x5b1000
mov edx, dword [ebp - 0x156c]
mov dword [ebp - 0x1560], edx
mov eax, dword [ebp - 0x156c]
add eax, 0x370
mov dword [ebp - 0x158c], eax
jmp 0x45bb6d
mov ecx, dword [ebp - 0x1560]
add ecx, 8
mov dword [ebp - 0x1560], ecx
mov edx, dword [ebp - 0x1560]
cmp edx, dword [ebp - 0x158c]
je 0x45bcab
mov eax, dword [ebp - 0x1560]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [ebp - 0x1588], ecx
mov dword [ebp - 0x1584], edx
mov eax, dword [ebp - 0x1588]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
movsx ecx, ax
and ecx, 0x8000
je 0x45bca6
cmp dword [ebp - 0x1588], 1
jne 0x45bc77
call fcn.00468010
push eax
lea ecx, [ebp - 0x1550]
call fcn.0045b360
mov dword [ebp - 4], 0
lea edx, [ebp - 0x38]
push edx
call fcn.00467cc0
add esp, 4
movss xmm0, dword [ebp - 0x38]
comiss xmm0, dword [ebp - 0x1470]
ja 0x45bc2d
movss xmm0, dword [ebp - 0x38]
addss xmm0, dword [ebp + 0x10]
movss xmm1, dword [ebp - 0x1470]
comiss xmm1, xmm0
ja 0x45bc2d
movss xmm0, dword [ebp - 0x34]
comiss xmm0, dword [ebp - 0x146c]
ja 0x45bc2d
movss xmm0, dword [ebp - 0x34]
addss xmm0, dword [ebp + 0x14]
movss xmm1, dword [ebp - 0x146c]
comiss xmm1, xmm0
jbe 0x45bc4e
xor eax, eax
mov ecx, dword [ebp - 0x1558]
mov word [ecx], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1550]
call fcn.0045ba40
jmp 0x45bcab
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1550]
call fcn.0045ba40
jmp 0x45bb5e
cmp dword [ebp - 0x1588], 0x1b
jne 0x45bc8d
xor edx, edx
mov eax, dword [ebp - 0x1558]
mov word [eax], dx
jmp 0x45bcab
mov ecx, dword [ebp - 0x1558]
mov dx, word [ebp - 0x1588]
mov word [ecx], dx
mov byte [ebp - 0x1551], 1
jmp 0x45bcab
jmp 0x45bb5e
jmp 0x45bdce
mov eax, dword [ebp - 0x1558]
movsx ecx, word [eax]
test ecx, ecx
jle 0x45bda4
movzx edx, byte [ebp + 0xc]
test edx, edx
je 0x45bcd5
mov dword [ebp - 0x1570], str.:____s__
jmp 0x45bcdf
mov dword [ebp - 0x1570], str.Button:____s__
mov eax, dword [ebp - 0x1570]
mov dword [ebp - 0x1578], eax
mov dword [ebp - 0x1574], 0x5b1000
mov ecx, dword [ebp - 0x1574]
mov dword [ebp - 0x1564], ecx
mov edx, dword [ebp - 0x1574]
add edx, 0x370
mov dword [ebp - 0x1590], edx
jmp 0x45bd24
mov eax, dword [ebp - 0x1564]
add eax, 8
mov dword [ebp - 0x1564], eax
mov ecx, dword [ebp - 0x1564]
cmp ecx, dword [ebp - 0x1590]
je 0x45bd81
mov edx, dword [ebp - 0x1564]
mov eax, dword [edx]
mov ecx, dword [edx + 4]
mov dword [ebp - 0x1598], eax
mov dword [ebp - 0x1594], ecx
mov edx, dword [ebp - 0x1558]
movsx eax, word [edx]
cmp dword [ebp - 0x1598], eax
jne 0x45bd7f
mov ecx, dword [ebp - 0x1594]
push ecx
mov edx, dword [ebp - 0x1578]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.0045b2e0
add esp, 0xc
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x155c], ecx
jmp 0x45bd81
jmp 0x45bd15
cmp dword [ebp - 0x155c], 0
jne 0x45bda2
push str.unknown
mov edx, dword [ebp - 0x1578]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.0045b2e0
add esp, 0xc
jmp 0x45bdce
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x45bdb8
mov dword [ebp - 0x157c], str.:___None__
jmp 0x45bdc2
mov dword [ebp - 0x157c], str.Button:___None__
mov edx, dword [ebp - 0x157c]
mov dword [ebp - 0x155c], edx
mov eax, dword [ebp + 8]
push eax
call fcn.004707b0
add esp, 4
movzx ecx, byte [ebp + 0x18]
test ecx, ecx
je 0x45bdee
mov dword [ebp - 0x1580], 0x100
jmp 0x45bdf8
mov dword [ebp - 0x1580], 0
mov edx, dword [ebp - 0x1580]
push edx
lea eax, [ebp + 0x10]
push eax
mov ecx, dword [ebp - 0x155c]
push ecx
call fcn.00494ae0
add esp, 0xc
movzx edx, al
test edx, edx
je 0x45be25
or eax, 0xffffffff
mov ecx, dword [ebp - 0x1558]
mov word [ecx], ax
call fcn.00470400
movzx eax, byte [ebp - 0x1551]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004fbb88
mov esp, ebp
pop ebp
ret