Function at 0x1011af20
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov edi, dword [ebp + 0xc]
mov eax, dword [0x10146014]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
dec ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
cmp byte [edi + 0xb], 0
js 0x1011b119
mov eax, dword [edi + 8]
mov dword [ebp - 0x14], eax
movsd xmm0, qword [edi]
movsd qword [ebp - 0x1c], xmm0
movzx eax, byte [ebp - 0x11]
test al, al
jns 0x1011af68
mov eax, dword [ebp - 0x18]
jmp 0x1011af6b
and eax, 0x7f
test eax, eax
je 0x1011b0c1
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], eax
movzx eax, byte [edi + 0x17]
test al, al
jns 0x1011af8b
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0xc]
jmp 0x1011af91
lea ecx, [edi + 0xc]
and eax, 0x7f
test eax, eax
mov eax, str.D:_A__GA___SY__A__GA___BA__A__GA___OW_
cmovne eax, ecx
lea ecx, [ebp - 0x30]
lea edx, [ebp - 0x2c]
push ecx
push edx
push 1
push eax
call sub.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW
test eax, eax
je 0x1011b12b
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], 0xc
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x20], eax
movzx edi, byte [edi + 0x18]
shl edi, 0x13
or edi, 0x40000003
lea esi, [ebp - 0x40]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
lea eax, [ebp - 0x1c]
push eax
push str..pipemojo.
push esi
call fcn.10032c70
add esp, 0xc
mov dword [ebp - 0x4c], esp
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
push eax
mov ebx, esp
xor ecx, ecx
inc ecx
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x18], 0
mov eax, 0xff
cmovne eax, ecx
cmp byte [esi + 0xb], 0
jns 0x1011b019
mov esi, dword [ebp - 0x40]
lea ecx, [ebp - 0x28]
mov edx, 0x1000
push ecx
push 0x1388
push edx
push edx
push eax
mov eax, 8
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
xor ecx, ecx
mov dword [ebx], ecx
mov ecx, ebx
push eax
call fcn.1006aa00
lea ebx, [ebp - 0x48]
mov ecx, ebx
call fcn.10041e50
mov esp, dword [ebp - 0x4c]
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x1c]
push eax
call fcn.10032d90
mov esi, esp
sub esp, 8
mov ecx, esp
push ebx
call fcn.10094e10
mov edi, dword [ebp + 8]
mov ecx, edi
call fcn.1010fbb0
mov esp, esi
mov ecx, ebx
call fcn.10094f10
cmp byte [ebp - 0x35], 0
jns 0x1011b08e
push dword [ebp - 0x40]
call fcn.100c1c31
add esp, 4
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x1011b09c
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [ebp - 0x11], 0
jns 0x1011b0ad
push dword [ebp - 0x1c]
call fcn.100c1c31
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100c2603
mov eax, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.10080220
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [ebp - 0x28]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push esi
push eax
push str._lu._lu._I64u
push ecx
call fcn.10044c10
add esp, 0x18
cmp byte [ebp - 0x11], 0
jns 0x1011b104
push dword [ebp - 0x1c]
call fcn.100c1c31
add esp, 4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x14], eax
movsd xmm0, qword [ebp - 0x28]
movsd qword [ebp - 0x1c], xmm0
jmp 0x1011af73
lea ecx, [ebp - 0x1c]
push dword [edi + 4]
push dword [edi]
call fcn.10030360
jmp 0x1011af5b
lea esi, [ebp - 0x34]
push 0x3a
push str.....mojopubliccppplatform_named_platform_channel_win.cc
push esi
call fcn.1011aed0
add esp, 0xc
mov ecx, esi
call fcn.1011aef0
jmp 0x1011afb3