Function at 0x450070
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 0x4aa7f5
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x4d9320]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x120]
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
push ecx
cmovae eax, dword [ebp + 0x20]
push eax
mov dword [ebp - 0x120], 0
call dword [sym.imp.MSVCP120.dll_enum_std::tr2::sys::file_type___cdecl_std::tr2::sys::_Stat_wchar_t_const___int__]
add esp, 8
test eax, eax
je 0x450462
cmp eax, 1
je 0x450462
push 0
lea eax, [ebp - 0x138]
mov dword [ebp - 0x11c], 0
push eax
lea eax, [ebp - 0x124]
mov dword [ebp - 0x124], 0
push eax
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x138], 0xc
push eax
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x450462
cmp dword [ebp - 0x11c], 0
je 0x450462
cmp dword [ebp - 0x124], 0
je 0x450462
lea eax, [ebp - 0x188]
mov dword [ebp - 0x188], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [ebp - 0x124]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x148], eax
mov dword [ebp - 0x14c], eax
xor eax, eax
mov word [ebp - 0x158], ax
mov dword [ebp - 0x15c], 0x101
call fcn.0044f350
push str.7za.exe
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.00420e80
add esp, 4
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 5
call fcn.00407aa0
lea eax, [ebp - 0x100]
push eax
lea ecx, [ebp + 8]
call fcn.00421040
mov edi, eax
lea eax, [ebp - 0xd0]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp + 0x20]
call fcn.00421040
mov esi, eax
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 7
push eax
lea ecx, [ebp - 0x58]
call fcn.00421040
push str._e__bsp2__y__
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xe8]
call fcn.004183f0
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xb8]
call fcn.00450700
add esp, 4
push str.___o_
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xa0]
call fcn.004183f0
add esp, 4
push edi
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x88]
call fcn.00450700
add esp, 4
push 0x4b87d8
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x40]
call fcn.004183f0
add esp, 4
lea ecx, [ebp - 0x88]
call fcn.00407aa0
lea ecx, [ebp - 0xa0]
call fcn.00407aa0
lea ecx, [ebp - 0xb8]
call fcn.00407aa0
lea ecx, [ebp - 0xe8]
call fcn.00407aa0
lea ecx, [ebp - 0x118]
call fcn.00407aa0
lea ecx, [ebp - 0xd0]
call fcn.00407aa0
lea ecx, [ebp - 0x100]
call fcn.00407aa0
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x198]
push ecx
lea ecx, [ebp - 0x188]
push ecx
push 0
push 0
push 0
push 1
push 0
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push dword [ebp - 0x124]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ecx
mov byte [ebp - 0x28], cl
mov byte [ebp - 4], 0x15
test ebx, ebx
je 0x450436
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
xor ebx, ebx
mov esi, dword [sym.imp.MSVCR120.dll_sscanf_s]
mov dword [ebp - 0x12c], ebx
cmp ecx, 0x400
jb 0x450338
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], 0x400
cmovae eax, dword [ebp - 0x28]
mov byte [eax + 0x400], bl
jmp 0x45034a
mov eax, 0x400
sub eax, ecx
lea ecx, [ebp - 0x28]
push 0
push eax
call fcn.00426320
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x12c]
push 0
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [ebp - 0x11c]
call edi
test eax, eax
je 0x450425
mov ecx, dword [ebp - 0x12c]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
ja 0x450392
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
mov byte [eax + ecx], bl
jmp 0x45039f
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.00426320
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x128], ebx
cmp dword [ebp + 0x48], ebx
je 0x4503e0
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x120]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push str._d___n
push eax
call esi
add esp, 0x10
test eax, eax
jle 0x4503e0
cmp dword [ebp - 0x128], ebx
jg 0x4503e8
mov ecx, dword [ebp - 0x18]
jmp 0x450316
movd xmm0, dword [ebp - 0x120]
cvtdq2pd xmm0, xmm0
mov ecx, dword [ebp + 0x48]
divsd xmm0, qword [0x4c6050]
movsd qword [ebp - 0x140], xmm0
test ecx, ecx
je 0x45041f
mov eax, dword [ecx]
lea edx, [ebp - 0x140]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x18]
jmp 0x450316
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xbad_function_call_void_]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
mov ecx, 1
cmove ebx, ecx
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 1
lea ecx, [ebp - 0x28]
sete bl
call fcn.00420510
lea ecx, [ebp - 0x40]
call fcn.00407aa0
lea ecx, [ebp - 0x58]
call fcn.00407aa0
jmp 0x450464
xor bl, bl
cmp dword [ebp + 0x1c], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x450478
push dword [ebp + 8]
call esi
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], 7
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
jb 0x45049a
push dword [ebp + 0x20]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x48]
mov dword [ebp + 0x34], 7
mov dword [ebp + 0x30], 0
mov word [ebp + 0x20], ax
test ecx, ecx
je 0x4504cd
mov esi, dword [ecx]
lea eax, [ebp + 0x38]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a285c
mov esp, ebp
pop ebp
ret