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 [0x14005d040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov eax, dword [0x1400e4400]
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 [0x1400e6ce0], eax
jle 0x1400014cd
lea rcx, [0x1400e6ce0]
call fcn.14004cbe8
cmp dword [0x1400e6ce0], 0xffffffff
jne 0x1400014cd
mov eax, 0x3e8
mov qword [0x1400e6c98], r12
cdq
lea rcx, [rbp - 0x20]
idiv dword [0x14005d0e4]
movsxd rbx, eax
call fcn.140001330
mov rcx, qword [rax]
mov qword [0x1400e6c98], rcx
lea rcx, [0x1400e6ce0]
mov qword [0x1400e6ca0], rbx
call fcn.14004cb7c
cmp byte [0x1400e4405], 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 [0x1400e6c98]
imul rdx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, qword [0x1400e6ca0]
jl 0x140001a75
mov qword [0x1400e6c98], 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 [0x14005d0e4]
cmp ecx, r14d
mov edx, dword [0x14005d0e8]
lea eax, [rcx - 0x80000000]
lea esi, [rcx + r14]
cmovae esi, eax
lea ebx, [rdx + r14]
cmp edx, r14d
lea eax, [rdx - 0x80000000]
lea rcx, [0x1400e5810]
cmovae ebx, eax
sub ebx, esi
cmp ebx, 0xffffffff
jne 0x1400015e6
call fcn.140003ac0
mov ecx, eax
jmp 0x14000162a
inc ebx
call fcn.140003ac0
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, [0x1400e5810]
call fcn.140003ac0
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 [0x1400e6c98], rcx
lea ecx, [rbx - 0x80000000]
cmovae ecx, eax
mov eax, 0x3e8
cdq
idiv ecx
movsxd rcx, eax
mov eax, dword [0x1400e4400]
mov qword [0x1400e6ca0], rcx
cmp eax, 1
jne 0x14000186c
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r15 + rcx]
cmp dword [0x1400e6cb8], eax
jle 0x1400016da
lea rcx, [0x1400e6cb8]
call fcn.14004cbe8
cmp dword [0x1400e6cb8], 0xffffffff
jne 0x1400016da
mov eax, 0x3e8
mov qword [0x1400e6cf8], r12
cdq
lea rcx, [rbp - 0x20]
idiv dword [0x14005d0e4]
movsxd rbx, eax
call fcn.140001330
mov rcx, qword [rax]
mov qword [0x1400e6cf8], rcx
lea rcx, [0x1400e6cb8]
mov qword [0x1400e6d00], rbx
call fcn.14004cb7c
cmp byte [0x1400e4405], r12b
je 0x140001a75
mov ecx, dword [0x1400e43fc]
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 [0x1400e6cf8]
imul rdx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, qword [0x1400e6d00]
jl 0x140001a75
mov qword [0x1400e6cf8], 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 [0x14005d0e4]
cmp ecx, r14d
mov edx, dword [0x14005d0e8]
lea eax, [rcx - 0x80000000]
lea esi, [rcx + r14]
cmovae esi, eax
lea ebx, [rdx + r14]
cmp edx, r14d
lea eax, [rdx - 0x80000000]
lea rcx, [0x1400e5810]
cmovae ebx, eax
sub ebx, esi
cmp ebx, 0xffffffff
jne 0x1400017f3
call fcn.140003ac0
mov ecx, eax
jmp 0x14000182e
inc ebx
call fcn.140003ac0
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, [0x1400e5810]
call fcn.140003ac0
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 [0x1400e6cf8], rcx
lea ecx, [rbx - 0x80000000]
cmovae ecx, eax
mov eax, 0x3e8
cdq
idiv ecx
movsxd rcx, eax
mov eax, dword [0x1400e4400]
mov qword [0x1400e6d00], rcx
cmp eax, 2
jne 0x140001a75
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [r15 + rcx]
cmp dword [0x1400e6c04], eax
jle 0x1400018de
lea rcx, [0x1400e6c04]
call fcn.14004cbe8
cmp dword [0x1400e6c04], 0xffffffff
jne 0x1400018de
mov eax, 0x3e8
mov qword [0x1400e6bf0], r12
cdq
lea rcx, [rbp - 0x20]
idiv dword [0x14005d0e4]
movsxd rbx, eax
call fcn.140001330
mov rcx, qword [rax]
mov qword [0x1400e6bf0], rcx
lea rcx, [0x1400e6c04]
mov qword [0x1400e6bf8], rbx
call fcn.14004cb7c
cmp byte [0x1400e4405], r12b
je 0x140001a75
mov ecx, dword [0x1400e43f4]
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 [0x1400e6bf0]
imul rdx
sar rdx, 0x12
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, qword [0x1400e6bf8]
jl 0x140001a75
mov qword [0x1400e6bf0], 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 [0x14005d0e4]
cmp ecx, r14d
mov edx, dword [0x14005d0e8]
lea eax, [rcx - 0x80000000]
lea esi, [rcx + r14]
cmovae esi, eax
lea ebx, [rdx + r14]
cmp edx, r14d
lea eax, [rdx - 0x80000000]
lea rcx, [0x1400e5810]
cmovae ebx, eax
sub ebx, esi
cmp ebx, 0xffffffff
jne 0x1400019f8
call fcn.140003ac0
mov ecx, eax
jmp 0x140001a3a
inc ebx
call fcn.140003ac0
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, [0x1400e5810]
call fcn.140003ac0
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 [0x1400e6bf0], rcx
cdq
lea ecx, [rbx + r14]
cmovae r8d, ecx
idiv r8d
movsxd rcx, eax
mov qword [0x1400e6bf8], rcx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.14004cb20
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