Function at 0x140002f90
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0xa0
movaps xmmword [rax - 0x48], xmm8
mov rdi, rcx
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
mov qword [rax + 0x10], rbp
mov rbp, rdx
mov qword [rax + 0x18], r14
mov eax, dword [rcx + 0x48]
test eax, eax
jne 0x140002fc5
xor ebx, ebx
jmp 0x140002fe1
cmp eax, 1
jne 0x140002fcf
lea ebx, [rax + 6]
jmp 0x140002fe1
mov ebx, dword [rsp + 0xc0]
cmp eax, 2
mov ecx, 8
cmove ebx, ecx
mov rax, qword gs:[0x58]
mov r14d, 4
movaps xmmword [rsp + 0x90], xmm6
mov rsi, qword [rax]
mov eax, dword [r14 + rsi]
cmp dword [0x1401e21b0], eax
jle 0x140003059
lea rcx, [0x1401e21b0]
call fcn.1400c8b40
cmp dword [0x1401e21b0], 0xffffffff
jne 0x140003059
mov ecx, 1
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, [0x1401e21b0]
movss dword [0x1401e21bc], xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [0x1401e21b8], xmm0
call fcn.1400c8ad4
mov r9d, ebx
lea rdx, [rsp + 0x30]
mov r8, rbp
call fcn.140064dd0
mov eax, dword [r14 + rsi]
cmp dword [0x1401e21b0], eax
mov r14, qword [rsp + 0xd0]
mov rbp, qword [rsp + 0xc8]
jle 0x1400030d7
lea rcx, [0x1401e21b0]
call fcn.1400c8b40
cmp dword [0x1401e21b0], 0xffffffff
jne 0x1400030d7
mov ecx, 1
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, [0x1401e21b0]
movss dword [0x1401e21bc], xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [0x1401e21b8], xmm0
call fcn.1400c8ad4
movsd xmm0, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov eax, dword [rsp + 0x38]
lea rdx, [rsp + 0xc0]
movsd qword [rsp + 0x40], xmm0
mov dword [rsp + 0x48], eax
call fcn.140064f10
movss xmm10, dword [rsp + 0xc0]
xorps xmm8, xmm8
ucomiss xmm10, xmm8
movss xmm9, dword [rsp + 0xc4]
jp 0x140003129
jne 0x140003129
ucomiss xmm9, xmm8
jp 0x140003129
je 0x140003320
xor ecx, ecx
movaps xmmword [rsp + 0x80], xmm7
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
mov ecx, 1
sub eax, edx
sar eax, 1
mov ebx, eax
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
cvtps2pd xmm0, xmm9
mov esi, eax
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm0, xmm1
movsd xmm1, qword [0x1400e3b30]
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [0x1400e3b30]
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 0x1400031ab
xorps xmm5, xmm5
sqrtss xmm5, xmm0
jmp 0x1400031b3
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm5, xmm0
ucomiss xmm10, xmm8
movsd xmm4, qword [0x1400e3b00]
xorps xmm7, xmm7
xorps xmm6, xmm6
jp 0x1400031cd
je 0x14000324e
movd xmm3, ebx
cvtdq2ps xmm3, xmm3
comiss xmm10, xmm3
jbe 0x14000321d
xorps xmm1, xmm1
lea eax, [rbx + rbx]
movaps xmm0, xmm3
movaps xmm2, xmm3
subss xmm0, xmm10
xorps xmm0, xmmword [0x1400e3fd0]
cvtss2sd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rdi + 0x2c]
subsd xmm0, xmm4
divsd xmm1, xmm0
xorps xmm0, xmm0
cvtpd2ps xmm7, xmm1
cvtsi2ss xmm0, eax
addss xmm2, xmm7
comiss xmm2, xmm0
jbe 0x14000321d
xorps xmm7, xmm7
comiss xmm3, xmm10
jbe 0x14000324e
movd xmm0, dword [rdi + 0x2c]
subss xmm10, xmm3
cvtdq2pd xmm0, xmm0
cvtps2pd xmm1, xmm10
subsd xmm0, xmm4
divsd xmm1, xmm0
cvtpd2ps xmm7, xmm1
addss xmm3, xmm7
comiss xmm8, xmm3
jbe 0x14000324e
xorps xmm7, xmm7
ucomiss xmm9, xmm8
jp 0x14000325a
je 0x1400032db
movd xmm3, esi
cvtdq2ps xmm3, xmm3
comiss xmm9, xmm3
jbe 0x1400032aa
xorps xmm1, xmm1
lea eax, [rsi + rsi]
movaps xmm0, xmm3
movaps xmm2, xmm3
subss xmm0, xmm9
xorps xmm0, xmmword [0x1400e3fd0]
cvtss2sd xmm1, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, dword [rdi + 0x2c]
subsd xmm0, xmm4
divsd xmm1, xmm0
xorps xmm0, xmm0
cvtpd2ps xmm6, xmm1
cvtsi2ss xmm0, eax
addss xmm2, xmm6
comiss xmm2, xmm0
jbe 0x1400032aa
xorps xmm6, xmm6
comiss xmm3, xmm9
jbe 0x1400032db
movd xmm0, dword [rdi + 0x2c]
subss xmm9, xmm3
cvtdq2pd xmm0, xmm0
cvtps2pd xmm1, xmm9
subsd xmm0, xmm4
divsd xmm1, xmm0
cvtpd2ps xmm6, xmm1
addss xmm3, xmm6
comiss xmm8, xmm3
jbe 0x1400032db
xorps xmm6, xmm6
movd xmm0, dword [rdi + 0x28]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm5
jbe 0x140003318
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x140003318
xor r9d, r9d
mov qword [rsp + 0x20], 0
cvttss2si r8, xmm6
lea ecx, [r9 + 1]
cvttss2si rdx, xmm7
call qword [sym.imp.USER32.dll_mouse_event]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm9, xmmword [rsp + 0x60]
movaps xmm10, xmmword [rsp + 0x50]
add rsp, 0xa0
pop rdi
pop rsi
pop rbx
ret