Function at 0x10079e7c
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x100ea080]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor edi, edi
dec edi
lea esi, [ebp - 0x28]
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov ecx, esi
push ebx
call fcn.1003d8b2
movzx eax, byte [esi + 0xb]
test al, al
jns 0x10079eb3
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x10079f66
call fcn.100468d0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ebx, [ebp - 0x1c]
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push esi
push eax
push str._lu._lu._I64u
push ebx
call fcn.10062da0
add esp, 0x18
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x10079efb
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x34]
push eax
push ebx
push ecx
call fcn.1005d2e0
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x10079f1a
push dword [ebp - 0x1c]
call fcn.100a6614
add esp, 4
cmp byte [ebp - 0x1d], 0
mov ebx, dword [ebp + 0xc]
js 0x10079f2f
mov word [ebp - 0x28], 0
mov byte [ebp - 0x1d], 0
jmp 0x10079f56
mov eax, dword [ebp - 0x28]
mov word [eax], 0
mov dword [ebp - 0x24], 0
cmp byte [ebp - 0x1d], 0
jns 0x10079f56
push dword [ebp - 0x28]
call fcn.100a6614
add esp, 4
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x20], eax
movsd xmm0, qword [ebp - 0x34]
movsd qword [ebp - 0x28], xmm0
xor eax, eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebx + 0xc]
cmp byte [ebx + 0x17], 0
js 0x10079f7b
jne 0x10079f8a
jmp 0x10079f85
cmp dword [ebx + 0x10], 0
je 0x10079f85
mov eax, dword [eax]
jmp 0x10079f8a
mov eax, str.D:_A__GA___SY__A__GA___BA__A__GA___OW_
lea ecx, [ebp - 0x3c]
lea edx, [ebp - 0x38]
push ecx
push edx
push 1
push eax
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
je 0x1007a0b0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], 0xc
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
movzx esi, byte [ebx + 0x18]
shl esi, 0x13
or esi, 0x40000003
lea ebx, [ebp - 0x34]
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 8], edi
lea eax, [ebp - 0x28]
push eax
push str..pipemojo.
push ebx
call fcn.10041200
add esp, 0xc
mov dword [ebp - 0x48], esp
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
push eax
mov edi, esp
xor ecx, ecx
inc ecx
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x18], 0
mov eax, 0xff
cmovne eax, ecx
cmp byte [ebx + 0xb], 0
jns 0x1007a008
mov ebx, dword [ebp - 0x34]
lea ecx, [ebp - 0x1c]
mov edx, 0x1000
push ecx
push 0x1388
push edx
push edx
push eax
mov eax, 8
push eax
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
xor ecx, ecx
mov dword [edi], ecx
mov ecx, edi
push eax
call fcn.1005bf6e
lea esi, [ebp - 0x44]
mov ecx, esi
call fcn.1005c084
mov esp, dword [ebp - 0x48]
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x28]
push eax
call fcn.1003da22
mov edi, esp
sub esp, 8
mov ecx, esp
push esi
call fcn.1005c032
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.1005bfe4
mov esp, edi
mov ecx, esi
call fcn.1005c0ac
cmp byte [ebp - 0x29], 0
jns 0x1007a07d
push dword [ebp - 0x34]
call fcn.100a6614
add esp, 4
mov eax, dword [ebp - 0x4c]
test eax, eax
je 0x1007a08b
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [ebp - 0x1d], 0
jns 0x1007a09c
push dword [ebp - 0x28]
call fcn.100a6614
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a6651
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea esi, [ebp - 0x1c]
push 0x3b
push str..._.._mojo_public_cpp_platform_named_platform_channel_win.cc
push esi
call fcn.10079e10
add esp, 0xc
mov ecx, esi
call fcn.10079de0
mov ecx, esi
call fcn.10079df0
jmp 0x10079fa2