Function at 0x1400017f0
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xe0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x140064040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov eax, dword [rcx + 0x20]
xor r14d, r14d
mov rbp, rdx
mov rsi, rcx
mov r15d, 1
test eax, eax
jne 0x14000183d
mov ebx, r14d
jmp 0x140001848
mov ebx, dword [rsp + 0x20]
cmp eax, r15d
cmove ebx, r15d
mov rax, qword gs:[0x58]
mov r12d, 4
mov rdi, qword [rax]
mov eax, dword [r12 + rdi]
cmp dword [0x14014e3d8], eax
jle 0x1400018b6
lea rcx, [0x14014e3d8]
call fcn.140051710
cmp dword [0x14014e3d8], 0xffffffff
jne 0x1400018b6
mov ecx, r15d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea rcx, [0x14014e3d8]
movss dword [0x14014e3e4], xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [0x14014e3e0], xmm0
call fcn.1400516a4
mov r9d, ebx
lea rdx, [rsp + 0x20]
mov r8, rbp
call fcn.1400511e0
mov eax, dword [r12 + rdi]
cmp dword [0x14014e3d8], eax
jle 0x140001922
lea rcx, [0x14014e3d8]
call fcn.140051710
cmp dword [0x14014e3d8], 0xffffffff
jne 0x140001922
mov ecx, r15d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
xor ecx, ecx
movd xmm6, eax
cvtdq2ps xmm6, xmm6
call qword [sym.imp.USER32.dll_GetSystemMetrics]
lea rcx, [0x14014e3d8]
movss dword [0x14014e3e4], xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [0x14014e3e0], xmm0
call fcn.1400516a4
movsd xmm0, qword [rsp + 0x20]
lea r8, [rsp + 0x30]
mov eax, dword [rsp + 0x28]
lea rdx, [rsp + 0x20]
movsd qword [rsp + 0x30], xmm0
mov dword [rsp + 0x38], eax
call fcn.140051320
movss xmm8, dword [rsp + 0x20]
xorps xmm0, xmm0
ucomiss xmm8, xmm0
movss xmm6, dword [rsp + 0x24]
jp 0x140001968
jne 0x140001968
ucomiss xmm6, xmm0
jp 0x140001968
je 0x140001b59
movaps xmmword [rsp + 0xc0], xmm7
xor ecx, ecx
movaps xmmword [rsp + 0xa0], xmm9
movaps xmmword [rsp + 0x90], xmm10
movaps xmmword [rsp + 0x80], xmm11
movaps xmmword [rsp + 0x70], xmm12
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
mov ecx, r15d
sub eax, edx
sar eax, 1
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ebp, dword [rsi + 4]
xorps xmm0, xmm0
cdq
xorps xmm1, xmm1
sub eax, edx
xorps xmm11, xmm11
sar eax, 1
xorps xmm12, xmm12
cvtsi2ss xmm0, ebp
cvtsi2sd xmm1, eax
cvtsi2ss xmm12, eax
cvtsi2ss xmm11, ebx
movaps xmm9, xmm8
movaps xmm10, xmm6
subss xmm10, xmm12
subss xmm9, xmm11
divss xmm10, xmm0
divss xmm9, xmm0
cvtps2pd xmm0, xmm6
subsd xmm0, xmm1
movsd xmm1, qword [0x14005b1b8]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [0x14005b1b8]
movaps xmm7, xmm0
xorps xmm2, xmm2
cvtsi2sd xmm2, ebx
cvtps2pd xmm0, xmm8
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
movaps xmm7, xmmword [rsp + 0xc0]
ucomiss xmm1, xmm0
ja 0x140001a41
sqrtss xmm0, xmm0
jmp 0x140001a46
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movd xmm1, dword [rsi]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x140001b38
mov eax, dword [r12 + rdi]
cmp dword [0x14014e130], eax
jle 0x140001a8a
lea rcx, [0x14014e130]
call fcn.140051710
cmp dword [0x14014e130], 0xffffffff
jne 0x140001a8a
lea rcx, [0x14014e130]
mov dword [0x14014e128], r14d
call fcn.1400516a4
mov ecx, dword [0x14014e12c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140001b38
mov ebx, r14d
test ebp, ebp
jle 0x140001b38
nop word [rax + rax]
xorps xmm0, xmm0
mov qword [rsp + 0x40], r14
inc ebx
mov dword [rsp + 0x50], r14d
xor ecx, ecx
movdqu xmmword [rsp + 0x58], xmm0
movd xmm6, ebx
cvtdq2ps xmm6, xmm6
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, eax
movaps xmm0, xmm6
mulss xmm0, xmm9
addss xmm0, xmm11
cvttss2si eax, xmm0
shl eax, 0x10
cdq
idiv ecx
mov ecx, r15d
mov dword [rsp + 0x48], eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mulss xmm6, xmm10
mov r8d, 0x28
mov ecx, eax
mov dword [rsp + 0x54], 0x8001
addss xmm6, xmm12
cvttss2si eax, xmm6
shl eax, 0x10
cdq
idiv ecx
lea rdx, [rsp + 0x40]
mov ecx, r15d
mov dword [rsp + 0x4c], eax
call qword [sym.imp.USER32.dll_SendInput]
cmp ebx, ebp
jl 0x140001ab0
movaps xmm11, xmmword [rsp + 0x80]
movaps xmm10, xmmword [rsp + 0x90]
movaps xmm9, xmmword [rsp + 0xa0]
movaps xmm12, xmmword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400515d0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret