Function at 0x1400f8bf8
Capabilities:
Read pipe
Write pipe

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
xor esi, esi
mov r14, r8
mov dword [rbp + 0x80], esi
mov r15, rdx
mov rdi, rcx
cmp qword [rdi + 0x18], 8
jb 0x1400f8c2d
mov rcx, qword [rdi]
jmp 0x1400f8c30
mov rcx, rdi
and qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], 0x110000
xor r8d, r8d
mov edx, 0xc0000000
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x1400f8d21
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x1400f8cd3
cmp qword [rdi + 0x18], 8
jb 0x1400f8c7c
mov rcx, qword [rdi]
jmp 0x1400f8c7f
mov rcx, rdi
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
jne 0x1400f8c21
lea edi, [rax + 2]
cmp dword [0x14017c080], edi
jg 0x1400f8ccb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, edi
lea r8d, [rdi + 0x3b]
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x40]
call fcn.140068d00
lea rdx, str.WaitNamedPipe
lea rcx, [rax + 0x10]
call fcn.14002bcb4
mov esi, edi
test dil, sil
jmp 0x1400f8e06
mov edi, 2
cmp dword [0x14017c080], edi
lea r14d, [rdi - 1]
jg 0x1400f8d19
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, edi
lea r8d, [rdi + 0x36]
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x40]
call fcn.140068d00
lea rdx, [0x14015e208]
lea rcx, [rax + 0x10]
call fcn.14002bcb4
mov esi, r14d
test r14b, sil
jmp 0x1400f8e06
mov edi, 2
lea rdx, [rbp + 0x98]
xor r9d, r9d
mov dword [rbp + 0x98], edi
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x1400f8d89
cmp dword [0x14017c080], edi
jg 0x1400f8d83
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, edi
lea r8d, [rdi + 0x44]
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x40]
call fcn.140068d00
lea rdx, [0x14015e280]
lea rcx, [rax + 0x10]
call fcn.14002bcb4
lea esi, [rdi + 2]
test sil, 4
jmp 0x1400f8e06
and qword [rsp + 0x30], rsi
lea rax, [rbp + 0x80]
and dword [rbp + 0x80], esi
mov r9, r14
mov qword [rsp + 0x28], rax
mov r8d, 0x24
mov rdx, r15
mov dword [rsp + 0x20], ntohl
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
jne 0x1400f8e18
cmp dword [0x14017c080], edi
jg 0x1400f8e02
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, edi
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x20], eax
mov r8d, 0x54
call fcn.140068d00
lea rdx, [0x14015e298]
lea rcx, [rax + 0x10]
call fcn.14002bcb4
mov esi, 8
test sil, 8
je 0x1400f8e92
lea rcx, [rsp + 0x40]
call fcn.140068d80
jmp 0x1400f8e92
cmp dword [rbp + 0x80], 0xc
je 0x1400f8e97
cmp dword [0x14017c080], edi
jg 0x1400f8e82
mov r9d, edi
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
mov r8d, 0x58
lea rcx, [rsp + 0x40]
call fcn.1400681c0
lea rdx, str.TransactNamedPipe:_expected
lea rcx, [rax + 8]
call fcn.14002bcb4
mov rcx, rax
mov edx, ntohl
call fcn.140032378
mov rcx, rax
lea rdx, str.__observed
call fcn.14002bcb4
mov edx, dword [rbp + 0x80]
mov rcx, rax
call fcn.140033548
mov esi, 0x10
test sil, 0x10
je 0x1400f8e92
lea rcx, [rsp + 0x40]
call fcn.140068220
xor r14b, r14b
jmp 0x1400f8e9d
mov r14d, 1
cmp rbx, 0xffffffffffffffff
je 0x1400f8eb0
mov rcx, rbx
call fcn.1400fced4
test al, al
jne 0x1400f8eb0
int3
mov al, r14b
mov rbx, qword [rsp + 0x188]
add rsp, 0x150
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret