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

Disassembly:
push 0xffffffffffffffff
push 0x53535d
mov eax, dword fs:[0]
push eax
mov eax, 0x27ac
call fcn.00507350
mov eax, dword [0x56d940]
xor eax, esp
mov dword [esp + 0x27a8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x56d940]
xor eax, esp
push eax
lea eax, [esp + 0x27c0]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x27d0]
xor esi, esi
push esi
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x48], 0xc
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x4e0411
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x4c], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x88], eax
lea eax, [esp + 0x4c]
push eax
push esi
push esi
push esi
push 1
push esi
push esi
push 0x56f360
xor ecx, ecx
push esi
mov word [esp + 0xa0], cx
mov dword [esp + 0x9c], 0x101
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea ecx, [esp + 0x8c]
mov edi, eax
call fcn.00406370
mov dword [esp + 0x27c8], esi
cmp edi, esi
je 0x4e0593
mov ecx, dword [esp + 0x28]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x2711
lea edx, [esp + 0xac]
push esi
push edx
call fcn.00506bf0
mov edx, dword [esp + 0x2c]
add esp, 0xc
push esi
lea eax, [esp + 0x48]
push eax
push 0x2710
lea ecx, [esp + 0xb4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, esi
jne 0x4e0418
mov eax, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x28]
push ecx
call esi
mov edx, dword [esp + 0x2c]
push edx
call esi
mov eax, dword [esp + 0x20]
push eax
call esi
lea ecx, [esp + 0x8c]
call fcn.00401490
xor eax, eax
jmp 0x4e05c6
lea ecx, [esp + 0xa8]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00408c70
lea ecx, [esp + 0x1c]
call fcn.00402c10
mov bl, 2
push esi
mov ecx, 0x57a9d0
mov byte [esp + 0x27cc], bl
call fcn.00420f50
push eax
lea ecx, [esp + 0x20]
call fcn.00402e50
mov edi, eax
cmp edi, 0xffffffff
je 0x4e04c7
lea ecx, [esp + 0x18]
call fcn.00408de0
mov esi, eax
mov ecx, 0x57a9d0
sub esi, edi
call fcn.00408de0
sub esi, eax
push esi
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
call fcn.00402fb0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x27cc], 3
call fcn.00402cf0
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c8], bl
call fcn.00402cd0
mov ecx, 0x57a9d8
call fcn.00408de0
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x24]
call fcn.00403040
mov byte [esp + 0x27c8], 4
jmp 0x4e0552
push esi
mov ecx, 0x57a9d4
call fcn.00420f50
push eax
lea ecx, [esp + 0x20]
call fcn.00402e50
mov edi, eax
cmp edi, 0xffffffff
je 0x4e056a
lea ecx, [esp + 0x18]
call fcn.00408de0
mov esi, eax
mov ecx, 0x57a9d4
sub esi, edi
call fcn.00408de0
sub esi, eax
push esi
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.00402fb0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x27cc], 5
call fcn.00402cf0
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c8], bl
call fcn.00402cd0
mov ecx, 0x57a9d8
call fcn.00408de0
push eax
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x24]
call fcn.00403040
mov byte [esp + 0x27c8], 6
push eax
mov ecx, ebp
call fcn.00402cf0
lea ecx, [esp + 0x14]
mov byte [esp + 0x27c8], bl
call fcn.00402cd0
mov ecx, ebp
call fcn.00403460
test al, al
je 0x4e0581
push 0x57a9d8
mov ecx, ebp
call fcn.00402cf0
lea ecx, [esp + 0x1c]
call fcn.00402cd0
lea ecx, [esp + 0x18]
call fcn.00402cd0
mov eax, dword [esp + 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [esp + 0x28]
push ecx
call esi
mov edx, dword [esp + 0x2c]
push edx
call esi
mov eax, dword [esp + 0x20]
push eax
call esi
lea ecx, [esp + 0x8c]
call fcn.00401490
mov eax, 1
mov ecx, dword [esp + 0x27c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x27a8]
xor ecx, esp
call fcn.005007b7
add esp, 0x27b8
ret 4