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

Disassembly:
push ebp
lea ebp, [esp - 0x228]
sub esp, 0x228
push 0xffffffffffffffff
push 0x443068
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x467fd4]
xor eax, ebp
mov dword [ebp + 0x224], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 0x230]
mov dword [ebp - 0x10], eax
call fcn.00412f60
mov eax, dword [ebx + 0x294]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x4118e7
push eax
call edi
mov dword [ebx + 0x294], 0xffffffff
mov eax, dword [ebx + 0x298]
cmp eax, 0xffffffff
je 0x4118f5
push eax
call edi
mov dword [ebx + 0x29c], 0
lea ecx, [ebx + 0x26c]
mov dword [ebx + 0x2a0], 0
mov eax, dword [ebx + 0x26c]
mov dword [ebx + 0x294], 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 [ebp - 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 0x411be8
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 0x411be8
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 [ebp - 0x14]
push eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
je 0x411be8
mov eax, dword [ebx + 0x28c]
lea ecx, [ebx + 0x28c]
call dword [eax + 4]
mov dword [ebx + 0x2b4], 0
lea edi, [ebx + 0x2b0]
mov dword [ebx + 0x2b8], 0
lea ecx, [ebx + 0x1c]
mov dword [ebx + 0x2bc], 0
xor eax, eax
mov dword [ebx + 0x2c0], 0
mov dword [ebx + 0x2c4], 0
mov dword [ebx + 0x2c8], 0
mov dword [ebx + 0x2cc], 0
mov dword [ebx + 0x2d0], 0
mov dword [ebx + 0x2d4], 0
mov dword [ebx + 0x2d8], 0
mov dword [ebx + 0x2e2], 0
mov word [ebx + 0x2e6], ax
mov eax, dword [ebx + 0x14]
shr eax, 9
and eax, 1
mov dword [edi], 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
call fcn.0040d260
test al, al
je 0x411bd5
lea ecx, [ebx + 0x24]
call fcn.0040d1e0
push eax
lea ecx, [ebx + 0x1c]
call fcn.0040d1e0
push eax
lea ecx, [ebx + 0x3c]
call fcn.00408a40
lea ecx, [ebx + 0x2c]
call fcn.0040d1e0
cmp word [eax], 0
je 0x411b7f
push 0
push 0x108
push 2
lea eax, [ebp + 0x14]
push eax
lea ecx, [ebp]
call fcn.004031c0
mov eax, dword [ebp + 0x10]
xor ecx, ecx
mov word [eax], cx
mov dword [ebp - 4], ecx
push ecx
lea ecx, [ebx + 0x2c]
call fcn.0040d1e0
push eax
lea ecx, [ebp]
call fcn.00408c30
test al, al
je 0x411b69
mov eax, dword [ebp + 0x10]
mov dword [ebx + 0x260], eax
lea ecx, [ebp]
mov dword [ebp - 4], 1
call fcn.00403250
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebx + 0x14]
shr eax, 0xa
test al, 1
je 0x411b92
mov ecx, ebx
call fcn.00412d40
jmp 0x411bbe
lea eax, [ebx + 0x294]
push eax
push edi
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 0x411bd1
push dword [ebx + 0x4c]
mov ecx, dword [ebp - 0x10]
call fcn.004056b0
test al, al
je 0x411be8
mov al, 1
jmp 0x411bea
mov ecx, dword [ebp - 0x10]
push 0
push str.Invalid_application
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
jmp 0x411bea
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x224]
xor ecx, ebp
call fcn.00422c85
lea esp, [ebp + 0x228]
pop ebp
ret 4