Function at 0x14004c5e0
Capabilities:
Read pipe
Write pipe

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x198], rbx
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 0x14004c62d
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 + 0x50], rax
cmp rax, 0xffffffffffffffff
jne 0x14004c746
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x14004c6eb
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14004c67f
mov rcx, qword [rbx]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x14004c690
jmp 0x14004c620
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x6c
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadutilwin_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 + 0x58]
call fcn.14004fc20
nop
mov dword [rbp + 0x90], 2
lea rdx, str.WaitNamedPipe
mov rcx, rax
call fcn.140001300
nop
lea rcx, [rsp + 0x58]
call fcn.14004ff50
xor bl, bl
jmp 0x14004c8d9
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x67
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadutilwin_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 + 0x58]
call fcn.14004fc20
nop
mov dword [rbp + 0x90], 1
lea rdx, [0x1400aad70]
mov rcx, rax
call fcn.140001300
nop
lea rcx, [rsp + 0x58]
call fcn.14004ff50
xor bl, bl
jmp 0x14004c8d9
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 0x14004c7c1
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x75
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadutilwin_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 + 0x58]
call fcn.14004fc20
nop
mov dword [rbp + 0x90], 4
lea rdx, [0x1400aae88]
mov rcx, rax
call fcn.140001300
nop
lea rcx, [rsp + 0x58]
call fcn.14004ff50
xor bl, bl
jmp 0x14004c8d9
mov dword [rbp + 0xa8], r15d
mov qword [rsp + 0x30], r15
lea rax, [rbp + 0xa8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xc
mov r9, rsi
mov r8d, 0x24
mov rdx, r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
jne 0x14004c855
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x83
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadutilwin_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 + 0x58]
call fcn.14004fc20
nop
mov dword [rbp + 0x90], 8
lea rdx, [0x1400aaea0]
mov rcx, rax
call fcn.140001300
nop
lea rcx, [rsp + 0x58]
call fcn.14004ff50
xor bl, bl
jmp 0x14004c8d9
cmp dword [rbp + 0xa8], 0xc
je 0x14004c8d7
mov dword [rsp + 0x20], 2
mov r9d, 0x87
lea r8, str.D:JenkinsworkspaceN_SentryNativeSDKexternalcrashpadutilwin_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 + 0x58]
call fcn.14004fa70
nop
mov dword [rbp + 0x90], 0x10
lea rdx, str.TransactNamedPipe:_expected
mov rcx, rax
call fcn.140001300
mov edx, 0xc
mov rcx, rax
call fcn.140003f20
mov rcx, rax
lea rdx, str.__observed
call fcn.140001300
mov edx, dword [rbp + 0xa8]
mov rcx, rax
call fcn.14000eb90
nop
lea rcx, [rsp + 0x58]
call fcn.14004fcb0
xor bl, bl
jmp 0x14004c8d9
mov bl, 1
cmp rdi, 0xffffffffffffffff
je 0x14004c8e8
mov rcx, rdi
call fcn.14004b1f0
nop
movzx eax, bl
mov rbx, qword [rsp + 0x198]
add rsp, 0x160
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret