Function at 0x140436800
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 0x14043683d
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 0x140436956
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x1404368fb
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14043688f
mov rcx, qword [rbx]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x1404368a0
jmp 0x140436830
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, WSAGetLastError
lea r8, str.C:UsersShadowDownloads_sentry_native__1_externalcrashpadutilwin_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.1404380a0
nop
mov dword [rbp + 0x90], 2
lea rdx, str.WaitNamedPipe
mov rcx, rax
call fcn.1400c90c0
nop
lea rcx, [rsp + 0x50]
call fcn.1404383e0
xor bl, bl
jmp 0x140436ae9
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x67
lea r8, str.C:UsersShadowDownloads_sentry_native__1_externalcrashpadutilwin_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.1404380a0
nop
mov dword [rbp + 0x90], 1
lea rdx, str.CreateFile
mov rcx, rax
call fcn.1400c90c0
nop
lea rcx, [rsp + 0x50]
call fcn.1404383e0
xor bl, bl
jmp 0x140436ae9
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 0x1404369d1
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x75
lea r8, str.C:UsersShadowDownloads_sentry_native__1_externalcrashpadutilwin_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.1404380a0
nop
mov dword [rbp + 0x90], 4
lea rdx, [0x14053e988]
mov rcx, rax
call fcn.1400c90c0
nop
lea rcx, [rsp + 0x50]
call fcn.1404383e0
xor bl, bl
jmp 0x140436ae9
mov dword [rbp + 0xa8], r15d
mov qword [rsp + 0x30], r15
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], recv
mov r9, rsi
mov r8d, 0x24
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
jne 0x140436a65
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x83
lea r8, str.C:UsersShadowDownloads_sentry_native__1_externalcrashpadutilwin_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.1404380a0
nop
mov dword [rbp + 0x90], 8
lea rdx, [0x14053e9a0]
mov rcx, rax
call fcn.1400c90c0
nop
lea rcx, [rsp + 0x50]
call fcn.1404383e0
xor bl, bl
jmp 0x140436ae9
cmp dword [rbp + 0xa8], 0xc
je 0x140436ae7
mov dword [rsp + 0x20], 2
mov r9d, 0x87
lea r8, str.C:UsersShadowDownloads_sentry_native__1_externalcrashpadutilwin_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.140437f10
nop
mov dword [rbp + 0x90], reloc.WS2_32.dll_recv
lea rdx, str.TransactNamedPipe:_expected
mov rcx, rax
call fcn.1400c90c0
mov rcx, rax
mov edx, recv
call fcn.1403aecd0
mov rcx, rax
lea rdx, str.__observed
call fcn.1400c90c0
mov rcx, rax
mov edx, dword [rbp + 0xa8]
call fcn.140433080
nop
lea rcx, [rsp + 0x50]
call fcn.140438120
xor bl, bl
jmp 0x140436ae9
mov bl, 1
cmp rdi, 0xffffffffffffffff
je 0x140436af8
mov rcx, rdi
call fcn.140432950
nop
movzx eax, bl
mov rbx, qword [rsp + 0x198]
add rsp, 0x160
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret