Function at 0x45baa0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52fc40
mov eax, dword fs:[0]
push eax
mov eax, 0x158c
call fcn.00501a20
mov eax, dword [0x814868]
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 0x45bca0
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x45bb0f
mov dword [ebp - 0x1568], 0x532bfc
jmp 0x45bb19
mov dword [ebp - 0x1568], str.__Press_the_key__
mov ecx, dword [ebp - 0x1568]
mov dword [ebp - 0x155c], ecx
mov dword [ebp - 0x156c], 0x575000
mov edx, dword [ebp - 0x156c]
mov dword [ebp - 0x1560], edx
mov eax, dword [ebp - 0x156c]
add eax, 0x370
mov dword [ebp - 0x158c], eax
jmp 0x45bb5d
mov ecx, dword [ebp - 0x1560]
add ecx, 8
mov dword [ebp - 0x1560], ecx
mov edx, dword [ebp - 0x1560]
cmp edx, dword [ebp - 0x158c]
je 0x45bc9b
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 0x45bc96
cmp dword [ebp - 0x1588], 1
jne 0x45bc67
call fcn.00468000
push eax
lea ecx, [ebp - 0x1550]
call fcn.0045b350
mov dword [ebp - 4], 0
lea edx, [ebp - 0x38]
push edx
call fcn.00467cb0
add esp, 4
movss xmm0, dword [ebp - 0x38]
comiss xmm0, dword [ebp - 0x1470]
ja 0x45bc1d
movss xmm0, dword [ebp - 0x38]
addss xmm0, dword [ebp + 0x10]
movss xmm1, dword [ebp - 0x1470]
comiss xmm1, xmm0
ja 0x45bc1d
movss xmm0, dword [ebp - 0x34]
comiss xmm0, dword [ebp - 0x146c]
ja 0x45bc1d
movss xmm0, dword [ebp - 0x34]
addss xmm0, dword [ebp + 0x14]
movss xmm1, dword [ebp - 0x146c]
comiss xmm1, xmm0
jbe 0x45bc3e
xor eax, eax
mov ecx, dword [ebp - 0x1558]
mov word [ecx], ax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1550]
call fcn.0045ba30
jmp 0x45bc9b
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1550]
call fcn.0045ba30
jmp 0x45bb4e
cmp dword [ebp - 0x1588], 0x1b
jne 0x45bc7d
xor edx, edx
mov eax, dword [ebp - 0x1558]
mov word [eax], dx
jmp 0x45bc9b
mov ecx, dword [ebp - 0x1558]
mov dx, word [ebp - 0x1588]
mov word [ecx], dx
mov byte [ebp - 0x1551], 1
jmp 0x45bc9b
jmp 0x45bb4e
jmp 0x45bdbe
mov eax, dword [ebp - 0x1558]
movsx ecx, word [eax]
test ecx, ecx
jle 0x45bd94
movzx edx, byte [ebp + 0xc]
test edx, edx
je 0x45bcc5
mov dword [ebp - 0x1570], str.:____s__
jmp 0x45bccf
mov dword [ebp - 0x1570], str.Button:____s__
mov eax, dword [ebp - 0x1570]
mov dword [ebp - 0x1578], eax
mov dword [ebp - 0x1574], 0x575000
mov ecx, dword [ebp - 0x1574]
mov dword [ebp - 0x1564], ecx
mov edx, dword [ebp - 0x1574]
add edx, 0x370
mov dword [ebp - 0x1590], edx
jmp 0x45bd14
mov eax, dword [ebp - 0x1564]
add eax, 8
mov dword [ebp - 0x1564], eax
mov ecx, dword [ebp - 0x1564]
cmp ecx, dword [ebp - 0x1590]
je 0x45bd71
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 0x45bd6f
mov ecx, dword [ebp - 0x1594]
push ecx
mov edx, dword [ebp - 0x1578]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.0045b2d0
add esp, 0xc
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x155c], ecx
jmp 0x45bd71
jmp 0x45bd05
cmp dword [ebp - 0x155c], 0
jne 0x45bd92
push str.unknown
mov edx, dword [ebp - 0x1578]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.0045b2d0
add esp, 0xc
jmp 0x45bdbe
movzx ecx, byte [ebp + 0xc]
test ecx, ecx
je 0x45bda8
mov dword [ebp - 0x157c], str.:___None__
jmp 0x45bdb2
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.004707a0
add esp, 4
movzx ecx, byte [ebp + 0x18]
test ecx, ecx
je 0x45bdde
mov dword [ebp - 0x1580], 0x100
jmp 0x45bde8
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.00494cc0
add esp, 0xc
movzx edx, al
test edx, edx
je 0x45be15
or eax, 0xffffffff
mov ecx, dword [ebp - 0x1558]
mov word [ecx], ax
call fcn.004703f0
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.005019e1
mov esp, ebp
pop ebp
ret