Function at 0x14010c9a0
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 [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x5f0], rax
cmp qword [rcx + 0x28], 0
je 0x14010d03d
mov rsi, rcx
lea rdi, [rsp + 0x90]
mov r8d, 0x540
mov rcx, rdi
mov dl, 0xaa
call fcn.1401cdd90
mov qword [rsp + 0x88], 0
cmp qword [rsi + 0x10], 0
je 0x14010d03d
xor r15d, r15d
lea r12, [0x14025d280]
lea r13, [0x1401cf830]
lea rbp, [0x14018f580]
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 0x14010d175
mov rbx, qword [rax + 0x18]
imul r14, rcx, 0xa8
mov rcx, qword [rbx + r14 + 0x78]
test rcx, rcx
je 0x14010cb23
mov rax, qword [rcx + 0x18]
cmp rax, r13
je 0x14010ca90
cmp rax, rbp
jne 0x14010cb06
mov rax, qword [rcx + 0x28]
test rax, rax
je 0x14010cb16
movzx eax, byte [rax + 4]
test al, al
jne 0x14010cb16
cmp qword [rcx + 0x30], 0
je 0x14010cb16
nop dword [rax]
add rbx, r14
cmp qword [rbx + 0xa0], 0
jne 0x14010caf1
mov rax, qword [rsp + 0x88]
cmp rax, 2
jae 0x14010cd2c
cmp rax, 2
setae sil
test rax, rax
jne 0x14010cae2
mov rcx, qword [rsp + 0x5f0]
xor rcx, rsp
call fcn.140191d80
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.14010d5f0
jmp 0x14010cabc
mov rax, qword [rbx + 0x98]
test rax, rax
je 0x14010cb16
mov al, byte [rax + 4]
test al, al
je 0x14010ca9d
jmp 0x14010cb16
xor edx, edx
call qword [0x1402a3e88]
test al, al
je 0x14010ca90
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 0x14010d178
mov rcx, qword [rsp + 0x88]
mov r8d, 8
test cl, 1
je 0x14010cb54
mov r8, qword [rsp + 0x98]
imul rdx, r9, 0xa8
add rdx, qword [rax + 0x18]
mov rax, rcx
shr rax, 1
cmp rax, r8
je 0x14010ccfb
mov r8, rdi
test cl, 1
je 0x14010cb7e
mov r8, qword [rsp + 0x90]
imul rax, rax, 0xa8
add rax, r8
je 0x14010d17e
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 0x14010d17b
mov r14, qword [rax + 0x18]
imul rbx, rcx, 0xa8
mov rcx, qword [r14 + rbx + 0x98]
test rcx, rcx
jne 0x14010ccd6
add r14, rbx
mov rbx, qword [r14 + 0x88]
test rbx, rbx
jne 0x14010cccb
mov rbx, qword [r14 + 0x78]
test rbx, rbx
jne 0x14010cce2
mov rax, qword [rsi]
mov rcx, qword [rax + 8]
cmp rcx, qword [rax]
jne 0x14010ccbc
mov rcx, qword [rax + 0x28]
test rcx, rcx
jne 0x14010d003
dec qword [rsi + 0x10]
jne 0x14010ca1a
jmp 0x14010ca9d
lock dec dword [rbx + 8]
jne 0x14010cc9a
jmp 0x14010d044
lock dec dword [rcx]
jne 0x14010cc8b
call fcn.14018f5b0
jmp 0x14010cc8b
lock dec dword [rbx]
jne 0x14010cca3
mov rax, qword [rbx + 0x10]
cmp rax, r12
je 0x14010cd0d
mov rcx, rbx
call qword [0x1402a3e88]
jmp 0x14010cca3
lea rcx, [rsp + 0x88]
call fcn.14010df90
jmp 0x14010cc4e
mov rcx, qword [rbx + 0x28]
test rcx, rcx
jne 0x14010cd20
mov rcx, rbx
call fcn.14018f5b0
jmp 0x14010cca3
lock dec dword [rcx]
jne 0x14010cd16
call fcn.14018f5b0
jmp 0x14010cd16
cmp qword [rsi + 0x10], 0
jne 0x14010cfd1
movabs rbp, 0xaaaaaaaaaaaaaaaa
movabs r13, 0x8637bd05af7
cmp dword [rsi + 0x70], 0
jne 0x14010cf2a
mov rdi, qword [rsi + 0x30]
cmp qword [rsi + 8], 0
je 0x14010ce00
mov qword [rsp + 0x58], rbp
mov rax, qword [0x1402b5770]
lea rcx, [0x140118bd0]
cmp rax, rcx
jne 0x14010d15f
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 0x14010d43d
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402c5cb8]
mov qword [rsp + 0x58], rax
cmp rax, qword [rsi + 0x20]
jl 0x14010ce00
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 0x14010ce00
lea rcx, [rdx + 0x10]
xor r8d, r8d
add r8, qword [rax + 0x20]
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x14010cdea
cmp rcx, r8
jb 0x14010d0ed
lea rbx, [rdi + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14010d02f
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 0x14010d1d5
cmp byte [rdi + 0x148], 1
je 0x14010d39d
mov rax, qword [rdi + 0x18]
mov r15d, dword [rax + 8]
test r15d, r15d
jne 0x14010d191
mov rcx, qword [rdi + 0xa8]
cmp qword [rcx + 0x10], 0
sete byte [rdi + 0x58]
mov r15d, dword [rax + 8]
test r15d, r15d
jne 0x14010d1b3
mov cl, byte [rdi + 0x118]
mov byte [rdi + 0x5b], cl
mov r15d, dword [rax + 8]
test r15d, r15d
jne 0x14010d1f1
cmp qword [rdi + 0x98], 0
jne 0x14010d12d
mov rax, qword [rdi]
lea rcx, [fcn.14018e770]
cmp qword [rax + 0x10], rcx
jne 0x14010d116
mov rax, qword [rdi + 0x18]
mov r15d, dword [rax + 8]
test r15d, r15d
jne 0x14010d20d
cmp byte [rdi + 0x118], 1
jne 0x14010d126
mov rax, qword [rdi + 0x18]
mov r15d, dword [rax + 8]
test r15d, r15d
jne 0x14010d229
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 0x14010cfd1
mov qword [rsp + 0x58], rbp
mov rax, qword [0x1402b5770]
lea rcx, [0x140118bd0]
cmp rax, rcx
jne 0x14010d149
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 0x14010d416
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402c5cb8]
mov qword [rsp + 0x58], rax
cmp rax, qword [rsi + 0x20]
jl 0x14010cfd1
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 0x14010cfd1
lea rcx, [rdx + 0x10]
xor r8d, r8d
add r8, qword [rax + 0x20]
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x14010cfbb
cmp rcx, r8
jb 0x14010d0c4
cmp qword [rsi + 0x40], 0xffffffffffffffff
je 0x14010cfe4
mov rcx, qword [rsi + 0x28]
mov rdx, rsi
call fcn.14010d7e0
mov rdi, qword [rsi + 0x30]
mov al, byte [0x1402c5935]
test al, al
jne 0x14010d464
mov rax, qword [rsp + 0x88]
jmp 0x14010caaf
mov qword [rax + 0x28], 0
mov rbx, qword [rsi]
mov qword [rsi], rcx
test rbx, rbx
je 0x14010ccbc
mov rcx, rbx
call fcn.1401712f0
mov rcx, rbx
call fcn.14018f5b0
jmp 0x14010ccbc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x14010ce15
xor esi, esi
jmp 0x14010cabc
mov rcx, qword [rbx]
mov rax, qword [rcx + 8]
lea rdx, [0x1401f61e0]
cmp qword [rcx + 0x10], rdx
jne 0x14010d064
lea rcx, [0x14020bc90]
cmp rax, rcx
je 0x14010d077
mov rcx, rbx
mov edx, 1
call qword [0x1402a3e88]
jmp 0x14010cc9a
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14010d085
lock dec dword [rcx]
je 0x14010d0bd
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14010d096
mov rax, rcx
lock dec dword [rcx]
je 0x14010d0a3
mov rcx, rbx
call fcn.14018f5b0
jmp 0x14010cc9a
mov qword [rsp + 0x50], rax
lea rcx, [rax + 8]
call fcn.1401435c0
mov rcx, qword [rsp + 0x50]
call fcn.14018f5b0
jmp 0x14010d096
call fcn.14018f5b0
jmp 0x14010d085
mov rcx, rsi
call fcn.140136890
mov eax, 0x4c4b40
add rax, qword [rsp + 0x58]
movabs rcx, 0x7fffffffffffffff
cmovno rcx, rax
mov qword [rsi + 0x20], rcx
jmp 0x14010cfd1
mov rcx, rsi
call fcn.140136890
mov eax, 0x4c4b40
add rax, qword [rsp + 0x58]
movabs rcx, 0x7fffffffffffffff
cmovno rcx, rax
mov qword [rsi + 0x20], rcx
jmp 0x14010ce00
mov rcx, rdi
call fcn.14018e770
test al, al
jne 0x14010cf05
xor eax, eax
jmp 0x14010cf1e
mov rax, qword [rdi + 0x18]
mov r15d, dword [rax + 8]
test r15d, r15d
jne 0x14010d5c4
mov al, byte [rdi + 0x118]
jmp 0x14010cf1e
lea rdi, [rsp + 0x58]
mov rcx, rdi
call qword [0x1402a3e88]
mov rax, qword [rdi]
jmp 0x14010cf8a
lea rbx, [rsp + 0x58]
mov rcx, rbx
call qword [0x1402a3e88]
mov rax, qword [rbx]
jmp 0x14010cdb9
int3
int3
int3
lea rcx, [0x140274353]
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h:40:_assertion___location___nullptr_failed:_null_pointer_given_to_construct_at_n
call fcn.1401ceb00
lea r14, [rsp + 0x5d0]
mov rcx, r14
call fcn.14018d170
cmp r15d, dword [r14]
jne 0x14010d5e3
mov rax, qword [rdi + 0x18]
jmp 0x14010ce92
lea r14, [rsp + 0x5d0]
mov rcx, r14
call fcn.14018d170
cmp r15d, dword [r14]
jne 0x14010d5e6
mov rax, qword [rdi + 0x18]
jmp 0x14010ceaf
lea r14, [rsp + 0x5d0]
mov rcx, r14
call fcn.14018d170
cmp r15d, dword [r14]
je 0x14010ce74
int3
lea r14, [rsp + 0x5d0]
mov rcx, r14
call fcn.14018d170
cmp r15d, dword [r14]
je 0x14010cec5
int3
lea r14, [rsp + 0x5d0]
mov rcx, r14
call fcn.14018d170
cmp r15d, dword [r14]
je 0x14010cef8
int3
lea r14, [rsp + 0x5d0]
mov rcx, r14
call fcn.14018d170
cmp r15d, dword [r14]
je 0x14010cf16
int3
add r12, rax
mov rcx, qword [rdi + 0x18]
call fcn.14018ed40
cmp byte [rdi + 0x148], 1
jne 0x14010d261
mov byte [rdi + 0x148], 0
lea r14, [rsp + 0x58]
mov rcx, r12
mov rdx, r14
call fcn.14013fc10
lea r15, [rsp + 0x5d0]
mov rcx, r15
mov rdx, r14
call fcn.1400efb20
mov rcx, qword [rdi + 0x18]
call fcn.14018ed40
lea r14, [rdi + 0x120]
mov rcx, r14
mov rdx, r15
call fcn.14020acf0
mov rcx, qword [rdi + 0x18]
call fcn.14018ed40
mov rcx, qword [rdi + 0x18]
mov r15, qword [rdi + 0xa8]
call fcn.14018ed40
cmp byte [rdi + 0x138], 0
je 0x14010d5b1
mov eax, dword [r14 + 0x10]
mov dword [rsp + 0x5e0], eax
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0x5d0], xmm0
mov rcx, r15
call fcn.1401d13a0
lea rax, [r15 + 0x50]
cmp byte [r15 + 0x68], 1
jne 0x14010d56e
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.14018ed40
mov rcx, qword [rdi + 0x18]
mov r15, qword [rdi + 0xa0]
call fcn.14018ed40
cmp byte [rdi + 0x138], 0
je 0x14010d5b1
mov eax, dword [r14 + 0x10]
mov dword [rsp + 0x5e0], eax
movups xmm0, xmmword [r14]
movaps xmmword [rsp + 0x5d0], xmm0
mov rcx, r15
call fcn.1401d13a0
lea rax, [r15 + 0x50]
cmp byte [r15 + 0x68], 1
jne 0x14010d58d
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 [0x1402b5708]
jne 0x14010ce81
mov rcx, r14
call fcn.1400fd700
jmp 0x14010ce81
movaps xmm0, xmmword [0x14026f080]
lea r14, [rsp + 0x70]
movaps xmmword [r14], xmm0
mov rdx, qword [rsi]
mov rcx, r14
call fcn.14020bdb0
mov rax, qword [r14]
xor r14d, r14d
test rax, rax
je 0x14010d376
mov r15, qword [rsp + 0x78]
cmp qword [rax + 0x20], r15
jbe 0x14010d5e0
mov r12, qword [rax + 0x18]
mov rcx, qword [rdi + 0x18]
call fcn.14018ed40
cmp byte [rdi + 0x148], 0
je 0x14010d5ac
imul rax, r15, 0xa8
mov rcx, qword [r12 + rax + 0x20]
cmp rcx, qword [rdi + 0x140]
jge 0x14010d245
lea rcx, [rsp + 0x70]
call fcn.14020ad40
mov rax, qword [rsp + 0x70]
jmp 0x14010d3be
mov rcx, qword [0x1402c5cb8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14010cf85
mov rcx, qword [0x1402c5cb8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14010cdb4
mov rcx, qword [rdi + 0x18]
call fcn.14018ed00
test al, al
je 0x14010cff6
lea rsi, [rdi + 0x28]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x14010d48f
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rcx, qword [rdi + 0x18]
mov r14, qword [rdi + 0x40]
call fcn.14018ed40
mov rcx, qword [rdi + 0x18]
mov rax, qword [rdi + 0xa8]
mov rbx, qword [rax + 0x10]
call fcn.14018ed40
mov rcx, qword [rdi + 0x18]
mov rax, qword [rdi + 0xa0]
mov r15, qword [rax + 0x10]
call fcn.14018ed40
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 [0x1402c5935]
test al, al
je 0x14010cff6
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.14020bd80
lea r8, [rsp + 0x58]
mov qword [r8], rax
lea rax, [rsp + 0x84]
mov dword [rax], ebp
lea rcx, [0x140276ba8]
lea rdx, [rsp + 0x5d0]
mov qword [rdx], rcx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdx
lea rax, [0x140276590]
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 0x14010cff6
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 0x14010d308
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 0x14010d371
call fcn.1401ceb00
lea rcx, [0x140274353]
lea rdx, str....._third_partylibc_srcincludeoptional:800:_assertion_this__has_value___failed:_optional_operator_called_on_a_disengaged_value_n
call fcn.1401ceb00
lea r14, [rsp + 0x5d0]
mov rcx, r14
call fcn.14018d170
cmp r15d, dword [r14]
je 0x14010d13e
int3
int3
int3
int3