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

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 0x747606
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x10c0
call fcn.006f5e10
mov eax, dword [0x8312b0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, edx
mov dword [ebp - 0x1060], eax
mov dword [ebp - 0x1064], ecx
mov dword [ebp - 4], 0
mov dword [eax], 0
mov dword [ebp - 0x1054], 0
mov dword [ebp - 0x1050], 0
mov dword [ebp - 0x105c], 0
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 0xf
mov byte [ebp - 0x1030], 0
push 0
lea eax, [ebp - 0x1074]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x1050]
mov dword [ebp - 0x1074], 0xc
push eax
lea eax, [ebp - 0x1054]
mov dword [ebp - 0x1070], 0
push eax
mov dword [ebp - 0x106c], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x4fe8bb
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x1054], 0
mov dword [ebp - 0x1050], 0
jmp 0x4feb32
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call esi
mov edi, eax
mov eax, dword [ebp - 0x1050]
mov dword [ebp - 0x1058], eax
call esi
push 2
push 1
push 0
lea ecx, [ebp - 0x105c]
push ecx
push edi
push dword [ebp - 0x1058]
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x4feb2c
push 0
push 1
push dword [ebp - 0x1054]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x4feb32
push 0x44
lea eax, [ebp - 0x10d0]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x1084], xmm0
call fcn.0070dcd0
add esp, 0xc
lea eax, [ebp - 0x10d0]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
lea ecx, [ebp - 0x1084]
mov dword [ebp - 0x10d0], 0x44
push ecx
lea ecx, [ebp - 0x10d0]
mov dword [ebp - 0x10a4], 0x101
push ecx
push 0
push 0
xor eax, eax
cmp dword [ebx + 0x1c], 8
push 0
mov word [ebp - 0x10a0], ax
mov eax, dword [ebp - 0x1050]
push 1
mov dword [ebp - 0x1094], eax
mov dword [ebp - 0x1090], eax
lea eax, [ebx + 8]
cmovae eax, dword [ebx + 8]
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4feb2c
mov edi, dword [ebp - 0x1084]
mov eax, dword [ebp - 0x1080]
push 0xffffffffffffffff
push edi
mov dword [ebp - 0x1068], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x4feae8
push dword [ebp - 0x1060]
push edi
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4feae8
mov eax, dword [ebp - 0x1050]
test eax, eax
je 0x4fe9e8
push eax
call esi
mov eax, dword [ebp - 0x105c]
mov dword [ebp - 0x1050], 0
test eax, eax
je 0x4fe9ff
push eax
call esi
push 0x1000
lea eax, [ebp - 0x1018]
mov dword [ebp - 0x105c], 0
push 0
push eax
call fcn.0070dcd0
add esp, 0xc
mov dword [ebp - 0x1058], 0
lea eax, [ebp - 0x1058]
push 0
push eax
push 0xfff
lea eax, [ebp - 0x1018]
push eax
push dword [ebp - 0x1054]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4feab0
nop
cmp dword [ebp - 0x1058], 0
je 0x4feab0
lea eax, [ebp - 0x1018]
push eax
lea ecx, [ebp - 0x1030]
call fcn.00463b90
push 0x1000
lea eax, [ebp - 0x1018]
push 0
push eax
call fcn.0070dcd0
add esp, 0xc
mov dword [ebp - 0x1058], 0
lea eax, [ebp - 0x1058]
push 0
push eax
push 0xfff
lea eax, [ebp - 0x1018]
push eax
push dword [ebp - 0x1054]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4fea50
sub esp, 0x18
lea eax, [ebp - 0x1030]
mov ecx, esp
push eax
call fcn.00460ac0
xor edx, edx
lea ecx, [ebp - 0x1048]
call fcn.004b5540
mov ecx, dword [ebp - 0x1064]
add esp, 0x18
push eax
call fcn.004608a0
lea ecx, [ebp - 0x1048]
call fcn.0044bf40
test edi, edi
je 0x4feaef
push edi
call esi
mov eax, dword [ebp - 0x1068]
test eax, eax
je 0x4feafc
push eax
call esi
mov eax, dword [ebp - 0x1054]
test eax, eax
je 0x4feb09
push eax
call esi
mov eax, dword [ebp - 0x1050]
test eax, eax
je 0x4feb16
push eax
call esi
mov eax, dword [ebp - 0x105c]
test eax, eax
je 0x4feb23
push eax
call esi
mov byte [ebp - 0x1049], 1
jmp 0x4feb39
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 0x1049], 0
mov edx, dword [ebp - 0x101c]
cmp edx, 0x10
jb 0x4feb6f
mov ecx, dword [ebp - 0x1030]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4feb65
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4febb6
push edx
push ecx
call fcn.006f4f2f
add esp, 8
lea ecx, [ebx + 8]
mov dword [ebp - 0x1020], 0
mov dword [ebp - 0x101c], 0xf
mov byte [ebp - 0x1030], 0
call fcn.0044bf40
mov al, byte [ebp - 0x1049]
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.006f4f1e
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00710a9c
int3