Function at 0x40f600
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49e52c
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x4c86e0]
xor eax, esp
mov dword [esp + 0x170], eax
push esi
push edi
mov eax, dword [0x4c86e0]
xor eax, esp
push eax
lea eax, [esp + 0x180]
mov dword fs:[0], eax
push 0x44
lea eax, [esp + 0x30]
push 0
push eax
call fcn.00483d60
xor eax, eax
push 0x104
push eax
lea ecx, [esp + 0x88]
push ecx
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], 0x44
mov word [esp + 0x74], 5
mov dword [esp + 0x70], 0x101
call fcn.00483d60
add esp, 0x18
call fcn.00461729
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40f6a0
push 0x80004005
call fcn.00401fb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x18c], 0
call fcn.004452f0
mov byte [esp + 0x18c], 1
mov edx, dword [eax]
push edx
lea eax, [esp + 0x1c]
push str._sBugReport.exe
push eax
call fcn.00402a20
mov byte [esp + 0x198], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f70a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [esp + 0x14]
push esi
lea ecx, [esp + 0x78]
push str.__s__qch
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
call fcn.00461729
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40f73c
push 0x80004005
call fcn.00401fb0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x5c
push esi
mov byte [esp + 0x190], 2
call fcn.0047f55a
add esp, 8
test eax, eax
je 0x40f7b2
sub eax, esi
test eax, eax
jle 0x40f7b2
push eax
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040fc90
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x18c], 3
call fcn.004027c0
mov byte [esp + 0x188], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40f7b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [esp + 0x10]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
push edi
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x94]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
lea eax, [edi - 0x10]
mov byte [esp + 0x188], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f7ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x188], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40f826
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x180]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.0047e440
add esp, 0x180
ret