Function at 0x1400597c0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14008e040]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor esi, esi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rsi + 2]
mov qword [rsp + 0x20], rsi
cmp qword [0x14008e210], rdx
jne 0x140059a15
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rsi + 4]
call qword [sym.imp.USER32.dll_mouse_event]
call fcn.140058df0
test al, al
jne 0x140059913
mov rax, qword [0x14008e1f8]
cmp rax, 0x1b
jb 0x140059878
lea rbx, [0x14008e1e0]
cmp rax, 0xf
cmova rbx, qword [0x14008e1e0]
mov qword [0x14008e1f0], 0x1b
lea r8d, [rsi + 0x1b]
lea rdx, [0x14007e180]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1b], sil
jmp 0x140059890
lea r9, [0x14007e180]
mov edx, 0x1b
lea rcx, [0x14008e1e0]
call fcn.14006d210
movzx eax, byte [0x14008f822]
test al, al
je 0x140059e6a
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov r8d, 0x17
lea rdx, [0x14007e1a0]
lea rcx, [rbp - 0x38]
call fcn.14006ce70
nop
lea rcx, [rbp - 0x38]
call fcn.140043e30
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140059e6a
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059909
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140059b09
call fcn.140070a70
jmp 0x140059e6a
mov edx, dword [0x14008f7dc]
mov ecx, dword [0x14008f894]
call qword [sym.imp.USER32.dll_SetCursorPos]
movsxd rbx, dword [0x14008e14c]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x50]
sub rax, qword [rbp - 0x48]
imul rax, rax, 0x3e8
cqo
idiv qword [rbp - 0x40]
cmp rax, rbx
jl 0x140059940
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov edx, dword [0x14008f710]
mov ecx, dword [0x14008f794]
call qword [sym.imp.USER32.dll_SetCursorPos]
movsxd rbx, dword [0x14008e14c]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop dword [rax]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x40]
sub rax, qword [rbp - 0x48]
imul rax, rax, 0x3e8
cqo
idiv qword [rbp - 0x50]
cmp rax, rbx
jl 0x1400599c0
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
jmp 0x140059e5a
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
call fcn.140058df0
test al, al
jne 0x140059b3c
mov rax, qword [0x14008e1f8]
cmp rax, 0x1b
jb 0x140059a84
lea rbx, [0x14008e1e0]
cmp rax, 0xf
cmova rbx, qword [0x14008e1e0]
mov qword [0x14008e1f0], 0x1b
mov r8d, 0x1b
lea rdx, [0x14007e180]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1b], sil
jmp 0x140059a9c
lea r9, [0x14007e180]
mov edx, 0x1b
lea rcx, [0x14008e1e0]
call fcn.14006d210
movzx eax, byte [0x14008f822]
test al, al
je 0x140059b15
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov r8d, 0x17
lea rdx, [0x14007e1a0]
lea rcx, [rbp - 0x38]
call fcn.14006ce70
nop
lea rcx, [rbp - 0x38]
call fcn.140043e30
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140059b15
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140059b10
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140059b10
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140070a70
mov qword [0x14008e210], rsi
lea r14, [0x14008e200]
cmp qword [0x14008e218], 0xf
cmova r14, qword [0x14008e200]
mov byte [r14], 0
jmp 0x140059e6a
mov edx, dword [0x14008f824]
mov ecx, dword [0x14008f868]
call qword [sym.imp.USER32.dll_SetCursorPos]
movsxd rbx, dword [0x14008e14c]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop dword [rax]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x40]
sub rax, qword [rbp - 0x48]
imul rax, rax, 0x3e8
cqo
idiv qword [rbp - 0x50]
cmp rax, rbx
jl 0x140059b70
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
movsxd rbx, dword [0x14008e14c]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop dword [rax + rax]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x40]
sub rax, qword [rbp - 0x48]
imul rax, rax, 0x3e8
cqo
idiv qword [rbp - 0x50]
cmp rax, rbx
jl 0x140059be0
lea rcx, [0x14008f970]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x140059c21
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x14008f9bc], 0x7fffffff
jne 0x140059c43
mov dword [0x14008f9bc], 0x7ffffffe
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov cl, 8
call qword [sym.imp.USER32.dll_keybd_event]
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 2]
mov cl, 8
call qword [sym.imp.USER32.dll_keybd_event]
lea rcx, [0x14008f970]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea r14, [0x14008e200]
cmp qword [0x14008e218], 0xf
jbe 0x140059c91
mov rdi, qword [0x14008e200]
mov rcx, rdi
mov rdx, rdi
jmp 0x140059c9a
mov rdi, r14
mov rcx, r14
mov rdx, r14
mov r15, qword [0x14008e210]
add r15, rcx
cmp rdx, r15
je 0x140059d45
nop dword [rax]
mov dword [rbp - 0x38], 1
mov word [rbp - 0x30], si
movsx eax, byte [rdi]
mov word [rbp - 0x2e], ax
mov qword [rbp - 0x2c], 4
mov qword [rbp - 0x20], rsi
mov r8d, 0x28
lea rdx, [rbp - 0x38]
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
or dword [rbp - 0x2c], 2
mov r8d, 0x28
lea rdx, [rbp - 0x38]
lea ecx, [r8 - 0x27]
call qword [sym.imp.USER32.dll_SendInput]
movsxd rbx, dword [0x14008e108]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x40]
sub rax, qword [rbp - 0x48]
imul rax, rax, 0x3e8
cqo
idiv qword [rbp - 0x50]
cmp rax, rbx
jl 0x140059d15
inc rdi
cmp rdi, r15
jne 0x140059cb0
mov edx, dword [0x14008f7dc]
mov ecx, dword [0x14008f894]
call qword [sym.imp.USER32.dll_SetCursorPos]
movsxd rbx, dword [0x14008e14c]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x40]
sub rax, qword [rbp - 0x48]
imul rax, rax, 0x3e8
cqo
idiv qword [rbp - 0x50]
cmp rax, rbx
jl 0x140059d72
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov edx, dword [0x14008f710]
mov ecx, dword [0x14008f794]
call qword [sym.imp.USER32.dll_SetCursorPos]
movsxd rbx, dword [0x14008e14c]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x40]
sub rax, qword [rbp - 0x48]
imul rax, rax, 0x3e8
cqo
idiv qword [rbp - 0x50]
cmp rax, rbx
jl 0x140059df0
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
mov qword [0x14008e210], rsi
cmp qword [0x14008e218], 0xf
cmova r14, qword [0x14008e200]
mov byte [r14], sil
movzx eax, byte [0x14008f798]
test al, al
je 0x140059e6a
call fcn.14004e2b0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400707f0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret