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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x523408
mov eax, dword fs:[0]
push eax
mov eax, 0x27a8
call fcn.00500c70
mov eax, dword [0x56f28c]
xor eax, ebp
mov dword [ebp - 0x94], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x84], 0x2710
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x80], 0
xor eax, eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x2c], 0xc
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 1
push 0x2710
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov dword [ebp - 0x30], eax
push 0
push 1
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
cmp dword [ebp - 0x30], 0
jne 0x4565ca
mov dword [ebp - 0x27b0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004458f0
mov eax, dword [ebp - 0x27b0]
jmp 0x456733
push 0x44
push 0
lea edx, [ebp - 0x7c]
push edx
call fcn.00500270
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x7c], 0x44
lea ecx, [ebp - 0x7c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov edx, dword [ebp - 0x80]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x40], eax
xor ecx, ecx
mov word [ebp - 0x4c], cx
mov dword [ebp - 0x50], 0x101
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x7c]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [ebp + 8]
call fcn.0046ade0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4566ed
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jne 0x4566d5
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jbe 0x4566d3
mov dword [ebp - 0x90], 0
push 0x2711
push 0
lea ecx, [ebp - 0x27ac]
push ecx
call fcn.00500270
add esp, 0xc
push 0
lea edx, [ebp - 0x90]
push edx
push 0x2710
lea eax, [ebp - 0x27ac]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x4566d3
lea edx, [ebp - 0x27ac]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.004066e0
jmp 0x4566ed
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x88]
push ecx
push 0x535ce0
call fcn.0044a070
add esp, 0xc
mov edx, dword [ebp - 0x80]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x27b4], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.004458f0
mov eax, dword [ebp - 0x27b4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x94]
xor ecx, ebp
call fcn.004ffa01
mov esp, ebp
pop ebp
ret