Function at 0x14004a680
Capabilities:
Read pipe
Write pipe

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x160
mov rsi, r8
mov rbp, rdx
mov rbx, rcx
xor r14d, r14d
mov dword [rsp + 0x180], r14d
nop dword [rax]
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14004a6bd
mov rcx, qword [rbx]
mov qword [rsp + 0x30], r14
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 0x14004a7d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x14004a77c
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14004a70f
mov rcx, qword [rbx]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
test eax, eax
je 0x14004a720
jmp 0x14004a6b0
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x6c
lea r8, str.D:projects_netease_nrd_nrd_pc_client_vcpkg_buildtrees_sentry_native_srcy_native_0_bf71db22ea.cleanexternalcrashpadutilwin_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.14004dda0
nop
mov dword [rsp + 0x180], 2
lea rdx, str.WaitNamedPipe
mov rcx, rax
call fcn.1400012e0
nop
lea rcx, [rsp + 0x50]
call fcn.14004e080
xor bl, bl
jmp 0x14004a972
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x67
lea r8, str.D:projects_netease_nrd_nrd_pc_client_vcpkg_buildtrees_sentry_native_srcy_native_0_bf71db22ea.cleanexternalcrashpadutilwin_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.14004dda0
nop
mov dword [rsp + 0x180], 1
lea rdx, [0x1400a6cf0]
mov rcx, rax
call fcn.1400012e0
nop
lea rcx, [rsp + 0x50]
call fcn.14004e080
xor bl, bl
jmp 0x14004a972
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 0x14004a854
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x75
lea r8, str.D:projects_netease_nrd_nrd_pc_client_vcpkg_buildtrees_sentry_native_srcy_native_0_bf71db22ea.cleanexternalcrashpadutilwin_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.14004dda0
nop
mov dword [rsp + 0x180], 4
lea rdx, [0x1400a6e08]
mov rcx, rax
call fcn.1400012e0
nop
lea rcx, [rsp + 0x50]
call fcn.14004e080
xor bl, bl
jmp 0x14004a972
mov dword [rsp + 0x198], r14d
mov qword [rsp + 0x30], r14
lea rax, [rsp + 0x198]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0xc
mov r9, rsi
mov r8d, 0x24
mov rdx, rbp
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
jne 0x14004a8eb
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 2
mov r9d, 0x83
lea r8, str.D:projects_netease_nrd_nrd_pc_client_vcpkg_buildtrees_sentry_native_srcy_native_0_bf71db22ea.cleanexternalcrashpadutilwin_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.14004dda0
nop
mov dword [rsp + 0x180], 8
lea rdx, [0x1400a6e20]
mov rcx, rax
call fcn.1400012e0
nop
lea rcx, [rsp + 0x50]
call fcn.14004e080
xor bl, bl
jmp 0x14004a972
cmp dword [rsp + 0x198], 0xc
je 0x14004a970
mov dword [rsp + 0x20], 2
mov r9d, 0x87
lea r8, str.D:projects_netease_nrd_nrd_pc_client_vcpkg_buildtrees_sentry_native_srcy_native_0_bf71db22ea.cleanexternalcrashpadutilwin_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.14004dc10
nop
mov dword [rsp + 0x180], 0x10
lea rdx, str.TransactNamedPipe:_expected
mov rcx, rax
call fcn.1400012e0
mov edx, 0xc
mov rcx, rax
call fcn.140003fb0
mov rcx, rax
lea rdx, str.__observed
call fcn.1400012e0
mov edx, dword [rsp + 0x198]
mov rcx, rax
call fcn.14000e760
nop
lea rcx, [rsp + 0x50]
call fcn.14004de20
xor bl, bl
jmp 0x14004a972
mov bl, 1
cmp rdi, 0xffffffffffffffff
je 0x14004a981
mov rcx, rdi
call fcn.1400492e0
nop
movzx eax, bl
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret