Function at 0x1005e840
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x10098010]
xor eax, ebp
mov dword [ebp - 4], eax
cvttsd2si eax, qword [0x100eb6a8]
push eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
xorps xmm1, xmm1
setne al
cmp byte [0x100f1b48], al
je 0x1005e8a6
test al, al
je 0x1005e8a1
movsd xmm0, qword [0x100eb738]
mov ecx, 1
ucomisd xmm0, xmm1
lahf
xor edx, edx
test ah, 0x44
cmovp ecx, edx
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
movsd qword [0x100eb738], xmm0
mov byte [0x100f1b48], al
mov ecx, dword [0x100e8994]
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
test al, al
je 0x1005ebb9
mov eax, dword [0x100e8ffc]
cmp dword [eax], 0
je 0x1005ebb9
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100e42e0]
push esi
mov esi, dword [eax + ecx*4]
mov eax, dword [0x100f1b4c]
cmp eax, dword [esi + 4]
jle 0x1005e909
push 0x100f1b4c
call fcn.1007bfd7
add esp, 4
cmp dword [0x100f1b4c], 0xffffffff
jne 0x1005e909
push 0x100f1b4c
call fcn.1007bf8d
add esp, 4
mov ecx, dword [0x100e8994]
push 0x100f1b3c
mov eax, dword [ecx]
call dword [eax + 0x48]
mov eax, dword [0x100e8ffc]
mov ecx, dword [eax]
call fcn.1007ad50
cmp dword [eax], 0
jne 0x1005eb35
movsd xmm0, qword [0x100eb738]
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1005eb35
mov eax, dword [0x100e8988]
lea edx, [ebp - 0x10]
push edx
mov byte [eax + 0xad], 1
movsd xmm1, qword [0x100eb748]
movss xmm0, dword [0x100f1b3c]
movss xmm2, dword [0x100f1b40]
cvtpd2ps xmm1, xmm1
movss dword [eax + 0xb0], xmm0
movss dword [eax + 0xb4], xmm2
movss dword [eax + 0xb8], xmm1
movsd xmm0, qword [0x100eb6e8]
cvtpd2ps xmm0, xmm0
mov eax, dword [0x100e8ffc]
mov ecx, dword [eax]
divss xmm0, dword [0x1008d6d0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x474]
subss xmm0, dword [0x1008d708]
addss xmm0, dword [0x1008d6f0]
movss dword [ebp - 0x80], xmm0
movss dword [ebp - 0x7c], xmm0
movss dword [ebp - 0x78], xmm0
call eax
mov eax, dword [0x100e86d0]
cmp eax, dword [esi + 4]
jle 0x1005ea10
push 0x100e86d0
call fcn.1007bfd7
add esp, 4
cmp dword [0x100e86d0], 0xffffffff
jne 0x1005ea10
push 0x10082a70
mov byte [0x100e86fc], 0
call fcn.1007be5e
push 0x100e86d0
call fcn.1007bf8d
add esp, 8
mov esi, dword [0x100e8988]
movss xmm0, dword [esi + 0xb0]
mulss xmm0, dword [0x1008d534]
movaps xmm1, xmm0
movss dword [ebp - 0x6c], xmm0
addss xmm1, dword [0x1008d5f0]
call fcn.10075ac0
movss dword [ebp - 0x70], xmm0
movss xmm0, dword [esi + 0xb4]
mulss xmm0, dword [0x1008d534]
movaps xmm1, xmm0
movss dword [ebp - 0x68], xmm0
addss xmm1, dword [0x1008d5f0]
call fcn.10075ac0
mulss xmm0, dword [ebp - 0x70]
movss xmm1, dword [ebp - 0x68]
movss dword [ebp - 0x74], xmm0
call fcn.10075ac0
mulss xmm0, dword [ebp - 0x70]
movss xmm1, dword [ebp - 0x6c]
movss dword [ebp - 0x68], xmm0
call fcn.10075ac0
xorps xmm0, xmmword [0x10090a80]
lea eax, [ebp - 0x64]
push 0x54
push 0
push eax
movss dword [ebp - 0x6c], xmm0
call sub.VCRUNTIME140.dll_memset
movss xmm1, dword [esi + 0xb8]
lea eax, [ebp - 0x64]
movss xmm2, dword [ebp - 0x74]
lea edx, [ebp - 0x8c]
movss xmm0, dword [ebp - 0x10]
add esp, 0xc
mulss xmm2, xmm1
push eax
subss xmm0, xmm2
movss xmm2, dword [ebp - 0x68]
mulss xmm2, xmm1
lea eax, [ebp - 0x80]
push eax
push ecx
lea ecx, [ebp - 0x10]
movss dword [ebp - 0x8c], xmm0
movss xmm0, dword [ebp - 0xc]
subss xmm0, xmm2
movss xmm2, dword [ebp - 0x6c]
mulss xmm2, xmm1
movss dword [ebp - 0x88], xmm0
movss xmm0, dword [ebp - 8]
subss xmm0, xmm2
movss dword [ebp - 0x84], xmm0
call fcn.10069200
mov eax, dword [0x100e8988]
add esp, 0xc
movss xmm0, dword [ebp - 0x38]
mulss xmm0, dword [eax + 0xb8]
movss dword [eax + 0xb8], xmm0
jmp 0x1005eb4a
mov eax, dword [0x100e8988]
cmp byte [eax + 0xad], 0
je 0x1005eb4a
mov byte [eax + 0xad], 0
mov eax, dword [0x100e8ffc]
mov ecx, dword [eax]
call fcn.1007ad50
pop esi
cmp dword [eax], 0
je 0x1005ebb2
movsd xmm0, qword [0x100eb740]
xorps xmm1, xmm1
ucomisd xmm0, xmm1
lahf
test ah, 0x44
jnp 0x1005ebb2
cmp byte [0x100ec64e], 0
je 0x1005eb8c
mov eax, dword [0x100e8ffc]
mov ecx, dword [eax]
call fcn.1005e760
mov dword [eax], 5
mov eax, dword [0x100e8ffc]
mov ecx, dword [eax]
call fcn.1005e760
cmp dword [eax], 4
jne 0x1005ebb9
mov byte [0x100ec64e], 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007ba06
mov esp, ebp
pop ebp
ret
mov byte [0x100ec64e], 0
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1007ba06
mov esp, ebp
pop ebp
ret