Function at 0x10011890
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows
Read pipe

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10051abb
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x4a0
mov eax, dword [0x10069070]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
lea eax, [ebp - 0x450]
push 0
push eax
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x448], 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x464], 0
lea eax, [ebp - 0x438]
movq qword [ebp - 0x450], xmm0
push eax
mov dword [ebp - 0x450], 0xc
mov dword [ebp - 0x448], 1
mov dword [ebp - 0x44c], 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x10011950
push eax
mov dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [edi + 0x10], eax
push 0x10061c81
mov byte [edi], al
call fcn.10002d00
jmp 0x10011c43
push 0x44
lea eax, [ebp - 0x4b0]
push 0
push eax
call fcn.1002d810
add esp, 0xc
mov dword [ebp - 0x4b0], 0x44
xor eax, eax
mov dword [ebp - 0x484], 0x101
mov word [ebp - 0x480], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x43c]
mov dword [ebp - 0x474], eax
mov dword [ebp - 0x470], eax
lea eax, [ebp - 0x460]
push eax
lea eax, [ebp - 0x4b0]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push str.tasklist
push 0
movups xmmword [ebp - 0x460], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0
push 0x10061c81
test eax, eax
jne 0x100119e6
mov dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [edi + 0x10], eax
mov byte [edi], al
call fcn.10002d00
jmp 0x10011c43
lea ecx, [ebp - 0x430]
mov dword [ebp - 0x41c], 0xf
mov dword [ebp - 0x420], 0
mov byte [ebp - 0x430], 0
call fcn.10002d00
lea eax, [ebp - 0x440]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x434]
push eax
push 0x400
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x438]
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x10011b2b
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
cmp dword [ebp - 0x434], 0
push 0
je 0x10011ae6
lea eax, [ebp - 0x434]
push eax
push 0x3ff
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x438]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10011b97
mov eax, dword [ebp - 0x434]
cmp eax, 0x400
jae 0x10011b92
mov byte [ebp + eax - 0x418], 0
cmp byte [ebp - 0x418], 0
jne 0x10011abf
xor ecx, ecx
lea eax, [ebp - 0x418]
push ecx
push eax
lea ecx, [ebp - 0x430]
call fcn.10005f20
jmp 0x10011af6
lea ecx, [ebp - 0x418]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10011ac8
sub ecx, edx
lea eax, [ebp - 0x418]
push ecx
push eax
lea ecx, [ebp - 0x430]
call fcn.10005f20
jmp 0x10011af6
push dword [ebp - 0x460]
call esi
test eax, eax
je 0x10011bd5
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x434]
push eax
push 0x400
lea eax, [ebp - 0x418]
push eax
push dword [ebp - 0x438]
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
jne 0x10011a50
mov dword [edi + 0x14], 0xf
xor ecx, ecx
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp byte [0], cl
je 0x10011b59
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10011b50
sub ecx, edx
push ecx
push 0
mov ecx, edi
call fcn.10002d00
mov eax, dword [ebp - 0x41c]
cmp eax, 0x10
jb 0x10011c43
mov ecx, dword [ebp - 0x430]
inc eax
cmp eax, 0x1000
jb 0x10011c3a
test cl, 0x1f
je 0x10011c16
call fcn.10031efc
call fcn.1002ac18
mov dword [edi + 0x14], 0xf
xor ecx, ecx
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp byte [0], cl
je 0x10011bbe
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10011bb5
sub ecx, edx
push ecx
push 0
mov ecx, edi
call fcn.10002d00
lea ecx, [ebp - 0x430]
call fcn.10002ab0
jmp 0x10011c43
push dword [ebp - 0x45c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x460]
call esi
push dword [ebp - 0x438]
call esi
push dword [ebp - 0x43c]
call esi
lea eax, [ebp - 0x430]
mov ecx, edi
push eax
call fcn.100043d0
lea ecx, [ebp - 0x430]
call fcn.10002ab0
jmp 0x10011c43
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10011c22
call fcn.10031efc
sub ecx, eax
cmp ecx, 4
jae 0x10011c2e
call fcn.10031efc
cmp ecx, 0x23
jbe 0x10011c38
call fcn.10031efc
mov ecx, eax
push ecx
call fcn.1002a501
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1002a506
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8