Function at 0x1400a1230
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, 0x188
movaps xmmword [rsp + 0x170], xmm10
movaps xmmword [rsp + 0x160], xmm9
movaps xmmword [rsp + 0x150], xmm8
movaps xmmword [rsp + 0x140], xmm7
movaps xmmword [rsp + 0x130], xmm6
mov rsi, rcx
mov rax, qword [0x1401f6040]
xor rax, rsp
mov qword [rsp + 0x128], rax
mov qword [rsp + 0xa0], 0xb
mov al, byte [0x14020815b]
test al, al
jne 0x1400a2b54
mov qword [rsp + 0xa0], 0xb
mov al, byte [0x14020815b]
test al, al
jne 0x1400a2b9a
mov rcx, qword [rsi + 0x48]
test rcx, rcx
jne 0x1400a2aff
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
call qword [0x1401e8220]
mov rcx, qword [rax]
mov r8, qword [rcx + 0x10]
mov rcx, rax
mov rdx, rsi
mov rax, r8
call qword [0x1401e8220]
mov eax, dword [0x1402086a8]
test eax, eax
je 0x1400a13ab
mov rax, qword [rsi + 0x38]
mov rax, qword [rax + 0x10]
mov eax, dword [rax]
test al, 1
jne 0x1400a1310
cmp dword [rsi + 0x50], 0
je 0x1400a13ab
mov rcx, qword [0x140208698]
test rcx, rcx
je 0x1400a296f
lea rdi, [rsp + 0xc0]
mov rdx, rdi
mov r8d, 2
call fcn.1400348d0
mov rax, qword [rdi]
mov qword [rsp + 0x60], rax
mov r12b, 1
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbp, [rsp + 0xf0]
mov eax, dword [0x1402053a0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
lea rax, [rax + 0x158]
mov qword [rsp + 0x68], rax
mov r14, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
movaps xmm6, xmmword [0x1401c7000]
xor r13d, r13d
movsd xmm7, qword [0x1401decd8]
movsd xmm8, qword [0x1401d7010]
movsd xmm9, qword [0x1401d7008]
xorps xmm10, xmm10
mov qword [rsp + 0x40], r12
jmp 0x1400a1832
xor eax, eax
mov qword [rsp + 0x60], rax
xor r12d, r12d
jmp 0x1400a1341
mov al, byte [rsi + 0x30]
test al, al
jne 0x1400a1421
mov rax, qword [rsi]
mov rax, qword [rax + 0x20]
mov rcx, rsi
call qword [0x1401e8220]
test al, al
jne 0x1400a1421
mov rbx, qword [rsi + 0x38]
lea rdi, [rbx + 0x60]
mov rcx, rdi
call r14
test al, al
je 0x1400a237a
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400a242b
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
call qword [0x1401e8220]
mov rcx, qword [rax]
mov rdx, qword [rcx + 0x40]
mov rcx, rax
mov rax, rdx
call qword [0x1401e8220]
mov rax, qword [rsp + 0x90]
jmp 0x1400a1781
mov rbp, qword [rsp + 0xd8]
mov rcx, rbx
cmp rbp, rbx
je 0x1400a148d
mov rax, rbp
add rbp, 0xfffffffffffffff0
je 0x1400a274b
mov rdi, qword [rbp]
test rdi, rdi
jne 0x1400a204a
mov qword [rbp], 0
test rdi, rdi
jne 0x1400a2073
mov rcx, qword [rbp]
test rcx, rcx
jne 0x1400a28e2
cmp rbp, rbx
movabs r15, 0xaaaaaaaaaaaaaaaa
jne 0x1400a143e
mov rcx, qword [rsp + 0xd0]
mov qword [rsp + 0xd8], rbx
call fcn.1400d2b80
lea rbp, [rsp + 0xf0]
jmp 0x1400a152f
lea rax, [0x1401c9ba0]
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xe8]
mov rax, rdx
mov r14, rbp
and rax, 1
jne 0x1400a23e2
mov rbx, rdx
shr rbx, 1
mov cl, 1
cmp rdx, 2
jae 0x1400a218e
mov rdx, rbp
test rax, rax
mov r14, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
jne 0x1400a2473
test cl, cl
je 0x1400a2137
test rax, rax
jne 0x1400a24c6
mov qword [rsp + 0xe8], 0
cmp byte [rsp + 0x100], 0
jne 0x1400a2388
mov rbx, qword [rsp + 0xd0]
test rbx, rbx
jne 0x1400a142e
mov rax, qword [rsp + 0x90]
test rax, rax
je 0x1400a13b7
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0x118]
call fcn.140078880
mov rcx, qword [rsi + 0x38]
movaps xmm0, xmmword [rsp + 0x90]
movups xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x90], xmm10
lea rdx, [rsp + 0xc0]
lea r8, [rsp + 0x80]
call fcn.1400a51e0
mov r8, qword [rsp + 0x90]
test r8, r8
jne 0x1400a252c
mov qword [rsp + 0x120], r8
mov qword [rsp + 0x90], 0
test r8, r8
jne 0x1400a2507
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0xc0], 0
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x90], rax
test rcx, rcx
jne 0x1400a2561
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x120], rax
lea rcx, [rsp + 0x120]
call fcn.140078880
test r12b, r12b
je 0x1400a16cd
cmp byte [rsp + 0xb8], 1
jne 0x1400a16a9
cmp byte [rsp + 0xa0], 1
jne 0x1400a16a9
mov rax, qword [rsp + 0x68]
mov rdi, qword [rax]
test rdi, rdi
je 0x1400a16a9
mov rax, qword [rdi + 0x10]
test rax, rax
js 0x1400a2480
cmp dword [rdi + 0x24], 1
jne 0x1400a26b4
cmp qword [rdi + 0x18], 0
jne 0x1400a263b
movabs rax, 0xbfffffffffffffff
lock and qword [rdi + 0x10], rax
mov rbx, qword [rsp + 0xa8]
cmp qword [rdi + 0x18], 0
jne 0x1400a2664
mov rax, qword [rdi + 0x10]
movabs rcx, 0x4000000000000000
and rax, rcx
movabs rcx, 0xffffffffffffff
and rbx, rcx
or rbx, rax
mov qword [rdi + 0x10], rbx
dec dword [rdi + 0x24]
mov qword [rsp + 0xa8], 0
mov byte [rsp + 0xb0], r13b
mov byte [rsp + 0xa0], r13b
mov byte [rsp + 0xb8], 1
movaps xmmword [rsp + 0xc0], xmm6
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
lea rcx, [0x1400a2ce0]
cmp rax, rcx
jne 0x1400a217d
mov rcx, qword [rsi + 0x70]
movapd xmm0, xmmword [rsp + 0x90]
movupd xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x90], xmm10
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
lea rdx, [fcn.1400a3e20]
cmp rax, rdx
jne 0x1400a223b
lea rdx, [rsp + 0xc0]
lea r8, [rsp + 0x70]
mov r9, rsi
call fcn.1400a3e20
mov rax, qword [rsi + 0x38]
mov rax, qword [rax + 0x10]
mov eax, dword [rax]
test al, 1
jne 0x1400a2370
mov edi, dword [rsi + 0x50]
cmp dword [rsi + 0x54], edi
jne 0x1400a24d8
cmp qword [rsp + 0x90], 0
jne 0x1400a2466
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0xc8]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], rcx
test rax, rax
jne 0x1400a1540
mov dil, 1
cmp byte [rsp + 0xb8], 1
jne 0x1400a1829
cmp byte [rsp + 0xa0], 1
jne 0x1400a1829
mov rax, qword [rsp + 0x68]
mov rbx, qword [rax]
test rbx, rbx
je 0x1400a1829
mov rax, qword [rbx + 0x10]
test rax, rax
js 0x1400a24e7
cmp dword [rbx + 0x24], 1
jne 0x1400a27f7
cmp qword [rbx + 0x18], 0
jne 0x1400a2725
movabs rax, 0xbfffffffffffffff
lock and qword [rbx + 0x10], rax
mov r14, qword [rsp + 0xa8]
cmp qword [rbx + 0x18], 0
jne 0x1400a27a4
mov rax, qword [rbx + 0x10]
movabs rcx, 0x4000000000000000
and rax, rcx
movabs rcx, 0xffffffffffffff
and r14, rcx
or r14, rax
mov qword [rbx + 0x10], r14
dec dword [rbx + 0x24]
mov r14, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test dil, dil
je 0x1400a1f56
mov al, byte [rsi + 0x30]
test al, al
jne 0x1400a1f56
mov rax, qword [rsi]
mov rax, qword [rax + 0x20]
lea rcx, [0x1400a2cf0]
cmp rax, rcx
jne 0x1400a2256
mov rax, qword [rsi + 0x70]
mov rax, qword [rax + 0x18]
mov al, byte [rax]
test al, al
jne 0x1400a1f56
mov rbx, qword [rsi + 0x38]
lea rdi, [rbx + 0x60]
mov rcx, rdi
call r14
test al, al
je 0x1400a2310
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400a1f3e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0xb0], xmm6
mov byte [rsp + 0xa0], r13b
mov byte [rsp + 0xb8], r13b
mov qword [rsp + 0x90], 0xb
mov al, byte [0x14020815b]
test al, al
jne 0x1400a283a
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
lea rcx, [0x1400a2ce0]
cmp rax, rcx
jne 0x1400a2295
mov rdi, qword [rsi + 0x70]
mov rax, qword [rdi]
lea rcx, [fcn.140175f20]
cmp qword [rax + 0x30], rcx
jne 0x1400a2491
mov qword [rsp + 0x120], r15
mov rax, qword [rdi]
mov rax, qword [rax + 0x28]
lea rcx, [0x1400d2700]
cmp rax, rcx
jne 0x1400a22a6
cmp byte [rdi - 8], 1
movabs r12, 0x7fffffffffffffff
mov rax, r12
jne 0x1400a195a
mov rax, qword [rdi - 0x18]
cvtsi2sd xmm0, qword [rax + 0x30]
mulsd xmm0, xmm7
ucomisd xmm0, xmm8
mov rcx, r12
cmovb rcx, r13
ucomisd xmm9, xmm0
maxsd xmm0, xmm8
cvttsd2si rax, xmm0
cmovb rax, rcx
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x118], r15
mov rax, qword [fcn.1400a9760]
lea rcx, [0x14007dcb0]
cmp rax, rcx
jne 0x1400a23c9
mov qword [rsp + 0xc0], 0
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0xc0]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x1400a274d
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402085c8]
mov rbp, rax
mov qword [rsp + 0x110], rbp
mov rax, qword [rdi]
lea rcx, [fcn.140176160]
cmp qword [rax + 0x50], rcx
jne 0x1400a261d
mov eax, dword [0x14020f890]
mov ecx, dword [0x1402053a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400a22d4
cmp byte [0x14020f88c], 0
je 0x1400a249e
mov eax, dword [0x14020f8a0]
mov ecx, dword [0x1402053a0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400a2264
mov rax, qword [rdi + 8]
test rax, rax
jne 0x1400a1a4c
mov rax, qword [0x14020f898]
mov ecx, 0x3938700
add rax, rcx
cmovo rax, r12
cmp rax, rbp
mov r8d, 0xf4240
cmovl rcx, r8
add rcx, rbp
cmovo rcx, r12
mov rax, rcx
movabs rdx, 0x431bde82d7b634db
imul rdx
mov rax, rdx
shr rax, 0x3f
sar rdx, 0x12
add rdx, rax
imul rax, rdx, 0xf4240
mov rdx, rcx
sub rdx, rax
test rcx, rcx
mov ebx, 0
cmovg rbx, r8
sub rbx, rdx
test rdx, rdx
cmove rbx, rdx
lea rax, [rcx + rbx]
sar rax, 0x3f
btc rax, 0x3f
add rbx, rcx
cmovo rbx, rax
xor eax, eax
cmp rbx, rbp
setns al
add rax, r12
sub rbx, rbp
cmovo rbx, rax
mov qword [rsp + 0x118], rbx
mov rax, qword [rsp + 0x120]
cmp rax, rbx
cmovl rbx, rax
mov r14, qword [rdi + 0x10]
add r12, rbx
add r12, 2
cmp r12, 2
jb 0x1400a2356
mov rax, rbx
movabs rcx, 0x20c49ba5e353f7cf
imul rcx
mov rbp, rdx
mov rax, rdx
shr rax, 0x3f
sar rbp, 7
add rbp, rax
xor eax, eax
test rbp, rbp
setns al
neg eax
mov rcx, rbp
shr rcx, 0x20
cmovne ebp, eax
mov qword [rsp + 0x90], r15
mov rax, qword [fcn.1400a9760]
lea rcx, [0x14007dcb0]
cmp rax, rcx
jne 0x1400a23b6
mov qword [rsp + 0xc0], 0
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0xc0]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x1400a26fe
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402085c8]
mov qword [rsp + 0x90], rax
mov rcx, qword [r14]
mov edx, ebp
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400a1ddb
mov byte [rdi + 0x20], 0
mov r12, qword [rsp + 0x40]
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbp, [rsp + 0xf0]
mov r14, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov qword [rsp + 0x120], 0xb
mov al, byte [0x14020815b]
test al, al
jne 0x1400a2880
mov al, byte [rsi + 0x30]
test al, al
jne 0x1400a1dd4
mov rax, qword [rsi]
mov rax, qword [rax + 0x20]
lea rcx, [0x1400a2cf0]
cmp rax, rcx
jne 0x1400a22c6
mov rax, qword [rsi + 0x70]
mov rax, qword [rax + 0x18]
mov al, byte [rax]
test al, al
jne 0x1400a1dd4
mov rbx, qword [rsi + 0x38]
lea rdi, [rbx + 0x60]
mov rcx, rdi
call r14
test al, al
je 0x1400a231e
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400a240e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test r12b, r12b
je 0x1400a1c86
cmp byte [rsp + 0xb8], 1
je 0x1400a24b4
mov qword [rsp + 0xa8], 0
mov byte [rsp + 0xb0], r13b
mov byte [rsp + 0xa0], r13b
mov byte [rsp + 0xb8], 1
mov rax, qword [rsi + 0x38]
mov rax, qword [rax + 0x10]
mov eax, dword [rax]
test al, 1
jne 0x1400a2469
mov edi, dword [rsi + 0x50]
cmp dword [rsi + 0x54], edi
jne 0x1400a24f8
movaps xmmword [rsp + 0x90], xmm6
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
lea rcx, [0x1400a2ce0]
cmp rax, rcx
jne 0x1400a232c
mov rdi, qword [rsi + 0x70]
mov rax, qword [rdi]
mov rax, qword [rax + 0x18]
lea rcx, [0x1400cf520]
cmp rax, rcx
jne 0x1400a233d
movups xmmword [rbp + 0x10], xmm6
movups xmmword [rbp], xmm6
mov rbx, qword [rdi - 0x18]
mov qword [rsp + 0xc8], rbx
mov byte [rsp + 0x100], 0
movups xmmword [rbp - 0x10], xmm10
movups xmmword [rbp - 0x20], xmm10
lea r13, [0x1401c9ba8]
mov qword [rsp + 0xc0], r13
mov dword [rsp + 0x108], 0
add rbx, 0x68
mov rcx, rbx
call r14
test al, al
je 0x1400a1dc6
add rdi, 0xffffffffffffffc0
mov rcx, rdi
lea rdx, [rsp + 0x90]
lea r8, [rsp + 0xc0]
mov r9, rsi
call fcn.1400a2d10
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [rsp + 0xc0], r13
cmp dword [rsp + 0x108], 0
mov r13d, 0
jle 0x1400a14a7
xor edi, edi
mov qword [rsp + 0x110], 0x9b
mov al, byte [0x1402081eb]
test al, al
jne 0x1400a2903
mov rax, qword [rsp + 0xc8]
mov rcx, qword [rax + 0x1b8]
mov edx, 1
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
test eax, eax
je 0x1400a2661
inc edi
cmp edi, dword [rsp + 0x108]
jge 0x1400a14a7
jmp 0x1400a1d76
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x1400a1d30
xor edi, edi
jmp 0x1400a178d
mov r15d, eax
mov rax, qword [rsp + 0x90]
cmp r12, 2
jb 0x1400a2777
lea rcx, [rax + rbx]
sar rcx, 0x3f
btc rcx, 0x3f
add rax, rbx
cmovo rax, rcx
mov rcx, rax
mov qword [rsp + 0x38], rcx
mov rax, qword [fcn.1400a9760]
lea rcx, [0x14007dcb0]
cmp rax, rcx
jne 0x1400a2448
mov qword [rsp + 0xc0], 0
lea rcx, [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0xc0]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x1400a2c96
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402085c8]
mov rcx, qword [rsp + 0x38]
cmp rax, rcx
jle 0x1400a1ba0
cmp r15d, 0x102
jne 0x1400a295f
mov eax, dword [0x1402053a0]
mov rcx, qword gs:[0x58]
mov rax, qword [rcx + rax*8]
mov byte [rdi + 0x20], 1
mov rbx, qword [rax + 0x180]
cmp rbx, 2
mov r12, qword [rsp + 0x40]
lea rbp, [rsp + 0xf0]
jb 0x1400a1eda
mov byte [rbx + 4], 0
mov r14d, pe_nt_image_headers64
lea rdx, [rbx + r14]
mov rcx, rbx
xor r8d, r8d
call fcn.1400b8e20
add r14, 0x10
cmp r14, 0x4f8
jne 0x1400a1ebe
mov rcx, qword [rsp + 0x118]
mov rax, qword [rsp + 0x120]
cmp rax, rcx
movabs r15, 0xaaaaaaaaaaaaaaaa
jle 0x1400a1bce
setns dl
movzx r8d, dl
movabs r9, 0x7fffffffffffffff
add r8, r9
mov rdx, rax
sub rdx, rcx
cmovo rdx, r8
add rcx, r9
add rcx, 2
cmp rcx, 2
cmovb rdx, r9
cmp rax, r9
cmove rdx, r9
mov rcx, rdi
call fcn.1400a9210
jmp 0x1400a1bce
call fcn.1400496f0
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test bl, bl
je 0x1400a1892
mov rax, qword [rsi]
mov rax, qword [rax + 0x18]
mov rcx, rsi
call qword [0x1401e8220]
mov rcx, qword [rax]
mov r8, qword [rcx + 0x38]
mov rcx, rax
mov rdx, rsi
mov rax, r8
call qword [0x1401e8220]
mov rcx, qword [rsi + 0x48]
test rcx, rcx
jne 0x1400a2b11
mov rdi, qword [rsi + 0x10]
mov qword [rsi + 0x10], 0
test rdi, rdi
jne 0x1400a23ef
mov qword [rsp + 0xa0], 0xb
mov al, byte [0x14020815b]
test al, al
mov rsi, qword [rsp + 0x60]
jne 0x1400a2be0
mov qword [rsp + 0xa0], 0xb
mov al, byte [0x14020815b]
test al, al
jne 0x1400a2c26
test rsi, rsi
je 0x1400a1ffb
mov rax, qword [rsi + 8]
mov rcx, rsi
call qword [0x1401e8220]
lock dec dword [rsi]
jne 0x1400a1ffb
mov rax, qword [rsi + 0x10]
mov rcx, rsi
call qword [0x1401e8220]
mov rcx, qword [rsp + 0x128]
xor rcx, rsp
call fcn.1400d4e20
movaps xmm6, xmmword [rsp + 0x130]
movaps xmm7, xmmword [rsp + 0x140]
movaps xmm8, xmmword [rsp + 0x150]
movaps xmm9, xmmword [rsp + 0x160]
movaps xmm10, xmmword [rsp + 0x170]
add rsp, 0x188
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r15, qword [rax - 8]
test r15, r15
je 0x1400a1458
mov qword [rbp], 0
mov al, byte [rdi + 0xd]
and al, 0x7f
cmp al, 2
je 0x1400a2962
lock dec dword [r15 + 0x18]
je 0x1400a2097
lock dec dword [rdi + 8]
jne 0x1400a1469
mov rax, qword [rdi]
mov rax, qword [rax + 0x30]
mov rcx, rdi
mov edx, 1
call qword [0x1401e8220]
jmp 0x1400a1469
lea rcx, [r15 + 0x20]
mov qword [rsp + 0x38], rcx
call r14
test al, al
je 0x1400a2b23
lea rcx, [r15 + 0x28]
call qword [sym.imp.KERNEL32.dll_WakeAllConditionVariable]
mov rcx, qword [rsp + 0x38]
mov r12, qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
call r12
mov rcx, qword [rsp + 0x38]
call r14
test al, al
je 0x1400a2b33
mov rax, qword [r15 + 0x40]
mov qword [rsp + 0x58], rax
mov rax, qword [r15 + 0x48]
mov qword [rsp + 0x50], rax
movups xmmword [r15 + 0x40], xmm10
mov r14, qword [r15 + 0x50]
mov r12, qword [r15 + 0x58]
movups xmmword [r15 + 0x50], xmm10
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, r12
mov r15, r14
cmp r14, r12
jne 0x1400a2976
lea rcx, str.___b_
mov rdx, qword [rsp + 0x58]
xor r8d, r8d
call fcn.1400798e0
mov r12, qword [rsp + 0x40]
mov r14, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
jmp 0x1400a1460
lea r14, [rdx + rbx*8]
add r14, 0xfffffffffffffff8
neg rbx
test r14, r14
je 0x1400a274b
mov rdi, qword [r14]
test rdi, rdi
je 0x1400a215d
lock dec dword [rdi + 8]
je 0x1400a2c6c
add r14, 0xfffffffffffffff8
inc rbx
jne 0x1400a2142
mov rax, qword [rsp + 0xe8]
and eax, 1
mov r14, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
jmp 0x1400a14fb
mov rcx, rsi
call qword [0x1401e8220]
mov rcx, rax
jmp 0x1400a16f0
shl rbx, 3
xor r15d, r15d
mov rdi, qword [r14 + r15]
test rdi, rdi
je 0x1400a21b3
mov eax, 1
lock xadd dword [rdi + 8], eax
cmp eax, 0x7fffffff
je 0x1400a2959
mov rax, qword [rsp + 0xc8]
mov rdx, qword [rax + 0x40]
mov r8, qword [rax + 0x48]
test rdx, rdx
je 0x1400a21dd
mov eax, 1
lock xadd dword [rdx + 8], eax
cmp eax, 0x7fffffff
je 0x1400a295c
mov rcx, rdi
call fcn.140027b10
mov rcx, qword [rsp + 0xc8]
cmp byte [rcx + 0x1a8], 1
je 0x1400a2b43
test rdi, rdi
je 0x1400a2209
lock dec dword [rdi + 8]
je 0x1400a2c81
add r15, 8
cmp rbx, r15
jne 0x1400a2195
mov rcx, qword [rsp + 0xe8]
mov rbx, rcx
shr rbx, 1
mov eax, ecx
and eax, 1
cmp rcx, 2
setb cl
movabs r15, 0xaaaaaaaaaaaaaaaa
jmp 0x1400a14e0
lea rdx, [rsp + 0xc0]
lea r8, [rsp + 0x70]
mov r9, rsi
call qword [0x1401e8220]
jmp 0x1400a1734
mov rcx, rsi
call qword [0x1401e8220]
jmp 0x1400a185e
lea rcx, [0x14020f8a0]
call fcn.1400d2c50
cmp dword [0x14020f8a0], 0xffffffff
jne 0x1400a1a3c
mov qword [0x14020f898], rbp
lea rcx, [0x14020f8a0]
call fcn.1400d2be4
jmp 0x1400a1a3c
mov rcx, rsi
call qword [0x1401e8220]
mov rdi, rax
jmp 0x1400a18e7
mov rcx, rdi
lea rdx, [rsp + 0x120]
call qword [0x1401e8220]
movabs r12, 0x7fffffffffffffff
jmp 0x1400a1962
mov rcx, rsi
call qword [0x1401e8220]
jmp 0x1400a1c1b
lea rcx, [0x14020f890]
call fcn.1400d2c50
cmp dword [0x14020f890], 0xffffffff
jne 0x1400a1a0a
lea rcx, str.DelayFirstWorkerWake
call fcn.1400a8fa0
mov byte [0x14020f88c], al
lea rcx, [0x14020f890]
call fcn.1400d2be4
jmp 0x1400a1a0a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x1400a187c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x1400a1c39
mov rcx, rsi
call qword [0x1401e8220]
mov rdi, rax
jmp 0x1400a1cc7
mov rcx, rdi
lea rdx, [rsp + 0x90]
mov r8, rsi
call qword [0x1401e8220]
jmp 0x1400a152f
movabs rax, 0x7fffffffffffffff
lea rbp, [rax + 1]
test rbx, rbx
cmovns rbp, rax
jmp 0x1400a1b20
mov edi, 3
jmp 0x1400a1749
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x1400a13e8
mov rcx, qword [rsp + 0xc8]
call fcn.14010d740
cmp qword [rsp + 0xe8], 0
je 0x1400a151e
lea rcx, [rsp + 0xe8]
call fcn.140154dc0
jmp 0x1400a151e
lea rcx, [rsp + 0x90]
call qword [0x1401e8220]
jmp 0x1400a1ba0
lea rbx, [rsp + 0x110]
mov rcx, rbx
call qword [0x1401e8220]
mov rbp, qword [rbx]
jmp 0x1400a19d1
mov r14, qword [rsp + 0xf0]
jmp 0x1400a14ce
lock dec dword [rdi + 8]
jne 0x1400a1f9e
mov rcx, rdi
call fcn.1401766a0
mov rcx, rdi
call fcn.1400d2b80
jmp 0x1400a1f9e
call fcn.1400496f0
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test bl, bl
jne 0x1400a1dd4
jmp 0x1400a1c4f
call fcn.1400496f0
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test bl, bl
je 0x1400a13fe
jmp 0x1400a1421
lea rcx, [rsp + 0xc0]
call qword [0x1401e8220]
lea rax, [rsp + 0xc0]
mov rax, qword [rax]
jmp 0x1400a1e68
int3
mov edi, 3
jmp 0x1400a1c9b
mov rdx, qword [rsp + 0xf0]
jmp 0x1400a14f3
mov rcx, qword [0x140208698]
call fcn.140141dd0
jmp 0x1400a164a
mov rcx, rdi
call fcn.140175f20
jmp 0x1400a1bd5
mov qword [rsp + 0x118], 0xf4240
mov ebx, 0xf4240
jmp 0x1400a1adb
lea rcx, [rsp + 0xa0]
call fcn.1400d1890
jmp 0x1400a1c62
mov rcx, qword [rsp + 0xf0]
call fcn.1400d2b80
jmp 0x1400a1504
mov ecx, edi
call fcn.14004eab0
mov dword [rsi + 0x54], edi
jmp 0x1400a1752
mov rcx, qword [0x140208698]
call fcn.140141dd0
jmp 0x1400a17c3
mov ecx, edi
call fcn.14004eab0
mov dword [rsi + 0x54], edi
jmp 0x1400a1ca4
lock dec dword [r8 + 8]
jne 0x1400a15b5
mov rax, qword [r8]
mov rax, qword [rax + 0x30]
mov rcx, r8
mov edx, 1
call qword [0x1401e8220]
jmp 0x1400a15b5
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1400a1598
mov qword [rsp + 0x90], 0
lea rdi, [rsp + 0x120]
mov rdx, rdi
call fcn.140015b10
mov r8, qword [rdi]
jmp 0x1400a15ac
lock dec dword [rcx + 8]
jne 0x1400a2579
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
mov edx, 1
call qword [0x1401e8220]
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x98], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0xc0], xmm0
test rcx, rcx
mov r12, qword [rsp + 0x40]
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbp, [rsp + 0xf0]
mov r14, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov r13d, 0
je 0x1400a15f2
lock dec dword [rcx + 8]
je 0x1400a2609
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
mov r12, qword [rsp + 0x40]
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbp, [rsp + 0xf0]
mov r14, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov r13d, 0
je 0x1400a15f2
jmp 0x1400a2cbd
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
mov edx, 1
call qword [0x1401e8220]
jmp 0x1400a25cf
lea rbx, [rsp + 0x118]
mov rcx, rdi
mov rdx, rbx
mov r8, rbp
call fcn.140176160
mov rbx, qword [rbx]
jmp 0x1400a1adb
lea rcx, [rdi + 0x18]
mov rbx, qword [rdi + 0x10]
call fcn.140141e20
movabs rcx, 0xff00000000000000
and rcx, rbx
or rcx, rax
mov qword [rdi + 0x10], rcx
jmp 0x1400a165f
int3
lea rcx, [rdi + 0x18]
mov r14, qword [rdi + 0x10]
call fcn.140141e20
movabs rcx, 0xff00000000000000
and rcx, r14
mov r14, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
or rcx, rax
mov qword [rdi + 0x10], rcx
jmp 0x1400a1681
lea rcx, [rdi + 0x18]
mov rbx, qword [rdi + 0x10]
call fcn.140141e20
movabs rcx, 0xff00000000000000
and rcx, rbx
or rcx, rax
mov qword [rdi + 0x10], rcx
jmp 0x1400a26c9
cmp byte [rsp + 0xb0], 1
jne 0x1400a166e
cmp qword [rdi + 0x18], 0
jne 0x1400a2691
movabs rax, 0x4000000000000000
lock or qword [rdi + 0x10], rax
mov r12, qword [rsp + 0x40]
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbp, [rsp + 0xf0]
mov r14, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
xor r13d, r13d
jmp 0x1400a166e
mov rcx, qword [0x1402085c8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1400a1b98
lea rcx, [rbx + 0x18]
mov r14, qword [rbx + 0x10]
call fcn.140141e20
movabs rcx, 0xff00000000000000
and rcx, r14
or rcx, rax
mov qword [rbx + 0x10], rcx
jmp 0x1400a17d8
ud2
mov rcx, qword [0x1402085c8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
mov rbp, rax
add rbp, r8
jmp 0x1400a19c9
mov rcx, rbx
cmp rax, rbx
je 0x1400a1e07
movabs rcx, 0x7fffffffffffffff
add rax, rcx
add rax, 2
mov rcx, rbx
cmp rax, 1
ja 0x1400a1e07
int3
lea rcx, [rbx + 0x18]
mov r15, qword [rbx + 0x10]
call fcn.140141e20
movabs rcx, 0xff00000000000000
and rcx, r15
movabs r15, 0xaaaaaaaaaaaaaaaa
or rcx, rax
mov qword [rbx + 0x10], rcx
jmp 0x1400a17fa
lea rcx, [rbx + 0x18]
mov r14, qword [rbx + 0x10]
call fcn.140141e20
movabs rcx, 0xff00000000000000
and rcx, r14
or rcx, rax
mov qword [rbx + 0x10], rcx
jmp 0x1400a280c
cmp byte [rsp + 0xb0], 1
jne 0x1400a17e7
cmp qword [rbx + 0x18], 0
jne 0x1400a27d4
movabs rax, 0x4000000000000000
lock or qword [rbx + 0x10], rax
mov r12, qword [rsp + 0x40]
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbp, [rsp + 0xf0]
xor r13d, r13d
jmp 0x1400a17e7
movzx ecx, al
lea rax, str.WorkerThread_active
lea r8, [rsp + 0xc0]
mov qword [r8], rax
lea rax, [0x1401cc830]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0
mov byte [rsp + 0x28], 0x45
lea rdx, [rsp + 0x90]
mov r9d, 2
call fcn.140028990
jmp 0x1400a18cc
movzx ecx, al
mov rax, qword [0x140206af0]
xor rax, qword [rsi + 0x60]
mov qword [rsp + 0xc0], rax
lea rax, str.WorkerThread_active
lea r8, [rsp + 0x90]
mov qword [r8], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x120]
mov r9d, 1
call fcn.14013f840
jmp 0x1400a1bef
int3
int3
int3
int3
int3
int3
int3
lock dec dword [rcx + 8]
jne 0x1400a1476
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
mov edx, 1
call qword [0x1401e8220]
jmp 0x1400a1476
movzx ecx, al
mov eax, 0x1b8
add rax, qword [rsp + 0xc8]
xor rax, qword [0x140206af0]
mov qword [rsp + 0x120], rax
lea rax, [0x1401dece0]
lea r8, [rsp + 0x118]
mov qword [r8], rax
lea rax, [rsp + 0x120]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x110]
mov r9d, 3
call fcn.14013d4c0
jmp 0x1400a1d90
int3
int3
int3
mov rcx, r15
call fcn.14010d540
jmp 0x1400a206c
xor eax, eax
jmp 0x1400a1339
mov qword [rsp + 0x48], rax
mov r12, qword [rsp + 0x58]
cmp qword [rsp + 0x50], r15
jb 0x1400a28cd
mov rax, qword [r12 + r15*8]
mov qword [rsp + 0x38], rax
test rax, rax
je 0x1400a28d0
mov r13, r14
mov qword [r12 + r15*8], 0
mov r14, qword [rsp + 0x38]
mov rax, qword [r14 + 8]
mov rcx, r14
call qword [0x1401e8220]
lock dec dword [r14]
jne 0x1400a29cf
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx + 0x10]
call qword [0x1401e8220]
inc r15
xor eax, eax
cmp r15, qword [rsp + 0x50]
cmove r15, rax
mov rax, qword [rsp + 0x48]
cmp r15, rax
mov r14, r13
jne 0x1400a2976
cmp rax, r14
ja 0x1400a2a62
cmp qword [rsp + 0x50], r13
jb 0x1400a28d9
jl 0x1400a28dc
je 0x1400a2a39
shl qword [rsp + 0x50], 3
shl r13, 3
jmp 0x1400a2a29
mov rax, qword [rcx + 0x10]
call qword [0x1401e8220]
mov rax, r13
add rax, 8
mov r13, rax
cmp qword [rsp + 0x50], rax
je 0x1400a2a39
mov rcx, qword [r12 + r13]
test rcx, rcx
je 0x1400a2a18
lock dec dword [rcx]
je 0x1400a2a0e
jmp 0x1400a2a18
cmp qword [rsp + 0x48], 0
js 0x1400a28df
mov r13d, 0
mov rax, qword [rsp + 0x48]
je 0x1400a2112
shl rax, 3
xor r15d, r15d
jmp 0x1400a2ae7
mov rax, qword [rsp + 0x50]
cmp rax, qword [rsp + 0x48]
jb 0x1400a28d3
cmp r13, qword [rsp + 0x48]
jg 0x1400a28d6
mov r15, qword [rsp + 0x48]
shl r15, 3
mov rax, r13
shl rax, 3
jmp 0x1400a2aaf
mov rax, qword [rcx + 0x10]
call qword [0x1401e8220]
mov rax, r13
add rax, 8
cmp r15, rax
mov r13d, 0
je 0x1400a2112
mov r13, rax
mov rcx, qword [rsp + 0x58]
mov rcx, qword [rcx + rax]
test rcx, rcx
je 0x1400a2a99
lock dec dword [rcx]
je 0x1400a2a8f
jmp 0x1400a2a99
mov rax, qword [rcx + 0x10]
call qword [0x1401e8220]
add r15, 8
mov rax, r13
cmp r13, r15
mov r13d, 0
je 0x1400a2112
mov r13, rax
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + r15]
test rcx, rcx
je 0x1400a2ad1
lock dec dword [rcx]
je 0x1400a2ac7
jmp 0x1400a2ad1
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1401e8220]
jmp 0x1400a12c4
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1401e8220]
jmp 0x1400a1f89
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x1400a20ab
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
jmp 0x1400a20d4
add rcx, 0x198
call fcn.1400b7100
jmp 0x1400a21fa
movzx ecx, al
lea rax, str.WorkerThread_born
lea r8, [rsp + 0xc0]
mov qword [r8], rax
lea rax, [0x1401cc830]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 8
mov byte [rsp + 0x28], 0x49
lea rdx, [rsp + 0xa0]
mov r9d, 3
call fcn.140028990
jmp 0x1400a129d
movzx ecx, al
lea rax, str.WorkerThread_active
lea r8, [rsp + 0xc0]
mov qword [r8], rax
lea rax, [0x1401cc830]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0
mov byte [rsp + 0x28], 0x42
lea rdx, [rsp + 0xa0]
mov r9d, 1
call fcn.140028990
jmp 0x1400a12b7
movzx ecx, al
lea rax, str.WorkerThread_active
lea r8, [rsp + 0xc0]
mov qword [r8], rax
lea rax, [0x1401cc830]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0
mov byte [rsp + 0x28], 0x45
lea rdx, [rsp + 0xa0]
mov r9d, 2
call fcn.140028990
jmp 0x1400a1fbd
movzx ecx, al
lea rax, str.WorkerThread_dead
lea r8, [rsp + 0xc0]
mov qword [r8], rax
lea rax, [0x1401cc830]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 8
mov byte [rsp + 0x28], 0x49
lea rdx, [rsp + 0xa0]
mov r9d, 3
call fcn.140028990
jmp 0x1400a1fd7
mov rcx, rdi
call fcn.1401766a0
mov rcx, rdi
call fcn.1400d2b80
jmp 0x1400a215d
mov rcx, rdi
call fcn.1401766a0
mov rcx, rdi
call fcn.1400d2b80
jmp 0x1400a2209
mov rcx, qword [0x1402085c8]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x1400a1e68
lock dec dword [rcx + 8]
jne 0x1400a15f2
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
mov edx, 1
call qword [0x1401e8220]
jmp 0x1400a15f2