Function at 0x1006e8fc
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x100db010]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x28]
mov ecx, edi
push ebx
call fcn.10038562
movzx eax, byte [edi + 0xb]
test al, al
jns 0x1006e928
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x1006e9db
call fcn.10041040
mov dword [ebp - 0x48], eax
mov edi, edx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea esi, [ebp - 0x1c]
push edi
push dword [ebp - 0x48]
push ebx
push eax
push str._lu._lu._I64u
push esi
call fcn.1005b1a0
add esp, 0x18
movzx eax, byte [esi + 0xb]
test al, al
jns 0x1006e96d
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x34]
push eax
push esi
push ecx
call fcn.10055a10
add esp, 0xc
cmp byte [ebp - 0x11], 0
jns 0x1006e98c
push dword [ebp - 0x1c]
call fcn.10099c44
add esp, 4
cmp byte [ebp - 0x1d], 0
lea edi, [ebp - 0x28]
mov ebx, dword [ebp + 0xc]
js 0x1006e9a4
mov word [ebp - 0x28], 0
mov byte [ebp - 0x1d], 0
jmp 0x1006e9cb
mov eax, dword [ebp - 0x28]
mov word [eax], 0
mov dword [ebp - 0x24], 0
cmp byte [ebp - 0x1d], 0
jns 0x1006e9cb
push dword [ebp - 0x28]
call fcn.10099c44
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 0x1006e9f0
jne 0x1006e9ff
jmp 0x1006e9fa
cmp dword [ebx + 0x10], 0
je 0x1006e9fa
mov eax, dword [eax]
jmp 0x1006e9ff
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 0x1006eb19
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x1c], 0xc
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov esi, ebx
movzx ebx, byte [ebx + 0x18]
shl ebx, 0x13
or ebx, 0x40000003
mov eax, edi
lea edi, [ebp - 0x34]
push eax
push str..pipemojo.
push edi
call fcn.1003bbe0
add esp, 0xc
mov dword [ebp - 0x50], esp
push eax
mov dword [ebp - 0x4c], esp
xor ecx, ecx
inc ecx
cmp byte [esi + 0x18], 0
mov eax, 0xff
cmovne eax, ecx
cmp byte [edi + 0xb], 0
jns 0x1006ea6e
mov edi, dword [ebp - 0x34]
lea ecx, [ebp - 0x1c]
mov edx, 0x1000
mov esi, 8
push ecx
push 0x1388
push edx
push edx
push eax
push esi
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
xor ecx, ecx
mov edx, dword [ebp - 0x4c]
mov dword [edx], ecx
mov ecx, edx
push eax
call fcn.100546a6
lea esi, [ebp - 0x44]
mov ecx, esi
call fcn.100547bc
mov esp, dword [ebp - 0x50]
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x28]
push eax
call fcn.100386d2
mov edi, esp
sub esp, 8
mov ecx, esp
push esi
call fcn.1005476a
mov ebx, dword [ebp + 8]
mov ecx, ebx
call fcn.1005471c
mov esp, edi
mov ecx, esi
call fcn.100547e4
cmp byte [ebp - 0x29], 0
jns 0x1006eae6
push dword [ebp - 0x34]
call fcn.10099c44
add esp, 4
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x1006eaf4
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
cmp byte [ebp - 0x1d], 0
jns 0x1006eb05
push dword [ebp - 0x28]
call fcn.10099c44
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10099c81
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.1006e890
add esp, 0xc
mov ecx, esi
call fcn.1006e860
mov ecx, esi
call fcn.1006e870
jmp 0x1006ea17