Function at 0x14010cde6
Capabilities:
Check if file exists
Connect pipe
Create pipe

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x150
movaps xmmword [rsp + 0x140], xmm6
mov rsi, rcx
mov rax, qword [0x14020b038]
xor rax, rsp
mov qword [rsp + 0x138], rax
call fcn.1400d34dc
lea rdi, [rsi + 0x10]
mov rcx, rdi
call fcn.1400d34dc
movaps xmm6, xmmword [0x1401dfd10]
lea rcx, [rsp + 0x70]
movaps xmmword [rcx], xmm6
call fcn.140086630
lea rcx, [rsp + 0x60]
movaps xmmword [rcx], xmm6
call fcn.140086630
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x120]
mov qword [rbx + 0x10], rax
movaps xmmword [rbx], xmm6
call fcn.1400c8270
mov r14, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebp, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov qword [rsp + 0x20], r14
lea rdx, str..pipeLOCALmojo._lu._lu._I64u
mov rcx, rbx
mov r8d, eax
mov r9d, ebp
call fcn.1400c9550
cmp byte [rbx + 0x17], 0
jns 0x14010ce9d
mov rbx, qword [rsp + 0x120]
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov eax, 0x1000
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 0x1388
mov rcx, rbx
mov edx, 0x40080003
xor r8d, r8d
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov qword [rsp + 0x118], r14
test rax, rax
je 0x14010cf1d
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsp + 0x118]
inc rax
cmp rax, 2
jae 0x14010d39f
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14010cf15
mov qword [rsp + 0x118], rbx
call fcn.1400713d0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rbx, [rsp + 0xa0]
lea rdx, [rsp + 0x118]
mov rcx, rbx
call fcn.140086752
lea r14, [rsp + 0x70]
mov rcx, r14
mov rdx, rbx
call fcn.1400866ca
mov rcx, rbx
call fcn.140086800
mov rax, qword [r14 + 8]
inc rax
cmp rax, 1
ja 0x14010cf7f
lea rdx, str.....mojopubliccppplatformplatform_channel.cc
lea rbx, [rsp + 0x110]
mov rcx, rbx
mov r8d, 0x5f
call fcn.14017bcd0
mov rcx, rbx
call fcn.14017bcf0
mov rax, qword [0x1401eb200]
mov qword [rsp + 0x100], rax
movups xmm0, xmmword [0x1401eb1f0]
movaps xmmword [rsp + 0xf0], xmm0
cmp byte [rsp + 0x137], 0
jns 0x14010cfb1
mov rcx, qword [rsp + 0x120]
jmp 0x14010cfb9
lea rcx, [rsp + 0x120]
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x40100000
mov dword [rsp + 0x20], 3
lea r9, [rsp + 0xf0]
mov edx, 0xc0000000
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0xe8], r15
test rax, rax
je 0x14010d01a
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp rbx, 0xffffffffffffffff
je 0x14010d012
mov qword [rsp + 0xe8], rbx
call fcn.1400713d0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rbx, [rsp + 0xa0]
lea rdx, [rsp + 0xe8]
mov rcx, rbx
call fcn.140086752
lea r14, [rsp + 0x60]
mov rcx, r14
mov rdx, rbx
call fcn.1400866ca
mov rcx, rbx
call fcn.140086800
mov dword [rsp + 0xe4], r15d
mov dword [rsp + 0xe0], r15d
mov dword [rsp + 0xdc], r15d
mov dword [rsp + 0xd8], r15d
mov rax, qword [r14 + 8]
inc rax
cmp rax, 1
ja 0x14010d143
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x14010d143
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
test eax, eax
je 0x14010d136
lea rbx, [rsp + 0xc0]
movaps xmmword [rbx], xmm6
mov rcx, rbx
xor edx, edx
mov r8d, 1
call fcn.1401050a0
xorps xmm0, xmm0
lea r14, [rsp + 0xa0]
movaps xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
mov rax, qword [rbx]
mov qword [r14 + 0x18], rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, qword [rsp + 0x78]
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x14010d11a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x14010d11a
cmp byte [rsp + 0x137], 0
jns 0x14010d2a7
mov rcx, qword [rsp + 0x120]
jmp 0x14010d2af
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xe0], eax
lea rcx, [rsp + 0xc0]
call fcn.140081ab0
jmp 0x14010d143
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xe4], eax
mov rax, qword [rsp + 0x68]
inc rax
cmp rax, 1
ja 0x14010d176
lea rdx, str.....mojopubliccppplatformplatform_channel.cc
lea rbx, [rsp + 0xa0]
mov rcx, rbx
mov r8d, 0x97
call fcn.14017bcd0
mov rcx, rbx
call fcn.14017bcf0
lea rcx, [rsp + 0xe4]
call fcn.140050720
lea rcx, [rsp + 0xe0]
call fcn.140050720
lea rcx, [rsp + 0xdc]
call fcn.140050720
lea rcx, [rsp + 0xd8]
call fcn.140050720
lea rcx, [rsp + 0x120]
call fcn.140050720
mov rcx, qword [rsp + 0x78]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x14010d419
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
jne 0x14010d3ef
cmp byte [rsp + 0x137], 0
jns 0x14010d1f4
mov rcx, qword [rsp + 0x120]
call fcn.140111a1c
lea r14, [rsp + 0x50]
lea rbx, [rsp + 0x70]
mov rcx, r14
mov rdx, rbx
call fcn.140086642
lea r15, [rsp + 0xa0]
mov rcx, r15
mov rdx, r14
call fcn.1400d34e2
mov rcx, rsi
mov rdx, r15
call fcn.1400d3506
mov rcx, r15
call fcn.14008662a
lea r14, [rsp + 0x40]
lea r15, [rsp + 0x60]
mov rcx, r14
mov rdx, r15
call fcn.140086642
lea r12, [rsp + 0xa0]
mov rcx, r12
mov rdx, r14
call fcn.1400d34e2
mov rcx, rdi
mov rdx, r12
call fcn.1400d3506
mov rcx, r12
call fcn.14008662a
mov rcx, r15
call fcn.140086800
mov rcx, rbx
call fcn.140086800
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.140113000
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x140]
add rsp, 0x150
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rsp + 0x120]
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x40100000
mov dword [rsp + 0x20], 3
lea r9, [rsp + 0xf0]
mov edx, 0xc0000000
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x88], r14
test rax, rax
je 0x14010d310
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp rbx, 0xffffffffffffffff
je 0x14010d308
mov qword [rsp + 0x88], rbx
call fcn.1400713d0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rbx, [rsp + 0x90]
lea rdx, [rsp + 0x88]
mov rcx, rbx
call fcn.140086752
lea r14, [rsp + 0x60]
mov rcx, r14
mov rdx, rbx
call fcn.1400866ca
mov rcx, rbx
call fcn.140086800
mov rax, qword [r14 + 8]
inc rax
cmp rax, 2
jae 0x14010d3c2
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x14010d127
lea rcx, str.Microsoft.Mojo.PlatformChannel.PipeBusyMitigation
xor edx, edx
mov r8d, 4
call fcn.140076f90
mov rcx, qword [rsp + 0x78]
lea rdx, [rsp + 0xdc]
call qword [sym.imp.KERNEL32.dll_GetNamedPipeClientProcessId]
test eax, eax
jne 0x14010d127
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xd8], eax
jmp 0x14010d127
call fcn.1400713d0
mov rcx, qword [rsp + 0x118]
call fcn.140081d40
mov qword [rsp + 0x118], 0
jmp 0x14010cefe
lea rcx, [rsp + 0xc0]
call fcn.1400cc1c0
test al, al
je 0x14010d41c
lea rcx, str.Microsoft.Mojo.PlatformChannel.PipeBusyMitigation
mov edx, 3
mov r8d, 4
call fcn.140076f90
jmp 0x14010d127
lea rdx, str.....mojopubliccppplatformplatform_channel.cc
lea rbx, [rsp + 0xc0]
mov rcx, rbx
mov r8d, 0xa3
call fcn.14017bcd0
mov rcx, rbx
call fcn.14017bcf0
jmp 0x14010d1dd
int3
int3