Function at 0x1400fa240
Capabilities:
Read pipe
Write pipe

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rsi, r8
mov r14, rdx
mov rbx, rcx
xor r15d, r15d
mov dword [rbp + 0x90], r15d
nop dword [rax + rax]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400fa27d
mov rcx, qword [rbx]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x110000
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
jne 0x1400fa396
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x1400fa33b
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400fa2cf
mov rcx, qword [rbx]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x1400fa2e0
jmp 0x1400fa270
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, WSASetLastError
lea r8, str.D:3party_code_sentry_nativeexternalcrashpadutilwin_registration_protocol_win.cc
lea rdx, str.bool___cdecl_crashpad::SendToCrashHandlerServer_const_class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t_____const_struct_crashpad::ClientToServerMessage__union_crashpad::ServerToClientMessage__
lea rcx, [rsp + 0x50]
call fcn.1400fd6c0
nop
mov dword [rbp + 0x90], 2
lea rdx, str.WaitNamedPipe
mov rcx, rax
call fcn.1400dbf30
nop
lea rcx, [rsp + 0x50]
call fcn.1400fd990
xor bl, bl
jmp 0x1400fa529
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x67
lea r8, str.D:3party_code_sentry_nativeexternalcrashpadutilwin_registration_protocol_win.cc
lea rdx, str.bool___cdecl_crashpad::SendToCrashHandlerServer_const_class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t_____const_struct_crashpad::ClientToServerMessage__union_crashpad::ServerToClientMessage__
lea rcx, [rsp + 0x50]
call fcn.1400fd6c0
nop
mov dword [rbp + 0x90], 1
lea rdx, str.CreateFile
mov rcx, rax
call fcn.1400dbf30
nop
lea rcx, [rsp + 0x50]
call fcn.1400fd990
xor bl, bl
jmp 0x1400fa529
mov dword [rsp + 0x40], 2
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
jne 0x1400fa411
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x75
lea r8, str.D:3party_code_sentry_nativeexternalcrashpadutilwin_registration_protocol_win.cc
lea rdx, str.bool___cdecl_crashpad::SendToCrashHandlerServer_const_class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t_____const_struct_crashpad::ClientToServerMessage__union_crashpad::ServerToClientMessage__
lea rcx, [rsp + 0x50]
call fcn.1400fd6c0
nop
mov dword [rbp + 0x90], 4
lea rdx, [0x140429818]
mov rcx, rax
call fcn.1400dbf30
nop
lea rcx, [rsp + 0x50]
call fcn.1400fd990
xor bl, bl
jmp 0x1400fa529
mov dword [rbp + 0xa8], r15d
mov qword [rsp + 0x30], r15
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov r9, rsi
mov r8d, Ordinal_41
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
jne 0x1400fa4a5
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x83
lea r8, str.D:3party_code_sentry_nativeexternalcrashpadutilwin_registration_protocol_win.cc
lea rdx, str.bool___cdecl_crashpad::SendToCrashHandlerServer_const_class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t_____const_struct_crashpad::ClientToServerMessage__union_crashpad::ServerToClientMessage__
lea rcx, [rsp + 0x50]
call fcn.1400fd6c0
nop
mov dword [rbp + 0x90], 8
lea rdx, [0x140429830]
mov rcx, rax
call fcn.1400dbf30
nop
lea rcx, [rsp + 0x50]
call fcn.1400fd990
xor bl, bl
jmp 0x1400fa529
cmp dword [rbp + 0xa8], 0xc
je 0x1400fa527
mov dword [rsp + 0x20], 2
mov r9d, 0x87
lea r8, str.D:3party_code_sentry_nativeexternalcrashpadutilwin_registration_protocol_win.cc
lea rdx, str.bool___cdecl_crashpad::SendToCrashHandlerServer_const_class_std::basic_string_wchar_t_struct_std::char_traits_wchar_t__class_std::allocator_wchar_t_____const_struct_crashpad::ClientToServerMessage__union_crashpad::ServerToClientMessage__
lea rcx, [rsp + 0x50]
call fcn.1400fd530
nop
mov dword [rbp + 0x90], reloc.WS2_32.dll_recv
lea rdx, str.TransactNamedPipe:_expected
mov rcx, rax
call fcn.1400dbf30
mov edx, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov rcx, rax
call fcn.1400e5b60
mov rcx, rax
lea rdx, str.__observed
call fcn.1400dbf30
mov edx, dword [rbp + 0xa8]
mov rcx, rax
call fcn.1400f0db0
nop
lea rcx, [rsp + 0x50]
call fcn.1400fd740
xor bl, bl
jmp 0x1400fa529
mov bl, 1
cmp rdi, 0xffffffffffffffff
je 0x1400fa538
mov rcx, rdi
call fcn.1400efe80
nop
movzx eax, bl
mov rbx, qword [rsp + 0x198]
add rsp, 0x160
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret