Function at 0x10011850
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 ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050a1b
mov eax, dword fs:[0]
push eax
sub esp, 0x494
mov eax, dword [0x10067070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x448]
push 0
push eax
lea eax, [ebp - 0x434]
mov dword [ebp - 0x440], 0
push eax
xorps xmm0, xmm0
mov dword [ebp - 0x45c], 0
lea eax, [ebp - 0x430]
movq qword [ebp - 0x448], xmm0
push eax
mov dword [ebp - 0x448], 0xc
mov dword [ebp - 0x440], 1
mov dword [ebp - 0x444], 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x100118fc
push eax
mov dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [edi + 0x10], eax
push 0x10060391
mov byte [edi], al
call fcn.10002ec0
jmp 0x10011bf3
push 0x44
lea eax, [ebp - 0x4a0]
push 0
push eax
call fcn.1002d3e0
add esp, 0xc
mov dword [ebp - 0x4a0], 0x44
xor eax, eax
mov dword [ebp - 0x474], 0x101
mov word [ebp - 0x470], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x434]
mov dword [ebp - 0x464], eax
mov dword [ebp - 0x460], eax
lea eax, [ebp - 0x458]
push eax
lea eax, [ebp - 0x4a0]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push str.tasklist
push 0
movups xmmword [ebp - 0x458], xmm0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push 0
push 0x10060391
test eax, eax
jne 0x10011992
mov dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [edi + 0x10], eax
mov byte [edi], al
call fcn.10002ec0
jmp 0x10011bf3
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
mov byte [ebp - 0x428], 0
call fcn.10002ec0
lea eax, [ebp - 0x438]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x42c]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x430]
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x10011adb
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop word [eax + eax]
cmp dword [ebp - 0x42c], 0
push 0
je 0x10011a96
lea eax, [ebp - 0x42c]
push eax
push 0x3ff
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x430]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x10011b47
mov eax, dword [ebp - 0x42c]
cmp eax, 0x400
jae 0x10011b42
mov byte [ebp + eax - 0x410], 0
cmp byte [ebp - 0x410], 0
jne 0x10011a6f
xor ecx, ecx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.10006080
jmp 0x10011aa6
lea ecx, [ebp - 0x410]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10011a78
sub ecx, edx
lea eax, [ebp - 0x410]
push ecx
push eax
lea ecx, [ebp - 0x428]
call fcn.10006080
jmp 0x10011aa6
push dword [ebp - 0x458]
call esi
test eax, eax
je 0x10011b85
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x42c]
push eax
push 0x400
lea eax, [ebp - 0x410]
push eax
push dword [ebp - 0x430]
call dword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
jne 0x10011a00
mov dword [edi + 0x14], 0xf
xor ecx, ecx
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp byte [0], cl
je 0x10011b09
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10011b00
sub ecx, edx
push ecx
push 0
mov ecx, edi
call fcn.10002ec0
mov eax, dword [ebp - 0x414]
cmp eax, 0x10
jb 0x10011bf3
mov ecx, dword [ebp - 0x428]
inc eax
cmp eax, 0x1000
jb 0x10011bea
test cl, 0x1f
je 0x10011bc6
call fcn.10031b1f
call fcn.1002a9da
mov dword [edi + 0x14], 0xf
xor ecx, ecx
mov dword [edi + 0x10], 0
mov byte [edi], 0
cmp byte [0], cl
je 0x10011b6e
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10011b65
sub ecx, edx
push ecx
push 0
mov ecx, edi
call fcn.10002ec0
lea ecx, [ebp - 0x428]
call fcn.10002c70
jmp 0x10011bf3
push dword [ebp - 0x454]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x458]
call esi
push dword [ebp - 0x430]
call esi
push dword [ebp - 0x434]
call esi
lea eax, [ebp - 0x428]
mov ecx, edi
push eax
call fcn.10004560
lea ecx, [ebp - 0x428]
call fcn.10002c70
jmp 0x10011bf3
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x10011bd2
call fcn.10031b1f
sub ecx, eax
cmp ecx, 4
jae 0x10011bde
call fcn.10031b1f
cmp ecx, 0x23
jbe 0x10011be8
call fcn.10031b1f
mov ecx, eax
push ecx
call fcn.1002a2e0
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 - 0x10]
xor ecx, ebp
call fcn.1002a2e5
mov esp, ebp
pop ebp
ret 8