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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x432b88
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x443080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 0x18]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x88], eax
push 0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x28], 0xc
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], 0
push eax
mov dword [ebp - 0x20], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x40ca1e
lea eax, [ebp - 0x7c]
mov dword [ebp - 0x7c], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
xor eax, eax
mov word [ebp - 0x4c], ax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x50], 0x101
cmp dword [eax - 4], 1
jle 0x40c9dd
push dword [eax - 0xc]
lea ecx, [ebp + 8]
call fcn.0040cc40
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x7c]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x18]
test eax, eax
jne 0x40ca58
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x1c]
call esi
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x40ca1e
mov dword [eax], 0x3e7
xor edi, edi
mov esi, dword [ebp + 8]
or eax, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40ca3b
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00414ae1
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call fcn.004147a2
add esp, 4
mov ecx, eax
xor esi, esi
mov dword [ebp - 0x80], ecx
test edi, edi
je 0x40cb4b
nop word [eax + eax]
push 0
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
mov eax, edi
sub eax, esi
push eax
lea eax, [esi + ecx]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40cb4b
add esi, dword [ebp - 0x14]
cmp dword [ebp - 0x84], 0
je 0x40cb3f
push esi
push dword [ebp - 0x80]
xorps xmm0, xmm0
mov dword [ebp - 0x94], 0
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x90], 0
movups xmmword [ebp - 0xa4], xmm0
call fcn.00409e70
mov eax, dword [ebp - 0x84]
mov byte [ebp - 4], 1
mov ecx, dword [eax + 0x24]
test ecx, ecx
je 0x40cb9c
mov eax, dword [ecx]
lea edx, [ebp - 0xa4]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x90]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x40cb3f
mov edx, dword [ebp - 0xa4]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40cb35
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40cb97
push ecx
push edx
call fcn.00414794
add esp, 8
cmp esi, edi
jae 0x40cb4b
mov ecx, dword [ebp - 0x80]
jmp 0x40ca80
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x40cb5f
push eax
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x38]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x34]
call edi
mov ecx, dword [ebp - 0x8c]
push esi
mov esi, dword [ebp - 0x80]
push esi
call fcn.00404dd0
push esi
call fcn.004147ab
add esp, 4
push dword [ebp - 0x1c]
call edi
mov edi, 1
jmp 0x40ca20
call fcn.0041829f
call fcn.00414240
int3