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

Disassembly:
sub esp, 0x230
mov eax, dword [0x45e068]
xor eax, esp
mov dword [esp + 0x22c], eax
mov eax, dword [esp + 0x234]
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov dword [esp + 0x10], eax
call fcn.0040a730
mov eax, dword [ebx + 0x294]
lea ebp, [ebx + 0x294]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x408deb
push eax
call esi
mov dword [ebp], 0xffffffff
mov eax, dword [ebx + 0x298]
cmp eax, 0xffffffff
je 0x408e03
push eax
call esi
mov dword [ebx + 0x298], 0xffffffff
xorps xmm0, xmm0
lea ecx, [ebx + 0x26c]
movups xmmword [ebp], xmm0
mov eax, dword [ebx + 0x26c]
mov dword [ebp], 0xffffffff
mov dword [ebx + 0x298], 0xffffffff
call dword [eax + 4]
mov eax, dword [ebx + 0x274]
lea ecx, [ebx + 0x274]
call dword [eax + 4]
mov eax, dword [ebx + 0x27c]
lea ecx, [ebx + 0x27c]
call dword [eax + 4]
mov eax, dword [ebx + 0x284]
lea ecx, [ebx + 0x284]
call dword [eax + 4]
mov eax, dword [ebx + 0x28c]
lea ecx, [ebx + 0x28c]
call dword [eax + 4]
mov dword [ebx + 0x260], 0
xor ecx, ecx
mov eax, dword [ebx + 0x4c]
mov word [eax], cx
mov dword [ebx + 0x40], ecx
mov dword [ebx + 0x268], 0x4000400
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, dword [ebx + 0x26c]
lea ecx, [ebx + 0x26c]
mov dword [esp + 0x14], eax
lea eax, [ebx + 0x2a4]
push 0
push eax
call dword [edx + 0x20]
mov edx, dword [ebx + 0x274]
lea ecx, [ebx + 0x274]
push eax
call dword [edx + 0x20]
mov esi, dword [sym.imp.KERNEL32.dll_CreatePipe]
push eax
call esi
test eax, eax
je 0x409070
push 0
lea eax, [ebx + 0x2a4]
lea ecx, [ebx + 0x27c]
push eax
mov eax, dword [ecx]
call dword [eax + 0x20]
push eax
mov eax, dword [ebx + 0x28c]
lea ecx, [ebx + 0x28c]
call dword [eax + 0x20]
push eax
call esi
test eax, eax
je 0x409070
mov eax, dword [ebx + 0x284]
lea ecx, [ebx + 0x284]
mov esi, dword [ebx + 0x290]
push 2
push 0
push 0
call dword [eax + 0x20]
push eax
mov eax, dword [esp + 0x24]
push eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x409070
mov eax, dword [ebx + 0x28c]
lea ecx, [ebx + 0x28c]
call dword [eax + 4]
push 0x44
lea esi, [ebx + 0x2b0]
push 0
push esi
call fcn.00423110
mov eax, dword [ebx + 0x14]
add esp, 0xc
mov edi, dword [ebx + 0x1c]
shr eax, 9
and eax, 1
mov dword [esi], 0x44
mov word [ebx + 0x2e0], ax
mov eax, dword [ebx + 0x280]
mov dword [ebx + 0x2ec], eax
mov dword [ebx + 0x2f0], eax
mov eax, dword [ebx + 0x278]
mov dword [ebx + 0x2dc], 0x101
mov dword [ebx + 0x2e8], eax
cmp word [edi], 0
je 0x40905e
mov esi, dword [ebx + 0x24]
push 0x20
push edi
call fcn.00422064
add esp, 8
lea ecx, [ebx + 0x3c]
neg eax
sbb eax, eax
and eax, 0x22
push eax
push eax
push edi
call fcn.00407390
test al, al
je 0x408fd0
test esi, esi
je 0x408fd0
cmp word [esi], 0
je 0x408fd0
push 0
push 0x20
push esi
lea ecx, [ebx + 0x3c]
call fcn.00407390
mov eax, dword [ebx + 0x2c]
cmp word [eax], 0
je 0x409007
lea ecx, [esp + 0x18]
call fcn.00404790
push 0
push dword [ebx + 0x2c]
lea ecx, [esp + 0x20]
call fcn.004137a0
test al, al
je 0x408ffe
mov eax, dword [esp + 0x28]
mov dword [ebx + 0x260], eax
lea ecx, [esp + 0x18]
call fcn.0040bea0
mov eax, dword [ebx + 0x14]
shr eax, 0xa
test al, 1
je 0x40901a
mov ecx, ebx
call fcn.0040a540
jmp 0x409046
push ebp
lea eax, [ebx + 0x2b0]
push eax
push dword [ebx + 0x260]
push 0
push dword [ebx + 0x268]
push 1
push 0
push 0
push dword [ebx + 0x4c]
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne al
test al, al
jne 0x40905a
push dword [ebx + 0x4c]
mov ecx, dword [esp + 0x14]
call fcn.0040fe40
test al, al
je 0x409070
mov al, 1
jmp 0x409072
mov ecx, dword [esp + 0x10]
push str.Invalid_application
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
jmp 0x409072
xor al, al
mov ecx, dword [esp + 0x23c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00420bdf
add esp, 0x230
ret 4