Function at 0x180003f20
Capabilities:
Log keystrokes via polling

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
mov rax, qword [0x1800ed010]
xor rax, rsp
mov qword [rbp - 0x30], rax
xorps xmm0, xmm0
lea rdx, [rbp - 0x70]
mov ecx, 0xba7
movaps xmm8, xmm3
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movaps xmm7, xmm2
movaps xmm6, xmm1
call qword [sym.imp.OPENGL32.dll_glGetFloatv]
xorps xmm0, xmm0
lea rdx, [rsp + 0x40]
mov ecx, 0xba6
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
call qword [sym.imp.OPENGL32.dll_glGetFloatv]
mov rdx, qword [0x1800fa3d0]
lea r8, [rbp - 0x70]
movaps xmm2, xmm6
lea rcx, [0x1800fa3c8]
shufps xmm2, xmm2, 0
movaps xmm0, xmm7
mulps xmm2, xmmword [rsp + 0x40]
movaps xmm1, xmm8
mov r9d, send
shufps xmm0, xmm0, 0
mulps xmm0, xmmword [rsp + 0x50]
shufps xmm1, xmm1, 0
mulps xmm1, xmmword [rsp + 0x60]
addps xmm2, xmm0
addps xmm2, xmm1
addps xmm2, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x70], xmm2
call fcn.1800057e0
mov rdx, qword [0x1800fa3e8]
lea r8, [rsp + 0x40]
mov r9d, send
lea rcx, [0x1800fa3e0]
call fcn.1800057e0
mov rax, qword [0x1800fa540]
cmp byte [rax], 0
je 0x1800040cb
mov rax, qword [0x1800fa530]
mov ecx, dword [rax + 0xc]
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x1800040cb
mov ecx, 1
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1800040cb
lea rcx, [rsp + 0x38]
call qword [sym.imp.USER32.dll_GetCursorPos]
movzx r9d, word [rsp + 0x3c]
mov edx, 0x201
movzx eax, word [rsp + 0x38]
mov r8d, 1
mov rcx, qword [0x1800fa2d0]
shl r9d, 0x10
or r9, rax
call qword [sym.imp.USER32.dll_SendMessageA]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0x1e
call fcn.180005650
movzx r9d, word [rsp + 0x3c]
xor r8d, r8d
movzx eax, word [rsp + 0x38]
mov edx, 0x202
mov rcx, qword [0x1800fa2d0]
shl r9d, 0x10
or r9, rax
call qword [sym.imp.USER32.dll_SendMessageA]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x30], 0x1e
call fcn.180005650
cmp byte [0x1800fa2d8], 0
jne 0x180004277
mov rax, qword [0x1800fa540]
cmp byte [rax + 1], 0
je 0x180004277
mov rdx, qword [0x1800fa3e8]
mov r8, qword [0x1800fa3e0]
mov rax, rdx
sub rax, r8
mov qword [rsp + 0x128], rsi
xor esi, esi
sar rax, 2
mov qword [rsp + 0x130], rdi
mov edi, esi
test rax, rax
je 0x18000423c
movss xmm8, dword [0x1800e4604]
movss xmm6, dword [0x1800e46c8]
movss xmm7, dword [0x1800e4660]
mov qword [rsp + 0x120], rbx
lea ebx, [rsi + 0x30]
nop dword [rax]
nop word [rax + rax]
lea rdx, [rsp + 0x40]
mov ecx, 0xba6
call qword [sym.imp.OPENGL32.dll_glGetFloatv]
movss xmm0, dword [rsp + 0x74]
movss xmm2, dword [rsp + 0x70]
movss xmm1, dword [rsp + 0x78]
mov rcx, qword [0x1800fa540]
mulss xmm2, xmm2
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm2, xmm0
movss xmm0, dword [rcx + 4]
addss xmm2, xmm1
mulss xmm2, xmm8
comiss xmm0, xmm2
jbe 0x180004209
mov rax, qword [0x1800fa3e0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
movss xmm0, dword [rbx + rax]
mulss xmm0, dword [rcx + 8]
lea ecx, [r9 + 1]
mulss xmm0, xmm6
addss xmm0, xmm7
cvttss2si rdx, xmm0
call qword [sym.imp.USER32.dll_mouse_event]
mov rax, qword [0x1800fa3e0]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
movss xmm0, dword [rbx + rax]
lea ecx, [r9 + 1]
mov rax, qword [0x1800fa540]
mulss xmm0, dword [rax + 8]
mulss xmm0, xmm6
subss xmm0, xmm7
cvttss2si rdx, xmm0
call qword [sym.imp.USER32.dll_mouse_event]
mov rdx, qword [0x1800fa3e8]
add edi, 0x10
mov r8, qword [0x1800fa3e0]
mov rcx, rdx
sub rcx, r8
movsxd rax, edi
sar rcx, 2
add rbx, 0x40
cmp rax, rcx
jb 0x180004150
mov rbx, qword [rsp + 0x120]
mov rax, qword [0x1800fa3d0]
cmp qword [0x1800fa3c8], rax
mov rdi, qword [rsp + 0x130]
cmovne rax, qword [0x1800fa3c8]
cmp r8, rdx
mov rsi, qword [rsp + 0x128]
cmovne rdx, r8
mov qword [0x1800fa3d0], rax
mov qword [0x1800fa3e8], rdx
mov rcx, qword [rbp - 0x30]
xor rcx, rsp
call fcn.180048070
lea r11, [rsp + 0x110]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop rbp
ret