Function at 0x140006cf0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
sub rsp, 0x88
cmp qword [0x140107598], 0
je 0x140006fb4
cmp byte [0x14008c0bc], 0
je 0x140006fb4
movss xmm3, dword [0x1400822d8]
lea rcx, [rsp + 0x40]
movss xmm2, dword [0x140082134]
movss xmm0, dword [0x14008c130]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax - 8], rdi
mulss xmm0, xmm3
mov dword [rsp + 0x4c], 0x3f800000
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
cvttss2si eax, xmm0
movss xmm0, dword [0x14008c134]
mulss xmm0, xmm3
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [0x14008c138]
mulss xmm1, xmm2
mulss xmm0, xmm3
movss dword [rsp + 0x40], xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvttss2si eax, xmm0
mulss xmm1, xmm2
movss dword [rsp + 0x44], xmm1
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm2
movss dword [rsp + 0x48], xmm1
call fcn.14000a490
mov rcx, qword [0x140107150]
lea r8, str.Foreground
movss xmm7, dword [0x140082180]
mov edx, 1
movd xmm6, dword [0x14008c0c0]
mov edi, eax
cvtdq2ps xmm6, xmm6
movss xmm0, dword [rcx + 0x10]
mulss xmm0, xmm7
movss dword [rsp + 0x90], xmm0
movss xmm0, dword [rcx + 0x14]
mov rcx, qword [rcx + 0x3ff0]
mulss xmm0, xmm7
mov rcx, qword [rcx + 0x30]
movss dword [rsp + 0x94], xmm0
call fcn.14000de50
mov rbx, rax
test edi, 0xff000000
je 0x140006e7a
xorps xmm0, xmm0
comiss xmm0, xmm6
jae 0x140006e7a
subss xmm6, xmm7
mov dword [rsp + 0x20], 0x30
xor r9d, r9d
lea rdx, [rsp + 0x90]
mov rcx, rax
movaps xmm2, xmm6
call fcn.140038780
mov r8d, dword [rbx + 0x78]
mov r9d, edi
mov rdx, qword [rbx + 0x80]
dec r8d
movss dword [rsp + 0x28], xmm7
mov rcx, rbx
mov dword [rbx + 0x78], r8d
mov dword [rsp + 0x20], 1
call fcn.1400372a0
mov dword [rbx + 0x78], 0
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
mov ecx, 1
sub eax, edx
sar eax, 1
mov edi, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
mov esi, eax
call fcn.140005d90
mov rbx, rax
call fcn.14005f980
mov r9d, dword [0x1401071c8]
lea rdx, [rsp + 0x30]
mov r8, rbx
call fcn.14005fa10
call fcn.14005f980
movsd xmm8, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov ebx, dword [rsp + 0x38]
lea rdx, [rsp + 0x90]
movsd qword [rsp + 0x40], xmm8
mov dword [rsp + 0x48], ebx
call fcn.14005fb50
mov ecx, dword [0x14008c0d4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140006f8c
movss xmm0, dword [rsp + 0x90]
xorps xmm1, xmm1
cvtsi2sd xmm1, edi
cvtps2pd xmm0, xmm0
subsd xmm0, xmm1
movsd xmm1, qword [0x140082210]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [0x140082210]
movaps xmm7, xmm0
movss xmm0, dword [rsp + 0x94]
xorps xmm2, xmm2
cvtps2pd xmm0, xmm0
cvtsi2sd xmm2, esi
subsd xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addsd xmm7, xmm0
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm7
ucomiss xmm1, xmm0
ja 0x140006f62
sqrtss xmm0, xmm0
jmp 0x140006f67
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movd xmm1, dword [0x14008c0c0]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x140006f8c
lea rdx, [rsp + 0x40]
movsd qword [rsp + 0x40], xmm8
mov dword [rsp + 0x48], ebx
call fcn.140006280
movaps xmm7, xmmword [rsp + 0x60]
movaps xmm6, xmmword [rsp + 0x70]
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0xa0]
mov rbx, qword [rsp + 0x98]
movaps xmm8, xmmword [rsp + 0x50]
add rsp, 0x88
ret