Function at 0x140001a30
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0xa0
mov eax, dword [rcx + 0x20]
xor r15d, r15d
movaps xmmword [rsp + 0x70], xmm8
mov rbp, rdx
movaps xmmword [rsp + 0x60], xmm9
mov rdi, rcx
movaps xmmword [rsp + 0x50], xmm10
mov r14d, 1
test eax, eax
jne 0x140001a76
mov ebx, r15d
jmp 0x140001a84
mov ebx, dword [rsp + 0xd0]
cmp eax, r14d
cmove ebx, r14d
mov rax, qword gs:[0x58]
mov r12d, 4
movaps xmmword [rsp + 0x90], xmm6
mov rsi, qword [rax]
mov eax, dword [r12 + rsi]
cmp dword [0x140242940], eax
jle 0x140001afa
lea rcx, [0x140242940]
call fcn.1400c85b0
cmp dword [0x140242940], 0xffffffff
jne 0x140001afa
mov ecx, r14d
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, [0x140242940]
movss dword [0x14024294c], xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [0x140242948], xmm0
call fcn.1400c8544
mov r9d, ebx
lea rdx, [rsp + 0x30]
mov r8, rbp
call fcn.14006ed20
mov eax, dword [r12 + rsi]
cmp dword [0x140242940], eax
jle 0x140001b66
lea rcx, [0x140242940]
call fcn.1400c85b0
cmp dword [0x140242940], 0xffffffff
jne 0x140001b66
mov ecx, r14d
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, [0x140242940]
movss dword [0x14024294c], xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [0x140242948], xmm0
call fcn.1400c8544
movsd xmm0, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov eax, dword [rsp + 0x38]
lea rdx, [rsp + 0xd0]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
call fcn.14006ee60
movss xmm10, dword [rsp + 0xd0]
xorps xmm8, xmm8
ucomiss xmm10, xmm8
movss xmm9, dword [rsp + 0xd4]
jp 0x140001bb8
jne 0x140001bb8
ucomiss xmm9, xmm8
jp 0x140001bb8
je 0x140001dc0
xor ecx, ecx
movaps xmmword [rsp + 0x80], xmm7
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
mov ecx, r14d
idiv r15d
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
idiv r15d
cvtps2pd xmm0, xmm9
mov ebp, eax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm0, xmm1
movsd xmm1, qword [0x140144718]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [0x140144718]
movaps xmm7, xmm0
movd xmm2, ebx
cvtdq2pd xmm2, xmm2
cvtps2pd xmm0, xmm10
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 0x140001c36
xorps xmm4, xmm4
sqrtss xmm4, xmm0
jmp 0x140001c3e
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm4, xmm0
ucomiss xmm10, xmm8
movss xmm5, dword [0x140144c50]
xorps xmm7, xmm7
movsd xmm3, qword [0x1401446f8]
xorps xmm6, xmm6
jp 0x140001c5c
je 0x140001cd0
movd xmm2, ebx
cvtdq2ps xmm2, xmm2
comiss xmm10, xmm2
jbe 0x140001c9f
xorps xmm1, xmm1
movaps xmm0, xmm2
subss xmm0, xmm10
xorps xmm0, xmm5
cvtss2sd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rdi + 4]
subsd xmm0, xmm3
divsd xmm1, xmm0
cvtpd2ps xmm7, xmm1
movaps xmm1, xmm2
addss xmm1, xmm7
comiss xmm1, xmm8
jbe 0x140001c9f
xorps xmm7, xmm7
comiss xmm2, xmm10
jbe 0x140001cd0
movd xmm0, dword [rdi + 4]
subss xmm10, xmm2
cvtdq2pd xmm0, xmm0
cvtps2pd xmm1, xmm10
subsd xmm0, xmm3
divsd xmm1, xmm0
cvtpd2ps xmm7, xmm1
addss xmm2, xmm7
comiss xmm8, xmm2
jbe 0x140001cd0
xorps xmm7, xmm7
ucomiss xmm9, xmm8
jp 0x140001cd8
je 0x140001d4c
movd xmm2, ebp
cvtdq2ps xmm2, xmm2
comiss xmm9, xmm2
jbe 0x140001d1b
xorps xmm1, xmm1
movaps xmm0, xmm2
subss xmm0, xmm9
xorps xmm0, xmm5
cvtss2sd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rdi + 4]
subsd xmm0, xmm3
divsd xmm1, xmm0
cvtpd2ps xmm6, xmm1
movaps xmm1, xmm2
addss xmm1, xmm6
comiss xmm1, xmm8
jbe 0x140001d1b
xorps xmm6, xmm6
comiss xmm2, xmm9
jbe 0x140001d4c
movd xmm0, dword [rdi + 4]
subss xmm9, xmm2
cvtdq2pd xmm0, xmm0
cvtps2pd xmm1, xmm9
subsd xmm0, xmm3
divsd xmm1, xmm0
cvtpd2ps xmm6, xmm1
addss xmm2, xmm6
comiss xmm8, xmm2
jbe 0x140001d4c
xorps xmm6, xmm6
movd xmm0, dword [rdi]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm4
jbe 0x140001db8
mov eax, dword [r12 + rsi]
cmp dword [0x1402425e0], eax
jle 0x140001d8c
lea rcx, [0x1402425e0]
call fcn.1400c85b0
cmp dword [0x1402425e0], 0xffffffff
jne 0x140001d8c
lea rcx, [0x1402425e0]
mov dword [0x1402425d8], r15d
call fcn.1400c8544
mov ecx, dword [0x1402425dc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140001db8
cvttss2si r8, xmm6
xor r9d, r9d
mov ecx, r14d
mov qword [rsp + 0x20], r15
cvttss2si rdx, xmm7
call qword [sym.imp.USER32.dll_mouse_event]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret