Function at 0x1400681a8
Capabilities:
Read pipe
Write pipe

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x168
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xe0], 0xfffffffffffffffe
mov r14, r8
mov r15, rdx
mov rdi, rcx
mov rbx, qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r12, qword [sym.imp.KERNEL32.dll_GetLastError]
mov r13, qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
cmp qword [rdi + 0x18], 8
mov rcx, rdi
jb 0x1400681f9
mov rcx, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x110000
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbx
mov qword [rbp + 0xd0], rax
cmp rax, 0xffffffffffffffff
jne 0x140068296
call r12
cmp eax, 0xe7
jne 0x14006837a
cmp qword [rdi + 0x18], 8
mov rcx, rdi
jb 0x140068247
mov rcx, qword [rdi]
mov edx, 0xffffffff
call r13
test eax, eax
jne 0x1400681ec
call fcn.1400372c2
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
lea rdx, str.bool___cdecl_crashpad::SendToCrashHandlerServer_const_std::wstring___const_crashpad::ClientToServerMessage___crashpad::ServerToClientMessage__
lea r8, str.xplat_third_partycrashpadutilwin_registration_protocol_win.cc
lea rcx, [rbp - 0x40]
mov r9d, WSAGetLastError
call fcn.1400372da
lea rdx, str.WaitNamedPipe
lea rcx, [rbp - 0x40]
call fcn.14000345f
jmp 0x1400683b8
mov rsi, rax
lea rdx, [rbp + 0xcc]
mov dword [rdx], 2
mov rcx, rax
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x1400683c8
lea rax, [rbp + 0xdc]
mov dword [rax], 0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], send
mov rcx, rsi
mov rdx, r15
mov r8d, 0x24
mov r9, r14
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x140068408
mov dil, 1
cmp dword [rbp + 0xdc], 0xc
je 0x140068451
mov dword [rsp + 0x20], 2
lea rdx, str.bool___cdecl_crashpad::SendToCrashHandlerServer_const_std::wstring___const_crashpad::ClientToServerMessage___crashpad::ServerToClientMessage__
lea r8, str.xplat_third_partycrashpadutilwin_registration_protocol_win.cc
lea rcx, [rbp - 0x40]
mov r9d, 0x87
call fcn.1400366da
lea rdx, str.TransactNamedPipe:_expected
lea rcx, [rbp - 0x40]
call fcn.14000345f
mov edx, 0xc
mov rcx, rax
call fcn.140034e1c
lea rdx, str.__observed
mov rcx, rax
call fcn.14000345f
mov edx, dword [rbp + 0xdc]
mov rcx, rax
call fcn.140036f30
lea rcx, [rbp - 0x40]
call fcn.140036d3a
jmp 0x14006844f
call fcn.1400372c2
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
lea rdx, str.bool___cdecl_crashpad::SendToCrashHandlerServer_const_std::wstring___const_crashpad::ClientToServerMessage___crashpad::ServerToClientMessage__
lea r8, str.xplat_third_partycrashpadutilwin_registration_protocol_win.cc
lea rcx, [rbp - 0x40]
mov r9d, 0x67
call fcn.1400372da
lea rdx, [0x14013cf1f]
lea rcx, [rbp - 0x40]
call fcn.14000345f
lea rcx, [rbp - 0x40]
call fcn.14003730a
xor edi, edi
jmp 0x140068459
call fcn.1400372c2
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
lea rdx, str.bool___cdecl_crashpad::SendToCrashHandlerServer_const_std::wstring___const_crashpad::ClientToServerMessage___crashpad::ServerToClientMessage__
lea r8, str.xplat_third_partycrashpadutilwin_registration_protocol_win.cc
lea rcx, [rbp - 0x40]
mov r9d, 0x75
call fcn.1400372da
lea rdx, [0x14013cae2]
lea rcx, [rbp - 0x40]
call fcn.14000345f
jmp 0x140068446
call fcn.1400372c2
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
lea rdx, str.bool___cdecl_crashpad::SendToCrashHandlerServer_const_std::wstring___const_crashpad::ClientToServerMessage___crashpad::ServerToClientMessage__
lea r8, str.xplat_third_partycrashpadutilwin_registration_protocol_win.cc
lea rcx, [rbp - 0x40]
mov r9d, 0x83
call fcn.1400372da
lea rdx, [0x14013cd14]
lea rcx, [rbp - 0x40]
call fcn.14000345f
lea rcx, [rbp - 0x40]
call fcn.14003730a
xor edi, edi
mov rcx, rsi
call fcn.14005cd38
mov eax, edi
add rsp, 0x168
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret