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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x110
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov r15, rcx
mov qword [rsp + 0x68], 0x64
lea rax, [0x140141e80]
mov qword [rbp - 0x80], rax
lea rax, [0x1401430e0]
mov qword [rbp - 0x78], rax
lea rax, [0x140144740]
mov qword [rbp - 0x70], rax
lea rax, [0x140146890]
mov qword [rbp - 0x68], rax
xor r14d, r14d
mov qword [rbp + 0x68], r14
xorps xmm7, xmm7
mov qword [rsp + 0x20], r14
movabs rdi, 0x3fffffffffffffff
movsd xmm6, qword [0x14045b480]
nop word [rax + rax]
mov qword [rbp + 0x58], r14
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rsp + 0x58]
mulsd xmm1, xmm6
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x60]
divsd xmm1, xmm0
movsd qword [rbp + 0x60], xmm1
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov qword [rsp + 0x50], r14
test r15, r15
je 0x14013dc5f
cmp r15, rdi
ja 0x14013deb7
lea rbx, [r15*4]
mov rcx, rbx
call fcn.140003d40
mov rdx, rax
mov qword [rsp + 0x40], rax
lea rcx, [rbx + rax]
mov qword [rsp + 0x50], rcx
test r15, r15
je 0x14013dc5a
mov rdi, rax
xor eax, eax
mov rcx, r15
rep stosd dword [rdi], eax
add rdx, rbx
mov qword [rsp + 0x48], rdx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov rsi, r14
mov qword [rsp + 0x38], r14
mov rbx, r14
mov rdi, qword [rsp + 0x30]
test r15, r15
je 0x14013dce6
nop dword [rax]
mov qword [rbp - 0x60], rbx
lea rax, [rbp - 0x80]
mov qword [rbp - 0x58], rax
lea rax, [rbp + 0x58]
mov qword [rbp - 0x50], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x48], rax
lea rax, [rbp + 0x60]
mov qword [rbp - 0x40], rax
lea rax, [rsp + 0x68]
mov qword [rbp - 0x38], rax
lea r8, [rbp - 0x60]
mov rdx, rdi
cmp rsi, rdi
je 0x14013dcca
call fcn.14014ac20
add rdi, 0x10
mov qword [rsp + 0x30], rdi
jmp 0x14013dcde
lea rcx, [rsp + 0x28]
call fcn.14014acb0
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x30]
inc rbx
cmp rbx, r15
jb 0x14013dc80
mov r12d, r14d
mov r13, qword [rsp + 0x28]
test r15, r15
je 0x14013dd43
mov rbx, r13
cmp dword [rbx + 8], 0
je 0x14013ded3
call sub.KERNEL32.dll_GetCurrentThreadId
cmp dword [rbx + 8], eax
je 0x14013dec8
movups xmm0, xmmword [rbx]
movaps xmmword [rbp - 0x20], xmm0
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.140317d94
test eax, eax
jne 0x14013debd
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov rax, qword [rsp + 0x40]
add r12d, dword [rax + r14*4]
inc r14
add rbx, 0x10
cmp r14, r15
jb 0x14013dcf6
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rsp + 0x70]
mulsd xmm1, xmm6
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x78]
divsd xmm1, xmm0
mov eax, r12d
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
mulsd xmm0, xmm6
subsd xmm1, qword [rbp + 0x60]
divsd xmm0, xmm1
mov rax, qword [rbp + 0x58]
comisd xmm0, xmm7
jbe 0x14013dda3
mov rbx, rax
mov qword [rbp + 0x68], rax
movaps xmm7, xmm0
jmp 0x14013dda7
mov rbx, qword [rbp + 0x68]
test r13, r13
je 0x14013de02
mov rax, r13
cmp r13, rdi
je 0x14013ddc7
cmp dword [rax + 8], 0
jne 0x14013dede
add rax, 0x10
cmp rax, rdi
jne 0x14013ddb4
sub rsi, r13
and rsi, 0xfffffffffffffff0
mov rax, r13
cmp rsi, 0x1000
jb 0x14013ddf3
add rsi, 0x27
mov r13, qword [r13 - 8]
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14013deab
mov rdx, rsi
mov rcx, r13
call fcn.140319610
mov rax, qword [rbp + 0x58]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14013de42
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
and rdx, 0xfffffffffffffffc
mov rax, rcx
cmp rdx, 0x1000
jb 0x14013de39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14013deb1
call fcn.140319610
mov rax, qword [rbp + 0x58]
inc rax
mov qword [rbp + 0x58], rax
cmp rax, 4
movabs rdi, 0x3fffffffffffffff
mov r14d, 0
jb 0x14013dbd4
mov rax, qword [rsp + 0x20]
inc rax
mov qword [rsp + 0x20], rax
cmp rax, 3
jb 0x14013dbd0
mov rax, qword [rbp + rbx*8 - 0x80]
mov qword [0x14049f348], rax
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14033b11c
nop
call fcn.14033b11c
int3
call fcn.140013fa0
nop
mov ecx, 2
call fcn.1403175f4
int3
mov ecx, 5
call fcn.1403175f4
int3
mov ecx, 1
call fcn.1403175f4
nop
call fcn.14033f788
int3