Function at 0x14001f5f4
Capabilities:
Read pipe
Write pipe

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x160
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xd8], 0xfffffffffffffffe
mov r14, r8
mov r15, rdx
mov rbx, rcx
mov rsi, qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12, qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
cmp qword [rbx + 0x18], 7
mov rcx, rbx
jbe 0x14001f643
mov rcx, qword [rbx]
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 rsi
cmp rax, 0xffffffffffffffff
mov qword [rbp + 0xd0], rax
jne 0x14001f6df
call rdi
cmp eax, 0xe7
jne 0x14001f7c4
cmp qword [rbx + 0x18], 7
mov rcx, rbx
jbe 0x14001f690
mov rcx, qword [rbx]
mov edx, 0xffffffff
call r12
test eax, eax
jne 0x14001f636
call fcn.1400078ab
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.1400078c2
lea rdx, str.WaitNamedPipe
lea rcx, [rbp - 0x40]
call fcn.1400035ea
jmp 0x14001f802
lea rdx, [rbp + 0xc8]
mov dword [rdx], 2
mov rcx, rax
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x14001f812
lea rax, [rbp + 0xcc]
mov dword [rax], 0
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], send
mov rcx, qword [rbp + 0xd0]
mov rdx, r15
mov r8d, 0x24
mov r9, r14
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x14001f852
mov sil, 1
cmp dword [rbp + 0xcc], 0xc
je 0x14001f89b
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.1400067ee
lea rdx, str.TransactNamedPipe:_expected
lea rcx, [rbp - 0x40]
call fcn.1400035ea
mov edx, 0xc
mov rcx, rax
call fcn.14001cc5e
lea rdx, str.__observed
mov rcx, rax
call fcn.1400035ea
mov edx, dword [rbp + 0xcc]
mov rcx, rax
call fcn.140007320
lea rcx, [rbp - 0x40]
call fcn.140006ed2
jmp 0x14001f899
call fcn.1400078ab
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.1400078c2
lea rdx, [0x1401262c3]
lea rcx, [rbp - 0x40]
call fcn.1400035ea
lea rcx, [rbp - 0x40]
call fcn.1400078f2
xor esi, esi
jmp 0x14001f8a7
call fcn.1400078ab
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.1400078c2
lea rdx, [0x140125eea]
lea rcx, [rbp - 0x40]
call fcn.1400035ea
jmp 0x14001f890
call fcn.1400078ab
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.1400078c2
lea rdx, [0x1401260c9]
lea rcx, [rbp - 0x40]
call fcn.1400035ea
lea rcx, [rbp - 0x40]
call fcn.1400078f2
xor esi, esi
mov rcx, qword [rbp + 0xd0]
call fcn.14001f3e8
mov eax, esi
add rsp, 0x160
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret