Function at 0x1018b8a3
Capabilities:
Connect pipe
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x60
mov esi, esp
mov dword [esi + 0xc], edx
mov dword [esi + 4], ecx
mov eax, dword [0x102b0014]
xor eax, ebp
mov dword [esi + 0x58], eax
xor eax, eax
dec eax
lea ebx, [esi + 0x4c]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
call fcn.1015a000
mov dword [esi], eax
mov dword [esi + 8], edx
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov edi, eax
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
push dword [esi + 8]
push dword [esi]
push edi
push eax
push 0x10297f70
push ebx
call fcn.1015e360
add esp, 0x18
mov dword [esi], esp
push eax
mov edi, esp
cmp byte [ebx + 0xb], 0
jns 0x1018b90a
mov ebx, dword [esi + 0x4c]
sub esp, 0x20
xor eax, eax
mov dword [esp + 0x1c], eax
movaps xmm0, xmmword [0x10297f60]
movups xmmword [esp + 4], xmm0
mov dword [esp], ebx
mov dword [esp + 0x18], 0x1388
mov dword [esp + 0x14], 0x1000
call dword [sym.imp.kernel32.dll_CreateNamedPipeW]
xor ecx, ecx
mov dword [edi], ecx
mov ecx, edi
push eax
call fcn.1002e1cc
lea ebx, [esi + 0x40]
mov ecx, ebx
call fcn.1018bddc
mov esp, dword [esi]
mov edi, dword [esi + 4]
mov ecx, edi
push ebx
call fcn.1018bdb6
lea ecx, [esi + 0x44]
call fcn.1002e208
mov eax, dword [edi + 4]
inc eax
cmp eax, 1
ja 0x1018b983
push 0x5d
push str..._.._mojo_public_cpp_platform_platform_channel.cc
push ebx
call fcn.101bbd80
add esp, 0xc
mov ecx, ebx
call fcn.101846a0
mov dword [esi], esp
mov eax, dword [0x10297ff0]
mov dword [esi + 0x48], eax
movsd xmm0, qword [0x10297fe8]
movsd qword [esi + 0x40], xmm0
push eax
mov edi, esp
cmp byte [esi + 0x57], 0
jns 0x1018b9a8
mov eax, dword [esi + 0x4c]
jmp 0x1018b9ab
lea eax, [esi + 0x4c]
xor ebx, ebx
push ebx
push 0x40100000
push 3
lea ecx, [esi + 0x40]
push ecx
push ebx
push 0xc0000000
push eax
call dword [sym.imp.kernel32.dll_CreateFileW]
mov dword [edi], ebx
mov ecx, edi
push eax
call fcn.1002e1cc
lea ecx, [esi + 0x20]
call fcn.1018bddc
mov esp, dword [esi]
mov edi, dword [esi + 0xc]
mov ecx, edi
lea eax, [esi + 0x20]
push eax
call fcn.1018bdb6
lea ecx, [esi + 0x24]
call fcn.1002e208
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x2c], ebx
mov ebx, edi
mov eax, dword [edi + 4]
inc eax
cmp eax, 1
mov edi, dword [esi + 4]
ja 0x1018bcae
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xe7
jne 0x1018bcae
lea eax, [esi + 0x38]
push eax
push dword [edi + 4]
call dword [sym.imp.kernel32.dll_GetNamedPipeServerProcessId]
test eax, eax
jne 0x1018ba3c
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esi + 0x34], eax
lea eax, [esi + 0x30]
push eax
push dword [edi + 4]
call dword [sym.imp.kernel32.dll_GetNamedPipeClientProcessId]
test eax, eax
jne 0x1018ba56
call dword [sym.imp.kernel32.dll_GetLastError]
mov dword [esi + 0x2c], eax
mov dword [esi + 0x3c], 1
lea ebx, [esi + 0x4c]
cmp byte [ebx + 0xb], 0
mov eax, ebx
jns 0x1018ba6b
mov eax, dword [esi + 0x4c]
xor ecx, ecx
push ecx
push eax
call dword [sym.imp.kernel32.dll_WaitNamedPipeW]
mov dword [esi], esp
push eax
mov edi, esp
cmp byte [esi + 0x57], 0
jns 0x1018ba83
mov ebx, dword [esi + 0x4c]
xor ecx, ecx
push ecx
push 0x40100000
push 3
lea eax, [esi + 0x40]
push eax
push ecx
push 0xc0000000
push ebx
call dword [sym.imp.kernel32.dll_CreateFileW]
xor ecx, ecx
mov dword [edi], ecx
mov ecx, edi
push eax
call fcn.1002e1cc
lea edi, [esi + 0x20]
mov ecx, edi
call fcn.1018bddc
mov esp, dword [esi]
mov ebx, dword [esi + 0xc]
mov ecx, ebx
push edi
call fcn.1018bdb6
lea ecx, [esi + 0x24]
call fcn.1002e208
mov eax, dword [ebx + 4]
inc eax
cmp eax, 1
ja 0x1018bc91
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xe7
mov edi, dword [esi + 4]
jne 0x1018bcae
xor ecx, ecx
inc ecx
mov dword [esi], ecx
lea eax, [ecx + 1]
mov dword [esi + 0x10], eax
mov dword [esi + 0x3c], eax
xor eax, eax
dec eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
call fcn.1015a000
mov dword [esi + 8], eax
mov edi, edx
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
mov ebx, eax
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
push edi
push dword [esi + 8]
push ebx
push eax
push str..pipeLOCALmojo._lu._lu._I64u
lea edi, [esi + 0x14]
push edi
call fcn.1015e100
add esp, 0x18
movzx eax, byte [esi + 0x1f]
mov ecx, edi
test al, al
jns 0x1018bb43
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x18]
xor edx, edx
mov dword [esi + 0x24], edx
mov dword [esi + 0x20], edx
mov dword [esi + 0x28], edx
lea edi, [esi + 0x20]
push edi
push eax
push ecx
call fcn.1015ee40
add esp, 0xc
cmp byte [esi + 0x1f], 0
jns 0x1018bb6d
push dword [esi + 0x14]
call fcn.10205096
add esp, 4
mov dword [esi + 8], esp
push eax
mov ebx, esp
cmp byte [esi + 0x2b], 0
mov eax, edi
jns 0x1018bb7e
mov eax, dword [esi + 0x20]
sub esp, 0x20
xor edi, edi
mov dword [esp + 0x1c], edi
movaps xmm0, xmmword [0x10297f60]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
mov dword [esp + 0x18], 0x1388
mov dword [esp + 0x14], 0x1000
call dword [sym.imp.kernel32.dll_CreateNamedPipeW]
mov dword [ebx], edi
mov ecx, ebx
push eax
call fcn.1002e1cc
lea ebx, [esi + 0x14]
mov ecx, ebx
call fcn.1018bddc
mov esp, dword [esi + 8]
mov edi, dword [esi + 4]
mov ecx, edi
push ebx
call fcn.1018bdb6
lea ecx, [esi + 0x18]
call fcn.1002e208
mov eax, dword [edi + 4]
inc eax
cmp eax, 1
ja 0x1018bbf9
push 0x99
push str..._.._mojo_public_cpp_platform_platform_channel.cc
push ebx
call fcn.101bbd80
add esp, 0xc
mov ecx, ebx
call fcn.101846a0
mov dword [esi + 8], esp
push eax
mov ebx, esp
cmp byte [esi + 0x2b], 0
lea eax, [esi + 0x20]
jns 0x1018bc0b
mov eax, dword [esi + 0x20]
xor edi, edi
push edi
push 0x40100000
push 3
lea ecx, [esi + 0x40]
push ecx
push edi
push 0xc0000000
push eax
call dword [sym.imp.kernel32.dll_CreateFileW]
mov dword [ebx], edi
mov ecx, ebx
push eax
call fcn.1002e1cc
lea edi, [esi + 0x14]
mov ecx, edi
call fcn.1018bddc
mov esp, dword [esi + 8]
mov ebx, dword [esi + 0xc]
mov ecx, ebx
push edi
call fcn.1018bdb6
lea ecx, [esi + 0x18]
call fcn.1002e208
cmp byte [esi + 0x2b], 0
jns 0x1018bc61
push dword [esi + 0x20]
call fcn.10205096
add esp, 4
mov eax, dword [ebx + 4]
inc eax
cmp eax, 1
mov ecx, dword [esi]
ja 0x1018bc78
cmp ecx, 0x63
mov ecx, dword [esi + 0x10]
jb 0x1018baed
cmp eax, 1
ja 0x1018bc96
call dword [sym.imp.kernel32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0xe7
mov edi, dword [esi + 4]
je 0x1018bc9e
jmp 0x1018bcae
xor ecx, ecx
inc ecx
jmp 0x1018bc9b
mov ecx, 2
mov edi, dword [esi + 4]
push 3
push ecx
push str.Microsoft.Mojo.PlatformChannel.PipeBusyMitigation
call fcn.10155420
add esp, 0xc
mov eax, dword [ebx + 4]
inc eax
cmp eax, 1
lea ebx, [esi + 0x20]
ja 0x1018bcd4
push 0xa9
push str..._.._mojo_public_cpp_platform_platform_channel.cc
push ebx
call fcn.101bbd80
add esp, 0xc
mov ecx, ebx
call fcn.101846a0
lea eax, [esi + 0x3c]
push eax
call fcn.1002a710
add esp, 4
lea eax, [esi + 0x38]
push eax
call fcn.1002a710
add esp, 4
lea eax, [esi + 0x34]
push eax
call fcn.1002a710
add esp, 4
lea eax, [esi + 0x30]
push eax
call fcn.1002a710
add esp, 4
lea eax, [esi + 0x2c]
push eax
call fcn.1002a710
add esp, 4
lea eax, [esi + 0x4c]
push eax
call fcn.1002a710
add esp, 4
push 0
push dword [edi + 4]
call dword [sym.imp.kernel32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1018bd77
call dword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x217
jne 0x1018bd5b
cmp byte [esi + 0x57], 0
jns 0x1018bd49
push dword [esi + 0x4c]
call fcn.10205096
add esp, 4
mov ecx, dword [esi + 0x58]
xor ecx, ebp
call fcn.10205d16
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0xb6
push str..._.._mojo_public_cpp_platform_platform_channel.cc
push ebx
call fcn.101bbd80
add esp, 0xc
mov ecx, ebx
call fcn.101846a0
jmp 0x1018bd38
int3