Function at 0x1400180e8
Capabilities:
Read pipe
Write pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x178
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xf0], 0xfffffffffffffffe
mov qword [rbp + 0xc8], r8
mov qword [rbp + 0xd0], rdx
mov rbx, rcx
mov r13, qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, qword [sym.imp.KERNEL32.dll_GetLastError]
lea rsi, [rbp - 0x40]
lea r14, [rbp + 0xe0]
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x140018145
mov rcx, qword [rbx]
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x110000
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call r13
mov qword [rbp + 0xe0], rax
cmp rax, 0xffffffffffffffff
je 0x140018262
mov dword [rbp + 0xdc], 2
mov rcx, rax
lea rdx, [rbp + 0xdc]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x140018291
and dword [rbp + 0xec], 0
mov rcx, qword [rbp + 0xe0]
lea rax, [rbp + 0xec]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0xc
mov rdx, qword [rbp + 0xd0]
push 0x24
pop r8
mov r9, qword [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x140018310
mov r15b, 1
cmp dword [rbp + 0xec], 0xc
je 0x140018359
mov dword [rsp + 0x20], 2
mov rcx, rsi
lea rdx, str.bool___cdecl_crashpad::SendToCrashHandlerServer_const_std::wstring___const_crashpad::ClientToServerMessage___crashpad::ServerToClientMessage__
lea r8, str..._.._.._third_party_crashpad_util_win_registration_protocol_win.cc
mov r9d, 0x87
call fcn.14004b54e
mov rcx, rsi
lea rdx, str.TransactNamedPipe:_expected
call fcn.140002bc9
mov rcx, rax
push 0xc
pop rdx
call fcn.14000aad6
mov rcx, rax
lea rdx, str.__observed
call fcn.140002bc9
mov edx, dword [rbp + 0xec]
mov rcx, rax
call fcn.14000f1d2
mov rcx, rsi
call fcn.14004ba62
jmp 0x140018356
call r12
cmp eax, 0xe7
jne 0x1400182cf
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x140018279
mov rcx, qword [rbx]
push 0xffffffffffffffff
pop rdx
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x14001835e
xor edi, edi
jmp 0x1400183a8
call r12
mov edi, eax
mov dword [rsp + 0x20], 2
mov rcx, rsi
lea rdx, str.bool___cdecl_crashpad::SendToCrashHandlerServer_const_std::wstring___const_crashpad::ClientToServerMessage___crashpad::ServerToClientMessage__
lea r8, str..._.._.._third_party_crashpad_util_win_registration_protocol_win.cc
push 0x75
pop r9
call fcn.14004b54e
mov dword [rbp + 0xc0], edi
mov rcx, rsi
lea rdx, [0x140097266]
call fcn.140002bc9
jmp 0x14001834e
call r12
mov edi, eax
mov dword [rsp + 0x20], 2
mov rcx, rsi
lea rdx, str.bool___cdecl_crashpad::SendToCrashHandlerServer_const_std::wstring___const_crashpad::ClientToServerMessage___crashpad::ServerToClientMessage__
lea r8, str..._.._.._third_party_crashpad_util_win_registration_protocol_win.cc
push 0x67
pop r9
call fcn.14004b54e
mov dword [rbp + 0xc0], edi
mov rcx, rsi
lea rdx, [0x14009747b]
call fcn.140002bc9
jmp 0x14001839a
call r12
mov edi, eax
mov dword [rsp + 0x20], 2
mov rcx, rsi
lea rdx, str.bool___cdecl_crashpad::SendToCrashHandlerServer_const_std::wstring___const_crashpad::ClientToServerMessage___crashpad::ServerToClientMessage__
lea r8, str..._.._.._third_party_crashpad_util_win_registration_protocol_win.cc
mov r9d, 0x83
call fcn.14004b54e
mov dword [rbp + 0xc0], edi
mov rcx, rsi
lea rdx, [0x140097394]
call fcn.140002bc9
mov rcx, rsi
call fcn.14004bba4
xor r15d, r15d
mov dil, 1
jmp 0x1400183a8
call r12
mov edi, eax
mov dword [rsp + 0x20], 2
mov rcx, rsi
lea rdx, str.bool___cdecl_crashpad::SendToCrashHandlerServer_const_std::wstring___const_crashpad::ClientToServerMessage___crashpad::ServerToClientMessage__
lea r8, str..._.._.._third_party_crashpad_util_win_registration_protocol_win.cc
push 0x6c
pop r9
call fcn.14004b54e
mov dword [rbp + 0xc0], edi
mov rcx, rsi
lea rdx, str.WaitNamedPipe
call fcn.140002bc9
mov rcx, rsi
call fcn.14004bba4
mov dil, 1
xor r15d, r15d
mov rcx, r14
call fcn.14000adc6
test dil, dil
je 0x140018138
and r15b, 1
mov eax, r15d
add rsp, 0x178
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret