Function at 0x1801da3b6
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 [0x1803b6038]
xor rax, rsp
mov qword [rsp + 0x138], rax
call fcn.18018ceda
lea rdi, [rsi + 0x10]
mov rcx, rdi
call fcn.18018ceda
movaps xmm6, xmmword [0x1803467d0]
lea rcx, [rsp + 0x70]
movaps xmmword [rcx], xmm6
call fcn.18010ef60
lea rcx, [rsp + 0x60]
movaps xmmword [rcx], xmm6
call fcn.18010ef60
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x120]
mov qword [rbx + 0x10], rax
movaps xmmword [rbx], xmm6
lea r14, [rsp + 0xf0]
mov rcx, r14
call fcn.18030ac92
mov rcx, rbx
mov rdx, r14
mov r8b, 1
call fcn.18030ae0a
cmp byte [r14 + 0x17], 0
jns 0x1801da461
mov rcx, qword [rsp + 0xf0]
call fcn.1801e4f44
cmp byte [rsp + 0x137], 0
jns 0x1801da473
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 0x1801da4f3
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsp + 0x118]
inc rax
cmp rax, 2
jae 0x1801daa24
lea rax, [rbx + 1]
cmp rax, 2
jb 0x1801da4eb
mov qword [rsp + 0x118], rbx
call fcn.18010a990
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rbx, [rsp + 0xf0]
lea rdx, [rsp + 0x118]
mov rcx, rbx
call fcn.18010f082
lea r14, [rsp + 0x70]
mov rcx, r14
mov rdx, rbx
call fcn.18010effa
mov rcx, rbx
call fcn.18010f130
mov rax, qword [r14 + 8]
inc rax
cmp rax, 1
ja 0x1801da56f
lea rdx, str.CreateChannel
lea r8, str.....mojopubliccppplatformplatform_channel.cc
lea rbx, [rsp + 0xf0]
mov rcx, rbx
mov r9d, 0x5a
call fcn.18010a970
lea r14, [rsp + 0x110]
mov rcx, r14
mov rdx, rbx
call fcn.1802d1d10
mov rcx, r14
call fcn.1802d1d40
mov rax, qword [0x180390630]
mov qword [rsp + 0xe0], rax
movups xmm0, xmmword [0x180390620]
movaps xmmword [rsp + 0xd0], xmm0
cmp byte [rsp + 0x137], 0
js 0x1801da5b3
lea rcx, [rsp + 0x120]
jmp 0x1801da5bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xc4], eax
jmp 0x1801da712
mov rcx, qword [rsp + 0x120]
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x40100000
mov dword [rsp + 0x20], 3
lea r9, [rsp + 0xd0]
mov edx, 0xc0000000
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0xc8], r15
test rax, rax
je 0x1801da61c
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp rbx, 0xffffffffffffffff
je 0x1801da614
mov qword [rsp + 0xc8], rbx
call fcn.18010a990
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rbx, [rsp + 0xf0]
lea rdx, [rsp + 0xc8]
mov rcx, rbx
call fcn.18010f082
lea r14, [rsp + 0x60]
mov rcx, r14
mov rdx, rbx
call fcn.18010effa
mov rcx, rbx
call fcn.18010f130
mov dword [rsp + 0xc4], r15d
mov dword [rsp + 0xc0], r15d
mov dword [rsp + 0xbc], r15d
mov dword [rsp + 0xb8], r15d
mov rax, qword [r14 + 8]
inc rax
cmp rax, 1
ja 0x1801da712
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x1801da712
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_DisconnectNamedPipe]
test eax, eax
je 0x1801da5a1
lea rbx, [rsp + 0xa0]
movaps xmmword [rbx], xmm6
mov rcx, rbx
xor edx, edx
mov r8d, 1
call fcn.1801c7ad0
xorps xmm0, xmm0
lea r14, [rsp + 0xf0]
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
je 0x1801da890
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xc0], eax
lea rcx, [rsp + 0xa0]
call fcn.1800fd9f0
mov rax, qword [rsp + 0x68]
inc rax
cmp rax, 1
ja 0x1801da75f
lea rdx, str.CreateChannel
lea r8, str.....mojopubliccppplatformplatform_channel.cc
lea rbx, [rsp + 0xf0]
mov rcx, rbx
mov r9d, 0x92
call fcn.18010a970
lea r14, [rsp + 0xa0]
mov rcx, r14
mov rdx, rbx
call fcn.1802d1d10
mov rcx, r14
call fcn.1802d1d40
lea rcx, [rsp + 0xc4]
call fcn.1800d2060
lea rcx, [rsp + 0xc0]
call fcn.1800d2060
lea rcx, [rsp + 0xbc]
call fcn.1800d2060
lea rcx, [rsp + 0xb8]
call fcn.1800d2060
lea rcx, [rsp + 0x120]
call fcn.1800d2060
mov rcx, qword [rsp + 0x78]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1801daa1e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
jne 0x1801da9da
cmp byte [rsp + 0x137], 0
jns 0x1801da7dd
mov rcx, qword [rsp + 0x120]
call fcn.1801e4f44
lea r14, [rsp + 0x50]
lea rbx, [rsp + 0x70]
mov rcx, r14
mov rdx, rbx
call fcn.18010ef72
lea r15, [rsp + 0xf0]
mov rcx, r15
mov rdx, r14
call fcn.18018cee6
mov rcx, rsi
mov rdx, r15
call fcn.18018cf10
mov rcx, r15
call fcn.18018cf0a
lea r14, [rsp + 0x40]
lea r15, [rsp + 0x60]
mov rcx, r14
mov rdx, r15
call fcn.18010ef72
lea r12, [rsp + 0xf0]
mov rcx, r12
mov rdx, r14
call fcn.18018cee6
mov rcx, rdi
mov rdx, r12
call fcn.18018cf10
mov rcx, r12
call fcn.18018cf0a
mov rcx, r15
call fcn.18010f130
mov rcx, rbx
call fcn.18010f130
mov rcx, qword [rsp + 0x138]
xor rcx, rsp
call fcn.1801e6610
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
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x1801da6f8
cmp byte [rsp + 0x137], 0
js 0x1801da8b5
lea rcx, [rsp + 0x120]
jmp 0x1801da8bd
mov rcx, qword [rsp + 0x120]
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x40100000
mov dword [rsp + 0x20], 3
lea r9, [rsp + 0xd0]
mov edx, 0xc0000000
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x88], r14
test rax, rax
je 0x1801da91e
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp rbx, 0xffffffffffffffff
je 0x1801da916
mov qword [rsp + 0x88], rbx
call fcn.18010a990
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rbx, [rsp + 0x90]
lea rdx, [rsp + 0x88]
mov rcx, rbx
call fcn.18010f082
lea r14, [rsp + 0x60]
mov rcx, r14
mov rdx, rbx
call fcn.18010effa
mov rcx, rbx
call fcn.18010f130
mov rax, qword [r14 + 8]
inc rax
cmp rax, 2
jae 0x1801da9ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe7
jne 0x1801da705
lea rcx, str.Microsoft.Mojo.PlatformChannel.PipeBusyMitigation
xor edx, edx
mov r8d, 4
call fcn.180105590
mov rcx, qword [rsp + 0x78]
lea rdx, [rsp + 0xbc]
call qword [sym.imp.KERNEL32.dll_GetNamedPipeClientProcessId]
test eax, eax
jne 0x1801da705
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0xb8], eax
jmp 0x1801da705
lea rcx, [rsp + 0xa0]
call fcn.180173d20
test al, al
je 0x1801daa21
lea rcx, str.Microsoft.Mojo.PlatformChannel.PipeBusyMitigation
mov edx, 3
mov r8d, 4
call fcn.180105590
jmp 0x1801da705
lea rdx, str.CreateChannel
lea r8, str.....mojopubliccppplatformplatform_channel.cc
lea rbx, [rsp + 0xf0]
mov rcx, rbx
mov r9d, 0x9e
call fcn.18010a970
lea r14, [rsp + 0x90]
mov rcx, r14
mov rdx, rbx
call fcn.1802d1d10
mov rcx, r14
call fcn.1802d1d40
jmp 0x1801da7c6
int3
int3
call fcn.18010a990
mov rcx, qword [rsp + 0x118]
call fcn.1800fd300
mov qword [rsp + 0x118], 0
jmp 0x1801da4d4