Function at 0x10054495
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 [0x100db010]
xor eax, ebp
mov dword [ebp - 0x10], eax
call fcn.10041040
mov dword [ebp - 0x34], eax
mov ebx, edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea edi, [ebp - 0x28]
push ebx
push dword [ebp - 0x34]
push esi
push eax
push str..pipemojo._lu._lu._I64u
push edi
call fcn.1005b1a0
add esp, 0x18
movzx eax, byte [edi + 0xb]
test al, al
jns 0x100544eb
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
lea ebx, [ebp - 0x1c]
push eax
push edi
push ebx
call fcn.10055a10
add esp, 0xc
cmp byte [ebp - 0x1d], 0
jns 0x1005450a
push dword [ebp - 0x28]
call fcn.10099c44
add esp, 4
mov dword [ebp - 0x34], esp
push eax
mov edi, esp
cmp byte [ebp - 0x11], 0
jns 0x10054519
mov ebx, dword [ebp - 0x1c]
sub esp, 0x20
xor esi, esi
mov dword [esp + 0x1c], esi
movaps xmm0, xmmword [0x100c4610]
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.100546a6
lea ebx, [ebp - 0x28]
mov ecx, ebx
call fcn.100547bc
mov esp, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
mov ecx, esi
push ebx
call fcn.10054796
mov ecx, ebx
call fcn.100547e4
mov eax, dword [esi + 4]
inc eax
cmp eax, 1
ja 0x10054597
push 0x48
push str..._.._mojo_public_cpp_platform_platform_channel.cc
push ebx
call fcn.1006e890
add esp, 0xc
mov ecx, ebx
call fcn.1006e860
mov ecx, ebx
call fcn.1006e870
mov dword [ebp - 0x34], esp
mov eax, dword [0x100c4678]
mov dword [ebp - 0x20], eax
movsd xmm0, qword [0x100c4670]
movsd qword [ebp - 0x28], xmm0
push eax
mov edi, esp
cmp byte [ebp - 0x11], 0
jns 0x100545bd
mov eax, dword [ebp - 0x1c]
jmp 0x100545c0
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.100546a6
lea ebx, [ebp - 0x30]
mov ecx, ebx
call fcn.100547bc
mov esp, dword [ebp - 0x34]
mov esi, dword [ebp - 0x3c]
mov ecx, esi
push ebx
call fcn.10054796
mov ecx, ebx
call fcn.100547e4
mov eax, dword [esi + 4]
inc eax
cmp eax, 1
ja 0x10054628
push 0x55
push str..._.._mojo_public_cpp_platform_platform_channel.cc
push ebx
call fcn.1006e890
add esp, 0xc
mov ecx, ebx
call fcn.1006e860
mov ecx, ebx
call fcn.1006e870
push 0
mov eax, dword [ebp - 0x38]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x1005468a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
jne 0x1005466a
cmp byte [ebp - 0x11], 0
jns 0x10054658
push dword [ebp - 0x1c]
call fcn.10099c44
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10099c81
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x5a
push str..._.._mojo_public_cpp_platform_platform_channel.cc
push ebx
call fcn.1006e890
add esp, 0xc
mov ecx, ebx
call fcn.1006e860
mov ecx, ebx
call fcn.1006e870
jmp 0x10054647
int3