Function at 0x14001bbca
Capabilities:
Create thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1a8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x110], xmm6
mov qword [rbp + 0x108], 0xfffffffffffffffe
mov r13, rdx
mov rdi, rcx
call fcn.14003cf4c
mov r14, rax
xorps xmm0, xmm0
lea rax, [rbp + 0xf0]
movaps xmmword [rax - 0x10], xmm0
lea rax, [rdi + 0x58]
mov qword [rbp + 0xf8], rax
lea rax, [rdi + 0x30]
mov qword [rbp + 0x100], rax
xor r12d, r12d
lea rsi, [rbp - 0x48]
cmp r12, 2
jae 0x14001bdb3
mov r15, qword [rdi + 0x28]
cmp r15, 0xffffffffffffffff
je 0x14001bc51
mov qword [rdi + 0x28], 0xffffffffffffffff
jmp 0x14001bcd1
test r12, r12
sete dl
mov rcx, rdi
call fcn.14001fa1a
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x14001bcd1
call fcn.1400078ab
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 4
mov rcx, rsi
lea rdx, str.void___cdecl_crashpad::ExceptionHandlerServer::Run_crashpad::ExceptionHandlerServer::Delegate__
lea r8, str.xplat_third_partycrashpadutilwinexception_handler_server.cc
mov r9d, 0x13c
call fcn.1400078c2
mov rcx, rsi
lea rdx, str.Check_failed:_pipe___INVALID_HANDLE_VALUE
call fcn.1400035ea
mov rcx, rax
lea rdx, [0x1401301f3]
call fcn.1400035ea
mov rcx, rax
lea rdx, str.CreateNamedPipe
call fcn.1400035ea
mov rcx, rsi
call fcn.1400078f2
mov r15, 0xffffffffffffffff
mov ecx, 0x30
call fcn.1400b7270
mov rcx, qword [rdi + 0x20]
mov qword [rax], rcx
mov qword [rax + 8], r15
mov qword [rax + 0x10], r13
mov rcx, qword [rbp + 0x100]
mov qword [rax + 0x18], rcx
mov rcx, qword [rbp + 0xf8]
mov qword [rax + 0x20], rcx
mov qword [rax + 0x28], r14
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor ecx, ecx
xor edx, edx
lea r8, [0x14001c106]
mov r9, rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
lea rbx, [r12*8 + 0xe0]
add rbx, rbp
mov qword [rbp - 0x48], rax
mov rcx, rbx
mov rdx, rsi
call fcn.14000e81a
cmp qword [rbx], 0
jne 0x14001bdab
call fcn.1400078ab
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 4
mov rcx, rsi
lea rdx, str.void___cdecl_crashpad::ExceptionHandlerServer::Run_crashpad::ExceptionHandlerServer::Delegate__
lea r8, str.xplat_third_partycrashpadutilwinexception_handler_server.cc
mov r9d, 0x14b
call fcn.1400078c2
mov rcx, rsi
lea rdx, str.Check_failed:_thread_handles_i_.is_valid__
call fcn.1400035ea
mov rcx, rax
lea rdx, [0x1401301f3]
call fcn.1400035ea
mov rcx, rax
lea rdx, [0x140126a54]
call fcn.1400035ea
mov rcx, rsi
call fcn.1400078f2
inc r12
jmp 0x14001bc30
mov rax, qword [r13]
mov rcx, r13
call qword [rax]
xor r13d, r13d
lea r12, [rbp + 0xc0]
lea rsi, [rbp - 0x48]
mov r15, qword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
mov qword [rbp - 0x48], r13
mov qword [rbp + 0xc0], r13
mov dword [rbp + 0xdc], 0
mov rcx, qword [rdi + 0x20]
mov dword [rsp + 0x20], 0xffffffff
lea rdx, [rbp + 0xdc]
mov r8, r12
mov r9, rsi
call r15
mov rax, qword [rbp + 0xc0]
test rax, rax
je 0x14001be72
mov qword [rbp + 0xd0], rax
mov rcx, qword [rbp + 0x100]
call fcn.140020000
mov rcx, qword [rbp + 0xf8]
lea rdx, [rbp + 0xd0]
call fcn.14001c222
mov rbx, qword [rbp + 0xd0]
test rbx, rbx
je 0x14001be55
mov rcx, rbx
call fcn.14001c2a8
mov edx, 0x88
mov rcx, rbx
call fcn.1400b72ac
cmp byte [rdi + 0x68], 0
jne 0x14001be62
cmp qword [rdi + 0x60], 0
je 0x14001be81
xor ebx, ebx
mov rcx, qword [rbp + 0x100]
call fcn.140020018
jmp 0x14001be77
mov ebx, 5
test ebx, ebx
je 0x14001bdd1
jmp 0x14001be88
mov ebx, 5
jmp 0x14001be64
lea rsi, [rbp - 0x3c]
xor ebx, ebx
xorps xmm6, xmm6
lea r15, [rbp - 0x48]
lea r12, [rbp + 0xc0]
cmp rbx, 2
jae 0x14001becb
movups xmmword [rsi], xmm6
mov qword [rsi + 0x10], 0
mov dword [rbp - 0x48], 1
mov qword [rbp - 0x44], r14
mov rcx, rdi
mov rdx, r15
mov r8, r12
call fcn.14001f5f4
inc rbx
jmp 0x14001be9c
lea rsi, [rbp + 0xe0]
mov rdi, qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rax, [rbp + 0xf0]
cmp rsi, rax
je 0x14001bef5
mov rcx, qword [rsi]
mov edx, 0xffffffff
call rdi
add rsi, 8
jmp 0x14001bed9
mov rcx, qword [rbp + 0x100]
call fcn.140020000
mov rax, qword [rbp + 0xf8]
mov rbx, qword [rax]
mov rax, qword [rbx]
mov qword [rbp - 0x48], rax
cmp rax, rbx
je 0x14001bf4a
lea rsi, [rbp - 0x48]
mov rdi, qword [rax + 0x20]
test rdi, rdi
je 0x14001bf39
mov rcx, rdi
call fcn.14001c2a8
mov edx, 0x88
mov rcx, rdi
call fcn.1400b72ac
mov rcx, rsi
call fcn.140003dc6
mov rax, qword [rbp - 0x48]
cmp rax, rbx
jne 0x14001bf1b
mov rcx, qword [rbp + 0xf8]
call fcn.14001c34a
mov rcx, qword [rbp + 0x100]
call fcn.140020018
lea rsi, [rbp + 0xe0]
lea rdi, [rbp + 0xf0]
add rdi, 0xfffffffffffffff8
mov rcx, rdi
call fcn.14000de04
cmp rdi, rsi
jne 0x14001bf70
movaps xmm6, xmmword [rbp + 0x110]
add rsp, 0x1a8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret