Function at 0x1401337b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x188
movaps xmmword [rsp + 0x170], xmm7
movaps xmmword [rsp + 0x160], xmm6
mov qword [rsp + 0x48], r8
mov qword [rsp + 0x68], rdx
mov rax, qword [0x140287028]
xor rax, rsp
mov qword [rsp + 0x158], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xf0], rax
mov qword [rsp + 0x38], rcx
mov r15, qword [rcx + 0x30]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x90], xmm6
mov qword [rsp + 0xa0], 0
mov rax, qword [0x14028a5a0]
and rax, r15
mov rbx, r15
cmp rax, qword [0x14028a588]
je 0x14013512d
mov qword [rsp + 0xa8], r15
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xe0], xmm6
mov byte [rsp + 0xf0], 0
add rbx, 0x28
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140134700
mov rax, qword [rsp + 0x38]
mov r15, qword [rax + 0x30]
mov rax, qword [r15]
mov rax, qword [rax + 0x38]
lea rcx, [fcn.14012e2a0]
cmp rax, rcx
jne 0x140135143
cmp qword [r15 + 0x100], 0
je 0x140133b07
cmp byte [r15 + 0x160], 0
jne 0x140133b07
mov rdi, qword [r15 + 0x58]
mov r14, qword [r15 + 0x118]
test rdi, rdi
jne 0x140134186
xor edi, edi
add rdi, r14
mov rax, qword [r15 + 0x108]
cmp rax, rdi
cmovb rdi, rax
mov r12, qword [r15 + 0x118]
cmp rdi, r12
cmovbe rdi, r12
mov r13, qword [r15 + 0x68]
mov r14, qword [r15 + 0x110]
add r13, qword [r15 + 0x60]
je 0x140133f30
mov rax, qword [r15 + 8]
mov eax, dword [rax + 0x3c]
cmp eax, 1
ja 0x140133f30
mov rax, qword [r15 + 0x40]
cmp rax, qword [r15 + 0x48]
je 0x14013507d
mov cl, byte [rax + 0x10]
dec cl
cmp cl, 1
ja 0x140133969
mov rcx, qword [rax]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov esi, 1
lea r8, [0x140170c00]
mov edx, 1
cmp rax, r8
je 0x140133957
call qword [case.0x1401d7990.0]
mov rdx, rax
lea rax, [rdx + r13]
dec rax
cmp rax, 2
cmovae rsi, rax
mov r13, rsi
sub r14, r12
add r14, rdi
add r14, r13
mov rax, qword [r15 + 0x100]
cmp rax, r14
cmovb r14, rax
cmp r14, 0x100
mov ebp, 0x100
cmovb rbp, r14
mov r14, qword [r15 + 0xe8]
sub r14, qword [r15 + 0xe0]
sar r14, 3
lea r12, [r15 + 0x128]
mov rax, qword [r15 + 0x130]
sub rax, qword [r15 + 0x128]
sar rax, 3
sub r14, rax
xor eax, eax
mov rcx, rbp
sub rcx, r14
cmovae rax, rcx
cmp rax, 2
mov edi, 2
cmovb rdi, rax
test rdi, rdi
jne 0x140134049
cmp rbp, r14
jne 0x140133a0f
mov rax, qword [r15 + 0xe8]
sub rax, qword [r15 + 0xe0]
cmp rax, 0x800
je 0x140133a0f
mov rcx, qword [r15 + 0x128]
cmp rcx, qword [r15 + 0x130]
je 0x14013457c
mov rax, qword [r15 + 0x40]
cmp rax, qword [r15 + 0x48]
je 0x140133a2d
mov rcx, qword [r15 + 0x110]
cmp rcx, qword [r15 + 0x100]
jae 0x1401348a7
mov word [r15 + 0x78], 0
cmp byte [r15 + 0x148], 0
jne 0x140133b07
mov rdi, qword [r15 + 0x58]
mov rsi, qword [r15 + 0x118]
test rdi, rdi
jne 0x1401341e8
xor edi, edi
add rdi, rsi
cmp rdi, qword [r15 + 0x108]
ja 0x140134dff
mov rdi, qword [r15 + 0x58]
mov rsi, qword [r15 + 0x110]
test rdi, rdi
jne 0x14013424b
xor edi, edi
mov r14, qword [r15 + 0x68]
add r14, qword [r15 + 0x60]
je 0x140133fb3
mov rax, qword [r15 + 8]
mov eax, dword [rax + 0x3c]
cmp eax, 1
ja 0x140133fb3
mov rax, qword [r15 + 0x40]
cmp rax, qword [r15 + 0x48]
je 0x14013507d
mov cl, byte [rax + 0x10]
dec cl
cmp cl, 1
ja 0x140133af0
mov rcx, qword [rax]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov r12d, 1
lea r8, [0x140170c00]
mov edx, 1
cmp rax, r8
je 0x140133ade
call qword [case.0x1401d7990.0]
mov rdx, rax
lea rax, [r14 + rdx]
dec rax
cmp rax, 2
cmovae r12, rax
mov r14, r12
add rsi, rdi
lea rax, [r14 + rsi]
inc rax
cmp rax, qword [r15 + 0x100]
ja 0x140134569
mov rax, qword [rsp + 0xb0]
or rax, qword [rsp + 0xd0]
jne 0x14013470d
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x30]
mov rdx, qword [rax + 0x128]
mov rcx, qword [rax + 0x130]
cmp rdx, rcx
je 0x14013417e
mov r8, qword [rcx - 8]
mov rsi, qword [rsp + 0x48]
cmp r8, rsi
je 0x140134e7b
lea r15, [rsi + 0x18]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1401351b4
mov rsi, qword [rsi + 0x28]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x30]
cmp byte [rax + 0x98], 0
je 0x140135163
mov rdx, qword [rax + 0x128]
mov rcx, qword [rax + 0x130]
sub rcx, rdx
mov rdx, qword [rax + 0xe8]
sub rdx, qword [rax + 0xe0]
sar rdx, 3
sar rcx, 3
sub rdx, rcx
cmp rdx, qword [rax + 0x100]
ja 0x140135387
lea r15, [0x1401725d0]
xorps xmm6, xmm6
xor edi, edi
movaps xmm7, xmmword [0x140261350]
mov rax, qword [rsp + 0x38]
mov r13, qword [rax + 0x30]
mov rax, qword [r13 + 0x40]
cmp rax, qword [r13 + 0x48]
je 0x140133d30
movzx ebp, byte [rax + 0x10]
mov rax, qword [r13 + 8]
mov eax, dword [rax + 0x3c]
test eax, eax
jne 0x140133d1a
mov rax, qword [rsp + 0x38]
mov r13, qword [rax + 0x30]
test ebp, ebp
je 0x140134516
mov rax, qword [r13 + 0x40]
cmp rax, qword [r13 + 0x48]
je 0x14013507d
lea r12, [r13 + 0x38]
mov rcx, qword [rax]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
cmp rax, r15
jne 0x140133cfe
mov dword [rcx + 0xb8], 3
mov rax, qword [r13 + 0x40]
cmp rax, qword [r13 + 0x48]
je 0x14013507d
movzx ecx, byte [rax + 0x10]
cmp rcx, 3
jae 0x1401350a9
dec qword [r13 + rcx*8 + 0x58]
mov rcx, qword [rax]
mov qword [rcx + 0x28], 0xffffffffffffffff
mov rcx, qword [rax]
mov qword [rsp + 0x80], rcx
mov rcx, qword [rax + 8]
movups xmmword [rax], xmm6
mov qword [rsp + 0x88], rcx
mov rcx, qword [r13 + 0x40]
mov rax, qword [r13 + 0x48]
mov rdx, rax
sub rdx, rcx
je 0x140135101
mov r8, qword [rcx]
test r8, r8
jne 0x14013454e
sar rdx, 5
dec rdx
jne 0x1401342ae
cmp rcx, rax
je 0x1401350d5
lea rsi, [rax - 0x20]
mov r12, qword [rax - 0x20]
test r12, r12
jne 0x14013461e
mov qword [rsi], 0
test r12, r12
jne 0x14013464c
mov rcx, qword [rsi]
test rcx, rcx
jne 0x1401351c1
mov qword [r13 + 0x48], rsi
mov rax, qword [rsp + 0x80]
test rax, rax
je 0x140133bd1
jmp 0x140133f38
call qword [case.0x1401d7990.0]
cmp eax, 2
je 0x140133c3b
test eax, eax
jne 0x140134318
jmp 0x1401345ee
mov rcx, qword [rsp + 0x38]
mov r13, qword [rcx + 0x30]
test ebp, ebp
je 0x140133d30
cmp eax, 1
je 0x140133c0c
cmp byte [r13 + 0x98], 0
je 0x140133d59
mov rax, qword [r13 + 0xe8]
sub rax, qword [r13 + 0xe0]
sar rax, 3
cmp rax, qword [r13 + 0x100]
ja 0x140135387
mov rax, qword [r13 + 0x128]
mov rcx, qword [r13 + 0x130]
cmp rax, rcx
je 0x140133df4
mov rsi, qword [rcx - 8]
lea r15, [rsi + 0x18]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14013505e
mov rax, qword [0x140288f88]
lea rcx, [0x140171950]
lea r12, [rsp + 0x130]
cmp rax, rcx
jne 0x14013504c
mov qword [r12], 0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [r12]
movabs rcx, 0x8637bd05af6
cmp rax, rcx
jg 0x1401351da
imul rax, rax, 0xf4240
cqo
idiv qword [0x14029b670]
mov qword [rsi + 0x28], rax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, qword [r13 + 0x130]
cmp rax, qword [r13 + 0x138]
je 0x140134b20
test rax, rax
je 0x1401353b9
mov rcx, qword [rsp + 0x48]
mov qword [rax], rcx
add rax, 8
mov qword [r13 + 0x130], rax
mov rax, qword [rsp + 0x38]
mov rax, qword [rax + 0x30]
mov rcx, qword [rax + 0x140]
call qword [sym.imp.KERNEL32.dll_WakeAllConditionVariable]
xorps xmm0, xmm0
mov rax, qword [rsp + 0x68]
movups xmmword [rax], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rsi, qword [rsp + 0xb0]
test rsi, rsi
jne 0x14013449f
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
jne 0x140134cd0
cmp byte [rsp + 0xf0], 0
jne 0x140134e8d
mov rsi, qword [rsp + 0xd8]
test rsi, rsi
jne 0x1401349a5
mov rdi, qword [rsp + 0xd0]
test rdi, rdi
jne 0x140134de0
mov rsi, qword [rsp + 0xb8]
test rsi, rsi
jne 0x1401349cb
mov rdi, qword [rsp + 0xb0]
test rdi, rdi
jne 0x14013452f
mov rcx, qword [rsp + 0xa8]
mov rax, qword [0x14028a5a0]
and rax, rcx
cmp rax, qword [0x14028a588]
je 0x140135159
mov qword [rsp + 0xa8], 0
mov r12, qword [rsp + 0x90]
test r12, r12
jne 0x140133fbb
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
call fcn.1401756e0
mov rax, qword [rsp + 0x68]
movaps xmm6, xmmword [rsp + 0x160]
movaps xmm7, xmmword [rsp + 0x170]
add rsp, 0x188
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor r13d, r13d
jmp 0x140133969
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x38]
mov rdx, qword [rdx + 0x30]
mov r8, qword [rdx + 0x110]
inc r8
mov qword [rdx + 0x110], r8
test ebp, ebp
jne 0x140133f65
inc qword [rdx + 0x118]
mov r9, qword [rdx + 0x40]
cmp r9, qword [rdx + 0x48]
je 0x140133f7c
cmp r8, qword [rdx + 0x100]
jae 0x1401349f1
mov word [rdx + 0x78], 0
shl ebp, 8
or ebp, 1
mov r8, qword [rsp + 0x38]
mov dword [r8 + 0x20], ebp
movzx edx, byte [rax + 0x16]
and edx, 0x7f
shl edx, 8
or edx, 1
mov dword [r8 + 0x24], edx
mov rdx, qword [rsp + 0x68]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
jmp 0x140133e3e
xor r14d, r14d
jmp 0x140133af0
mov r13, qword [rsp + 0x98]
mov rcx, r12
cmp r13, r12
je 0x140134037
lea r15, [0x14025ecb8]
lea rdi, fcn.1400fe7c0
lea rdx, [0x14025ed18]
mov rbp, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov r8, qword [sym.imp.KERNEL32.dll_WakeAllConditionVariable]
mov rsi, qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xorps xmm6, xmm6
mov rax, r13
add r13, 0xfffffffffffffff0
mov rbx, qword [rax - 0x10]
test rbx, rbx
jne 0x1401348b5
mov qword [r13], 0
test rbx, rbx
jne 0x1401348e2
mov rcx, qword [r13]
test rcx, rcx
jne 0x140135201
cmp r13, r12
jne 0x140133ff8
mov rcx, qword [rsp + 0x90]
mov qword [rsp + 0x98], r12
call fcn.140172a44
jmp 0x140133ef7
neg rdi
mov qword [rsp + 0x40], r12
mov rax, qword [r15 + 0xe8]
sub rax, qword [r15 + 0xe0]
cmp rax, 0x800
je 0x14013407b
mov rcx, qword [r15 + 0x128]
cmp rcx, qword [r15 + 0x130]
je 0x14013410d
mov rcx, qword [r15 + 0x128]
mov rax, qword [r15 + 0x130]
cmp rcx, rax
je 0x1401340ff
lea rdx, [rax - 8]
mov rsi, qword [rax - 8]
mov qword [r15 + 0x130], rdx
cmp rcx, rdx
je 0x1401340d7
mov r12, rbx
mov rbx, qword [rax - 0x10]
lea r13, [rbx + 0x18]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140135226
mov qword [rbx + 0x28], 0
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rbx, r12
mov r12, qword [rsp + 0x40]
test rsi, rsi
je 0x1401340ff
lock inc dword [rsi + 8]
mov qword [rsp + 0x130], rsi
cmp qword [rsp + 0xb0], 0
jne 0x14013484b
mov qword [rsp + 0xb0], rsi
inc rdi
je 0x1401339e0
jmp 0x140134051
sar rax, 3
cmp rax, qword [r15 + 0x100]
jae 0x14013407b
lea r13, [rsp + 0x130]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [r13], rax
lea r8, [rsp + 0x90]
mov rcx, r15
mov rdx, r13
call fcn.140016b20
mov rsi, qword [r13]
mov rcx, r12
mov rdx, rsi
call fcn.140137090
test rsi, rsi
je 0x14013407b
lock dec dword [rsi + 8]
jne 0x14013407b
mov rcx, rsi
call fcn.140005850
mov rcx, rsi
call fcn.140172a44
jmp 0x14013407b
xor r8d, r8d
jmp 0x140133b41
mov rax, qword [r15 + 8]
mov eax, dword [rax + 0x3c]
test eax, eax
jne 0x1401338d0
mov rax, qword [r15 + 0x40]
cmp rax, qword [r15 + 0x48]
je 0x14013507d
cmp byte [rax + 0x10], 0
jne 0x1401338d2
mov rcx, qword [rax]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov esi, 1
lea r8, [0x140170c00]
mov edx, 1
cmp rax, r8
jne 0x1401352cc
lea rax, [rdi + rdx]
dec rax
cmp rax, 2
cmovae rsi, rax
mov rdi, rsi
jmp 0x1401338d2
mov rax, qword [r15 + 8]
mov eax, dword [rax + 0x3c]
test eax, eax
jne 0x140133a56
mov rax, qword [r15 + 0x40]
cmp rax, qword [r15 + 0x48]
je 0x14013507d
cmp byte [rax + 0x10], 0
jne 0x140133a58
mov rcx, qword [rax]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov r14d, 1
lea r8, [0x140170c00]
mov edx, 1
cmp rax, r8
jne 0x140135354
lea rax, [rdi + rdx]
dec rax
cmp rax, 2
cmovae r14, rax
mov rdi, r14
jmp 0x140133a58
mov rax, qword [r15 + 8]
mov eax, dword [rax + 0x3c]
test eax, eax
jne 0x140133a7c
mov rax, qword [r15 + 0x40]
cmp rax, qword [r15 + 0x48]
je 0x14013507d
cmp byte [rax + 0x10], 0
jne 0x140133a7e
mov rcx, qword [rax]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
mov r14d, 1
lea r8, [0x140170c00]
mov edx, 1
cmp rax, r8
jne 0x140135362
lea rax, [rdi + rdx]
dec rax
cmp rax, 2
cmovae r14, rax
mov rdi, r14
jmp 0x140133a7e
cmp rax, rcx
je 0x140135101
shl rdx, 5
mov rdx, qword [rcx + rdx]
test rdx, rdx
jne 0x140134990
cmp rax, rcx
je 0x140135101
mov rcx, qword [rax - 0x20]
mov qword [rsp + 0x130], rcx
mov rcx, qword [rax - 0x18]
movups xmmword [rax - 0x20], xmm6
mov qword [rsp + 0x138], rcx
movups xmm0, xmmword [rax - 0x10]
movups xmmword [rsp + 0x140], xmm0
mov rcx, r12
xor edx, edx
lea r8, [rsp + 0x130]
call fcn.140135c90
mov rcx, qword [r13 + 0x40]
mov rax, qword [r13 + 0x48]
jmp 0x140133cae
movaps xmmword [rsp + 0x110], xmm7
mov rax, qword [r13 + 0x40]
cmp rax, qword [r13 + 0x48]
je 0x14013507d
mov rcx, qword [r13 + 8]
mov r8, qword [rax]
test r8, r8
je 0x14013433f
lock inc dword [r8 + 8]
lea rdx, [rsp + 0x110]
call fcn.140135bf0
cmp qword [rsp + 0x110], 0
je 0x140135233
mov rsi, qword [r13 + 0x40]
cmp rsi, qword [r13 + 0x48]
je 0x14013507d
mov rax, qword [rsi]
mov qword [rsp + 0x130], rax
mov rax, qword [rsi + 8]
mov qword [rsi + 8], rdi
mov qword [rsp + 0x138], rax
mov qword [rsi], rdi
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x110], rdi
mov rcx, qword [rsi]
mov qword [rsi], rax
test rcx, rcx
jne 0x140135248
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x118], 0
mov qword [rsi + 8], rax
mov r8, qword [rsp + 0x110]
test r8, r8
jne 0x140135261
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x110], 0
test r8, r8
jne 0x140135296
mov rax, qword [rsp + 0x130]
mov qword [rsp + 0x130], 0
mov rcx, qword [rsp + 0x110]
mov qword [rsp + 0x110], rax
test rcx, rcx
jne 0x1401352b3
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x138], 0
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0x130]
call fcn.140136010
mov rcx, qword [rsp + 0x110]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
lea rsi, [rsp + 0x100]
mov rdx, rsi
call qword [case.0x1401d7990.0]
mov rdx, qword [rsp + 0x110]
mov rcx, r12
mov r8, rsi
call fcn.1400163c0
movaps xmm0, xmmword [rsp + 0x110]
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x110], xmm6
lea rcx, [rsp + 0x110]
call fcn.140136010
jmp 0x140133ce8
add rsi, 0x30
test byte [0x1402898c0], 0x19
jne 0x1401352da
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rsi, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0xc0]
cmp rsi, rbx
je 0x140133e58
mov r14, qword [sym.imp.KERNEL32.dll_SetEvent]
mov rdi, qword [rsi]
test rdi, rdi
je 0x14013540f
lock inc dword [rdi + 8]
test byte [0x1402898c0], 0x19
jne 0x14013541b
mov rcx, qword [rdi + 0x30]
call r14
lock dec dword [rdi + 8]
je 0x140135496
add rsi, 8
cmp rsi, rbx
je 0x140133e58
jmp 0x1401344d9
mov rax, qword [r13 + 0x118]
cmp rax, qword [r13 + 0x108]
jb 0x140133c0c
jmp 0x140133d30
lock dec dword [rdi + 8]
jne 0x140133ebb
mov rcx, rdi
call fcn.140005850
mov rcx, rdi
call fcn.140172a44
jmp 0x140133ebb
mov qword [r8 + 0x28], 0xffffffffffffffff
mov rcx, qword [r13 + 0x40]
mov rax, qword [r13 + 0x48]
mov rdx, rax
sub rdx, rcx
jmp 0x140133ca1
cmp dword [r15 + 0x120], 0
jle 0x140133b07
jmp 0x140134e0d
sar rax, 3
cmp rax, qword [r15 + 0x100]
jae 0x140133a0f
lea r13, [rsp + 0x130]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [r13], rax
lea r8, [rsp + 0x90]
mov rcx, r15
mov rdx, r13
call fcn.140016b20
mov r13, qword [r13]
mov rcx, r12
mov rdx, r13
call fcn.140137090
test r13, r13
je 0x140133a0f
lock dec dword [r13 + 8]
jne 0x140133a0f
mov rcx, r13
call fcn.140005850
mov rcx, r13
call fcn.140172a44
jmp 0x140133a0f
mov rcx, r12
lea rsi, [rsp + 0x120]
mov rdx, rsi
call fcn.140136a10
lea rcx, [rsp + 0x90]
mov rdx, rsi
call fcn.1400160d0
movaps xmmword [rsp + 0x80], xmm6
jmp 0x140133ce8
mov r14, qword [rax - 0x18]
test r14, r14
je 0x140133cc8
mov qword [rsi], 0
mov al, byte [r12 + 0x16]
and al, 0x7f
cmp al, 2
je 0x140134c8c
lock dec dword [r14 + 0x38]
je 0x140134a00
lock dec dword [r12 + 8]
jne 0x140133cd8
lea rax, [0x14025ecb8]
mov qword [r12], rax
mov rdi, qword [r12 + 0xa0]
test rdi, rdi
jne 0x140134e2c
lea r14, [r12 + 0x78]
mov rdi, qword [r12 + 0x78]
mov rax, qword [r12 + 0x80]
mov rdx, rdi
cmp rax, rdi
jne 0x14013559d
mov qword [r12 + 0x80], rdi
test rdx, rdx
jne 0x1401355c6
mov rax, qword [r12 + 0x60]
mov rdi, qword [r12 + 0x68]
cmp rdi, rax
jne 0x1401355db
mov rdx, qword [r12 + 0x50]
lea rcx, fcn.1400fe7c0
xor r8d, r8d
call fcn.1400fd880
lea rax, [0x14025ed18]
mov qword [r12], rax
mov rcx, qword [r12 + 0x38]
mov rax, qword [0x14028a5a0]
and rax, rcx
cmp rax, qword [0x14028a588]
je 0x140134dd6
mov rcx, r12
call fcn.140172a44
xor edi, edi
jmp 0x140133cd8
mov rcx, rbx
call fcn.1400ec2e0
jmp 0x140133880
mov rax, qword [rsp + 0x38]
mov r15, qword [rax + 0x30]
add r15, 0x28
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rsi, qword [rsp + 0xb0]
test rsi, rsi
jne 0x140134aa4
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
jne 0x140134f93
cmp byte [rsp + 0xf0], 0
jne 0x14013506b
mov r12, qword [rsp + 0xb0]
mov qword [rsp + 0xb0], 0
test r12, r12
je 0x140134778
lock dec dword [r12 + 8]
je 0x1401353e5
mov rsi, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xc0]
cmp rdi, rsi
je 0x1401347b4
mov r12, qword [rdi - 8]
add rdi, 0xfffffffffffffff8
test r12, r12
je 0x140134788
lock dec dword [r12 + 8]
jne 0x140134788
mov rcx, r12
call fcn.140005850
mov rcx, r12
call fcn.140172a44
jmp 0x140134788
mov qword [rsp + 0xc0], rsi
mov r12, qword [rsp + 0xd0]
mov qword [rsp + 0xd0], 0
test r12, r12
je 0x1401347e1
lock dec dword [r12 + 8]
je 0x1401353fa
mov rsi, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0xe0]
cmp rdi, rsi
je 0x14013481d
mov r12, qword [rdi - 8]
add rdi, 0xfffffffffffffff8
test r12, r12
je 0x1401347f1
lock dec dword [r12 + 8]
jne 0x1401347f1
mov rcx, r12
call fcn.140005850
mov rcx, r12
call fcn.140172a44
jmp 0x1401347f1
mov qword [rsp + 0xe0], rsi
mov byte [rsp + 0xf0], 0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
jne 0x140133b1d
mov rcx, r15
call fcn.1400ec2e0
jmp 0x140133b1d
mov rax, qword [rsp + 0xc0]
cmp rax, qword [rsp + 0xc8]
jb 0x14013539b
lea rcx, [rsp + 0xb8]
lea rdx, [rsp + 0x130]
call fcn.140016260
mov r13, qword [rsp + 0x130]
test r13, r13
je 0x1401340ff
lock dec dword [r13 + 8]
jne 0x1401340ff
mov rcx, r13
call fcn.140005850
mov rcx, r13
call fcn.140172a44
jmp 0x1401340ff
movzx eax, word [rax + 0x10]
mov word [r15 + 0x78], ax
jmp 0x140133a34
mov r14, qword [rax - 8]
test r14, r14
je 0x14013400c
mov qword [r13], 0
mov al, byte [rbx + 0x16]
and al, 0x7f
cmp al, 2
je 0x140134d7f
lock dec dword [r14 + 0x38]
je 0x140134bef
lock dec dword [rbx + 8]
jne 0x14013401d
mov qword [rbx], r15
mov r14, qword [rbx + 0xa0]
test r14, r14
jne 0x140134f46
lea rax, [rbx + 0x78]
mov r14, qword [rbx + 0x78]
mov r15, qword [rbx + 0x80]
mov rdx, r14
cmp r15, r14
jne 0x14013580f
mov qword [rbx + 0x80], r14
test rdx, rdx
jne 0x140135839
mov r14, r8
mov rax, qword [rbx + 0x60]
mov r15, qword [rbx + 0x68]
cmp r15, rax
jne 0x140135857
mov rdx, qword [rbx + 0x50]
mov rcx, rdi
xor r8d, r8d
call fcn.1400fd880
lea rax, [0x14025ed18]
mov qword [rbx], rax
mov rcx, qword [rbx + 0x38]
mov rax, qword [0x14028a5a0]
and rax, rcx
cmp rax, qword [0x14028a588]
je 0x140134e22
mov rcx, rbx
call fcn.140172a44
lea r15, [0x14025ecb8]
lea rdx, [0x14025ed18]
mov r8, r14
jmp 0x14013401d
mov qword [rdx + 0x28], 0xffffffffffffffff
mov rcx, qword [r13 + 0x40]
mov rax, qword [r13 + 0x48]
jmp 0x1401342c8
mov rbx, qword [rsp + 0xe0]
mov rcx, rsi
cmp rbx, rsi
jne 0x140135b82
mov qword [rsp + 0xe0], rsi
call fcn.140172a44
jmp 0x140133e88
mov rbx, qword [rsp + 0xc0]
mov rcx, rsi
cmp rbx, rsi
jne 0x140135bb9
mov qword [rsp + 0xc0], rsi
call fcn.140172a44
jmp 0x140133eaa
movzx r8d, word [r9 + 0x10]
mov word [rdx + 0x78], r8w
jmp 0x140133f82
lea rdi, [r14 + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1401354ab
mov rcx, qword [r14 + 0x48]
call qword [sym.imp.KERNEL32.dll_WakeAllConditionVariable]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov qword [rsp + 0x70], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x1401354b8
mov rax, qword [r14 + 0x50]
mov qword [rsp + 0x40], rax
mov rax, qword [r14 + 0x58]
mov qword [rsp + 0x60], rax
xorps xmm0, xmm0
movups xmmword [r14 + 0x50], xmm0
mov rax, qword [r14 + 0x60]
mov qword [rsp + 0x78], rax
mov rdi, qword [r14 + 0x68]
movups xmmword [r14 + 0x60], xmm0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, qword [rsp + 0x78]
mov rax, rdi
mov r14, rcx
cmp rcx, rdi
jne 0x1401354c7
lea rcx, fcn.1400fe7c0
mov rdx, qword [rsp + 0x40]
xor r8d, r8d
call fcn.1400fd880
xor edi, edi
jmp 0x140133ccf
add rsi, 0x30
test byte [0x1402898c0], 0x19
jne 0x140135632
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rsi, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xc0]
cmp rsi, rdi
je 0x140134734
mov r14, qword [sym.imp.KERNEL32.dll_SetEvent]
mov r12, qword [rsi]
test r12, r12
je 0x140135948
lock inc dword [r12 + 8]
test byte [0x1402898c0], 0x19
jne 0x140135954
mov rcx, qword [r12 + 0x30]
call r14
lock dec dword [r12 + 8]
je 0x1401359d2
add rsi, 8
cmp rsi, rdi
je 0x140134734
jmp 0x140134ade
sub rax, qword [r13 + 0x128]
mov r15, rax
sar r15, 3
lea rdx, [r15 + 1]
mov rcx, rdx
shr rcx, 0x3d
jne 0x1401356ac
movabs rcx, 0x1fffffffffffffff
mov rsi, rax
sar rsi, 2
cmp rsi, rdx
cmovbe rsi, rdx
movabs rdx, 0x7ffffffffffffff8
cmp rax, rdx
cmovae rsi, rcx
test rsi, rsi
je 0x1401356b1
cmp rsi, rcx
ja 0x1401356b8
lea rcx, [rsi*8]
call fcn.140172a4c
shl r15, 3
add r15, rax
je 0x1401353b9
lea rsi, [rax + rsi*8]
mov rax, qword [rsp + 0x48]
mov qword [r15], rax
lea rdi, [r15 + 8]
mov rdx, qword [r13 + 0x128]
mov r8, qword [r13 + 0x130]
sub r8, rdx
sub r15, r8
mov rcx, r15
call fcn.140177150
mov rcx, qword [r13 + 0x128]
mov qword [r13 + 0x128], r15
mov qword [r13 + 0x130], rdi
mov qword [r13 + 0x138], rsi
test rcx, rcx
je 0x140133e1d
call fcn.140172a44
jmp 0x140133e1d
lea r15, [r14 + 0x40]
mov rcx, r15
call rbp
test al, al
je 0x140135731
mov rcx, qword [r14 + 0x48]
call qword [sym.imp.KERNEL32.dll_WakeAllConditionVariable]
mov rcx, r15
call rsi
mov rcx, r15
call rbp
test al, al
je 0x14013573e
mov rax, qword [r14 + 0x50]
mov qword [rsp + 0x38], rax
mov rax, qword [r14 + 0x58]
mov qword [rsp + 0x48], rax
movups xmmword [r14 + 0x50], xmm6
mov rdi, qword [r14 + 0x60]
mov rbp, qword [r14 + 0x68]
movups xmmword [r14 + 0x60], xmm6
mov rcx, r15
call rsi
mov rax, rbp
mov r14, rdi
cmp rdi, rbp
jne 0x14013574b
lea rdi, fcn.1400fe7c0
mov rcx, rdi
mov rdx, qword [rsp + 0x38]
xor r8d, r8d
call fcn.1400fd880
lea r15, [0x14025ecb8]
lea rdx, [0x14025ed18]
mov r8, qword [sym.imp.KERNEL32.dll_WakeAllConditionVariable]
mov rbp, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
jmp 0x140134014
mov rax, qword [r14 + 0x30]
mov ecx, 0xfffffffe
lock xadd dword [rax], ecx
cmp ecx, 3
jne 0x140134641
lea rdi, [r14 + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140135a51
mov rcx, qword [r14 + 0x78]
call fcn.1401727d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xor edi, edi
jmp 0x140134641
mov rax, qword [rsp + 0xa8]
mov rdx, qword [rax + 0xa0]
mov r8, qword [rax + 0xa8]
test rdx, rdx
je 0x140134cef
lock inc dword [rdx + 8]
call fcn.140020f20
mov rcx, qword [rsp + 0xa8]
cmp byte [rcx + 0x168], 0
jne 0x140135937
mov rsi, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xe0]
cmp rsi, rbx
je 0x140133e69
mov rdi, qword [rsi]
test rdi, rdi
je 0x140134d2e
lock inc dword [rdi + 8]
mov rax, qword [rsp + 0xa8]
mov rdx, qword [rax + 0xa0]
mov r8, qword [rax + 0xa8]
test rdx, rdx
je 0x140134d4d
lock inc dword [rdx + 8]
mov rcx, rdi
call fcn.140020f20
mov rcx, qword [rsp + 0xa8]
cmp byte [rcx + 0x168], 0
jne 0x1401359f4
test rdi, rdi
je 0x140134d79
lock dec dword [rdi + 8]
je 0x140135a05
add rsi, 8
jmp 0x140134d19
mov rax, qword [r14 + 0x30]
mov ecx, 0xfffffffe
lock xadd dword [rax], ecx
cmp ecx, 3
jne 0x1401348d7
lea r15, [r14 + 0x70]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140135a5e
mov rcx, qword [r14 + 0x78]
call fcn.1401727d0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
lea r15, [0x14025ecb8]
lea rdx, [0x14025ed18]
mov r8, qword [sym.imp.KERNEL32.dll_WakeAllConditionVariable]
jmp 0x1401348d7
call fcn.1400e5d90
jmp 0x1401346f1
lock dec dword [rdi + 8]
jne 0x140133e99
mov rcx, rdi
call fcn.140005850
mov rcx, rdi
call fcn.140172a44
jmp 0x140133e99
cmp dword [r15 + 0x124], 0
jle 0x140133a68
mov al, 1
mov byte [rsp + 0xf0], al
mov byte [r15 + 0x148], al
jmp 0x140133b07
call fcn.1400e5d90
jmp 0x140134972
mov r14, rbx
mov rax, qword [r12 + 0xa8]
mov rcx, rdi
cmp rax, rdi
je 0x140134e66
lea rbx, [rax - 0x18]
mov rcx, qword [rax - 0x10]
test rcx, rcx
je 0x140134e56
mov rax, qword [rax - 8]
call qword [case.0x1401d7990.0]
mov rax, rbx
cmp rbx, rdi
jne 0x140134e3f
mov rcx, qword [r12 + 0xa0]
mov qword [r12 + 0xa8], rdi
call fcn.140172a44
mov rbx, r14
jmp 0x140134674
cmp byte [rax + 0x98], 0
jne 0x140133b95
jmp 0x140135370
mov r14, qword [rsp + 0xa8]
mov rbx, qword [r14 + 0xa0]
mov rdi, qword [r14 + 0xb8]
mov rax, qword [0x14028a5a0]
and rax, r14
cmp rax, qword [0x14028a588]
je 0x1401359e7
mov ecx, 0x30
call fcn.140172a4c
mov dword [rax], 1
lea rcx, [0x140070e50]
mov qword [rax + 8], rcx
lea rcx, [0x140074790]
mov qword [rax + 0x10], rcx
lea rcx, [0x1401d1e70]
mov qword [rax + 0x18], rcx
lea rcx, [0x14004b490]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], r14
lea r14, [rsp + 0x120]
mov qword [r14], rax
lea rdx, str.ScheduleAdjustMaxTasks
lea r8, str....._base_task_thread_pool_thread_group_impl.cc
lea r15, [rsp + 0x130]
mov rcx, r15
mov r9d, 0x46c
call fcn.14011b9f0
mov rax, qword [rbx]
mov rax, qword [rax]
mov rcx, rbx
mov rdx, r15
mov r8, r14
mov r9, rdi
call qword [case.0x1401d7990.0]
jmp 0x140133e77
mov rax, qword [rbx + 0xa8]
mov rcx, r14
cmp rax, r14
je 0x140134f7b
lea r15, [rax - 0x18]
mov rcx, qword [rax - 0x10]
test rcx, rcx
je 0x140134f6c
mov rax, qword [rax - 8]
call qword [case.0x1401d7990.0]
mov rax, r15
cmp r15, r14
jne 0x140134f55
mov rcx, qword [rbx + 0xa0]
mov qword [rbx + 0xa8], r14
call fcn.140172a44
mov r8, qword [sym.imp.KERNEL32.dll_WakeAllConditionVariable]
jmp 0x1401348ff
mov r14, rbx
mov rax, qword [rsp + 0xa8]
mov rdx, qword [rax + 0xa0]
mov r8, qword [rax + 0xa8]
test rdx, rdx
je 0x140134fb5
lock inc dword [rdx + 8]
call fcn.140020f20
mov rcx, qword [rsp + 0xa8]
cmp byte [rcx + 0x168], 0
jne 0x140135a1a
mov rsi, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0xe0]
cmp rsi, rdi
mov rbx, r14
je 0x140134745
mov r12, qword [rsi]
test r12, r12
je 0x140134ff9
lock inc dword [r12 + 8]
mov rax, qword [rsp + 0xa8]
mov rdx, qword [rax + 0xa0]
mov r8, qword [rax + 0xa8]
test rdx, rdx
je 0x140135018
lock inc dword [rdx + 8]
mov rcx, r12
call fcn.140020f20
mov rcx, qword [rsp + 0xa8]
cmp byte [rcx + 0x168], 0
jne 0x140135a2b
test r12, r12
je 0x140135046
lock dec dword [r12 + 8]
je 0x140135a3c
add rsi, 8
jmp 0x140134fdf
mov rcx, r12
call qword [case.0x1401d7990.0]
mov rax, qword [r12]
jmp 0x140133de0
mov rcx, r15
call fcn.1400ec2e0
jmp 0x140133d89
mov rcx, qword [rsp + 0xa8]
call fcn.1401b0e20
jmp 0x140134753
lea rax, str.front___called_on_an_empty_vector
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_vector
lea r9, str._empty__
mov r8d, 0x225
call fcn.1401b2820
lea rax, str.out_of_bounds_access_in_std::array_T__N_
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_array
lea r9, str.__n____Size
mov r8d, 0xda
call fcn.1401b2820
lea rax, str.vector::pop_back_called_on_an_empty_vector
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_vector
lea r9, str._empty__
mov r8d, 0x623
call fcn.1401b2820
lea rax, str.vector___index_out_of_bounds
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_vector
lea r9, str.__n___size__
mov r8d, 0x587
call fcn.1401b2820
mov rcx, r15
call fcn.1400eaf60
mov rax, qword [rsp + 0x38]
mov rbx, qword [rax + 0x30]
jmp 0x14013383b
lea rdx, [rsp + 0x90]
mov rcx, r15
call qword [case.0x1401d7990.0]
jmp 0x140133b07
call fcn.1400ebe70
jmp 0x140133eda
test rsi, rsi
jne 0x140135370
mov rcx, qword [rax + 0xe8]
sub rcx, qword [rax + 0xe0]
mov rdx, qword [rax + 0x130]
sar rcx, 3
sub rdx, qword [rax + 0x128]
sar rdx, 3
sub rcx, rdx
cmp rcx, qword [rax + 0x100]
jbe 0x140133bbe
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
call fcn.1401f49a0
jmp 0x140133e33
mov rcx, r15
call fcn.1400ec2e0
jmp 0x140133b64
lock dec dword [rcx + 8]
jne 0x140133ce4
mov edx, 1
call fcn.14014c460
jmp 0x140133ce4
mov rcx, qword [0x14029b670]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140133de0
lock dec dword [rcx + 8]
jne 0x14013402a
mov rbx, rdx
mov edx, 1
mov r14, r8
call fcn.14014c460
mov r8, r14
mov rdx, rbx
jmp 0x14013402a
mov rcx, r13
call fcn.1400ec2e0
jmp 0x1401340be
lea rdx, [rsp + 0x80]
mov rcx, r12
call fcn.140136a10
jmp 0x14013448d
lock dec dword [rcx + 8]
jne 0x1401343a6
mov edx, 1
call fcn.14014c460
jmp 0x1401343a6
mov rcx, qword [rsp + 0x118]
test rcx, rcx
je 0x1401343cf
mov qword [rsp + 0x110], 0
lea rsi, [rsp + 0x80]
mov rdx, rsi
call fcn.14014bcc0
mov r8, qword [rsi]
jmp 0x1401343e3
lock dec dword [r8 + 8]
jne 0x1401343ec
mov rcx, r8
mov edx, 1
call fcn.14014c460
jmp 0x1401343ec
lock dec dword [rcx + 8]
jne 0x140134419
mov edx, 1
call fcn.14014c460
jmp 0x140134419
call qword [case.0x1401d7990.0]
mov rdx, rax
jmp 0x1401341d1
mov rax, qword [0x140298390]
xor rax, rsi
lea rcx, [0x140074d00]
lea rdi, [rsp + 0x130]
mov qword [rdi + 0x18], rcx
lea rcx, [0x14026a930]
mov qword [rdi + 0x20], rcx
mov qword [rdi + 8], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
lea rdx, [0x1402898c0]
lea r8, str.WaitableEvent::Signal
lea r9, [0x140267ad8]
mov cl, 0x49
call fcn.140074da0
mov rax, qword [rdi + 0x20]
mov rax, qword [rax + 8]
test rax, rax
je 0x1401344b0
mov rcx, qword [rsp + 0x138]
call qword [case.0x1401d7990.0]
jmp 0x1401344b0
call qword [case.0x1401d7990.0]
mov rdx, rax
jmp 0x140134234
call qword [case.0x1401d7990.0]
mov rdx, rax
jmp 0x140134297
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
call fcn.1401f4a00
test al, al
je 0x140133e33
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
call fcn.140016f10
jmp 0x140133e33
test rax, rax
je 0x1401353b9
mov qword [rax], rsi
add rax, 8
mov qword [rsp + 0xc0], rax
mov r12, qword [rsp + 0x40]
jmp 0x1401340ff
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x23
call fcn.1401b2820
mov rcx, r12
call fcn.140005850
mov rcx, r12
call fcn.140172a44
jmp 0x140134778
mov rcx, r12
call fcn.140005850
mov rcx, r12
call fcn.140172a44
jmp 0x1401347e1
xor ecx, ecx
call fcn.140172940
jmp 0x140134507
lea rax, [rdi + 0x30]
xor rax, qword [0x140298390]
lea rcx, [0x140074d00]
lea r15, [rsp + 0x130]
mov qword [r15 + 0x18], rcx
lea rcx, [0x14026a930]
mov qword [r15 + 0x20], rcx
mov qword [r15 + 8], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], 0
lea rdx, [0x1402898c0]
lea r8, str.WaitableEvent::Signal
lea r9, [0x140267ad8]
mov cl, 0x49
call fcn.140074da0
mov rax, qword [r15 + 0x20]
mov rax, qword [rax + 8]
test rax, rax
je 0x1401344f6
mov rcx, qword [rsp + 0x138]
call qword [case.0x1401d7990.0]
jmp 0x1401344f6
mov rcx, rdi
call fcn.140005850
mov rcx, rdi
call fcn.140172a44
jmp 0x140134507
mov rcx, rdi
call fcn.1400ec2e0
jmp 0x140134a15
mov rcx, qword [rsp + 0x70]
call fcn.1400ec2e0
jmp 0x140134a3e
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rbx
mov rax, qword [rsp + 0x60]
cmp rax, r14
jb 0x14013559a
mov rdi, rcx
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + r14*8]
lea rbx, [rsp + 0x110]
mov qword [rbx], rcx
mov qword [rax + r14*8], 0
mov rax, qword [rcx + 8]
call qword [case.0x1401d7990.0]
mov rcx, rbx
call fcn.140171160
inc r14
xor eax, eax
mov rcx, qword [rsp + 0x60]
cmp r14, rcx
cmove r14, rax
mov rax, qword [rsp + 0x58]
cmp r14, rax
mov rbx, qword [rsp + 0x50]
mov rcx, rdi
jne 0x1401354c7
cmp rax, rcx
jbe 0x140135a6b
mov rax, qword [rsp + 0x60]
cmp rax, qword [rsp + 0x58]
jb 0x140135597
cmp qword [rsp + 0x60], rdi
jb 0x140135594
cmp rdi, qword [rsp + 0x58]
jg 0x140135591
mov rax, qword [rsp + 0x40]
lea r14, [rax + rdi*8]
mov rax, qword [rsp + 0x58]
shl rax, 3
shl rdi, 3
sub rax, rdi
mov rbx, qword [rsp + 0x50]
mov rcx, r14
mov rdi, rax
call fcn.140171160
mov rax, rdi
add r14, 8
add rax, 0xfffffffffffffff8
jne 0x140135574
jmp 0x140134a89
int3
int3
int3
int3
mov qword [rsp + 0x50], rbx
mov rbx, rax
add rbx, 0xffffffffffffff80
mov rcx, rbx
call fcn.140171160
mov rax, rbx
cmp rbx, rdi
jne 0x1401355a2
mov rdx, qword [r14]
mov rbx, qword [rsp + 0x50]
jmp 0x140134692
mov rcx, r14
call fcn.1401f6240
mov rcx, qword [r14]
call fcn.140172a44
jmp 0x1401346a3
mov qword [rsp + 0x50], rbx
mov rbx, qword [r12 + 0x58]
jbe 0x1401356bd
cmp rbx, rdi
jb 0x14013562f
cmp rbx, rax
jb 0x14013562c
cmp rax, rdi
jg 0x140135629
shl rax, 7
mov r14, qword [r12 + 0x50]
add r14, rax
shl rdi, 7
sub rdi, rax
mov rbx, qword [rsp + 0x50]
mov rcx, r14
call fcn.140171160
sub r14, 0xffffffffffffff80
add rdi, 0xffffffffffffff80
jne 0x140135612
jmp 0x1401346b6
int3
int3
int3
mov rax, qword [0x140298390]
xor rax, rsi
lea rcx, [0x140074d00]
lea rdi, [rsp + 0x130]
mov qword [rdi + 0x18], rcx
lea rcx, [0x14026a930]
mov qword [rdi + 0x20], rcx
mov qword [rdi + 8], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], 0
lea rdx, [0x1402898c0]
lea r8, str.WaitableEvent::Signal
lea r9, [0x140267ad8]
mov cl, 0x49
call fcn.140074da0
mov rax, qword [rdi + 0x20]
mov rax, qword [rax + 8]
test rax, rax
je 0x140134ab5
mov rcx, qword [rsp + 0x138]
call qword [case.0x1401d7990.0]
jmp 0x140134ab5
call fcn.14018c460
xor eax, eax
jmp 0x140134b87
call fcn.1401b3360
cmp rbx, rax
jb 0x14013572e
jl 0x14013572b
je 0x1401356f0
shl rax, 7
mov r14, qword [r12 + 0x50]
add r14, rax
shl rbx, 7
sub rbx, rax
mov rcx, r14
call fcn.140171160
sub r14, 0xffffffffffffff80
add rbx, 0xffffffffffffff80
jne 0x1401356d9
mov rax, qword [r12 + 0x58]
cmp rax, rdi
jb 0x140135728
test rdi, rdi
js 0x140135725
mov rbx, qword [rsp + 0x50]
je 0x1401346b6
mov r14, qword [r12 + 0x50]
shl rdi, 7
mov rcx, r14
call fcn.140171160
sub r14, 0xffffffffffffff80
add rdi, 0xffffffffffffff80
jne 0x14013570e
jmp 0x1401346b6
int3
int3
int3
int3
mov rcx, r15
call fcn.1400ec2e0
jmp 0x140134c00
mov rcx, r15
call fcn.1400ec2e0
jmp 0x140134c1c
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x48]
cmp rax, r14
jb 0x140135806
mov r15, rdi
mov rbp, rax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rax + r14*8]
lea rdi, [rsp + 0x130]
mov qword [rdi], rcx
mov qword [rax + r14*8], 0
mov rax, qword [rcx + 8]
call qword [case.0x1401d7990.0]
mov rcx, rdi
call fcn.140171160
inc r14
xor eax, eax
mov rcx, rbp
cmp r14, rbp
cmove r14, rax
mov rax, qword [rsp + 0x40]
cmp r14, rax
mov rdi, r15
jne 0x14013574b
cmp rax, rdi
jbe 0x140135b03
cmp rbp, qword [rsp + 0x40]
jb 0x140135809
cmp rbp, r15
jb 0x14013580c
cmp r15, qword [rsp + 0x40]
jg 0x140135803
mov rcx, r15
mov rax, qword [rsp + 0x38]
lea r15, [rax + r15*8]
mov rax, qword [rsp + 0x40]
shl rax, 3
shl rcx, 3
sub rax, rcx
mov rcx, r15
mov r14, rax
call fcn.140171160
mov rax, r14
add r15, 8
add rax, 0xfffffffffffffff8
jne 0x1401357e6
jmp 0x140134c54
int3
int3
int3
int3
mov qword [rsp + 0x38], rax
add r15, 0xffffffffffffff80
mov rcx, r15
call fcn.140171160
cmp r15, r14
jne 0x140135814
mov rax, qword [rsp + 0x38]
mov rdx, qword [rax]
mov r8, qword [sym.imp.KERNEL32.dll_WakeAllConditionVariable]
jmp 0x14013491a
mov r15, rax
mov rcx, rax
mov r14, r8
call fcn.1401f6240
mov rcx, qword [r15]
call fcn.140172a44
mov r8, r14
jmp 0x14013492a
mov rbp, qword [rbx + 0x58]
jbe 0x1401358b3
cmp rbp, r15
jb 0x1401358b0
cmp rbp, rax
jb 0x1401358ad
cmp rax, r15
jg 0x1401358aa
shl rax, 7
mov rcx, qword [rbx + 0x50]
add rcx, rax
shl r15, 7
sub r15, rax
mov rbp, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
lea rdi, fcn.1400fe7c0
mov qword [rsp + 0x38], rcx
call fcn.140171160
mov rcx, qword [rsp + 0x38]
sub rcx, 0xffffffffffffff80
add r15, 0xffffffffffffff80
jne 0x14013588c
jmp 0x14013493e
int3
int3
int3
cmp rbp, rax
jb 0x14013592e
jl 0x140135931
je 0x1401358e4
shl rax, 7
mov rdi, qword [rbx + 0x50]
add rdi, rax
shl rbp, 7
sub rbp, rax
mov rcx, rdi
call fcn.140171160
sub rdi, 0xffffffffffffff80
add rbp, 0xffffffffffffff80
jne 0x1401358ce
mov rax, qword [rbx + 0x58]
cmp rax, r15
jb 0x140135934
test r15, r15
js 0x14013592b
mov rbp, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
lea rdi, fcn.1400fe7c0
je 0x14013493e
mov rax, qword [rbx + 0x50]
shl r15, 7
mov rcx, rax
mov qword [rsp + 0x38], rax
call fcn.140171160
mov rax, qword [rsp + 0x38]
sub rax, 0xffffffffffffff80
add r15, 0xffffffffffffff80
jne 0x14013590a
jmp 0x14013493e
int3
int3
int3
int3
add rcx, 0x170
call fcn.140141680
jmp 0x140134d09
xor ecx, ecx
call fcn.140172940
jmp 0x140134b11
mov r13, rbx
lea rax, [r12 + 0x30]
xor rax, qword [0x140298390]
lea rcx, [0x140074d00]
lea rbx, [rsp + 0x130]
mov qword [rbx + 0x18], rcx
lea rcx, [0x14026a930]
mov qword [rbx + 0x20], rcx
mov qword [rbx + 8], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0
lea rdx, [0x1402898c0]
lea r8, str.WaitableEvent::Signal
lea r9, [0x140267ad8]
mov cl, 0x49
call fcn.140074da0
mov rax, qword [rbx + 0x20]
mov rax, qword [rax + 8]
test rax, rax
je 0x1401359ca
mov rcx, qword [rsp + 0x138]
call qword [case.0x1401d7990.0]
mov rbx, r13
jmp 0x140134afd
mov rcx, r12
call fcn.140005850
mov rcx, r12
call fcn.140172a44
jmp 0x140134b11
mov rcx, r14
call fcn.1400eaf60
jmp 0x140134eba
add rcx, 0x170
call fcn.140141680
jmp 0x140134d6a
mov rcx, rdi
call fcn.140005850
mov rcx, rdi
call fcn.140172a44
jmp 0x140134d79
add rcx, 0x170
call fcn.140141680
jmp 0x140134fcf
add rcx, 0x170
call fcn.140141680
jmp 0x140135035
mov rcx, r12
call fcn.140005850
mov rcx, r12
call fcn.140172a44
jmp 0x140135046
mov rcx, rdi
call fcn.1400ec2e0
jmp 0x140134cb7
mov rcx, r15
call fcn.1400ec2e0
jmp 0x140134daa
cmp qword [rsp + 0x60], rdi
jb 0x140135b00
jl 0x140135afd
je 0x140135aad
mov rax, qword [rsp + 0x40]
lea rbx, [rax + rdi*8]
mov rax, qword [rsp + 0x60]
lea r14, [rax*8]
shl rdi, 3
sub r14, rdi
mov rcx, rbx
call fcn.140171160
add rbx, 8
add r14, 0xfffffffffffffff8
jne 0x140135a9b
mov rax, qword [rsp + 0x60]
cmp rax, qword [rsp + 0x58]
jb 0x140135afa
cmp qword [rsp + 0x58], 0
js 0x140135af7
mov rbx, qword [rsp + 0x50]
mov rax, qword [rsp + 0x58]
je 0x140134a89
shl rax, 3
mov r14, qword [rsp + 0x40]
mov rcx, r14
mov rdi, rax
call fcn.140171160
mov rax, rdi
add r14, 8
add rax, 0xfffffffffffffff8
jne 0x140135ada
jmp 0x140134a89
int3
int3
int3
int3
cmp rbp, r15
jb 0x140135b76
jl 0x140135b79
je 0x140135b36
mov rax, qword [rsp + 0x38]
lea r14, [rax + r15*8]
lea rdi, [rbp*8]
shl r15, 3
sub rdi, r15
mov rcx, r14
call fcn.140171160
add r14, 8
add rdi, 0xfffffffffffffff8
jne 0x140135b24
cmp rbp, qword [rsp + 0x40]
jb 0x140135b7c
cmp qword [rsp + 0x40], 0
js 0x140135b7f
mov rax, qword [rsp + 0x40]
je 0x140134c54
shl rax, 3
mov r15, qword [rsp + 0x38]
mov rcx, r15
mov r14, rax
call fcn.140171160
mov rax, r14
add r15, 8
add rax, 0xfffffffffffffff8
jne 0x140135b59
jmp 0x140134c54
int3
int3
int3
int3
mov rdi, qword [rbx - 8]
add rbx, 0xfffffffffffffff8
test rdi, rdi
je 0x140135b95
lock dec dword [rdi + 8]
je 0x140135ba7
cmp rbx, rsi
jne 0x140135b82
mov rcx, qword [rsp + 0xd8]
jmp 0x1401349b9
mov rcx, rdi
call fcn.140005850
mov rcx, rdi
call fcn.140172a44
jmp 0x140135b95
mov rdi, qword [rbx - 8]
add rbx, 0xfffffffffffffff8
test rdi, rdi
je 0x140135bcc
lock dec dword [rdi + 8]
je 0x140135bde
cmp rbx, rsi
jne 0x140135bb9
mov rcx, qword [rsp + 0xb8]
jmp 0x1401349df
mov rcx, rdi
call fcn.140005850
mov rcx, rdi
call fcn.140172a44
jmp 0x140135bcc