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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x4c], ecx
mov eax, dword [0x7a9040]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, 0x10
lea edi, [ebp - 0x1c]
jmp 0x54ff04
push dword [ebp - 0x30]
call fcn.006507ee
add esp, 4
mov dword [ebp - 0x44], esp
push eax
mov esi, esp
cmp byte [ebp - 0x11], 0
mov eax, edi
jns 0x54fda2
mov eax, dword [ebp - 0x1c]
sub esp, 0x20
xor ebx, ebx
mov dword [esp + 0x1c], ebx
movaps xmm0, xmmword [0x78a260]
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 [esi], ebx
test eax, eax
je 0x54fe02
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x54ffa4
lea eax, [edi + 1]
cmp eax, 2
jb 0x54fdfb
mov dword [esi], edi
call fcn.005e4650
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea edi, [ebp - 0x30]
mov ecx, edi
call fcn.005f36f0
mov esp, dword [ebp - 0x44]
mov esi, dword [ebp - 0x4c]
mov ecx, esi
push edi
call fcn.005f3670
mov ecx, edi
call fcn.005f3790
mov eax, dword [esi + 4]
inc eax
cmp eax, 1
ja 0x54fe53
push 0x4d
push str.....mojopubliccppplatformplatform_channel.cc
push str.CreateChannel
push edi
call fcn.005e4620
add esp, 0x10
push edi
lea esi, [ebp - 0x20]
push esi
call fcn.006a7d20
add esp, 8
mov ecx, esi
call fcn.006a7dc0
mov dword [ebp - 0x44], esp
mov dword [ebp - 0x30], 0xc
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], 1
push eax
mov esi, esp
cmp byte [ebp - 0x11], 0
lea eax, [ebp - 0x1c]
jns 0x54fe78
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
push ebx
push 0x40100000
push 3
push edi
push ebx
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi], ebx
test eax, eax
je 0x54fec2
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x54ffbe
lea eax, [edi + 1]
cmp eax, 2
jb 0x54febb
mov dword [esi], edi
call fcn.005e4650
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea edi, [ebp - 0x38]
mov ecx, edi
call fcn.005f36f0
mov esp, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
mov ecx, esi
push edi
call fcn.005f3670
mov ecx, edi
call fcn.005f3790
mov esi, dword [esi + 4]
cmp byte [ebp - 0x11], 0
jns 0x54fef5
push dword [ebp - 0x1c]
call fcn.006507ee
add esp, 4
inc esi
cmp esi, 1
mov eax, dword [ebp - 0x50]
lea edi, [ebp - 0x1c]
ja 0x54ff38
dec eax
je 0x54ff38
mov dword [ebp - 0x50], eax
xor eax, eax
dec eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea esi, [ebp - 0x30]
push esi
call fcn.0057f780
add esp, 4
push esi
push edi
call fcn.0057f8c0
add esp, 8
cmp byte [ebp - 0x25], 0
jns 0x54fd91
jmp 0x54fd86
mov eax, dword [ebp - 0x48]
mov eax, dword [eax + 4]
inc eax
cmp eax, 1
ja 0x54ff70
push 0x5d
push str.....mojopubliccppplatformplatform_channel.cc
push str.CreateChannel
lea esi, [ebp - 0x30]
push esi
call fcn.005e4620
add esp, 0x10
lea edi, [ebp - 0x3c]
push esi
push edi
call fcn.006a7d20
add esp, 8
mov ecx, edi
call fcn.006a7dc0
push 0
mov eax, dword [ebp - 0x4c]
push dword [eax + 4]
call dword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
lea esi, [ebp - 0x30]
jne 0x550003
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
jne 0x54ffd8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00650d60
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.005e4650
push dword [esi]
call fcn.005cf200
add esp, 4
mov dword [esi], 0
jmp 0x54fdec
call fcn.005e4650
push dword [esi]
call fcn.005cf200
add esp, 4
mov dword [esi], 0
jmp 0x54feac
push 0x62
push str.....mojopubliccppplatformplatform_channel.cc
push str.CreateChannel
push esi
call fcn.005e4620
add esp, 0x10
lea edi, [ebp - 0x40]
push esi
push edi
call fcn.006a7d20
add esp, 8
mov ecx, edi
call fcn.006a7dc0
jmp 0x54ff92
int3