Function at 0x1400cc4a8
Capabilities:
Read pipe
Write pipe

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1c8
movaps xmmword [rsp + 0x1b0], xmm6
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], rdx
mov rbx, rcx
mov rax, qword [0x14019e638]
xor rax, rsp
mov qword [rsp + 0x1a8], rax
lea rdi, [rcx + 2]
movaps xmm6, xmmword [section..rdata]
xor esi, esi
mov rbp, qword [sym.imp.KERNEL32.dll_CreateFileW]
lea r14, [0x140166340]
mov r15, qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12, qword [sym.imp.KERNEL32.dll_WaitNamedPipeW]
lea r13, [rsp + 0x190]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x1a0], rax
movaps xmmword [rsp + 0x190], xmm6
test byte [rbx], 1
mov rcx, rdi
je 0x1400cc539
mov rcx, qword [rbx + 0x10]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x110000
mov dword [rsp + 0x20], 3
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call rbp
mov qword [rsp + 0x190], r14
mov qword [rsp + 0x198], rax
mov byte [rsp + 0x1a0], sil
cmp rax, 0xffffffffffffffff
jne 0x1400cc5b4
call r15
cmp eax, 0xe7
jne 0x1400cc6af
test byte [rbx], 1
mov rcx, rdi
je 0x1400cc597
mov rcx, qword [rbx + 0x10]
mov edx, 0xffffffff
call r12
test eax, eax
je 0x1400cc701
mov rcx, r13
call fcn.1400af816
jmp 0x1400cc513
lea rdx, [rsp + 0x4c]
mov dword [rdx], 2
mov rcx, rax
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetNamedPipeHandleState]
test eax, eax
je 0x1400cc753
lea rax, [rsp + 0x48]
mov dword [rax], 0
mov rcx, qword [rsp + 0x198]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0xc
mov rdx, qword [rsp + 0x38]
mov r8d, 0x24
mov r9, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_TransactNamedPipe]
test eax, eax
je 0x1400cc7a2
mov sil, 1
cmp dword [rsp + 0x48], 0xc
je 0x1400cc7fa
mov ecx, 2
call fcn.1400302f0
test al, al
je 0x1400cc7f8
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov r8d, 0x87
mov r9d, 2
call fcn.140030390
lea rcx, [rsp + 0x58]
lea rdx, str.TransactNamedPipe:_expected
mov r8d, 0x1c
call fcn.140001c63
mov edx, 0xc
mov rcx, rax
call fcn.14000b978
lea rdx, str.__observed
mov r8d, 0xb
mov rcx, rax
call fcn.140001c63
mov edx, dword [rsp + 0x48]
mov rcx, rax
call fcn.14000b524
mov rcx, rsi
call fcn.14002f710
jmp 0x1400cc7f8
mov ecx, 2
call fcn.1400302f0
test al, al
je 0x1400cc7f8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov r8d, 0x67
mov r9d, 2
call fcn.140030be0
lea rcx, [rsp + 0x60]
lea rdx, [0x140169930]
mov r8d, 0xa
jmp 0x1400cc7eb
mov ecx, 2
call fcn.1400302f0
test al, al
je 0x1400cc7f8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov r8d, 0x6c
mov r9d, 2
call fcn.140030be0
lea rcx, [rsp + 0x60]
lea rdx, str.WaitNamedPipe
mov r8d, 0xd
jmp 0x1400cc7eb
mov ecx, 2
call fcn.1400302f0
test al, al
je 0x1400cc7f8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov r8d, 0x75
mov r9d, 2
call fcn.140030be0
lea rcx, [rsp + 0x60]
lea rdx, [0x140169949]
mov r8d, 0x17
jmp 0x1400cc7eb
mov ecx, 2
call fcn.1400302f0
test al, al
je 0x1400cc7f8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_util_win_registration_protocol_win.cc
lea rsi, [rsp + 0x50]
mov rcx, rsi
mov r8d, 0x83
mov r9d, 2
call fcn.140030be0
lea rcx, [rsp + 0x60]
lea rdx, [0x140169961]
mov r8d, 0x11
call fcn.140001c63
mov rcx, rsi
call fcn.140030cb0
xor esi, esi
lea rcx, [rsp + 0x190]
call fcn.1400af816
mov rcx, qword [rsp + 0x1a8]
xor rcx, rsp
call fcn.1401207e0
mov eax, esi
movaps xmm6, xmmword [rsp + 0x1b0]
add rsp, 0x1c8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret