Function at 0x140001960
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1400af040]
xor rax, rsp
mov qword [rbp - 9], rax
mov rax, qword gs:[0x58]
mov edx, 8
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x1400f71d8], eax
jle 0x1400019d6
lea rcx, [0x1400f71d8]
call fcn.14008fe78
cmp dword [0x1400f71d8], 0xffffffff
jne 0x1400019d6
lea rcx, [0x1400f71d0]
call fcn.140001420
lea rcx, [0x1400f71d8]
call fcn.14008fe0c
mov rdx, qword [0x1400f5698]
lea r8, [rbp - 0x29]
add rdx, qword [0x1400f47a0]
xor esi, esi
mov rcx, qword [0x1400f4798]
mov qword [rbp - 0x29], rsi
mov qword [rsp + 0x20], rsi
lea r9d, [rsi + 8]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rbx, qword [rbp - 0x29]
lea r9d, [rsi + 0xc]
mov rcx, qword [0x1400f4798]
lea r8, [rbp - 0x19]
xorps xmm6, xmm6
mov qword [rbp - 0x19], rsi
mov dword [rbp - 0x11], esi
lea rdx, [rbx + 0x3d0]
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov rcx, qword [0x1400f4798]
lea rdx, [rbx + 0x60]
lea r9d, [rsi + 0xc]
mov qword [rbp - 0x39], rsi
lea r8, [rbp - 0x39]
mov dword [rbp - 0x31], esi
mov qword [rsp + 0x20], rsi
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
movsxd rax, dword [0x1400f56bc]
lea rdi, [0x1400f59b0]
xorps xmm0, xmm0
mov dword [rbp - 0x51], esi
unpcklps xmm0, xmm6
xorps xmm3, xmm3
movsd xmm3, xmm0
lea rbx, [rax + rax*2]
movsd xmm4, qword [rdi + rbx*4 + 0x7c]
movss xmm0, dword [rdi + rbx*4 + 0x84]
movlhps xmm4, xmm0
movss xmm0, dword [rbp - 0x51]
movlhps xmm3, xmm0
cmpeqps xmm4, xmm3
movmskps eax, xmm4
and eax, 7
cmp al, 7
je 0x140001cab
movsd xmm6, qword [rdi + rbx*4 + 0x7c]
movss xmm1, dword [rbp - 0x39]
movaps xmmword [rsp + 0xc0], xmm7
subss xmm1, xmm6
movaps xmmword [rsp + 0xb0], xmm8
movss xmm8, dword [rdi + rbx*4 + 0x84]
movaps xmmword [rsp + 0xa0], xmm10
movss xmm10, dword [rbp - 0x35]
movsd qword [rbp - 0x59], xmm6
movaps xmm2, xmm10
movss xmm7, dword [rbp - 0x55]
subss xmm2, xmm7
movaps xmmword [rsp + 0x90], xmm11
movss xmm11, dword [rbp - 0x31]
movaps xmm0, xmm11
mulss xmm1, xmm1
subss xmm0, xmm8
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm2
ja 0x140001b2e
xorps xmm0, xmm0
sqrtss xmm0, xmm2
jmp 0x140001b36
movaps xmm0, xmm2
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
subss xmm6, dword [rbp - 0x39]
movss xmm1, dword [0x1400a06cc]
subss xmm7, xmm10
subss xmm8, xmm11
divss xmm6, xmm0
divss xmm7, xmm0
divss xmm8, xmm0
movss xmm0, dword [0x1400a0608]
comiss xmm6, xmm0
jbe 0x140001b70
addss xmm6, xmm1
comiss xmm6, xmm0
ja 0x140001b67
movss xmm2, dword [0x1400a06c4]
comiss xmm2, xmm6
movss xmm0, dword [0x1400a0628]
jbe 0x140001b8e
addss xmm6, xmm0
comiss xmm2, xmm6
ja 0x140001b85
comiss xmm7, xmm0
jbe 0x140001ba9
movss xmm2, dword [0x1400a06d0]
nop dword [rax + rax]
addss xmm7, xmm2
comiss xmm7, xmm0
ja 0x140001ba0
comiss xmm1, xmm7
jbe 0x140001bbf
movss xmm0, dword [0x1400a0648]
addss xmm7, xmm0
comiss xmm1, xmm7
ja 0x140001bb6
movsd xmm0, qword [rdi + rbx*4 + 0x7c]
lea r8, [rbp - 0x29]
mov eax, dword [rdi + rbx*4 + 0x84]
lea rdx, [rbp - 0x49]
movss xmm3, dword [0x1400a04fc]
lea rcx, [rbp - 0x59]
movsd qword [rbp - 0x29], xmm0
movaps xmm0, xmm6
unpcklps xmm0, xmm7
movsd qword [rbp - 0x49], xmm0
movss xmm0, dword [rbp - 0x39]
unpcklps xmm0, xmm10
movsd qword [rbp - 0x39], xmm0
movsd qword [rbp - 0x59], xmm0
movss dword [rbp - 0x41], xmm8
movss dword [rbp - 0x51], xmm11
mov dword [rbp - 0x21], eax
call fcn.140001710
movaps xmm11, xmmword [rsp + 0x90]
movaps xmm10, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0xb0]
movaps xmm7, xmmword [rsp + 0xc0]
test al, al
je 0x140001cab
lea rcx, [rbp - 0x29]
call fcn.140001420
mov rbx, qword [rbp - 0x29]
mov rax, rbx
sub rax, qword [0x1400f71d0]
cmp rax, 0x1e8480
jl 0x140001cab
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140001ca4
xor edx, edx
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
mov ecx, 5
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [0x1400f71d0], rbx
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.14008fdb0
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret