Function at 0x438f20
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Execute shell command and capture output
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
mov eax, dword [0x4b93f8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, eax
push 0
push 0x4a1628
mov dword [ebp - 0x410], eax
call fcn.00402620
push 0
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], 0xc
push eax
lea eax, [ebp - 0x40c]
mov dword [ebp - 0x420], 0
push eax
lea eax, [ebp - 0x418]
mov dword [ebp - 0x41c], 1
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x438fb4
mov edx, dword [ebp + 8]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x438fa4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004495f3
mov esp, ebp
pop ebp
ret
push edi
lea eax, [ebp - 0x468]
mov dword [ebp - 0x468], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [ebp - 0x40c]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x42c], eax
xor eax, eax
mov word [ebp - 0x438], ax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x408]
mov dword [ebp - 0x43c], 0x101
push str.cmd.exe__c
push eax
call fcn.0040a220
mov edi, dword [ebp - 0x408]
add esp, 0xc
mov edx, dword [edi - 0xc]
test edx, edx
js 0x43925e
mov eax, dword [edi - 8]
mov ecx, 1
sub ecx, dword [edi - 4]
sub eax, edx
or ecx, eax
jge 0x43903d
push edx
lea ecx, [ebp - 0x408]
call fcn.004024d0
mov edi, dword [ebp - 0x408]
push ebx
lea eax, [ebp - 0x478]
push eax
lea eax, [ebp - 0x468]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4390a9
or ebx, 0xffffffff
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x43907f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 8]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x439097
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
pop ebx
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004495f3
mov esp, ebp
pop ebp
ret
push dword [edi - 8]
push edi
call fcn.00456760
add esp, 8
test eax, eax
js 0x43925e
cmp eax, dword [edi - 8]
jg 0x43925e
mov dword [edi - 0xc], eax
xor ecx, ecx
push esi
mov word [edi + eax*2], cx
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0044c180
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x414]
add esp, 0xc
push 0
push eax
push 0x3ff
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x418]
call ebx
or esi, 0xffffffff
test eax, eax
je 0x439202
mov eax, dword [ebp - 0x414]
cmp eax, 0x400
jae 0x439272
mov byte [ebp + eax - 0x404], 0
mov eax, dword [ebp - 0x410]
mov eax, dword [eax]
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x439153
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x439169
call fcn.00402250
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x439268
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
lea eax, [ebp - 0x404]
mov dword [ebp - 0x408], esi
test eax, 0xffff0000
jne 0x439247
movzx ebx, ax
push 0
push ebx
call fcn.00403a80
add esp, 8
test eax, eax
je 0x4391ad
push ebx
push eax
lea ecx, [ebp - 0x408]
call fcn.004041c0
mov esi, dword [ebp - 0x408]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [esi - 0xc]
mov ecx, dword [ebp - 0x410]
push esi
call fcn.00403910
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4391da
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 0
lea eax, [ebp - 0x414]
push eax
push 0x3ff
lea eax, [ebp - 0x404]
push eax
push dword [ebp - 0x418]
call ebx
test eax, eax
jne 0x439120
or esi, 0xffffffff
add edi, 0xfffffff0
mov eax, esi
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x439219
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], esi
dec esi
test esi, esi
pop esi
jg 0x439232
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 4]
mov eax, 1
pop ebx
xor ecx, ebp
pop edi
call fcn.004495f3
mov esp, ebp
pop ebp
ret
push eax
lea ecx, [ebp - 0x408]
call fcn.00409a90
mov esi, dword [ebp - 0x408]
jmp 0x4391b3
push 0x80070057
call fcn.00402080
push 0x80004005
call fcn.00402080
call fcn.00449768
int3