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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x5f8
mov rax, qword [0x1402b4040]
xor rax, rsp
mov qword [rsp + 0x5f0], rax
cmp qword [rcx + 0x28], 0
je 0x14010d61d
mov rsi, rcx
lea rdi, [rsp + 0x90]
mov r8d, 0x540
mov rcx, rdi
mov dl, 0xaa
call fcn.1401ce350
mov qword [rsp + 0x88], 0
cmp qword [rsi + 0x10], 0
je 0x14010d61d
xor r15d, r15d
lea r12, [0x14025da60]
lea r13, [0x1401cfdf0]
lea rbp, [0x14018fb60]
mov rax, qword [rsi]
mov rdx, qword [rax]
mov r8, qword [rax + 0x20]
inc rdx
cmp rdx, r8
mov rcx, rdx
cmove rcx, r15
cmp r8, rcx
jbe 0x14010d755
mov rbx, qword [rax + 0x18]
imul r14, rcx, 0xa8
mov rcx, qword [rbx + r14 + 0x78]
test rcx, rcx
je 0x14010d103
mov rax, qword [rcx + 0x18]
cmp rax, r13
je 0x14010d070
cmp rax, rbp
jne 0x14010d0e6
mov rax, qword [rcx + 0x28]
test rax, rax
je 0x14010d0f6
movzx eax, byte [rax + 4]
test al, al
jne 0x14010d0f6
cmp qword [rcx + 0x30], 0
je 0x14010d0f6
nop dword [rax]
add rbx, r14
cmp qword [rbx + 0xa0], 0
jne 0x14010d0d1
mov rax, qword [rsp + 0x88]
cmp rax, 2
jae 0x14010d30c
cmp rax, 2
setae sil
test rax, rax
jne 0x14010d0c2
mov rcx, qword [rsp + 0x5f0]
xor rcx, rsp
call fcn.140192360
mov eax, esi
add rsp, 0x5f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x88]
call fcn.14010dbd0
jmp 0x14010d09c
mov rax, qword [rbx + 0x98]
test rax, rax
je 0x14010d0f6
mov al, byte [rax + 4]
test al, al
je 0x14010d07d
jmp 0x14010d0f6
xor edx, edx
call qword [0x1402a4f40]
test al, al
je 0x14010d070
mov rax, qword [rsi]
mov rdx, qword [rax]
mov r8, qword [rax + 0x20]
inc rdx
cmp rdx, r8
mov r9d, 0
cmovne r9, rdx
cmp r8, r9
jbe 0x14010d758
mov rcx, qword [rsp + 0x88]
mov r8d, 8
test cl, 1
je 0x14010d134
mov r8, qword [rsp + 0x98]
imul rdx, r9, 0xa8
add rdx, qword [rax + 0x18]
mov rax, rcx
shr rax, 1
cmp rax, r8
je 0x14010d2db
mov r8, rdi
test cl, 1
je 0x14010d15e
mov r8, qword [rsp + 0x90]
imul rax, rax, 0xa8
add rax, r8
je 0x14010d75e
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmm1, xmmword [rdx + 0x30]
movups xmm2, xmmword [rdx + 0x40]
movups xmm3, xmmword [rdx + 0x50]
movups xmmword [rax + 0x20], xmm0
movups xmmword [rax + 0x30], xmm1
movups xmmword [rax + 0x40], xmm2
movups xmmword [rax + 0x50], xmm3
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [rax + 0x60], xmm0
mov rcx, qword [rdx + 0x6d]
mov qword [rax + 0x6d], rcx
mov rcx, qword [rdx + 0x78]
mov qword [rax + 0x78], rcx
mov qword [rdx + 0x78], 0
movzx ecx, byte [rdx + 0x82]
mov byte [rax + 0x82], cl
movzx ecx, word [rdx + 0x80]
mov word [rax + 0x80], cx
mov rcx, qword [rdx + 0x88]
mov qword [rax + 0x88], rcx
mov qword [rdx + 0x88], 0
mov rcx, qword [rdx + 0x90]
mov qword [rax + 0x90], rcx
mov rcx, qword [rdx + 0x98]
mov qword [rax + 0x98], rcx
mov qword [rdx + 0x98], 0
mov rcx, qword [rdx + 0xa0]
mov qword [rax + 0xa0], rcx
add qword [rsp + 0x88], 2
mov rax, qword [rsi]
mov rdx, qword [rax]
mov r8, qword [rax + 0x20]
inc rdx
cmp rdx, r8
mov ecx, 0
cmovne rcx, rdx
mov qword [rax], rcx
cmp r8, rcx
jbe 0x14010d75b
mov r14, qword [rax + 0x18]
imul rbx, rcx, 0xa8
mov rcx, qword [r14 + rbx + 0x98]
test rcx, rcx
jne 0x14010d2b6
add r14, rbx
mov rbx, qword [r14 + 0x88]
test rbx, rbx
jne 0x14010d2ab
mov rbx, qword [r14 + 0x78]
test rbx, rbx
jne 0x14010d2c2
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
cmp rcx, qword [rax]
jne 0x14010d29c
mov rcx, qword [rax + 0x28]
test rcx, rcx
jne 0x14010d5e3
dec qword [rsi + 0x10]
jne 0x14010cffa
jmp 0x14010d07d
lock dec dword [rbx + 8]
jne 0x14010d27a
jmp 0x14010d624
lock dec dword [rcx]
jne 0x14010d26b
call fcn.14018fb90
jmp 0x14010d26b
lock dec dword [rbx]
jne 0x14010d283
mov rax, qword [rbx + 0x10]
cmp rax, r12
je 0x14010d2ed
mov rcx, rbx
call qword [0x1402a4f40]
jmp 0x14010d283
lea rcx, [rsp + 0x88]
call fcn.14010e570
jmp 0x14010d22e
mov rcx, qword [rbx + 0x28]
test rcx, rcx
jne 0x14010d300
mov rcx, rbx
call fcn.14018fb90
jmp 0x14010d283
lock dec dword [rcx]
jne 0x14010d2f6
call fcn.14018fb90
jmp 0x14010d2f6
cmp qword [rsi + 0x10], 0
jne 0x14010d5b1
movabs rbp, 0xaaaaaaaaaaaaaaaa
movabs r13, 0x8637bd05af7
cmp dword [rsi + 0x70], 0
jne 0x14010d50a
mov rdi, qword [rsi + 0x30]
cmp qword [rsi + 8], 0
je 0x14010d3e0
mov qword [rsp + 0x58], rbp
mov rax, qword [0x1402b67f0]
lea rcx, [0x1401191b0]
cmp rax, rcx
jne 0x14010d73f
lea rbx, [rsp + 0x5d0]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
cmp rax, r13
jge 0x14010da1d
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402c6d38]
mov qword [rsp + 0x58], rax
cmp rax, qword [rsi + 0x20]
jl 0x14010d3e0
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 5
mov edx, 4
cmovae rdx, rax
mov rax, qword [rsi]
mov rcx, qword [rsi + 0x10]
mov qword [rsi + 0x18], rcx
test rax, rax
je 0x14010d3e0
lea rcx, [rdx + 0x10]
xor r8d, r8d
add r8, qword [rax + 0x20]
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x14010d3ca
cmp rcx, r8
jb 0x14010d6cd
lea rbx, [rdi + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14010d60f
mov rax, qword [rsi]
mov rcx, qword [rdi + 0x30]
mov qword [rsi], rcx
mov qword [rdi + 0x30], rax
mov rax, qword [rsi + 8]
mov rcx, qword [rdi + 0x38]
mov qword [rsi + 8], rcx
mov qword [rdi + 0x38], rax
mov rax, qword [rsi + 0x10]
mov rcx, qword [rdi + 0x40]
mov qword [rsi + 0x10], rcx
mov qword [rdi + 0x40], rax
mov rax, qword [rsi + 0x18]
mov rcx, qword [rdi + 0x48]
mov qword [rsi + 0x18], rcx
mov qword [rdi + 0x48], rax
mov rax, qword [rsi + 0x20]
mov rcx, qword [rdi + 0x50]
mov qword [rsi + 0x20], rcx
mov qword [rdi + 0x50], rax
mov rax, qword [rdi + 0x18]
mov r15d, dword [rax + 8]
test r15d, r15d
jne 0x14010d7b5
cmp byte [rdi + 0x148], 1
je 0x14010d97d
mov rax, qword [rdi + 0x18]
mov r15d, dword [rax + 8]
test r15d, r15d
jne 0x14010d771
mov rcx, qword [rdi + 0xa8]
cmp qword [rcx + 0x10], 0
sete byte [rdi + 0x58]
mov r15d, dword [rax + 8]
test r15d, r15d
jne 0x14010d793
mov cl, byte [rdi + 0x118]
mov byte [rdi + 0x5b], cl
mov r15d, dword [rax + 8]
test r15d, r15d
jne 0x14010d7d1
cmp qword [rdi + 0x98], 0
jne 0x14010d70d
mov rax, qword [rdi]
lea rcx, [fcn.14018ed50]
cmp qword [rax + 0x10], rcx
jne 0x14010d6f6
mov rax, qword [rdi + 0x18]
mov r15d, dword [rax + 8]
test r15d, r15d
jne 0x14010d7ed
cmp byte [rdi + 0x118], 1
jne 0x14010d706
mov rax, qword [rdi + 0x18]
mov r15d, dword [rax + 8]
test r15d, r15d
jne 0x14010d809
mov al, byte [rdi + 0x138]
xor al, 1
mov byte [rdi + 0x59], al
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
cmp qword [rsi + 8], 0
je 0x14010d5b1
mov qword [rsp + 0x58], rbp
mov rax, qword [0x1402b67f0]
lea rcx, [0x1401191b0]
cmp rax, rcx
jne 0x14010d729
lea rdi, [rsp + 0x5d0]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
cmp rax, r13
jge 0x14010d9f6
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402c6d38]
mov qword [rsp + 0x58], rax
cmp rax, qword [rsi + 0x20]
jl 0x14010d5b1
mov rax, qword [rsi + 0x18]
inc rax
cmp rax, 5
mov edx, 4
cmovae rdx, rax
mov rax, qword [rsi]
mov rcx, qword [rsi + 0x10]
mov qword [rsi + 0x18], rcx
test rax, rax
je 0x14010d5b1
lea rcx, [rdx + 0x10]
xor r8d, r8d
add r8, qword [rax + 0x20]
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x14010d59b
cmp rcx, r8
jb 0x14010d6a4
cmp qword [rsi + 0x40], 0xffffffffffffffff
je 0x14010d5c4
mov rcx, qword [rsi + 0x28]
mov rdx, rsi
call fcn.14010ddc0
mov rdi, qword [rsi + 0x30]
mov al, byte [0x1402c69b5]
test al, al
jne 0x14010da44
mov rax, qword [rsp + 0x88]
jmp 0x14010d08f
mov qword [rax + 0x28], 0
mov rbx, qword [rsi]
mov qword [rsi], rcx
test rbx, rbx
je 0x14010d29c
mov rcx, rbx
call fcn.1401718d0
mov rcx, rbx
call fcn.14018fb90
jmp 0x14010d29c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x14010d3f5
xor esi, esi
jmp 0x14010d09c
mov rcx, qword [rbx]
mov rax, qword [rcx + 8]
lea rdx, [0x1401f69c0]
cmp qword [rcx + 0x10], rdx
jne 0x14010d644
lea rcx, [0x14020c470]
cmp rax, rcx
je 0x14010d657
mov rcx, rbx
mov edx, 1
call qword [0x1402a4f40]
jmp 0x14010d27a
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14010d665
lock dec dword [rcx]
je 0x14010d69d
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14010d676
mov rax, rcx
lock dec dword [rcx]
je 0x14010d683
mov rcx, rbx
call fcn.14018fb90
jmp 0x14010d27a
mov qword [rsp + 0x50], rax
lea rcx, [rax + 8]
call fcn.140143ba0
mov rcx, qword [rsp + 0x50]
call fcn.14018fb90
jmp 0x14010d676
call fcn.14018fb90
jmp 0x14010d665
mov rcx, rsi
call fcn.140136e70
mov eax, 0x4c4b40
add rax, qword [rsp + 0x58]
movabs rcx, 0x7fffffffffffffff
cmovno rcx, rax
mov qword [rsi + 0x20], rcx
jmp 0x14010d5b1
mov rcx, rsi
call fcn.140136e70
mov eax, 0x4c4b40
add rax, qword [rsp + 0x58]
movabs rcx, 0x7fffffffffffffff
cmovno rcx, rax
mov qword [rsi + 0x20], rcx
jmp 0x14010d3e0
mov rcx, rdi
call fcn.14018ed50
test al, al
jne 0x14010d4e5
xor eax, eax
jmp 0x14010d4fe
mov rax, qword [rdi + 0x18]
mov r15d, dword [rax + 8]
test r15d, r15d
jne 0x14010dba4
mov al, byte [rdi + 0x118]
jmp 0x14010d4fe
lea rdi, [rsp + 0x58]
mov rcx, rdi
call qword [0x1402a4f40]
mov rax, qword [rdi]
jmp 0x14010d56a
lea rbx, [rsp + 0x58]
mov rcx, rbx
call qword [0x1402a4f40]
mov rax, qword [rbx]
jmp 0x14010d399
int3
int3
int3
lea rcx, [0x140275393]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.1401cf0c0
lea r14, [rsp + 0x5d0]
mov rcx, r14
call fcn.14018d750
cmp r15d, dword [r14]
jne 0x14010dbc3
mov rax, qword [rdi + 0x18]
jmp 0x14010d472
lea r14, [rsp + 0x5d0]
mov rcx, r14
call fcn.14018d750
cmp r15d, dword [r14]
jne 0x14010dbc6
mov rax, qword [rdi + 0x18]
jmp 0x14010d48f
lea r14, [rsp + 0x5d0]
mov rcx, r14
call fcn.14018d750
cmp r15d, dword [r14]
je 0x14010d454
int3
lea r14, [rsp + 0x5d0]
mov rcx, r14
call fcn.14018d750
cmp r15d, dword [r14]
je 0x14010d4a5
int3
lea r14, [rsp + 0x5d0]
mov rcx, r14
call fcn.14018d750
cmp r15d, dword [r14]
je 0x14010d4d8
int3
lea r14, [rsp + 0x5d0]
mov rcx, r14
call fcn.14018d750
cmp r15d, dword [r14]
je 0x14010d4f6
int3
add r12, rax
mov rcx, qword [rdi + 0x18]
call fcn.14018f320
cmp byte [rdi + 0x148], 1
jne 0x14010d841
mov byte [rdi + 0x148], 0
lea r14, [rsp + 0x58]
mov rcx, r12
mov rdx, r14
call fcn.1401401f0
lea r15, [rsp + 0x5d0]
mov rcx, r15
mov rdx, r14
call fcn.1400f0100
mov rcx, qword [rdi + 0x18]
call fcn.14018f320
lea r14, [rdi + 0x120]
mov rcx, r14
mov rdx, r15
call fcn.14020b4d0
mov rcx, qword [rdi + 0x18]
call fcn.14018f320
mov rcx, qword [rdi + 0x18]
mov r15, qword [rdi + 0xa8]
call fcn.14018f320
cmp byte [rdi + 0x138], 0
je 0x14010db91
mov eax, dword [r14 + 0x10]
mov dword [rsp + 0x5e0], eax
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0x5d0], xmm0
mov rcx, r15
call fcn.1401d1960
lea rax, [r15 + 0x50]
cmp byte [r15 + 0x68], 1
jne 0x14010db4e
mov ecx, dword [rsp + 0x5e0]
mov dword [rax + 0x10], ecx
movaps xmm0, xmmword [rsp + 0x5d0]
movups xmmword [rax], xmm0
mov rcx, qword [rdi + 0x18]
call fcn.14018f320
mov rcx, qword [rdi + 0x18]
mov r15, qword [rdi + 0xa0]
call fcn.14018f320
cmp byte [rdi + 0x138], 0
je 0x14010db91
mov eax, dword [r14 + 0x10]
mov dword [rsp + 0x5e0], eax
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0x5d0], xmm0
mov rcx, r15
call fcn.1401d1960
lea rax, [r15 + 0x50]
cmp byte [r15 + 0x68], 1
jne 0x14010db6d
mov ecx, dword [rsp + 0x5e0]
mov dword [rax + 0x10], ecx
movaps xmm0, xmmword [rsp + 0x5d0]
movups xmmword [rax], xmm0
mov r14, qword [rsp + 0x70]
movabs rax, 0xfffffffc00000000
and rax, r14
cmp rax, qword [0x1402b6788]
jne 0x14010d461
mov rcx, r14
call fcn.1400fdce0
jmp 0x14010d461
movaps xmm0, xmmword [0x140270080]
lea r14, [rsp + 0x70]
movaps xmmword [r14], xmm0
mov rdx, qword [rsi]
mov rcx, r14
call fcn.14020c590
mov rax, qword [r14]
xor r14d, r14d
test rax, rax
je 0x14010d956
mov r15, qword [rsp + 0x78]
cmp qword [rax + 0x20], r15
jbe 0x14010dbc0
mov r12, qword [rax + 0x18]
mov rcx, qword [rdi + 0x18]
call fcn.14018f320
cmp byte [rdi + 0x148], 0
je 0x14010db8c
imul rax, r15, 0xa8
mov rcx, qword [r12 + rax + 0x20]
cmp rcx, qword [rdi + 0x140]
jge 0x14010d825
lea rcx, [rsp + 0x70]
call fcn.14020b520
mov rax, qword [rsp + 0x70]
jmp 0x14010d99e
mov rcx, qword [0x1402c6d38]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14010d565
mov rcx, qword [0x1402c6d38]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14010d394
mov rcx, qword [rdi + 0x18]
call fcn.14018f2e0
test al, al
je 0x14010d5d6
lea rsi, [rdi + 0x28]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x14010da6f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rcx, qword [rdi + 0x18]
mov r14, qword [rdi + 0x40]
call fcn.14018f320
mov rcx, qword [rdi + 0x18]
mov rax, qword [rdi + 0xa8]
mov rbx, qword [rax + 0x10]
call fcn.14018f320
mov rcx, qword [rdi + 0x18]
mov rax, qword [rdi + 0xa0]
mov r15, qword [rax + 0x10]
call fcn.14018f320
mov r13, qword [rdi + 0xb8]
mov r12, qword [rdi + 0xc0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [rsp + 0x70], 0xe5
mov al, byte [0x1402c69b5]
test al, al
je 0x14010d5d6
movzx esi, al
add ebx, r14d
sub r12, r13
shr r12, 3
imul ebp, r12d, 0x3cf3cf3d
add ebp, r15d
add ebp, ebx
mov ecx, dword [rdi + 8]
call fcn.14020c560
lea r8, [rsp + 0x58]
mov qword [r8], rax
lea rax, [rsp + 0x84]
mov dword [rax], ebp
lea rcx, [0x140277b38]
lea rdx, [rsp + 0x5d0]
mov qword [rdx], rcx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdx
lea rax, [0x140277520]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0
mov byte [rsp + 0x28], 0x43
lea rdx, [rsp + 0x70]
mov ecx, esi
xor r9d, r9d
call fcn.14004f930
jmp 0x14010d5d6
mov ecx, dword [rsp + 0x5e0]
mov dword [rax + 0x10], ecx
movaps xmm0, xmmword [rsp + 0x5d0]
movups xmmword [rax], xmm0
mov byte [r15 + 0x68], 1
jmp 0x14010d8e8
mov ecx, dword [rsp + 0x5e0]
mov dword [rax + 0x10], ecx
movaps xmm0, xmmword [rsp + 0x5d0]
movups xmmword [rax], xmm0
mov byte [r15 + 0x68], 1
jmp 0x14010d951
call fcn.1401cf0c0
lea rcx, [0x140275393]
lea rdx, str....._third_partylibc_srcincludeoptional:800:_assertion_this__has_value___failed:_optional_operator_called_on_a_disengaged_value_n
call fcn.1401cf0c0
lea r14, [rsp + 0x5d0]
mov rcx, r14
call fcn.14018d750
cmp r15d, dword [r14]
je 0x14010d71e
int3
int3
int3
int3