Function at 0x486462
Capabilities:
Connect pipe
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov eax, dword [0x7a8498]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
lea ebx, [ebp - 0x1c]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
call fcn.00464bd0
mov dword [ebp - 0x34], eax
mov edi, edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push edi
push dword [ebp - 0x34]
push esi
push eax
push str..pipemojo._lu._lu._I64u
push ebx
call fcn.00468ed0
add esp, 0x18
mov dword [ebp - 0x34], esp
push eax
mov edi, esp
cmp byte [ebx + 0xb], 0
jns 0x4864c4
mov ebx, dword [ebp - 0x1c]
sub esp, 0x20
xor esi, esi
mov dword [esp + 0x1c], esi
movaps xmm0, xmmword [0x7372f0]
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]
mov dword [edi], esi
mov ecx, edi
push eax
call fcn.0048676a
lea ebx, [ebp - 0x28]
mov ecx, ebx
call fcn.0048685c
mov esp, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
mov ecx, esi
push ebx
call fcn.00486836
mov ecx, ebx
call fcn.00486890
mov eax, dword [esi + 4]
inc eax
cmp eax, 1
ja 0x486547
push str.local_endpoint__is_valid__
push 0x49
push str..._.._mojo_public_cpp_platform_platform_channel.cc
push ebx
call fcn.00458e30
add esp, 0x10
mov ecx, ebx
call fcn.00458d80
mov ecx, ebx
call fcn.00458d90
mov ecx, esp
mov eax, dword [0x7373ac]
mov dword [ebp - 0x20], eax
movsd xmm0, qword [0x7373a4]
movsd qword [ebp - 0x28], xmm0
push eax
mov edi, esp
cmp byte [ebp - 0x11], 0
mov dword [ebp - 0x34], ecx
jns 0x48656f
mov eax, dword [ebp - 0x1c]
jmp 0x486572
lea eax, [ebp - 0x1c]
xor esi, esi
push esi
push 0x40100000
push 3
push ebx
push esi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi], esi
mov ecx, edi
push eax
call fcn.0048676a
lea ebx, [ebp - 0x30]
mov ecx, ebx
call fcn.0048685c
mov esp, dword [ebp - 0x34]
mov esi, dword [ebp - 0x3c]
mov ecx, esi
push ebx
call fcn.00486836
mov ecx, ebx
call fcn.00486890
mov eax, dword [esi + 4]
inc eax
cmp eax, 1
ja 0x4865df
push str.remote_endpoint__is_valid__
push 0x56
push str..._.._mojo_public_cpp_platform_platform_channel.cc
push ebx
call fcn.00458e30
add esp, 0x10
mov ecx, ebx
call fcn.00458d80
mov ecx, ebx
call fcn.00458d90
push 0
mov eax, dword [ebp - 0x38]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x486614
push str._::ConnectNamedPipe_local_endpoint__GetHandle__.Get____nullptr_
push 0x5a
push str..._.._mojo_public_cpp_platform_platform_channel.cc
push ebx
call fcn.00458d10
add esp, 0x10
mov ecx, ebx
call fcn.00458d80
mov ecx, ebx
call fcn.00458d90
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x486644
push str.::GetLastError____ERROR_PIPE_CONNECTED
push 0x5b
push str..._.._mojo_public_cpp_platform_platform_channel.cc
push ebx
call fcn.00458e30
add esp, 0x10
mov ecx, ebx
call fcn.00458d80
mov ecx, ebx
call fcn.00458d90
cmp byte [ebp - 0x11], 0
jns 0x486655
push dword [ebp - 0x1c]
call fcn.006c90e6
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006c9121
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret