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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c780
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x198
mov eax, dword [0x4ac068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x11c], edi
mov dword [ebp - 0x11c], edi
xorps xmm0, xmm0
movups xmmword [ebp - 0x134], xmm0
mov dword [ebp - 0x124], 0
mov dword [ebp - 0x120], 0xf
mov byte [ebp - 0x134], 0
push 0x40
lea eax, [ebp - 0x19c]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x1a0], 0x44
call fcn.00466440
add esp, 0xc
mov dword [ebp - 0x148], 0xc
lea eax, [ebp - 0x148]
mov dword [ebp - 0x140], 1
mov dword [ebp - 0x144], 0
push 0
push eax
lea eax, [ebp - 0x13c]
push eax
lea eax, [ebp - 0x138]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
push 0
test eax, eax
jne 0x41f8a6
xorps xmm0, xmm0
mov ecx, edi
movups xmmword [edi], xmm0
push 0x49cb50
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
call fcn.00409f90
mov ecx, dword [ebp - 0x120]
cmp ecx, 0x10
jb 0x41fa49
mov edx, dword [ebp - 0x134]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41f897
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fa6e
push ecx
push edx
call fcn.00464974
add esp, 8
jmp 0x41fa49
push 1
push dword [ebp - 0x138]
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
xor eax, eax
mov dword [ebp - 0x174], 0x101
cmp dword [esi + 0x14], 0x10
mov word [ebp - 0x170], ax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], eax
jb 0x41f8e1
mov esi, dword [esi]
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x1a0]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push dword [ebp - 0x13c]
test eax, eax
jne 0x41f97d
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x138]
call esi
xorps xmm0, xmm0
mov ecx, edi
push 0
movups xmmword [edi], xmm0
push 0x49cb50
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.00409f90
mov ecx, dword [ebp - 0x120]
cmp ecx, 0x10
jb 0x41fa49
mov edx, dword [ebp - 0x134]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x41f897
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41fa6e
jmp 0x41f897
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x11c]
push 0
push eax
push 0xff
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 0x138]
call esi
test eax, eax
je 0x41fa00
nop word [eax + eax]
mov eax, dword [ebp - 0x11c]
test eax, eax
je 0x41fa00
cmp eax, 0x100
jae 0x41fa69
mov byte [ebp + eax - 0x118], 0
lea ecx, [ebp - 0x134]
lea eax, [ebp - 0x118]
push eax
call fcn.0043abe0
push 0
lea eax, [ebp - 0x11c]
push eax
push 0xff
lea eax, [ebp - 0x118]
push eax
push dword [ebp - 0x138]
call esi
test eax, eax
jne 0x41f9b0
push dword [ebp - 0x138]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x158]
call esi
push dword [ebp - 0x154]
call esi
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
movups xmm0, xmmword [ebp - 0x134]
mov dword [edi + 0x14], 0
movups xmmword [edi], xmm0
movq xmm0, qword [ebp - 0x124]
movq qword [edi + 0x10], xmm0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00464482
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.00464ad0
call fcn.0046d7bc
int3