Function at 0x140180b90
Capabilities:
Create thread

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
movaps xmmword [rsp + 0x90], xmm6
mov r13, rdx
mov rsi, rcx
mov rax, qword [0x14042f038]
xor rax, rsp
mov qword [rsp + 0x88], rax
call fcn.1400f3f10
mov qword [rsp + 0x38], rax
lea rbp, [rsi + 0x50]
lea rdi, [rsi + 0x48]
mov r14, qword [rsi + 0x38]
cmp r14, 0xffffffffffffffff
jne 0x140180c2c
mov rcx, rsi
mov dl, 1
call fcn.140165240
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140180c34
lea rdx, [0x1403e3180]
lea r14, [rsp + 0x60]
mov rcx, r14
mov r8d, 0x13b
call fcn.14031b5b0
lea rdx, str.CreateNamedPipe
mov rcx, r14
call fcn.1402e1e70
mov rcx, r14
call fcn.14031b5e0
mov r14, 0xffffffffffffffff
jmp 0x140180c34
mov qword [rsi + 0x38], 0xffffffffffffffff
mov ecx, 0x40
call fcn.14024abdc
mov rcx, qword [rsi + 0x20]
mov qword [rax], rcx
lea rbx, [0x1403b8f50]
mov qword [rax + 8], rbx
mov qword [rax + 0x10], r14
mov byte [rax + 0x18], 0
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], rdi
mov qword [rax + 0x30], rbp
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x38], rcx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1401810b0]
xor ecx, ecx
xor edx, edx
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r15, rax
test rax, rax
je 0x140180ff4
mov r14, qword [rsi + 0x38]
cmp r14, 0xffffffffffffffff
jne 0x140180cf5
mov rcx, rsi
xor edx, edx
call fcn.140165240
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140180cfd
lea rdx, [0x1403e3180]
lea r14, [rsp + 0x60]
mov rcx, r14
mov r8d, 0x13b
call fcn.14031b5b0
lea rdx, str.CreateNamedPipe
mov rcx, r14
call fcn.1402e1e70
mov rcx, r14
call fcn.14031b5e0
mov r14, 0xffffffffffffffff
jmp 0x140180cfd
mov qword [rsi + 0x38], 0xffffffffffffffff
mov ecx, 0x40
call fcn.14024abdc
mov rcx, qword [rsi + 0x20]
mov qword [rax], rcx
mov qword [rax + 8], rbx
mov qword [rax + 0x10], r14
mov byte [rax + 0x18], 0
mov qword [rax + 0x20], r13
mov qword [rax + 0x28], rdi
mov qword [rax + 0x30], rbp
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x38], rcx
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1401810b0]
xor ecx, ecx
xor edx, edx
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14018102a
mov qword [rsp + 0x48], r15
mov rcx, r13
call fcn.140098280
lea rbx, [rsi + 0x58]
xor r13d, r13d
mov r14, qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x84], 0
mov rcx, qword [rsi + 0x20]
mov dword [rsp + 0x20], 0xffffffff
lea rdx, [rsp + 0x84]
lea r8, [rsp + 0x50]
lea r9, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov r15, qword [rsp + 0x50]
test r15, r15
je 0x140180e87
mov rcx, rdi
call r14
test al, al
je 0x140180fe7
mov rcx, qword [rbx]
test rcx, rcx
je 0x140180e4d
mov rax, rcx
mov r12, rbx
lea rdx, [rax + 8]
cmp qword [rax + 0x20], r15
cmovae rdx, rax
cmovae r12, rax
mov rax, qword [rdx]
test rax, rax
jne 0x140180de0
cmp r12, rbx
je 0x140180e4d
cmp qword [r12 + 0x20], r15
ja 0x140180e4d
test r12, r12
je 0x140180fbb
mov rdx, qword [r12 + 8]
mov r8, r12
test rdx, rdx
je 0x140180e27
mov rax, rdx
mov rdx, qword [rdx]
test rdx, rdx
jne 0x140180e1a
jmp 0x140180e33
mov rax, qword [r8 + 0x10]
cmp qword [rax], r8
mov r8, rax
jne 0x140180e27
cmp qword [rbp], r12
je 0x140180e78
dec qword [rsi + 0x60]
mov rdx, r12
call fcn.1401d3cb0
mov rcx, r12
call fcn.14024ac18
mov rcx, r15
call fcn.1401811d0
mov rcx, r15
call fcn.14024ac18
cmp byte [rsi + 0x68], 0
jne 0x140180e6a
cmp qword [rsi + 0x60], 0
je 0x140180e7e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x140180d7d
mov qword [rbp], rax
jmp 0x140180e39
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
xorps xmm6, xmm6
lea r14, [rsp + 0x60]
movups xmmword [r14 + 0xc], xmm6
xor eax, eax
mov qword [r14 + 0x1c], rax
mov eax, 1
mov dword [r14], eax
mov r13, qword [rsp + 0x38]
mov qword [r14 + 4], r13
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rsp + 0x50]
mov qword [r15], rax
mov r12d, 0xaaaaaaaa
mov dword [r15 + 8], r12d
mov rcx, rsi
mov rdx, r14
mov r8, r15
call fcn.140164f20
xor eax, eax
mov qword [r14 + 0x1c], rax
movups xmmword [r14 + 0xc], xmm6
mov eax, 1
mov dword [r14], eax
mov qword [r14 + 4], r13
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [r15], rax
mov dword [r15 + 8], r12d
mov rcx, rsi
mov rdx, r14
mov r8, r15
call fcn.140164f20
mov r14, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r15, qword [rsp + 0x48]
mov rcx, r15
mov edx, 0xffffffff
call r14
mov r12, qword [rsp + 0x40]
mov rcx, r12
mov edx, 0xffffffff
call r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x140181060
mov rcx, rbp
mov rax, qword [rbp]
mov qword [rsp + 0x60], rax
cmp rax, rbx
jne 0x14018106d
mov rdx, qword [rsi + 0x58]
call fcn.1400c79f0
mov qword [rsi + 0x50], rbx
xorps xmm0, xmm0
movups xmmword [rsi + 0x58], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
test r12, r12
je 0x140180f82
mov rcx, r12
call fcn.1401661c0
test r15, r15
je 0x140180f8f
mov rcx, r15
call fcn.1401661c0
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.14024c3c0
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, str.node_shouldnt_be_null
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__tree
lea r9, str.__x___nullptr
mov r8d, 0xc2
call fcn.14028c680
mov rcx, rdi
call fcn.140201960
jmp 0x140180dd2
lea rdx, [0x1403e3180]
lea r14, [rsp + 0x60]
mov rcx, r14
mov r8d, 0x14a
call fcn.14031b5b0
lea rdx, [0x1403d0496]
mov rcx, r14
call fcn.1402e1e70
mov rcx, r14
call fcn.14031b5e0
jmp 0x140180c9e
lea rdx, [0x1403e3180]
lea r14, [rsp + 0x60]
mov rcx, r14
mov r8d, 0x14a
call fcn.14031b5b0
lea rdx, [0x1403d0496]
mov rcx, r14
call fcn.1402e1e70
mov rcx, r14
call fcn.14031b5e0
jmp 0x140180d62
mov rcx, rdi
call fcn.140201960
jmp 0x140180f43
lea r14, [rsp + 0x60]
mov r12, qword [rsp + 0x40]
mov r15, qword [rax + 0x20]
test r15, r15
je 0x140181090
mov rcx, r15
call fcn.1401811d0
mov rcx, r15
call fcn.14024ac18
mov rcx, r14
call fcn.1401812d0
mov rax, qword [rsp + 0x60]
cmp rax, rbx
mov rcx, rbp
mov r15, qword [rsp + 0x48]
je 0x140180f58
jmp 0x140181077