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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov dword [ebp - 0x44], edx
mov dword [ebp - 0x48], ecx
mov eax, dword [0x10146014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, 0x10
mov dword [ebp - 0x4c], eax
xor eax, eax
dec eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
call fcn.10080220
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.10044c10
add esp, 0x18
mov dword [ebp - 0x40], esp
push eax
mov ebx, esp
cmp byte [ebp - 0x11], 0
mov eax, esi
jns 0x10041bba
mov eax, dword [ebp - 0x1c]
sub esp, 0x20
xor edi, edi
mov dword [esp + 0x1c], edi
movaps xmm0, xmmword [0x1013ae50]
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 0x10041c1a
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [ebx]
inc eax
cmp eax, 2
jae 0x10041d11
lea eax, [esi + 1]
cmp eax, 2
jb 0x10041c13
mov dword [ebx], esi
call fcn.1007c020
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea edi, [ebp - 0x2c]
mov ecx, edi
call fcn.10041e50
mov esp, dword [ebp - 0x40]
mov esi, dword [ebp - 0x48]
mov ecx, esi
push edi
call fcn.10094e90
mov ecx, edi
call fcn.10094f10
mov eax, dword [esi + 4]
inc eax
cmp eax, 1
ja 0x10041c5c
push 0x49
push str.....mojopubliccppplatformplatform_channel.cc
lea esi, [ebp - 0x20]
push esi
call fcn.1011aed0
add esp, 0xc
mov ecx, esi
call fcn.1011aef0
mov dword [ebp - 0x40], esp
mov eax, dword [0x1013aed4]
mov dword [ebp - 0x24], eax
movsd xmm0, qword [0x1013aecc]
movsd qword [ebp - 0x2c], xmm0
push eax
mov ebx, esp
cmp byte [ebp - 0x11], 0
lea eax, [ebp - 0x1c]
jns 0x10041c83
mov eax, dword [ebp - 0x1c]
xor edi, edi
push edi
push 0x40100000
push 3
lea ecx, [ebp - 0x2c]
push ecx
push edi
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebx], edi
test eax, eax
je 0x10041ccc
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [ebx]
inc eax
cmp eax, 2
jae 0x10041d2b
lea eax, [esi + 1]
cmp eax, 2
jb 0x10041cc5
mov dword [ebx], esi
call fcn.1007c020
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea edi, [ebp - 0x34]
mov ecx, edi
call fcn.10041e50
mov esp, dword [ebp - 0x40]
mov esi, dword [ebp - 0x44]
mov ecx, esi
push edi
call fcn.10094e90
mov ecx, edi
call fcn.10094f10
mov esi, dword [esi + 4]
cmp byte [ebp - 0x11], 0
jns 0x10041cff
push dword [ebp - 0x1c]
call fcn.100c1c31
add esp, 4
inc esi
cmp esi, 1
mov eax, dword [ebp - 0x4c]
ja 0x10041d45
dec eax
jne 0x10041b6e
jmp 0x10041d45
call fcn.1007c020
push dword [ebx]
call fcn.10084410
add esp, 4
mov dword [ebx], 0
jmp 0x10041c04
call fcn.1007c020
push dword [ebx]
call fcn.10084410
add esp, 4
mov dword [ebx], 0
jmp 0x10041cb6
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 4]
inc eax
cmp eax, 1
ja 0x10041d6b
lea esi, [ebp - 0x38]
push 0x59
push str.....mojopubliccppplatformplatform_channel.cc
push esi
call fcn.1011aed0
add esp, 0xc
mov ecx, esi
call fcn.1011aef0
push 0
mov eax, dword [ebp - 0x48]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
jne 0x10041db8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
jne 0x10041d9c
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c2603
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [ebp - 0x3c]
push 0x5e
push str.....mojopubliccppplatformplatform_channel.cc
push esi
call fcn.1011aed0
add esp, 0xc
mov ecx, esi
call fcn.1011aef0
jmp 0x10041d8a
int3