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

Disassembly:
push rbx
push rbp
push rsi
push r12
push r14
push r15
sub rsp, 0xa8
mov rax, qword [0x140067008]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, qword [rsp + 0x100]
xor r14d, r14d
mov ebp, r9d
mov r15, r8
mov rsi, rdx
mov r12, rcx
test rdx, rdx
jne 0x14000de43
xor eax, eax
jmp 0x14000e146
mov rax, qword [rdx + 0x490]
mov qword [rsp + 0xa0], rdi
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm7
mov rcx, qword [rax + 0xc8]
movaps xmmword [rsp + 0x60], xmm9
movaps xmmword [rsp + 0x50], xmm10
test rcx, rcx
je 0x14000de8c
call fcn.14003a86c
movaps xmm7, xmm0
divsd xmm7, qword [0x140060408]
jmp 0x14000de94
movsd xmm7, qword [0x140060420]
mov edx, dword [rbx]
mov rcx, r15
call fcn.14000afa0
movsd xmm10, qword [0x140060410]
xorps xmm0, xmm0
movsd xmm9, qword [0x140060400]
xorps xmm6, xmm6
movups xmmword [rsp + 0x30], xmm0
mov edi, eax
movsd xmm0, qword [0x14006a918]
ucomisd xmm0, xmm6
jp 0x14000df19
jne 0x14000df19
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rcx, qword [rsp + 0x40]
xorps xmm1, xmm1
test rcx, rcx
js 0x14000deec
cvtsi2sd xmm1, rcx
jmp 0x14000df01
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
movaps xmm0, xmm9
divsd xmm0, xmm1
ucomisd xmm0, xmm6
movsd qword [0x14006a918], xmm0
jp 0x14000df19
je 0x14000df78
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x40]
xorps xmm1, xmm1
test rcx, rcx
js 0x14000df38
cvtsi2sd xmm1, rcx
jmp 0x14000df4d
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mulsd xmm1, qword [0x14006a918]
xorps xmm0, xmm0
cvttsd2si rax, xmm1
mov qword [rsp + 0x30], rax
cvtsi2sd xmm0, rax
subsd xmm1, xmm0
mulsd xmm1, xmm10
cvttsd2si eax, xmm1
mov dword [rsp + 0x38], eax
mov rax, qword [rsi + 0x490]
movaps xmmword [rsp + 0x70], xmm8
mov ecx, dword [rax]
test ecx, ecx
jne 0x14000e10c
movsd xmm8, qword [0x1400603e0]
nop dword [rax + rax]
movsxd rcx, dword [rbx]
cmp ecx, ebp
jge 0x14000e10c
test edi, edi
jne 0x14000e10e
mov eax, dword [rsp + 0x38]
xorps xmm0, xmm0
sub eax, dword [rsi + 0x4e8]
movd xmm1, eax
mov rax, qword [rsp + 0x30]
sub rax, qword [rsi + 0x4e0]
cvtdq2pd xmm1, xmm1
cvtsi2sd xmm0, rax
mulsd xmm1, xmm8
addsd xmm1, xmm0
comisd xmm7, xmm1
jae 0x14000dff2
comisd xmm6, xmm7
jbe 0x14000e110
mov r9d, ebp
movsd qword [rsp + 0x20], xmm7
sub r9d, ecx
lea r8, [r15 + rcx]
mov rcx, r12
mov rdx, rsi
call fcn.140009c20
mov r14d, eax
test eax, eax
jle 0x14000e115
add dword [rbx], eax
mov edx, dword [rbx]
cmp edx, ebp
jg 0x14000e164
mov rcx, r15
call fcn.14000afa0
comisd xmm7, xmm6
mov edi, eax
jbe 0x14000e0fb
movsd xmm1, qword [0x14006a918]
xorps xmm0, xmm0
ucomisd xmm1, xmm6
movups xmmword [rsp + 0x30], xmm0
jp 0x14000e09c
jne 0x14000e09c
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rcx, qword [rsp + 0x40]
xorps xmm1, xmm1
test rcx, rcx
js 0x14000e06f
cvtsi2sd xmm1, rcx
jmp 0x14000e084
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
movaps xmm0, xmm9
divsd xmm0, xmm1
ucomisd xmm0, xmm6
movsd qword [0x14006a918], xmm0
jp 0x14000e09c
je 0x14000e0fb
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, qword [rsp + 0x40]
xorps xmm1, xmm1
test rcx, rcx
js 0x14000e0bb
cvtsi2sd xmm1, rcx
jmp 0x14000e0d0
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
mulsd xmm1, qword [0x14006a918]
xorps xmm0, xmm0
cvttsd2si rax, xmm1
mov qword [rsp + 0x30], rax
cvtsi2sd xmm0, rax
subsd xmm1, xmm0
mulsd xmm1, xmm10
cvttsd2si eax, xmm1
mov dword [rsp + 0x38], eax
mov rax, qword [rsi + 0x490]
mov ecx, dword [rax]
test ecx, ecx
je 0x14000dfa0
test edi, edi
jg 0x14000e11a
test r14d, r14d
jg 0x14000e11a
mov edi, 0xffffffff
mov eax, edi
movaps xmm8, xmmword [rsp + 0x70]
movaps xmm9, xmmword [rsp + 0x60]
movaps xmm7, xmmword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x90]
mov rdi, qword [rsp + 0xa0]
movaps xmm10, xmmword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14002b5c0
add rsp, 0xa8
pop r15
pop r14
pop r12
pop rsi
pop rbp
pop rbx
ret
mov eax, 0xfffffffe
jmp 0x14000e11c