Function at 0x140017980
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, 0xf0
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 [0x1400ee010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, r9
mov rdi, r8
mov r15, rdx
mov rbp, rcx
mov qword [rsp + 0x38], r8
mov ecx, 4
mov rax, qword gs:[0x58]
mov rax, qword [rax]
xor r13d, r13d
mov eax, dword [rcx + rax]
cmp dword [0x140110408], eax
jle 0x140017a58
lea rcx, [0x140110408]
call fcn.1400a4ae8
cmp dword [0x140110408], 0xffffffff
jne 0x140017a58
mov qword [0x140110410], r13
lea ecx, [r13 + 8]
call fcn.1400a49d0
mov qword [rsp + 0x30], rax
mov rcx, qword [rdi]
movss xmm0, dword [rcx + 4]
mov ecx, dword [rcx]
mov dword [rax], ecx
movss dword [rax + 4], xmm0
mov qword [0x140110410], rax
lea rcx, [0x1400a9d80]
call fcn.1400a4e68
nop
lea rcx, [0x140110408]
call fcn.1400a4a7c
mov ecx, 8
call fcn.1400a49d0
mov rsi, rax
mov qword [rsp + 0x30], 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 + 0x68], rax
mov ecx, 8
call fcn.1400a49d0
mov r14, rax
mov qword [rsp + 0x30], 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 + 0x70], r14
cmp byte [rsp + 0x158], 0
jne 0x140017ba7
mov dword [0x1401100ac], 0
mov ecx, dword [rax]
mov rax, qword [0x140110410]
mov dword [rax], ecx
mov rax, qword [rdi]
movss xmm0, dword [rax + 4]
mov rax, qword [0x140110410]
movss dword [rax + 4], xmm0
mov r9, qword [rsp + 0x150]
mov r8, rbx
mov rdx, r15
mov rcx, rbp
call fcn.140017820
nop
mov edx, 8
mov rcx, r14
call fcn.1400a4a0c
nop
mov edx, 8
mov rcx, rsi
call fcn.1400a4a0c
nop
mov rcx, qword [rdi]
test rcx, rcx
je 0x140017b5e
mov rdx, qword [rdi + 0x10]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x140017b4e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140017df4
mov rcx, r8
call fcn.1400a4a0c
mov qword [rdi], r13
mov qword [rdi + 8], r13
mov qword [rdi + 0x10], r13
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400a49b0
lea r11, [rsp + 0xf0]
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 [0x1400d7ee0]
comiss xmm0, dword [0x1401100ac]
jb 0x140017ae3
mov ecx, 8
call fcn.1400a49d0
mov r12, rax
mov qword [rsp + 0x30], rax
movss xmm6, dword [0x1401100ac]
cvtps2pd xmm9, xmm6
movsd xmm10, qword [0x1400d7f58]
movaps xmm1, xmm10
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm7, xmm0
movss xmm11, dword [0x1400d7ee8]
subss xmm11, xmm6
cvtps2pd xmm8, xmm11
movaps xmm1, xmm10
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
addss xmm11, xmm11
mulss xmm11, xmm6
mov rbx, qword [0x140110410]
movss xmm4, dword [rbx + 4]
cvtps2pd xmm4, xmm4
mulsd xmm4, xmm0
movaps xmm2, xmm11
mulss xmm2, dword [rsi + 4]
cvtps2pd xmm3, xmm2
addsd xmm4, xmm3
movss xmm2, dword [r14 + 4]
cvtps2pd xmm2, xmm2
mulsd xmm2, xmm7
addsd xmm4, xmm2
cvtpd2ps xmm7, xmm4
movaps xmm1, xmm10
movaps xmm0, xmm9
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movaps xmm6, xmm0
movaps xmm1, xmm10
movaps xmm0, xmm8
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movss xmm3, dword [rbx]
cvtps2pd xmm3, xmm3
mulsd xmm3, xmm0
mulss xmm11, dword [rsi]
cvtps2pd xmm1, xmm11
addsd xmm3, xmm1
movss xmm2, dword [r14]
cvtps2pd xmm2, xmm2
mulsd xmm2, xmm6
addsd xmm3, xmm2
cvtpd2ps xmm0, xmm3
movss dword [r12], xmm0
movss dword [r12 + 4], xmm7
mov qword [rsp + 0x78], r12
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x20], rax
mov rax, qword [r12]
mov qword [rsp + 0x28], rax
mov ecx, dword [r15 + 0xf4]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x140017d6c
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
lea rdx, [0x1400b1a90]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_ScreenToClient]
movss xmm1, dword [0x1400d80d4]
movaps xmm0, xmm1
divss xmm0, dword [rsp + 0x20]
mulss xmm0, dword [rsp + 0x28]
cvtps2pd xmm3, xmm0
divss xmm1, dword [rsp + 0x24]
mulss xmm1, dword [rsp + 0x2c]
cvtps2pd xmm2, xmm1
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x50], r13d
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x58], xmm0
mov dword [rsp + 0x54], 0x8001
cvttsd2si eax, xmm3
mov dword [rsp + 0x48], eax
cvttsd2si eax, xmm2
mov dword [rsp + 0x4c], eax
mov r8d, 0x28
lea rdx, [rsp + 0x40]
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
movsxd rbx, dword [rbp + 0x198]
shl rbx, 5
add rbx, qword [rbp + 0x180]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov r15, rax
cmp qword [rbx + 0x18], 0x10
jb 0x140017d91
mov rbx, qword [rbx]
mov dword [rax], r13d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtof]
movaps xmm1, xmm0
cmp rbx, qword [rsp + 0x30]
jne 0x140017dba
lea rcx, str.invalid_stof_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
int3
cmp dword [r15], 0x22
jne 0x140017dce
lea rcx, str.stof_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
movss xmm0, dword [0x1401100ac]
addss xmm0, xmm1
movss dword [0x1401100ac], xmm0
mov edx, 8
mov rcx, r12
call fcn.1400a4a0c
jmp 0x140017afa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3