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

Disassembly:
sub esp, 0xc8
push ebx
push ebp
push esi
push edi
xor ebp, ebp
lea eax, [esp + 0x3c]
push 0xc
pop esi
push esi
push ebp
push eax
mov dword [esp + 0x24], ebp
mov edi, ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.0041fa80
push 0x44
mov dword [esp + 0x4c], esi
lea eax, [esp + 0x68]
pop esi
push esi
xor ebx, ebx
mov dword [esp + 0x50], ebp
push ebp
inc ebx
push eax
mov dword [esp + 0x5c], ebx
call fcn.0041fa80
mov ecx, dword [esp + 0x100]
add esp, 0x18
mov eax, ecx
mov dword [esp + 0x58], esi
mov dword [esp + 0x84], ebx
and eax, 2
je 0x42c98b
xor edx, edx
mov word [esp + 0x88], dx
jmp 0x42c993
mov word [esp + 0x88], bx
mov esi, dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
push 0x30
pop ebx
push 0x20
pop edx
cmove ebx, edx
mov dword [esp + 0x10], ebx
test cl, 0x40
je 0x42c9e1
mov eax, dword [esp + 0xec]
test eax, eax
je 0x42c9e1
mov eax, dword [eax + 0xc]
test eax, eax
je 0x42c9e1
mov ebx, edx
mov dword [esp + 0x84], 0x101
mov dword [esp + 0x90], eax
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], 1
jmp 0x42ca3b
mov eax, ecx
and eax, 0x14
cmp al, 0x14
jne 0x42ca3b
push ebp
lea eax, [esp + 0x40]
mov dword [esp + 0x14], ebx
push eax
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x24]
push eax
call esi
test eax, eax
je 0x42ca34
mov eax, dword [esp + 0x18]
or dword [esp + 0x84], 0x100
mov dword [esp + 0x90], eax
lea eax, [esp + 0x28]
push eax
call fcn.0042c8b6
pop ecx
push 0x20
pop ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], 1
mov ecx, dword [esp + 0xe8]
mov eax, ecx
and eax, 4
mov dword [esp + 0x38], eax
je 0x42cae7
test cl, 8
je 0x42ca9c
push ebp
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
call esi
test eax, eax
je 0x42ca95
mov eax, dword [esp + 0x14]
or dword [esp + 0x84], 0x100
mov dword [esp + 0x94], eax
lea eax, [esp + 0x24]
push eax
call fcn.0042c8b6
and ebx, 0xffffffef
mov dword [esp + 0x24], 1
pop ecx
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0xe8]
test cl, 0x20
je 0x42cae7
push ebp
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x38]
push eax
call esi
test eax, eax
je 0x42cae7
mov eax, dword [esp + 0x1c]
or dword [esp + 0x84], 0x100
mov dword [esp + 0x98], eax
lea eax, [esp + 0x2c]
push eax
call fcn.0042c8b6
and ebx, 0xffffffef
mov dword [esp + 0x24], 1
pop ecx
mov dword [esp + 0x10], ebx
test dword [esp + 0x84], 0x100
je 0x42cb36
mov esi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
cmp dword [esp + 0x90], edi
jne 0x42cb0e
push 0xfffffffffffffff6
call esi
mov dword [esp + 0x90], eax
cmp dword [esp + 0x94], edi
jne 0x42cb22
push 0xfffffffffffffff5
call esi
mov dword [esp + 0x94], eax
cmp dword [esp + 0x98], edi
jne 0x42cb36
push 0xfffffffffffffff4
call esi
mov dword [esp + 0x98], eax
cmp dword [esp + 0xdc], edi
mov ebx, 0x4bc268
mov ebp, ebx
cmovne ebp, dword [esp + 0xdc]
cmp dword [esp + 0xe0], edi
push ebp
cmovne ebx, dword [esp + 0xe4]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebx
call fcn.00414cbf
push ebx
mov esi, eax
call fcn.00414cbf
add eax, esi
pop ecx
pop ecx
lea eax, [eax*2 + 8]
push eax
xor eax, eax
push eax
push dword [0x32fee44]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp word [ebp], 0x22
mov ebx, eax
je 0x42cbb4
mov esi, 0x4bea8c
push esi
push ebx
call fcn.0048f5b6
push ebp
push ebx
call fcn.0048f5d8
push esi
push ebx
call fcn.0048f5d8
add esp, 0x18
jmp 0x42cbbd
push ebp
push ebx
call fcn.0048f5b6
pop ecx
pop ecx
mov ebp, dword [esp + 0x34]
xor ecx, ecx
cmp word [ebp], cx
je 0x42cbe0
push 0x4bea90
push ebx
call fcn.0048f5d8
push ebp
push ebx
call fcn.0048f5d8
add esp, 0x10
xor ecx, ecx
mov ebp, dword [esp + 0xe4]
test ebp, ebp
je 0x42cbf4
xor eax, eax
cmp word [ebp], cx
cmove ebp, eax
lea eax, [esp + 0x48]
push eax
lea eax, [esp + 0x5c]
push eax
push ebp
push ecx
push dword [esp + 0x20]
push dword [esp + 0x34]
push ecx
push ecx
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x42ccb6
cmp dword [esp + 0x14], edi
je 0x42cc2c
push dword [esp + 0x14]
call esi
cmp dword [esp + 0x18], edi
je 0x42cc38
push dword [esp + 0x18]
call esi
cmp dword [esp + 0x1c], edi
je 0x42cc44
push dword [esp + 0x1c]
call esi
push dword [esp + 0x4c]
call esi
test byte [esp + 0xe8], 1
je 0x42cc60
push 0xffffffffffffffff
push dword [esp + 0x4c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esp + 0x38], edi
je 0x42ccad
mov esi, 0x3301414
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x20
push 0x3300640
call fcn.00440085
pop ecx
pop ecx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x48]
mov dword [edi], eax
mov eax, dword [esp + 0x50]
mov dword [edi + 4], eax
mov eax, dword [esp + 0x24]
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x28]
mov dword [edi + 8], eax
mov eax, dword [esp + 0x2c]
jmp 0x42ce1c
push dword [esp + 0x48]
jmp 0x42ce32
cmp dword [esp + 0x14], edi
je 0x42ccc2
push dword [esp + 0x14]
call esi
cmp dword [esp + 0x24], edi
je 0x42ccce
push dword [esp + 0x24]
call esi
cmp dword [esp + 0x28], edi
je 0x42ccda
push dword [esp + 0x28]
call esi
cmp dword [esp + 0x18], edi
je 0x42cce6
push dword [esp + 0x18]
call esi
cmp dword [esp + 0x1c], edi
je 0x42ccf2
push dword [esp + 0x1c]
call esi
cmp dword [esp + 0x2c], edi
je 0x42ccfe
push dword [esp + 0x2c]
call esi
test byte [esp + 0xe8], 0x78
jne 0x42ce37
test ebp, ebp
jne 0x42cd53
push dword [esp + 0x30]
call fcn.00414cbf
pop ecx
mov ecx, dword [esp + 0x30]
lea esi, [ecx - 2]
lea esi, [esi + eax*2]
jmp 0x42cd2f
cmp word [esi], 0x5c
je 0x42cd35
sub esi, 2
cmp esi, ecx
ja 0x42cd26
jmp 0x42cd4d
push ecx
push ebx
call fcn.0048f5b6
sub esi, dword [esp + 0x38]
mov ebp, ebx
sar esi, 1
xor eax, eax
pop ecx
pop ecx
mov word [ebx + esi*2 + 2], ax
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
push 0x3c
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.0041fa80
movzx eax, word [esp + 0x94]
add esp, 0xc
mov dword [esp + 0xb8], eax
xor eax, eax
mov dword [esp + 0xa8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xac], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0xb0], eax
lea eax, [esp + 0x9c]
push eax
mov dword [esp + 0xa0], 0x3c
mov dword [esp + 0xa4], 0x540
mov dword [esp + 0xb8], ebp
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x42ce37
test byte [esp + 0xe8], 1
je 0x42cdde
push 0xffffffffffffffff
push dword [esp + 0xd8]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esp + 0x38], edi
je 0x42ce2b
mov esi, 0x3301414
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x20
push 0x3300640
call fcn.00440085
pop ecx
pop ecx
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0xd4]
or dword [edi + 4], 0xffffffff
mov dword [edi], eax
xor eax, eax
mov dword [edi + 0xc], eax
mov dword [edi + 8], eax
mov dword [edi + 0x10], eax
mov eax, dword [esp + 0xe8]
mov dword [edi + 0x14], eax
jmp 0x42ce37
push dword [esp + 0xd4]
call esi
xor edi, edi
inc edi
push ebx
xor eax, eax
push eax
push dword [0x32fee44]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc8
ret 0x14