Function at 0x14005a0e0
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 [0x140090040]
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 [0x140090238], rdx
jne 0x14005a335
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.140059710
test al, al
jne 0x14005a233
mov rax, qword [0x140090220]
cmp rax, 0x1b
jb 0x14005a198
lea rbx, [0x140090208]
cmp rax, 0xf
cmova rbx, qword [0x140090208]
mov qword [0x140090218], 0x1b
lea r8d, [rsi + 0x1b]
lea rdx, [0x140080080]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1b], sil
jmp 0x14005a1b0
lea r9, [0x140080080]
mov edx, 0x1b
lea rcx, [0x140090208]
call fcn.14006f000
movzx eax, byte [0x14009180f]
test al, al
je 0x14005a7c3
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov r8d, 0x17
lea rdx, [0x1400800a0]
lea rcx, [rbp - 0x38]
call fcn.14006ec60
nop
lea rcx, [rbp - 0x38]
call fcn.140043f80
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x14005a7c3
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a229
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005a429
call fcn.140072800
jmp 0x14005a7c3
mov edx, dword [0x1400917e0]
mov ecx, dword [0x140091890]
call qword [sym.imp.USER32.dll_SetCursorPos]
movsxd rbx, dword [0x140090154]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea rcx, [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x48]
sub rax, qword [rbp - 0x40]
imul rax, rax, 0x3e8
cqo
idiv qword [rbp - 0x50]
cmp rax, rbx
jl 0x14005a260
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 [0x14009170c]
mov ecx, dword [0x140091798]
call qword [sym.imp.USER32.dll_SetCursorPos]
movsxd rbx, dword [0x140090154]
lea rcx, [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop dword [rax]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x50]
sub rax, qword [rbp - 0x40]
imul rax, rax, 0x3e8
cqo
idiv qword [rbp - 0x48]
cmp rax, rbx
jl 0x14005a2e0
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 0x14005a78a
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.140059710
test al, al
jne 0x14005a45c
mov rax, qword [0x140090220]
cmp rax, 0x1b
jb 0x14005a3a4
lea rbx, [0x140090208]
cmp rax, 0xf
cmova rbx, qword [0x140090208]
mov qword [0x140090218], 0x1b
mov r8d, 0x1b
lea rdx, [0x140080080]
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x1b], sil
jmp 0x14005a3bc
lea r9, [0x140080080]
mov edx, 0x1b
lea rcx, [0x140090208]
call fcn.14006f000
movzx eax, byte [0x14009180f]
test al, al
je 0x14005a435
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov r8d, 0x17
lea rdx, [0x1400800a0]
lea rcx, [rbp - 0x38]
call fcn.14006ec60
nop
lea rcx, [rbp - 0x38]
call fcn.140043f80
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x14005a435
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a430
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a430
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140072800
mov qword [0x140090238], rsi
lea r14, [0x140090228]
cmp qword [0x140090240], 0xf
cmova r14, qword [0x140090228]
mov byte [r14], 0
jmp 0x14005a7c3
mov edx, dword [0x140091828]
mov ecx, dword [0x14009186c]
call qword [sym.imp.USER32.dll_SetCursorPos]
movsxd rbx, dword [0x140090154]
lea rcx, [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop dword [rax]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x50]
sub rax, qword [rbp - 0x40]
imul rax, rax, 0x3e8
cqo
idiv qword [rbp - 0x48]
cmp rax, rbx
jl 0x14005a490
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 [0x140090154]
lea rcx, [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop dword [rax + rax]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x50]
sub rax, qword [rbp - 0x40]
imul rax, rax, 0x3e8
cqo
idiv qword [rbp - 0x48]
cmp rax, rbx
jl 0x14005a500
lea rcx, [0x140091a10]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14005a541
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
cmp dword [0x140091a5c], 0x7fffffff
jne 0x14005a563
mov dword [0x140091a5c], 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, [0x140091a10]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
lea r14, [0x140090228]
cmp qword [0x140090240], 0xf
jbe 0x14005a5b1
mov rdi, qword [0x140090228]
mov rcx, rdi
mov rdx, rdi
jmp 0x14005a5ba
mov rdi, r14
mov rcx, r14
mov rdx, r14
mov r15, qword [0x140090238]
add r15, rcx
cmp rdx, r15
je 0x14005a670
nop dword [rax]
mov qword [rbp - 0x38], 1
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x18], rsi
mov word [rbp - 0x30], si
movsx eax, byte [rdi]
mov word [rbp - 0x2e], ax
mov dword [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 [0x14009010c]
lea rcx, [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop dword [rax]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x50]
sub rax, qword [rbp - 0x40]
imul rax, rax, 0x3e8
cqo
idiv qword [rbp - 0x48]
cmp rax, rbx
jl 0x14005a640
inc rdi
cmp rdi, r15
jne 0x14005a5d0
mov edx, dword [0x1400917e0]
mov ecx, dword [0x140091890]
call qword [sym.imp.USER32.dll_SetCursorPos]
movsxd rbx, dword [0x140090154]
lea rcx, [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop dword [rax]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x50]
sub rax, qword [rbp - 0x40]
imul rax, rax, 0x3e8
cqo
idiv qword [rbp - 0x48]
cmp rax, rbx
jl 0x14005a6a0
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 [0x14009170c]
mov ecx, dword [0x140091798]
call qword [sym.imp.USER32.dll_SetCursorPos]
movsxd rbx, dword [0x140090154]
lea rcx, [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
nop dword [rax]
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbp - 0x50]
sub rax, qword [rbp - 0x40]
imul rax, rax, 0x3e8
cqo
idiv qword [rbp - 0x48]
cmp rax, rbx
jl 0x14005a720
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 [0x140090238], rsi
cmp qword [0x140090240], 0xf
cmova r14, qword [0x140090228]
mov byte [r14], sil
movzx eax, byte [0x140091795]
test al, al
je 0x14005a7c3
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x20], rsi
mov r8d, 0x4d
lea rdx, [0x1400800c0]
lea rcx, [rbp - 0x38]
call fcn.14006ec60
lea rcx, [rbp - 0x38]
call fcn.14004d670
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140072580
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