Function at 0x14001ac10
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xe0
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
movaps xmmword [rax - 0x68], xmm8
movaps xmmword [rax - 0x78], xmm9
movaps xmmword [rax - 0x88], xmm10
movaps xmmword [rax - 0x98], xmm11
mov rax, qword [0x14015c100]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, r9
mov rdi, r8
mov r13, rdx
mov r15, rcx
mov qword [rsp + 0x28], r8
mov ecx, 4
mov rax, qword gs:[0x58]
mov rbp, qword [rax]
xor r12d, r12d
mov eax, dword [rcx + rbp]
cmp dword [0x140181974], eax
jle 0x14001ace6
lea rcx, [0x140181974]
call fcn.1400c68f8
cmp dword [0x140181974], 0xffffffff
jne 0x14001ace6
mov qword [0x1401819f8], r12
mov ecx, 8
call fcn.1400c65a0
mov qword [rsp + 0x20], rax
mov rdx, qword [rdi]
movss xmm0, dword [rdx + 4]
mov edx, dword [rdx]
mov dword [rax], edx
movss dword [rax + 4], xmm0
mov qword [0x1401819f8], rax
lea rcx, [0x1401004c0]
call fcn.1400c6804
nop
lea rcx, [0x140181974]
call fcn.1400c688c
mov ecx, 8
call fcn.1400c65a0
mov rsi, rax
mov qword [rsp + 0x20], rax
mov rcx, qword [rdi]
movss xmm0, dword [rcx + 0xc]
mov ecx, dword [rcx + 8]
mov dword [rax], ecx
movss dword [rax + 4], xmm0
mov qword [rsp + 0x30], rax
mov ecx, 8
call fcn.1400c65a0
mov r14, rax
mov qword [rsp + 0x20], rax
mov rax, qword [rdi]
movss xmm0, dword [rax + 0x14]
mov ecx, dword [rax + 0x10]
mov dword [r14], ecx
movss dword [r14 + 4], xmm0
mov qword [rsp + 0x60], r14
xorps xmm6, xmm6
cmp byte [rsp + 0x148], 0
jne 0x14001af9b
mov dword [0x140180f8c], 0
mov ecx, dword [rax]
mov rax, qword [0x1401819f8]
mov dword [rax], ecx
mov rax, qword [rdi]
movss xmm0, dword [rax + 4]
mov rax, qword [0x1401819f8]
movss dword [rax + 4], xmm0
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov ecx, dword [r13 + 0xf4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14001aef1
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, 4
mov eax, dword [rcx + rbp]
cmp dword [0x140181920], eax
jle 0x14001adee
lea rcx, [0x140181920]
call fcn.1400c68f8
cmp dword [0x140181920], 0xffffffff
jne 0x14001adee
lea rdx, [0x140114a04]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x140181988], rax
lea rcx, [0x140181920]
call fcn.1400c688c
mov rcx, qword [0x140181988]
test rcx, rcx
je 0x14001aef1
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_ScreenToClient]
xorps xmm2, xmm2
movd xmm3, dword [rsp + 0x30]
cvtdq2ps xmm3, xmm3
movss xmm4, dword [0x14013c7c0]
movss xmm0, dword [rsp + 0x28]
comiss xmm0, xmm3
jbe 0x14001ae32
movaps xmm6, xmm3
subss xmm6, xmm0
xorps xmm6, xmm4
comiss xmm3, xmm0
jbe 0x14001ae3e
movaps xmm6, xmm0
subss xmm6, xmm3
movd xmm1, dword [rsp + 0x34]
cvtdq2ps xmm1, xmm1
movss xmm0, dword [rsp + 0x2c]
comiss xmm0, xmm1
jbe 0x14001ae5c
movaps xmm2, xmm1
subss xmm2, xmm0
xorps xmm2, xmm4
comiss xmm1, xmm0
jbe 0x14001ae68
movaps xmm2, xmm0
subss xmm2, xmm1
movd xmm0, dword [r15 + 0x64]
cvtdq2ps xmm0, xmm0
divss xmm6, xmm0
addss xmm6, xmm3
movd xmm0, dword [r15 + 0x68]
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
addss xmm2, xmm1
movss xmm1, dword [0x14013bd88]
movaps xmm0, xmm1
divss xmm0, dword [rsp + 0x20]
mulss xmm0, xmm6
cvtps2pd xmm3, xmm0
divss xmm1, dword [rsp + 0x24]
mulss xmm1, xmm2
cvtps2pd xmm2, xmm1
mov qword [rsp + 0x38], r12
mov dword [rsp + 0x48], r12d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x4c], 0x8001
cvttsd2si eax, xmm3
mov dword [rsp + 0x40], eax
cvttsd2si eax, xmm2
mov dword [rsp + 0x44], eax
mov r8d, 0x28
lea rdx, [rsp + 0x38]
mov ecx, 1
call qword [sym.imp.USER32.dll_SendInput]
nop
mov edx, 8
mov rcx, r14
call fcn.1400c681c
nop
mov edx, 8
mov rcx, rsi
call fcn.1400c681c
nop
mov rcx, qword [rdi]
test rcx, rcx
je 0x14001af55
mov rdx, qword [rdi + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x14001af45
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001b126
mov rcx, r8
call fcn.1400c681c
mov qword [rdi], r12
mov qword [rdi + 8], r12
mov qword [rdi + 0x10], r12
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400c6580
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x58]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movss xmm0, dword [0x14013bae8]
comiss xmm0, dword [0x140180f8c]
jb 0x14001ad74
mov ecx, 8
call fcn.1400c65a0
mov rbp, rax
mov qword [rsp + 0x20], rax
movss xmm11, dword [0x14013baf0]
movss xmm0, dword [0x140180f8c]
subss xmm11, xmm0
cvtps2pd xmm8, xmm11
addss xmm11, xmm11
mulss xmm11, xmm0
cvtps2pd xmm10, xmm0
movsd xmm9, qword [0x14013bba0]
movaps xmm1, xmm9
movaps xmm0, xmm8
call fcn.1400f5880
movaps xmm6, xmm0
mov rbx, qword [0x1401819f8]
movss xmm0, dword [rbx + 4]
cvtps2pd xmm0, xmm0
mulsd xmm6, xmm0
movaps xmm1, xmm11
mulss xmm1, dword [rsi + 4]
cvtps2pd xmm2, xmm1
addsd xmm6, xmm2
movaps xmm1, xmm9
movaps xmm0, xmm10
call fcn.1400f5880
movss xmm1, dword [r14 + 4]
cvtps2pd xmm1, xmm1
mulsd xmm0, xmm1
addsd xmm6, xmm0
xorps xmm7, xmm7
cvtsd2ss xmm7, xmm6
movaps xmm1, xmm9
movaps xmm0, xmm8
call fcn.1400f5880
movaps xmm6, xmm0
movss xmm2, dword [rbx]
cvtps2pd xmm2, xmm2
mulsd xmm6, xmm2
mulss xmm11, dword [rsi]
cvtps2pd xmm2, xmm11
addsd xmm6, xmm2
movaps xmm1, xmm9
movaps xmm0, xmm10
call fcn.1400f5880
movss xmm1, dword [r14]
cvtps2pd xmm1, xmm1
mulsd xmm0, xmm1
addsd xmm6, xmm0
xorps xmm0, xmm0
cvtsd2ss xmm0, xmm6
movss dword [rbp], xmm0
movss dword [rbp + 4], xmm7
mov qword [rsp + 0x68], rbp
mov r8, qword [rbp]
call fcn.14001aaf0
movsxd rbx, dword [r15 + 0x200]
shl rbx, 5
add rbx, qword [r15 + 0x1e8]
call fcn.1400d6984
mov r15, rax
cmp qword [rbx + 0x18], 0xf
jbe 0x14001b0d3
mov rbx, qword [rbx]
mov dword [rax], r12d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400d65bc
movaps xmm1, xmm0
cmp rbx, qword [rsp + 0x20]
je 0x14001b12c
cmp dword [r15], 0x22
je 0x14001b119
movss xmm0, dword [0x140180f8c]
addss xmm0, xmm1
movss dword [0x140180f8c], xmm0
mov edx, 8
mov rcx, rbp
call fcn.1400c681c
jmp 0x14001aef1
lea rcx, str.stof_argument_out_of_range
call fcn.1400c3e8c
nop
call fcn.1400ccb24
nop
lea rcx, str.invalid_stof_argument
call fcn.1400c3e44
int3