Function at 0x4063b0
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create process suspended
Get common file path
Read file on windows

Disassembly:
sub esp, 0x534
push ebx
push ebp
push esi
push edi
mov ecx, 0x31
xor eax, eax
lea edi, [esp + 0x7d]
mov byte [esp + 0x7c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x145]
mov byte [esp + 0x144], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
xor ebp, ebp
lea ecx, [esp + 0x10]
stosb byte es:[edi], al
lea eax, [esp + 0x1c]
push ebp
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], 0xc
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x406461
mov eax, dword [esp + 0x54c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [eax], 0x23000003
mov dword [eax + 4], ebp
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x406447
push eax
call esi
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x4065dc
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x534
ret
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x7c]
push 0xc8
push ecx
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], eax
mov word [esp + 0x60], bp
mov dword [esp + 0x5c], 0x101
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, str.cmd.exe__c
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x7c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
mov ebx, dword [esp + 0x54c]
and ecx, 3
lea edx, [esp + 0x7c]
mov eax, dword [ebx + 4]
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x548]
push eax
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_strncat]
add esp, 0xc
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x7c]
push eax
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x406547
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x14]
mov dword [ebx], 0x23000003
test eax, eax
je 0x40652d
push eax
call esi
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4065dc
push eax
call esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x534
ret
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x144]
push eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14c]
push 0x400
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4065b5
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x548]
mov eax, ecx
lea esi, [esp + 0x144]
lea edi, [edx + ebp]
push 0x32
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add ebp, dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x406552
mov eax, dword [esp + 0x14]
mov dword [ebx], 0
test eax, eax
mov dword [ebx + 4], ebp
je 0x4065cd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4065dc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x534
ret