Function at 0x140001e80
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbx
push rsi
push rdi
sub rsp, 0x80
movaps xmmword [rax - 0x28], xmm6
mov rdi, rcx
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
mov qword [rax + 0x10], rbp
mov rbp, rdx
mov qword [rax + 0x18], r14
mov eax, dword [rcx + 0x1c]
test eax, eax
jne 0x140001eb4
xor ebx, ebx
jmp 0x140001ed9
cmp eax, 1
jne 0x140001ebd
mov ebx, eax
jmp 0x140001ed9
mov ebx, dword [rsp + 0xa0]
cmp eax, 2
jne 0x140001ece
lea ebx, [rax + 6]
jmp 0x140001ed9
cmp eax, 3
mov ecx, 7
cmove ebx, ecx
mov rax, qword gs:[0x58]
mov r14d, 4
mov rsi, qword [rax]
mov eax, dword [r14 + rsi]
cmp dword [0x1401bf4e0], eax
jle 0x140001f49
lea rcx, [0x1401bf4e0]
call fcn.14011f0a4
cmp dword [0x1401bf4e0], 0xffffffff
jne 0x140001f49
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, [0x1401bf4e0]
movss dword [0x1401bf4ec], xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [0x1401bf4e8], xmm0
call fcn.14011f038
mov r9d, ebx
lea rdx, [rsp + 0x20]
mov r8, rbp
call fcn.14005be10
mov eax, dword [r14 + rsi]
cmp dword [0x1401bf4e0], eax
mov r14, qword [rsp + 0xb0]
mov rbp, qword [rsp + 0xa8]
jle 0x140001fc7
lea rcx, [0x1401bf4e0]
call fcn.14011f0a4
cmp dword [0x1401bf4e0], 0xffffffff
jne 0x140001fc7
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, [0x1401bf4e0]
movss dword [0x1401bf4ec], xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [0x1401bf4e8], xmm0
call fcn.14011f038
movsd xmm8, qword [rsp + 0x20]
lea r8, [rsp + 0x30]
mov esi, dword [rsp + 0x28]
lea rdx, [rsp + 0xa0]
movsd qword [rsp + 0x30], xmm8
mov dword [rsp + 0x38], esi
call fcn.14005bf40
movss xmm9, dword [rsp + 0xa0]
xorps xmm0, xmm0
ucomiss xmm9, xmm0
movss xmm6, dword [rsp + 0xa4]
jp 0x140002018
jne 0x140002018
ucomiss xmm6, xmm0
jp 0x140002018
je 0x1400020e1
xor ecx, ecx
movaps xmmword [rsp + 0x60], xmm7
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
mov ecx, 1
sub eax, edx
sar eax, 1
mov ebx, eax
cvtps2pd xmm7, xmm6
call qword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
movd xmm1, eax
cvtdq2pd xmm1, xmm1
subsd xmm7, xmm1
movsd xmm1, qword [0x140157658]
movaps xmm0, xmm7
call sub.api_ms_win_crt_math_l1_1_0.dll_pow
movsd xmm1, qword [0x140157658]
movaps xmm7, xmm0
movd xmm2, ebx
cvtdq2pd xmm2, xmm2
cvtps2pd xmm0, xmm9
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 + 0x60]
ucomiss xmm1, xmm0
ja 0x14000209c
xorps xmm6, xmm6
sqrtss xmm6, xmm0
jmp 0x1400020a4
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
movaps xmm6, xmm0
mov rcx, rdi
call fcn.140001540
movd xmm1, dword [rdi]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm6
jbe 0x1400020e1
mov ecx, dword [0x14016f12c]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400020e1
lea rdx, [rsp + 0x30]
movsd qword [rsp + 0x30], xmm8
mov rcx, rdi
mov dword [rsp + 0x38], esi
call fcn.140001bb0
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm9, xmmword [rsp + 0x40]
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret