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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x48]
sub rsp, 0x120
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x1403b8550]
xor rax, rsp
mov qword [rbp], rax
mov rsi, rcx
xor r15d, r15d
cmp dword [0x1403ca0b4], 1
jne 0x14006b86f
mov eax, dword [rcx + 0x88]
cmp dword [0x1403ca0a4], eax
jae 0x14006b860
lea r14, [rcx + 0x2a8]
movabs rdi, 0x8000000000000002
movabs rbx, 0x8000000000000001
movabs r13, 0x7fffffffffffffff
movabs r12, 0x7ffffffffffffffe
movsd xmm6, qword [0x1403677b0]
lea rcx, [rsp + 0x60]
call fcn.140049af0
mov rcx, qword [rsp + 0x60]
lea rax, [rcx + r13]
cmp rax, 0xfffffffffffffffc
jbe 0x14006b65e
lea rax, [rcx + rdi]
test rax, 0xfffffffffffffffc
jne 0x14006b65e
cmp rcx, rbx
je 0x14006b65e
cmp rcx, r12
je 0x14006b77d
lea rax, [rcx + r13]
cmp rax, 0xfffffffffffffffd
ja 0x14006b665
add rcx, 0x2dc6c0
mov qword [rbp - 0x78], rcx
mov qword [rsp + 0x48], r14
mov byte [rsp + 0x50], 0
test r14, r14
je 0x14006b8e4
mov rcx, r14
call fcn.14006ada0
mov byte [rsp + 0x50], 1
mov qword [rsp + 0x70], r15
mov eax, 1
mov word [rsp + 0x20], ax
mov word [rsp + 0x22], ax
mov ecx, 0x7b2
mov word [rsp + 0x24], cx
movzx r9d, ax
movzx r8d, ax
movzx edx, cx
lea rcx, [rsp + 0x58]
call fcn.140036a40
mov ecx, dword [rax]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x68], r15
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x78]
call fcn.14004c340
lea r8, [rsp + 0x70]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x78]
call fcn.1400445c0
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x78]
call fcn.140044710
mov rdi, qword [rax]
movabs rax, 0x431bde82d7b634db
imul rdi
mov rbx, rdx
sar rbx, 0x12
mov rax, rbx
shr rax, 0x3f
add rbx, rax
imul rax, rbx, 0xf4240
sub rdi, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
mov ecx, dword [rsp + 0x34]
shl rcx, 0x20
mov eax, dword [rsp + 0x30]
or rcx, rax
imul rdx, rcx, 0x64
movabs rax, 0x5e6684f4b3960000
add rdx, rax
imul rax, rbx, 0xf4240
add rax, rdi
imul rbx, rax, 0x3e8
sub rbx, rdx
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x14006b785
mov rax, r15
jmp 0x14006b7db
mov rcx, r12
jmp 0x14006b665
cmp qword [rsp + 0x40], 0
jg 0x14006b792
mov rax, r15
jmp 0x14006b7db
mov edi, r15d
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x14006b7ba
inc edi
cmp edi, 3
ja 0x14006b778
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x14006b7a4
xorps xmm1, xmm1
cvtsi2sd xmm1, qword [rsp + 0x38]
mulsd xmm1, xmm6
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x40]
divsd xmm1, xmm0
cvttsd2si rax, xmm1
add rax, rbx
mov qword [rbp - 0x70], rax
lea rcx, [rsi + 0x300]
lea r8, [rbp - 0x70]
lea rdx, [rsp + 0x48]
call fcn.14006bc50
lea rcx, [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
nop
cmp byte [rsp + 0x50], 0
je 0x14006b83a
mov rcx, qword [rsp + 0x48]
mov eax, 0x80000000
lock xadd dword [rcx], eax
bt eax, 0x1e
jb 0x14006b83a
cmp eax, 0x80000000
jle 0x14006b83a
lock bts dword [rcx], 0x1e
jb 0x14006b83a
call fcn.140037930
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEvent]
nop
mov eax, dword [rsi + 0x88]
cmp dword [0x1403ca0a4], eax
movabs rbx, 0x8000000000000001
movabs rdi, 0x8000000000000002
jb 0x14006b621
mov eax, dword [rsi + 0x80]
cmp eax, 1
je 0x14006b86f
xor al, al
jmp 0x14006b8b2
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x20]
movzx ebx, al
cmp dword [0x1403ca0b4], 1
jne 0x14006b8af
mov ecx, dword [rsi + 0x88]
inc ecx
mov dword [0x1403ca0a4], ecx
cmp dword [0x1403ca0b0], ecx
jne 0x14006b8a3
mov dword [0x1403ca0a4], r15d
jmp 0x14006b8af
lea rcx, [rsi + 0x300]
call fcn.14006b180
movzx eax, bl
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140250db0
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, str.boost_unique_lock_has_no_mutex
mov edx, 1
lea rcx, [rbp - 0x50]
call fcn.14006ac40
nop
mov rcx, rax
call fcn.14006be60
int3