Function at 0x140001150
Capabilities:
Link many functions at runtime
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140005040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Enter_your_desired_CPS:
call fcn.140001720
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
lea rdx, [0x1400056b8]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___int____ptr64____ptr64]
xor edx, edx
lea rcx, str.LWJGL
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x1400056b0], rax
test rax, rax
je 0x1400016d9
xor sil, sil
mov r14d, 4
xor bpl, bpl
nop dword [rax + rax]
mov ecx, 5
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400013de
test sil, sil
jne 0x14000120d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, 0x31
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor edx, edx
mov cl, 0x31
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
mov sil, 1
mov rcx, qword [0x1400056b0]
xor r9d, r9d
mov edx, 0x201
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_PostMessageA]
call fcn.1400010d0
movsxd rdi, eax
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
add rbx, r14
mov eax, dword [rbx]
cmp dword [0x140006a58], eax
jle 0x14000126f
lea rcx, [0x140006a58]
call fcn.1400019fc
cmp dword [0x140006a58], 0xffffffff
jne 0x14000126f
lea rcx, [0x140006a58]
mov byte [0x140006a5c], 0
call fcn.140001990
mov eax, dword [rbx]
cmp dword [0x140006a68], eax
jle 0x1400012cd
lea rcx, [0x140006a68]
call fcn.1400019fc
cmp dword [0x140006a68], 0xffffffff
jne 0x1400012cd
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtDelayExecution
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov qword [0x1400056c0], rax
lea rcx, str.NtDelayExecution:_0x_p_n
call fcn.140001070
lea rcx, [0x140006a68]
call fcn.140001990
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
imul rax, rdi, 0xffffffffffffd8f0
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [0x1400056c0]
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov rcx, qword [0x1400056b0]
xor r9d, r9d
mov edx, 0x202
lea r8d, [r9 + 1]
call qword [sym.imp.USER32.dll_PostMessageA]
call fcn.1400010d0
movsxd rdi, eax
mov eax, dword [rbx]
cmp dword [0x140006a58], eax
jle 0x14000134f
lea rcx, [0x140006a58]
call fcn.1400019fc
cmp dword [0x140006a58], 0xffffffff
jne 0x14000134f
lea rcx, [0x140006a58]
mov byte [0x140006a5c], 0
call fcn.140001990
mov eax, dword [rbx]
cmp dword [0x140006a68], eax
jle 0x1400013ad
lea rcx, [0x140006a68]
call fcn.1400019fc
cmp dword [0x140006a68], 0xffffffff
jne 0x1400013ad
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtDelayExecution
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov qword [0x1400056c0], rax
lea rcx, str.NtDelayExecution:_0x_p_n
call fcn.140001070
lea rcx, [0x140006a68]
call fcn.140001990
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
imul rax, rdi, 0xffffffffffffd8f0
lea rdx, [rsp + 0x28]
xor ecx, ecx
mov qword [rsp + 0x28], rax
call qword [0x1400056c0]
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeEndPeriod]
jmp 0x1400013e1
xor sil, sil
mov ecx, 6
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400015ef
test bpl, bpl
jne 0x14000141e
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, 0x32
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor edx, edx
mov cl, 0x32
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_keybd_event]
mov bpl, 1
mov rcx, qword [0x1400056b0]
xor r9d, r9d
mov edx, 0x204
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_PostMessageA]
call fcn.1400010d0
movsxd rdi, eax
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
add rbx, r14
mov eax, dword [rbx]
cmp dword [0x140006a58], eax
jle 0x140001480
lea rcx, [0x140006a58]
call fcn.1400019fc
cmp dword [0x140006a58], 0xffffffff
jne 0x140001480
lea rcx, [0x140006a58]
mov byte [0x140006a5c], 0
call fcn.140001990
mov eax, dword [rbx]
cmp dword [0x140006a68], eax
jle 0x1400014de
lea rcx, [0x140006a68]
call fcn.1400019fc
cmp dword [0x140006a68], 0xffffffff
jne 0x1400014de
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtDelayExecution
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov qword [0x1400056c0], rax
lea rcx, str.NtDelayExecution:_0x_p_n
call fcn.140001070
lea rcx, [0x140006a68]
call fcn.140001990
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
imul rax, rdi, 0xffffffffffffd8f0
lea rdx, [rsp + 0x30]
xor ecx, ecx
mov qword [rsp + 0x30], rax
call qword [0x1400056c0]
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeEndPeriod]
mov rcx, qword [0x1400056b0]
xor r9d, r9d
mov edx, 0x205
lea r8d, [r9 + 2]
call qword [sym.imp.USER32.dll_PostMessageA]
call fcn.1400010d0
movsxd rdi, eax
mov eax, dword [rbx]
cmp dword [0x140006a58], eax
jle 0x140001560
lea rcx, [0x140006a58]
call fcn.1400019fc
cmp dword [0x140006a58], 0xffffffff
jne 0x140001560
lea rcx, [0x140006a58]
mov byte [0x140006a5c], 0
call fcn.140001990
mov eax, dword [rbx]
cmp dword [0x140006a68], eax
jle 0x1400015be
lea rcx, [0x140006a68]
call fcn.1400019fc
cmp dword [0x140006a68], 0xffffffff
jne 0x1400015be
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtDelayExecution
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov qword [0x1400056c0], rax
lea rcx, str.NtDelayExecution:_0x_p_n
call fcn.140001070
lea rcx, [0x140006a68]
call fcn.140001990
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
imul rax, rdi, 0xffffffffffffd8f0
lea rdx, [rsp + 0x38]
xor ecx, ecx
mov qword [rsp + 0x38], rax
call qword [0x1400056c0]
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeEndPeriod]
jmp 0x1400015f2
xor bpl, bpl
xor edx, edx
lea rcx, str.LWJGL
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [0x1400056b0], rax
mov rax, qword gs:[0x58]
mov rbx, qword [rax]
mov eax, dword [rbx + r14]
cmp dword [0x140006a58], eax
jle 0x140001648
lea rcx, [0x140006a58]
call fcn.1400019fc
cmp dword [0x140006a58], 0xffffffff
jne 0x140001648
lea rcx, [0x140006a58]
mov byte [0x140006a5c], 0
call fcn.140001990
mov eax, dword [rbx + r14]
cmp dword [0x140006a68], eax
jle 0x1400016a8
lea rcx, [0x140006a68]
call fcn.1400019fc
cmp dword [0x140006a68], 0xffffffff
jne 0x1400016a8
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtDelayExecution
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, rax
mov qword [0x1400056c0], rax
lea rcx, str.NtDelayExecution:_0x_p_n
call fcn.140001070
lea rcx, [0x140006a68]
call fcn.140001990
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeBeginPeriod]
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], 0xffffffffffffd8f0
xor ecx, ecx
call qword [0x1400056c0]
mov ecx, 1
call qword [sym.imp.WINMM.dll_timeEndPeriod]
jmp 0x1400011d0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Invalid_window_handle__n
call fcn.140001720
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140001970
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret