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

Disassembly:
push rbp
push r14
push rdi
push rsi
push rbx
sub rsp, 0x60
lea rbp, [rsp + 0x80]
xorps xmm4, xmm4
movups xmmword [rbp - 0x38], xmm4
xor eax, eax
mov qword [rbp - 0x28], rax
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov rbx, rdx
lea rcx, [0x1402b8258]
call fcn.140004630
mov rsi, rax
mov rcx, rsi
mov edx, 2
call fcn.1400731a0
mov qword [rbp - 0x40], rsi
lea rcx, [0x1402bcb18]
call fcn.140004630
mov rsi, rax
mov rcx, rsi
mov qword [rbp + 0x18], rbx
mov rdx, rbx
mov r8d, 0x14eb
call fcn.1400ae750
mov qword [rbp - 0x28], rsi
mov byte [0x1404bc8e1], 1
lea rcx, [0x1402c6e10]
call fcn.140004630
xor ecx, ecx
mov qword [rax + 8], rcx
mov byte [rax + 0x18], 0
mov qword [rax + 0x10], rcx
mov qword [rbp - 0x50], rax
mov esi, dword [rbp + 0x30]
test esi, esi
jle 0x140071628
lea rcx, [rbp - 0x30]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x50]
mov qword [rax + 0x10], rcx
mov byte [rax + 0x18], 1
cmp dword [0x1404c6f88], 0
jne 0x14007184a
mov edi, 2
mov ecx, 0x17
mov rbx, qword [rbp + 0x18]
cmp qword [rbx + 8], 0
cmovne edi, ecx
lea rcx, [0x1402bcd28]
call fcn.140004630
mov rcx, rax
mov dword [rcx + 8], edi
mov rax, qword [rcx]
call qword [rax + 0x18]
test rax, rax
je 0x1400716b8
cmp dword [rax + 8], 0xc
jne 0x1400716b8
movups xmm0, xmmword [rax + 0xc]
movups xmm1, xmmword [0x1403d1750]
pxor xmm0, xmm1
movups xmm1, xmmword [rax + 0x14]
movups xmm2, xmmword [0x1403d1760]
pxor xmm1, xmm2
por xmm0, xmm1
xorps xmm1, xmm1
pcmpeqd xmm0, xmm1
pmovmskb ecx, xmm0
cmp ecx, 0xffff
sete cl
movzx ecx, cl
test ecx, ecx
je 0x1400716b8
lea rcx, [0x140272b80]
call fcn.1400adbf0
mov rdx, rax
mov rcx, qword [rbp - 0x40]
call fcn.1400cafd0
jmp 0x1400716ef
lea rcx, [0x1402b8258]
call fcn.140004630
mov rbx, rax
mov rcx, rbx
mov edx, 0x17
call fcn.1400731a0
mov qword [rbp - 0x40], rbx
lea rcx, [0x1402a3650]
call fcn.1400adbf0
mov rdx, rax
mov rcx, rbx
call fcn.1400cafd0
mov rcx, qword [rbp - 0x40]
mov rcx, qword [rcx + 8]
mov rdx, qword [rbp - 0x28]
cmp dword [rcx], ecx
call fcn.1400c3890
cmp byte [0x1404bc8e1], 0
je 0x14007183f
mov rcx, qword [rbp - 0x40]
xor edx, edx
xor r8d, r8d
call fcn.1400cadf0
mov qword [rbp - 0x48], rax
mov rbx, qword [rbp - 0x48]
mov ecx, 0xa
call fcn.140108bb0
cmp byte [0x1404bc8e1], 0
je 0x140071826
mov rax, qword [rbp - 0x50]
movzx ecx, byte [rax + 0x18]
test ecx, ecx
je 0x1400717bb
mov rdi, qword [rax + 8]
test ecx, ecx
je 0x140071779
lea rcx, [rbp - 0x38]
call sub.KERNEL32.dll_QueryPerformanceCounter
mov rcx, qword [rbp - 0x38]
mov rax, qword [rbp - 0x50]
sub rcx, qword [rax + 0x10]
add rdi, rcx
cmp dword [0x1404c6f88], 0
mov rbx, qword [rbp - 0x48]
jne 0x14007181c
lea r14, [0x1402b1668]
cmp qword [r14 - 8], 0
jne 0x140071812
xorps xmm0, xmm0
cvtsi2sd xmm0, rdi
mulsd xmm0, qword [r14 + 0x10]
cvttsd2si rcx, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, rcx
divsd xmm0, qword [0x1403d1770]
xorps xmm1, xmm1
cvtsi2sd xmm1, esi
ucomisd xmm0, xmm1
jae 0x140071826
mov rcx, rbx
lea r10, [0x1402b4580]
call qword [r10]
test eax, eax
je 0x140071725
cmp byte [0x1404bc8e1], 0
je 0x14007182f
lea r8, [rbp - 0x28]
mov rcx, qword [rbp - 0x40]
mov rdx, rbx
call fcn.1400caeb0
mov rdx, rax
mov r8, qword [rbp + 0x20]
mov qword [rsp + 0x20], r8
mov r9, qword [rbp + 0x28]
mov qword [rsp + 0x28], r9
mov rcx, qword [rbp + 0x10]
mov r8, qword [rbp - 0x40]
mov r9, qword [rbp - 0x28]
mov rax, qword [rcx]
call qword [rax + 0x30]
jmp 0x14007182f
call fcn.1400013da
jmp 0x14007178b
call fcn.140005350
jmp 0x140071779
mov byte [0x1404bc8e1], 0
jmp 0x1400717d0
cmp byte [0x1404bc8e1], 0
mov esi, dword [rbp + 0x30]
jne 0x14007170f
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop r14
pop rbp
ret
call fcn.140005350
jmp 0x140071628