Function at 0x140001410
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x14005e040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov eax, dword [0x1400e541c]
xor r12d, r12d
mov r15d, 4
movabs r13, 0x431bde82d7b634db
mov r14d, 0x80000000
test eax, eax
jne 0x140001668
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r15 + rcx]
cmp dword [0x1400e7d20], eax
jle 0x1400014cd
lea rcx, [0x1400e7d20]
call fcn.14004db08
cmp dword [0x1400e7d20], 0xffffffff
jne 0x1400014cd
mov eax, 0x3e8
mov qword [0x1400e7cd0], r12
cdq
lea rcx, [rbp - 0x20]
idiv dword [0x14005e100]
movsxd rbx, eax
call fcn.140001330
mov rcx, qword [rax]
mov qword [0x1400e7cd0], rcx
lea rcx, [0x1400e7d20]
mov qword [0x1400e7cd8], rbx
call fcn.14004da9c
cmp byte [0x1400e5425], r12b
je 0x140001a75
mov ecx, 1
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140001a75
lea rcx, [rbp - 0x20]
call fcn.140001330
mov rcx, qword [rbp - 0x20]
mov rax, r13
mov rdx, rcx
sub rdx, qword [0x1400e7cd0]
imul rdx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, qword [0x1400e7cd8]
jl 0x140001a75
mov qword [0x1400e7cd0], rcx
lea rcx, [rbp - 0x18]
mov qword [rbp - 0x18], r12
call qword [sym.imp.USER32.dll_GetCursorPos]
movzx ebx, word [rbp - 0x14]
lea rcx, str.LWJGL
movzx eax, word [rbp - 0x18]
xor edx, edx
shl ebx, 0x10
or rbx, rax
call qword [sym.imp.USER32.dll_FindWindowA]
mov r9, rbx
mov edx, 0x201
mov rcx, rax
mov r8d, 1
call qword [sym.imp.USER32.dll_PostMessageA]
movzx ebx, word [rbp - 0x14]
lea rcx, str.LWJGL
movzx eax, word [rbp - 0x18]
xor edx, edx
shl ebx, 0x10
or rbx, rax
call qword [sym.imp.USER32.dll_FindWindowA]
mov r9, rbx
mov edx, 0x202
mov rcx, rax
mov r8d, 1
call qword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [0x14005e100]
cmp ecx, r14d
mov edx, dword [0x14005e104]
lea eax, [rcx - 0x80000000]
lea esi, [rcx + r14]
cmovae esi, eax
lea ebx, [rdx + r14]
cmp edx, r14d
lea eax, [rdx - 0x80000000]
lea rcx, [0x1400e6830]
cmovae ebx, eax
sub ebx, esi
cmp ebx, 0xffffffff
jne 0x1400015e6
call fcn.140004a00
mov ecx, eax
jmp 0x14000162a
inc ebx
call fcn.140004a00
mov ecx, eax
mov edi, ebx
imul rcx, rdi
cmp ecx, ebx
jae 0x140001626
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x140001626
nop word [rax + rax]
lea rcx, [0x1400e6830]
call fcn.140004a00
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x140001610
shr rcx, 0x20
lea ebx, [rsi + rcx]
lea rcx, [rbp - 0x20]
call fcn.140001330
cmp ebx, r14d
mov rcx, qword [rax]
lea eax, [rbx + r14]
mov qword [0x1400e7cd0], rcx
lea ecx, [rbx - 0x80000000]
cmovae ecx, eax
mov eax, 0x3e8
cdq
idiv ecx
movsxd rcx, eax
mov eax, dword [0x1400e541c]
mov qword [0x1400e7cd8], rcx
cmp eax, 1
jne 0x14000186c
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r15 + rcx]
cmp dword [0x1400e7cf0], eax
jle 0x1400016da
lea rcx, [0x1400e7cf0]
call fcn.14004db08
cmp dword [0x1400e7cf0], 0xffffffff
jne 0x1400016da
mov eax, 0x3e8
mov qword [0x1400e7d48], r12
cdq
lea rcx, [rbp - 0x20]
idiv dword [0x14005e100]
movsxd rbx, eax
call fcn.140001330
mov rcx, qword [rax]
mov qword [0x1400e7d48], rcx
lea rcx, [0x1400e7cf0]
mov qword [0x1400e7d50], rbx
call fcn.14004da9c
cmp byte [0x1400e5425], r12b
je 0x140001a75
mov ecx, dword [0x1400e5410]
call qword [sym.imp.USER32.dll_GetKeyState]
test al, 1
je 0x140001a75
lea rcx, [rbp - 0x20]
call fcn.140001330
mov rcx, qword [rbp - 0x20]
mov rax, r13
mov rdx, rcx
sub rdx, qword [0x1400e7d48]
imul rdx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, qword [0x1400e7d50]
jl 0x140001a75
mov qword [0x1400e7d48], rcx
lea rcx, [rbp - 0x18]
mov qword [rbp - 0x18], r12
call qword [sym.imp.USER32.dll_GetCursorPos]
movzx ebx, word [rbp - 0x14]
lea rcx, str.LWJGL
movzx eax, word [rbp - 0x18]
xor edx, edx
shl ebx, 0x10
or rbx, rax
call qword [sym.imp.USER32.dll_FindWindowA]
mov r9, rbx
mov edx, 0x201
mov rcx, rax
mov r8d, 1
call qword [sym.imp.USER32.dll_PostMessageA]
movzx ebx, word [rbp - 0x14]
lea rcx, str.LWJGL
movzx eax, word [rbp - 0x18]
xor edx, edx
shl ebx, 0x10
or rbx, rax
call qword [sym.imp.USER32.dll_FindWindowA]
mov r9, rbx
mov edx, 0x202
mov rcx, rax
mov r8d, 1
call qword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [0x14005e100]
cmp ecx, r14d
mov edx, dword [0x14005e104]
lea eax, [rcx - 0x80000000]
lea esi, [rcx + r14]
cmovae esi, eax
lea ebx, [rdx + r14]
cmp edx, r14d
lea eax, [rdx - 0x80000000]
lea rcx, [0x1400e6830]
cmovae ebx, eax
sub ebx, esi
cmp ebx, 0xffffffff
jne 0x1400017f3
call fcn.140004a00
mov ecx, eax
jmp 0x14000182e
inc ebx
call fcn.140004a00
mov ecx, eax
mov edi, ebx
imul rcx, rdi
cmp ecx, ebx
jae 0x14000182a
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x14000182a
lea rcx, [0x1400e6830]
call fcn.140004a00
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x140001814
shr rcx, 0x20
lea ebx, [rsi + rcx]
lea rcx, [rbp - 0x20]
call fcn.140001330
cmp ebx, r14d
mov rcx, qword [rax]
lea eax, [rbx + r14]
mov qword [0x1400e7d48], rcx
lea ecx, [rbx - 0x80000000]
cmovae ecx, eax
mov eax, 0x3e8
cdq
idiv ecx
movsxd rcx, eax
mov eax, dword [0x1400e541c]
mov qword [0x1400e7d50], rcx
cmp eax, 2
jne 0x140001a75
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r15 + rcx]
cmp dword [0x1400e7c38], eax
jle 0x1400018de
lea rcx, [0x1400e7c38]
call fcn.14004db08
cmp dword [0x1400e7c38], 0xffffffff
jne 0x1400018de
mov eax, 0x3e8
mov qword [0x1400e7c18], r12
cdq
lea rcx, [rbp - 0x20]
idiv dword [0x14005e100]
movsxd rbx, eax
call fcn.140001330
mov rcx, qword [rax]
mov qword [0x1400e7c18], rcx
lea rcx, [0x1400e7c38]
mov qword [0x1400e7c20], rbx
call fcn.14004da9c
cmp byte [0x1400e5425], r12b
je 0x140001a75
mov ecx, dword [0x1400e5408]
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140001a75
lea rcx, [rbp - 0x20]
call fcn.140001330
mov rcx, qword [rbp - 0x20]
mov rax, r13
mov rdx, rcx
sub rdx, qword [0x1400e7c18]
imul rdx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, qword [0x1400e7c20]
jl 0x140001a75
mov qword [0x1400e7c18], rcx
lea rcx, [rbp - 0x18]
mov qword [rbp - 0x18], r12
call qword [sym.imp.USER32.dll_GetCursorPos]
movzx ebx, word [rbp - 0x14]
lea rcx, str.LWJGL
movzx eax, word [rbp - 0x18]
xor edx, edx
shl ebx, 0x10
or rbx, rax
call qword [sym.imp.USER32.dll_FindWindowA]
mov r9, rbx
mov edx, 0x201
mov rcx, rax
mov r8d, 1
call qword [sym.imp.USER32.dll_PostMessageA]
movzx ebx, word [rbp - 0x14]
lea rcx, str.LWJGL
movzx eax, word [rbp - 0x18]
xor edx, edx
shl ebx, 0x10
or rbx, rax
call qword [sym.imp.USER32.dll_FindWindowA]
mov r9, rbx
mov edx, 0x202
mov rcx, rax
mov r8d, 1
call qword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [0x14005e100]
cmp ecx, r14d
mov edx, dword [0x14005e104]
lea eax, [rcx - 0x80000000]
lea esi, [rcx + r14]
cmovae esi, eax
lea ebx, [rdx + r14]
cmp edx, r14d
lea eax, [rdx - 0x80000000]
lea rcx, [0x1400e6830]
cmovae ebx, eax
sub ebx, esi
cmp ebx, 0xffffffff
jne 0x1400019f8
call fcn.140004a00
mov ecx, eax
jmp 0x140001a3a
inc ebx
call fcn.140004a00
mov ecx, eax
mov edi, ebx
imul rcx, rdi
cmp ecx, ebx
jae 0x140001a36
mov eax, ebx
xor edx, edx
neg eax
div ebx
mov ebx, edx
cmp ecx, edx
jae 0x140001a36
nop dword [rax]
lea rcx, [0x1400e6830]
call fcn.140004a00
mov ecx, eax
imul rcx, rdi
cmp ecx, ebx
jb 0x140001a20
shr rcx, 0x20
lea ebx, [rsi + rcx]
lea rcx, [rbp - 0x20]
call fcn.140001330
cmp ebx, r14d
lea r8d, [rbx - 0x80000000]
mov rcx, qword [rax]
mov eax, 0x3e8
mov qword [0x1400e7c18], rcx
cdq
lea ecx, [rbx + r14]
cmovae r8d, ecx
idiv r8d
movsxd rcx, eax
mov qword [0x1400e7c20], rcx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14004da40
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rbp
ret