Function at 0x459ed0
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 eax
mov eax, 2
add esp, 0xfffff004
push eax
dec eax
jne 0x459ed9
mov eax, dword [ebp - 4]
add esp, 0xfffff760
xor ecx, ecx
mov dword [ebp - 0x28a0], ecx
mov dword [ebp - 0x28a4], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404d90
xor eax, eax
push ebp
push 0x45a15a
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x78]
xor ecx, ecx
mov edx, 0x44
call fcn.004030e4
mov dword [ebp - 0x78], 0x44
mov dword [ebp - 0x4c], 1
mov word [ebp - 0x48], 0
lea eax, [ebp - 0x2899]
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.004030e4
mov eax, dword [ebp - 4]
call fcn.00404da0
mov edx, eax
lea eax, [ebp - 0x2899]
call fcn.0040931c
mov dword [ebp - 0x34], 0xc
mov dword [ebp - 0x2c], 0xffffffff
xor eax, eax
mov dword [ebp - 0x30], eax
push 0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_CreatePipe
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 0
jne 0x459fa7
mov dword [ebp - 0xc], 0xfffffffe
jmp 0x45a127
mov dword [ebp - 0x4c], 0x101
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x78]
push eax
push 0
push 0
push 0x20
push 0xffffffffffffffff
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x2899]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x19], al
cmp byte [ebp - 0x19], 0
jne 0x459ffe
mov dword [ebp - 0xc], 0xfffffffe
jmp 0x45a127
mov eax, dword [ebp - 0x24]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x19], al
lea eax, [ebp - 0x14]
call fcn.004048f0
push 0
lea eax, [ebp - 0x28]
push eax
push 0x2711
lea eax, [ebp - 0x2799]
push eax
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_ReadFile_1
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x19], al
lea eax, [ebp - 0x28a0]
push eax
lea eax, [ebp - 0x28a4]
lea edx, [ebp - 0x2799]
mov ecx, 0x2711
call fcn.00404b58
mov eax, dword [ebp - 0x28a4]
mov ecx, dword [ebp - 0x28]
xor edx, edx
call fcn.00404e00
mov edx, dword [ebp - 0x28a0]
lea eax, [ebp - 0x14]
call fcn.00404bb0
cmp byte [ebp - 0x19], 0
jne 0x45a018
mov eax, dword [ebp - 0x20]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x19], al
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
mov edx, dword [ebp - 0x14]
mov eax, 0x45a170
call fcn.00404ee4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x45a0bd
lea eax, [ebp - 0x14]
mov ecx, 1
mov edx, dword [ebp - 0x10]
call fcn.00404e40
cmp dword [ebp - 0x10], 0
jne 0x45a097
mov edx, dword [ebp - 0x14]
mov eax, 0x45a17c
call fcn.00404ee4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x45a100
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x14]
call fcn.00404e00
lea eax, [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov edx, 1
call fcn.00404e40
jmp 0x45a10b
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x14]
call fcn.00404988
cmp dword [ebp - 0x18], 0
je 0x45a11c
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
cmp dword [ebp - 0x10], 0
jne 0x45a0c3
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45a161
lea eax, [ebp - 0x28a4]
mov edx, 2
call fcn.00404914
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404914
lea eax, [ebp - 4]
call fcn.004048f0
ret