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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x34
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov eax, dword [0x7aa024]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, 0x10
mov dword [ebp - 0x40], eax
xor eax, eax
dec eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.005ea830
mov esi, eax
mov edi, edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push edi
push esi
push ebx
push eax
push str..pipemojo._lu._lu._I64u
lea esi, [ebp - 0x1c]
push esi
call fcn.00547730
add esp, 0x18
mov dword [ebp - 0x34], esp
push eax
mov ebx, esp
cmp byte [ebp - 0x11], 0
mov eax, esi
jns 0x56568a
mov eax, dword [ebp - 0x1c]
sub esp, 0x20
xor edi, edi
mov dword [esp + 0x1c], edi
movaps xmm0, xmmword [0x792610]
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
test eax, eax
je 0x5656ea
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [ebx]
inc eax
cmp eax, 2
jae 0x5657e5
lea eax, [esi + 1]
cmp eax, 2
jb 0x5656e3
mov dword [ebx], esi
call fcn.005e42e0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea edi, [ebp - 0x28]
mov ecx, edi
call fcn.005ffb10
mov esp, dword [ebp - 0x34]
mov esi, dword [ebp - 0x3c]
mov ecx, esi
push edi
call fcn.005ffa90
mov ecx, edi
call fcn.005ffbc0
mov eax, dword [esi + 4]
inc eax
cmp eax, 1
ja 0x565730
push 0x4b
push str.....mojopubliccppplatformplatform_channel.cc
push edi
call fcn.006d01c0
add esp, 0xc
mov ecx, edi
call fcn.006d0100
mov ecx, edi
call fcn.006d0110
mov dword [ebp - 0x34], esp
mov eax, dword [0x7926b4]
mov dword [ebp - 0x20], eax
movsd xmm0, qword [0x7926ac]
movsd qword [ebp - 0x28], xmm0
push eax
mov ebx, esp
cmp byte [ebp - 0x11], 0
lea eax, [ebp - 0x1c]
jns 0x565757
mov eax, dword [ebp - 0x1c]
xor edi, edi
push edi
push 0x40100000
push 3
lea ecx, [ebp - 0x28]
push ecx
push edi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx], edi
test eax, eax
je 0x5657a0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [ebx]
inc eax
cmp eax, 2
jae 0x5657ff
lea eax, [esi + 1]
cmp eax, 2
jb 0x565799
mov dword [ebx], esi
call fcn.005e42e0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea edi, [ebp - 0x30]
mov ecx, edi
call fcn.005ffb10
mov esp, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
mov ecx, esi
push edi
call fcn.005ffa90
mov ecx, edi
call fcn.005ffbc0
mov esi, dword [esi + 4]
cmp byte [ebp - 0x11], 0
jns 0x5657d3
push dword [ebp - 0x1c]
call fcn.0064cd6e
add esp, 4
inc esi
cmp esi, 1
mov eax, dword [ebp - 0x40]
ja 0x565819
dec eax
jne 0x56563e
jmp 0x565819
call fcn.005e42e0
push dword [ebx]
call fcn.005f2830
add esp, 4
mov dword [ebx], 0
jmp 0x5656d4
call fcn.005e42e0
push dword [ebx]
call fcn.005f2830
add esp, 4
mov dword [ebx], 0
jmp 0x56578a
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 4]
inc eax
cmp eax, 1
ja 0x565846
lea esi, [ebp - 0x1c]
push 0x5b
push str.....mojopubliccppplatformplatform_channel.cc
push esi
call fcn.006d01c0
add esp, 0xc
mov ecx, esi
call fcn.006d0100
mov ecx, esi
call fcn.006d0110
push 0
mov eax, dword [ebp - 0x3c]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x56589a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
jne 0x565877
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0064d372
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [ebp - 0x1c]
push 0x60
push str.....mojopubliccppplatformplatform_channel.cc
push esi
call fcn.006d01c0
add esp, 0xc
mov ecx, esi
call fcn.006d0100
mov ecx, esi
call fcn.006d0110
jmp 0x565865
int3