Function at 0x45de90
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 0x65d8b5
mov eax, dword fs:[0]
push eax
mov eax, 0x10ac
call fcn.005c8950
mov eax, dword [0x70a0c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x1041], 0
mov dword [ebp - 0x104c], 0
mov dword [ebp - 0x1048], 0
mov dword [ebp - 0x106c], 0
xor eax, eax
mov dword [ebp - 0x1068], eax
mov dword [ebp - 0x1064], eax
mov dword [ebp - 0x10b8], 0
push 0x40
push 0
lea ecx, [ebp - 0x10b4]
push ecx
call fcn.005e0c30
add esp, 0xc
mov dword [ebp - 0x1060], 0
xor edx, edx
mov dword [ebp - 0x105c], edx
mov dword [ebp - 0x1058], edx
mov dword [ebp - 0x1054], edx
mov dword [ebp - 0x1070], 0
mov byte [ebp - 0x810], 0
push 0x7ff
push 0
lea eax, [ebp - 0x80f]
push eax
call fcn.005e0c30
add esp, 0xc
mov ecx, dword [ebp + 8]
call fcn.0044e170
movzx ecx, al
test ecx, ecx
je 0x45df68
jmp 0x45e121
mov dword [ebp - 0x106c], 0xc
mov dword [ebp - 0x1068], 0
mov dword [ebp - 0x1064], 1
push 0
lea edx, [ebp - 0x106c]
push edx
lea eax, [ebp - 0x1048]
push eax
lea ecx, [ebp - 0x104c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x45dfac
jmp 0x45e121
mov dword [ebp - 0x10b8], 0x44
lea edx, [ebp - 0x10b8]
push edx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [ebp - 0x1048]
mov dword [ebp - 0x1078], eax
mov ecx, dword [ebp - 0x1048]
mov dword [ebp - 0x107c], ecx
xor edx, edx
mov word [ebp - 0x1088], dx
mov dword [ebp - 0x108c], 0x101
mov ecx, dword [ebp + 8]
call fcn.0043dc00
push eax
push str.cmd.exe__C__s
push 0x400
lea eax, [ebp - 0x1010]
push eax
call fcn.00469f30
add esp, 0x10
lea ecx, [ebp - 0x1060]
push ecx
lea edx, [ebp - 0x10b8]
push edx
push 0
push 0
push 0
push 1
push 0
push 0
lea eax, [ebp - 0x1010]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x45e042
jmp 0x45e121
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x1060]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x45e05c
jmp 0x45e121
push 0
lea eax, [ebp - 0x1070]
push eax
push 0x800
lea ecx, [ebp - 0x810]
push ecx
mov edx, dword [ebp - 0x104c]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x45e087
jmp 0x45e121
mov eax, 1
imul ecx, eax, 0x7ff
mov dword [ebp - 0x1050], ecx
cmp dword [ebp - 0x1050], 0x800
jae 0x45e0a6
jmp 0x45e0ab
call fcn.005c7f3d
mov edx, dword [ebp - 0x1050]
mov byte [ebp + edx - 0x810], 0
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x1028]
call fcn.00405040
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1028]
push ecx
lea edx, [ebp - 0x1040]
push edx
call fcn.00442e90
add esp, 8
mov dword [ebp - 0x1074], eax
mov eax, dword [ebp - 0x1074]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.004481c0
lea ecx, [ebp - 0x1040]
call fcn.0043cfa0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1028]
call fcn.00405300
mov byte [ebp - 0x1041], 1
cmp dword [ebp - 0x1048], 0
je 0x45e137
mov ecx, dword [ebp - 0x1048]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x104c], 0
je 0x45e14d
mov edx, dword [ebp - 0x104c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x105c], 0
je 0x45e163
mov eax, dword [ebp - 0x105c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1060], 0
je 0x45e179
mov ecx, dword [ebp - 0x1060]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x1041]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c7840
mov esp, ebp
pop ebp
ret