Function at 0x423dd0
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 0x4291a5
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [section..data]
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 - 0x105], 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]
je 0x4243a3
push 0
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x10c], 0
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x110], 0
push eax
lea eax, [ebp - 0x10c]
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
je 0x4243a3
cmp dword [ebp - 0x10c], 0
je 0x4243a3
cmp dword [ebp - 0x110], 0
je 0x4243a3
lea eax, [ebp - 0x17c]
mov dword [ebp - 0x17c], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0x13c], eax
mov dword [ebp - 0x140], eax
xor eax, eax
mov word [ebp - 0x14c], ax
mov dword [ebp - 0x150], 0x101
call fcn.00412b60
push str.7za.exe
mov edx, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x5c]
call fcn.00413be0
add esp, 4
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 5
call fcn.00403670
lea eax, [ebp - 0xec]
push eax
lea ecx, [ebp + 0x14]
call fcn.004097f0
mov esi, eax
lea eax, [ebp - 0x104]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x5c]
call fcn.004097f0
cmp byte [ebp - 0x105], 0
mov edx, str._a__mx0__t7z__bsp2__
mov ecx, str._a__mx1__t7z__bsp2__
mov byte [ebp - 4], 7
cmove ecx, edx
mov edx, eax
push ecx
lea ecx, [ebp - 0xd4]
call fcn.0040a2c0
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xbc]
call fcn.0040f0e0
add esp, 4
push 0x436d6c
mov edx, eax
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x44]
call fcn.0040a2c0
add esp, 4
lea ecx, [ebp - 0xbc]
call fcn.00403670
lea ecx, [ebp - 0xd4]
call fcn.00403670
lea ecx, [ebp - 0x104]
call fcn.00403670
lea ecx, [ebp - 0xec]
mov byte [ebp - 4], 0xe
call fcn.00403670
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cmp esi, edi
je 0x42406a
lea eax, [ebp - 0xa4]
mov ecx, esi
push eax
call fcn.004097f0
push eax
mov edx, str.__i__
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x74]
call fcn.0040c210
add esp, 4
push 0x42cbf0
mov edx, eax
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0x8c]
call fcn.0040a2c0
add esp, 4
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x11
call fcn.004040b0
cmp dword [ebp - 0x78], 8
jb 0x42400e
push dword [ebp - 0x8c]
call ebx
add esp, 4
xor eax, eax
mov dword [ebp - 0x78], 7
cmp dword [ebp - 0x60], 8
mov dword [ebp - 0x7c], 0
mov word [ebp - 0x8c], ax
jb 0x424033
push dword [ebp - 0x74]
call ebx
add esp, 4
xor eax, eax
mov byte [ebp - 4], 0xe
cmp dword [ebp - 0x90], 8
mov dword [ebp - 0x60], 7
mov dword [ebp - 0x64], 0
mov word [ebp - 0x74], ax
jb 0x42405f
push dword [ebp - 0xa4]
call ebx
add esp, 4
add esi, 0x18
cmp esi, edi
jne 0x423fb0
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]
push dword [ebp - 0x110]
mov esi, eax
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], 0x12
test esi, esi
je 0x424327
mov dword [ebp - 0x120], ecx
mov dword [ebp - 0x11c], ecx
lea ecx, [ecx]
cmp ecx, 0x400
jb 0x4240f6
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 0x42418a
or eax, 0xffffffff
mov esi, 0x400
sub esi, ecx
sub eax, ecx
cmp eax, esi
jbe 0x4242ff
test esi, esi
je 0x42418d
lea edi, [ecx + esi]
cmp edi, 0xfffffffe
ja 0x4242ff
cmp dword [ebp - 0x18], edi
jae 0x42412b
push ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.00403f60
jmp 0x424140
test edi, edi
jne 0x424145
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], edi
cmovae eax, dword [ebp - 0x2c]
mov byte [eax], 0
mov ecx, dword [ebp - 0x1c]
test edi, edi
setne al
test al, al
je 0x42418d
lea eax, [ebp - 0x2c]
cmp esi, 1
jne 0x424162
cmp dword [ebp - 0x18], 0x10
cmovae eax, dword [ebp - 0x2c]
mov byte [ecx + eax], 0
jmp 0x424178
cmp dword [ebp - 0x18], 0x10
push esi
cmovae eax, dword [ebp - 0x2c]
add eax, ecx
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], edi
cmovae eax, dword [ebp - 0x2c]
mov byte [edi + eax], 0
mov ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x18], 0x10
lea edx, [ebp - 0x11c]
push 0
push edx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push ecx
push eax
push dword [ebp - 0x10c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x424310
mov esi, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x1c]
cmp esi, ecx
ja 0x4241db
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], esi
cmovae eax, dword [ebp - 0x2c]
mov byte [eax + esi], 0
jmp 0x424265
or eax, 0xffffffff
sub esi, ecx
sub eax, ecx
cmp eax, esi
jbe 0x4242ff
test esi, esi
je 0x424268
lea edi, [ecx + esi]
cmp edi, 0xfffffffe
ja 0x4242ff
cmp dword [ebp - 0x18], edi
jae 0x424226
push ecx
push edi
lea ecx, [ebp - 0x2c]
call fcn.00403f60
mov ecx, dword [ebp - 0x1c]
test edi, edi
je 0x424268
lea eax, [ebp - 0x2c]
cmp esi, 1
jne 0x42423d
cmp dword [ebp - 0x18], 0x10
cmovae eax, dword [ebp - 0x2c]
mov byte [ecx + eax], 0
jmp 0x424253
test edi, edi
jne 0x424210
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], edi
cmovae eax, dword [ebp - 0x2c]
mov byte [eax], 0
jmp 0x424265
cmp dword [ebp - 0x18], 0x10
push esi
cmovae eax, dword [ebp - 0x2c]
add eax, ecx
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
cmp dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x1c], edi
cmovae eax, dword [ebp - 0x2c]
mov byte [edi + eax], 0
mov ecx, dword [ebp - 0x1c]
cmp dword [ebp + 0x3c], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x114], 0
je 0x4240d0
cmp dword [ebp - 0x18], 0x10
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x118]
push ecx
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
push str._d___n
push eax
call dword [sym.imp.MSVCR120.dll_sscanf_s]
add esp, 0x10
test eax, eax
jle 0x4242c0
cmp dword [ebp - 0x114], 0
jg 0x4242c8
jmp 0x4242c0
mov ecx, dword [ebp - 0x1c]
jmp 0x4240d0
movd xmm0, dword [ebp - 0x118]
cvtdq2pd xmm0, xmm0
mov ecx, dword [ebp + 0x3c]
divsd xmm0, qword [0x436e30]
movsd qword [ebp - 0x134], xmm0
test ecx, ecx
je 0x42430a
mov eax, dword [ecx]
lea edx, [ebp - 0x134]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1c]
jmp 0x4240d0
push str.string_too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xbad_function_call_void_]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x120]
cmp eax, 0x6d
mov ecx, 1
cmove esi, ecx
push dword [ebp - 0x10c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 1
sete byte [ebp - 0x105]
cmp dword [ebp - 0x18], 0x10
jb 0x42434b
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 0x42436b
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 0x42438d
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 0x4243aa
mov byte [ebp - 0x105], 0
cmp dword [ebp + 0x28], 8
jb 0x4243b8
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 0x4243f9
push dword [ebp + 0xc]
push eax
call fcn.004097a0
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 0x424418
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 - 0x105]
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.00424ad0
mov esp, ebp
pop ebp
ret