Function at 0x140017440
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov qword [rax + 0x18], r8
push r14
sub rsp, 0x70
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x1401db200]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rax, qword gs:[0x58]
mov rbx, r8
mov r14d, 4
mov rdi, rcx
mov rsi, qword [rax]
mov eax, dword [r14 + rsi]
cmp dword [0x140200ad0], eax
jle 0x1400174d5
lea rcx, [0x140200ad0]
call fcn.140128aa8
cmp dword [0x140200ad0], 0xffffffff
jne 0x1400174d5
mov rax, qword [0x140200678]
lea rcx, [0x140200ad0]
movsd xmm0, qword [rax + 0x3e20]
cvtpd2ps xmm0, xmm0
movss dword [0x140200b00], xmm0
call fcn.140128a3c
movss xmm0, dword [0x140200b00]
mov rax, qword [0x140200678]
cvtps2pd xmm0, xmm0
movsd xmm2, qword [rax + 0x3e20]
mov eax, dword [r14 + rsi]
movaps xmm1, xmm2
cmp dword [0x140200ae0], eax
subsd xmm1, xmm0
cvtpd2ps xmm0, xmm2
cvtpd2ps xmm8, xmm1
movss dword [0x140200b00], xmm0
jle 0x14001754a
lea rcx, [0x140200ae0]
call fcn.140128aa8
cmp dword [0x140200ae0], 0xffffffff
jne 0x14001754a
lea rdx, [0x14018dd34]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
lea rcx, [0x140200ae0]
mov qword [0x1402009d8], rax
call fcn.140128a3c
lea rcx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_GetCursorPos]
mov rcx, qword [0x1402009d8]
lea rdx, [rsp + 0x28]
call qword [sym.imp.USER32.dll_ScreenToClient]
movd xmm6, dword [rsp + 0x28]
mov ecx, 2
movd xmm7, dword [rsp + 0x2c]
cvtdq2ps xmm6, xmm6
cvtdq2ps xmm7, xmm7
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
xorps xmm1, xmm1
test ax, ax
jne 0x1400177aa
cmp dword [rdi + 0x1a0], 2
lea rdx, [0x140200738]
movss xmm4, dword [0x1401b60e8]
movss xmm0, dword [0x140200738]
mov dword [rsp + 0x20], 0
jne 0x1400175d4
comiss xmm1, xmm0
lea rax, [rdi + 0x9c]
lea rcx, [rsp + 0x20]
cmovbe rcx, rdx
comiss xmm0, dword [rax]
cmova rcx, rax
jmp 0x1400175f4
comiss xmm1, xmm0
lea rax, [rsp + 0x20]
mov dword [rsp + 0x28], 0x3f800000
lea rcx, [rsp + 0x28]
cmovbe rax, rdx
comiss xmm0, xmm4
cmovbe rcx, rax
cmp byte [0x14020066b], 0
movss xmm3, dword [rcx]
movss dword [0x140200738], xmm3
je 0x1400177aa
mov ecx, dword [rdi + 0x1a0]
test ecx, ecx
je 0x1400177a0
sub ecx, 1
je 0x1400176eb
cmp ecx, 1
jne 0x1400177b4
movss xmm2, dword [0x1401b6224]
movaps xmm0, xmm3
addss xmm0, xmm3
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
mulss xmm2, xmm0
movss xmm0, dword [rsp + 0x90]
subss xmm4, xmm2
mulss xmm0, xmm2
movaps xmm1, xmm4
mulss xmm4, xmm7
mulss xmm1, xmm6
addss xmm1, xmm0
movss xmm0, dword [rsp + 0x94]
mulss xmm0, xmm2
movss xmm2, dword [0x1401b6030]
movss dword [rsp + 0x28], xmm1
addss xmm4, xmm0
movss xmm1, dword [0x1402005d4]
addss xmm1, xmm8
movss dword [rsp + 0x2c], xmm4
comiss xmm1, xmm2
movss dword [0x1402005d4], xmm1
jb 0x1400176dc
nop word [rax + rax]
movss xmm0, dword [rdi + 0x98]
subss xmm1, xmm2
mulss xmm0, xmm2
comiss xmm1, xmm2
addss xmm0, xmm3
movss dword [0x140200738], xmm0
movaps xmm3, xmm0
jae 0x1400176b0
movss dword [0x1402005d4], xmm1
mov r8, qword [rsp + 0x28]
call fcn.1400177f0
jmp 0x1400177b4
movss xmm2, dword [0x1401b6224]
movaps xmm0, xmm3
addss xmm0, xmm3
subss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
mulss xmm2, xmm0
movss xmm0, dword [rsp + 0x90]
subss xmm4, xmm2
mulss xmm0, xmm2
movaps xmm1, xmm4
mulss xmm4, xmm7
mulss xmm1, xmm6
addss xmm1, xmm0
movss xmm0, dword [rsp + 0x94]
mulss xmm0, xmm2
movss xmm2, dword [0x1401b6030]
movss dword [rsp + 0x28], xmm1
addss xmm4, xmm0
movss xmm1, dword [0x140200624]
addss xmm1, xmm8
movss dword [rsp + 0x2c], xmm4
comiss xmm1, xmm2
movss dword [0x140200624], xmm1
jb 0x140017794
movsd xmm4, qword [0x1401b60f0]
cvtps2pd xmm0, xmm3
subss xmm1, xmm2
addsd xmm0, xmm4
comiss xmm1, xmm2
cvtpd2ps xmm3, xmm0
jae 0x140017770
movss dword [0x140200738], xmm3
movss dword [0x140200624], xmm1
mov r8, qword [rsp + 0x28]
call fcn.1400177f0
jmp 0x1400177b4
mov r8, rbx
call fcn.1400177f0
jmp 0x1400177b4
mov dword [0x140200738], 0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140128970
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r14
ret