Function at 0x4579e0
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 0x4c5f28
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x4fe320]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x109], cl
mov dword [ebp - 4], 2
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
cmp eax, dword [ebp + 0xc]
jne 0x457a38
push str.zip_files_error_1
push 0x24a
jmp 0x457f68
push 0
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x118], 0
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0
push eax
lea eax, [ebp - 0x118]
mov dword [ebp - 0x12c], 0xc
push eax
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x457aae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.zip_files_CreatePipe_error__d
push 0x256
push str.common::files::archiveFiles
call fcn.0045ff60
add esp, 0x10
jmp 0x457f75
cmp dword [ebp - 0x118], 0
je 0x457f5e
cmp dword [ebp - 0x110], 0
je 0x457f5e
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x17c], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x140], eax
xor eax, eax
mov word [ebp - 0x14c], ax
lea eax, [ebp - 0xa8]
push str.7za.exe
push eax
sub esp, 0x18
mov dword [ebp - 0x150], 0x101
mov ecx, esp
xor eax, eax
mov dword [ebp - 0x114], ecx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
push 0x4d48b8
mov byte [ebp - 4], 3
call fcn.004234c0
push 0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.00455ae0
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00457090
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x5c]
call fcn.00423710
add esp, 4
lea ecx, [ebp - 0xa8]
call fcn.00408280
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 8
call fcn.0040a440
lea eax, [ebp - 0xd8]
push eax
lea ecx, [ebp + 0x14]
call fcn.004238b0
mov esi, eax
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x5c]
call fcn.004238b0
cmp byte [ebp - 0x109], 0
mov edx, str._a__mx0__t7z__bsp2__
mov ecx, str._a__mx1__t7z__bsp2__
mov byte [ebp - 4], 0xa
cmove ecx, edx
push ecx
push eax
lea eax, [ebp - 0xf0]
push eax
call fcn.0041afa0
add esp, 0xc
push esi
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc0]
call fcn.00458760
add esp, 4
push 0x4e8048
push eax
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x44]
push eax
call fcn.0041afa0
add esp, 0xc
lea ecx, [ebp - 0xc0]
call fcn.00408280
lea ecx, [ebp - 0xf0]
call fcn.00408280
lea ecx, [ebp - 0x108]
call fcn.00408280
lea ecx, [ebp - 0xd8]
mov byte [ebp - 4], 0x11
call fcn.00408280
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp esi, edi
je 0x457ced
lea eax, [ebp - 0xa8]
mov ecx, esi
push eax
call fcn.004238b0
push eax
mov edx, str.__i__
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x74]
call fcn.004298c0
add esp, 4
push 0x4d99a4
push eax
lea eax, [ebp - 0x90]
mov byte [ebp - 4], 0x13
push eax
call fcn.0041afa0
add esp, 0xc
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x14
call fcn.00422f80
cmp dword [ebp - 0x7c], 8
jb 0x457c91
push dword [ebp - 0x90]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x7c], 7
cmp dword [ebp - 0x60], 8
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], ax
jb 0x457cb6
push dword [ebp - 0x74]
call ebx
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x94], 8
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
jb 0x457ce2
push dword [ebp - 0xa8]
call ebx
add esp, 4
add esi, 0x18
cmp esi, edi
jne 0x457c33
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x18c]
push ecx
lea ecx, [ebp - 0x17c]
push ecx
push 0
push 0
push 0
push 1
push 0
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov esi, eax
test esi, esi
jne 0x457d4b
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x44]
cmovae ecx, dword [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.create_progress_error.__d._args:__s
push 0x277
push str.common::files::archiveFiles
call fcn.0045ff60
add esp, 0x14
cmp dword [ebp - 0x30], 8
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
push eax
push str.create_7za.exe_progress_args:__s
push 0x279
push str.common::files::archiveFiles
call fcn.0045ff60
add esp, 0x10
push dword [ebp - 0x110]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 0x2c], cl
mov byte [ebp - 4], 0x15
test esi, esi
je 0x457ee2
mov edi, dword [sym.imp.MSVCR120.dll_sscanf_s]
xor esi, esi
mov dword [ebp - 0x11c], esi
cmp ecx, 0x400
jb 0x457dc6
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0x400
cmovae eax, dword [ebp - 0x2c]
mov byte [eax + 0x400], 0
jmp 0x457dd8
mov eax, 0x400
sub eax, ecx
lea ecx, [ebp - 0x2c]
push 0
push eax
call fcn.0042e3b0
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x11c]
push 0
push ecx
push dword [ebp - 0x1c]
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push eax
push dword [ebp - 0x118]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x457eb8
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x1c]
cmp ecx, eax
ja 0x457e25
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], ecx
cmovae eax, dword [ebp - 0x2c]
mov byte [ecx + eax], 0
jmp 0x457e32
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0042e3b0
mov dword [ebp - 0x114], esi
mov dword [ebp - 0x120], esi
cmp dword [ebp + 0x3c], esi
je 0x457e73
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x120]
push ecx
lea ecx, [ebp - 0x114]
push ecx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push str._d___n
push eax
call edi
add esp, 0x10
test eax, eax
jle 0x457e73
cmp dword [ebp - 0x120], esi
jg 0x457e7b
mov ecx, dword [ebp - 0x1c]
jmp 0x457da3
movd xmm0, dword [ebp - 0x114]
cvtdq2pd xmm0, xmm0
mov ecx, dword [ebp + 0x3c]
divsd xmm0, qword [0x4e8870]
movsd qword [ebp - 0x134], xmm0
test ecx, ecx
je 0x457eb2
mov eax, dword [ecx]
lea edx, [ebp - 0x134]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1c]
jmp 0x457da3
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 esi, ecx
push esi
push eax
push str.zip_readfile_error:_d_result:_d
push 0x294
push str.common::files::archiveFiles
call fcn.0045ff60
add esp, 0x14
push dword [ebp - 0x118]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 1
sete byte [ebp - 0x109]
cmp dword [ebp - 0x18], 0x10
jb 0x457f06
push dword [ebp - 0x2c]
call ebx
add esp, 4
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
jb 0x457f26
push dword [ebp - 0x44]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x30], 7
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0x34], 0
mov word [ebp - 0x44], ax
jb 0x457f48
push dword [ebp - 0x5c]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], 0
mov word [ebp - 0x5c], ax
jmp 0x457f7c
push str.zip_files_hOutputRead_hOutputWrite_is_null
push 0x25d
push str.common::files::archiveFiles
call fcn.0045ff60
add esp, 0xc
mov byte [ebp - 0x109], 0
cmp dword [ebp + 0x28], 8
jb 0x457f8a
push dword [ebp + 0x14]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp + 0x28], 7
mov word [ebp + 0x14], ax
mov eax, dword [ebp + 8]
mov dword [ebp + 0x24], 0
test eax, eax
je 0x457fcb
push dword [ebp + 0xc]
push eax
call fcn.00458630
push dword [ebp + 8]
call ebx
add esp, 4
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x3c]
test ecx, ecx
je 0x457fea
mov esi, dword [ecx]
lea eax, [ebp + 0x2c]
cmp ecx, eax
setne dl
movzx edx, dl
push edx
call dword [esi + 0x10]
mov al, byte [ebp - 0x109]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004bce6c
mov esp, ebp
pop ebp
ret