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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
push esi
push edi
xor ebx, ebx
push 0x44
pop esi
push esi
lea eax, [ebp - 0x8c]
push ebx
push eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x34], 0xc
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x24], ebx
mov dword [ebp - 8], ebx
call sub.msvcrt.dll_memset
xor eax, eax
lea edi, [ebp - 0x44]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
mov edi, dword [sym.imp.KERNEL32.dll_CreatePipe]
push ebx
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
call edi
test eax, eax
jne 0x1000ef1e
xor eax, eax
jmp 0x1000f06a
push ebx
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
call edi
test eax, eax
je 0x1000f041
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x54], eax
xor eax, eax
push 0x1001
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x60], 0x101
mov word [ebp - 0x5c], ax
call fcn.1000d95a
mov edi, eax
pop ecx
mov dword [ebp - 0x24], edi
cmp edi, ebx
je 0x1000ef17
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x8c]
push eax
push ebx
push ebx
push 0x8000000
push 1
push ebx
push ebx
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1000f041
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x1c], ebx
push ebx
lea eax, [ebp - 0x1c]
push eax
push 0x1000
push edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1c]
mov byte [eax + edi], bl
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x1000efee
push ebx
push edi
push eax
mov dword [ebp - 0x28], eax
call fcn.1000c861
mov dword [ebp - 8], eax
add esp, 0xc
or eax, 0xffffffff
lea esi, [ebp - 0x28]
call fcn.1000d970
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000effa
push edi
xor eax, eax
call fcn.1000c74e
pop ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 0x20], ebx
jne 0x1000efa6
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_IsTextUnicode]
test eax, eax
jne 0x1000f037
push dword [ebp - 8]
call fcn.1000c7fd
mov edi, eax
pop ecx
cmp edi, ebx
je 0x1000f037
xor eax, eax
lea esi, [ebp - 8]
call fcn.1000d970
mov eax, edi
jmp 0x1000f06a
push dword [ebp - 0x44]
call esi
push dword [ebp - 0x40]
call esi
xor eax, eax
lea esi, [ebp - 0x24]
call fcn.1000d970
cmp dword [ebp - 0x18], ebx
je 0x1000f059
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xc], ebx
je 0x1000f067
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret