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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x449ecb
mov eax, dword fs:[0]
push eax
sub esp, 0x1ac
mov eax, dword [section..data]
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 - 0x138]
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
push ecx
cmovae eax, dword [ebp + 0x20]
push eax
mov dword [ebp - 0x138], 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 0x443467
cmp eax, 1
je 0x443467
push 0
lea eax, [ebp - 0x154]
mov dword [ebp - 0x13c], 0
push eax
lea eax, [ebp - 0x140]
mov dword [ebp - 0x140], 0
push eax
lea eax, [ebp - 0x13c]
mov dword [ebp - 0x154], 0xc
push eax
mov dword [ebp - 0x150], 0
mov dword [ebp - 0x14c], 1
call dword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x443467
cmp dword [ebp - 0x13c], 0
je 0x443467
cmp dword [ebp - 0x140], 0
je 0x443467
lea eax, [ebp - 0x1a8]
mov dword [ebp - 0x1a8], 0x44
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x168], eax
mov dword [ebp - 0x16c], eax
xor eax, eax
mov word [ebp - 0x178], ax
lea eax, [ebp - 0x70]
push str.7za.exe
push eax
sub esp, 0x18
mov dword [ebp - 0x17c], 0x101
mov ecx, esp
xor eax, eax
mov dword [ebp - 0x138], ecx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
mov word [ecx], ax
push 0x44b668
mov byte [ebp - 4], 3
call fcn.004043b0
push 0
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 2
call fcn.0043d4c0
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.0043ec80
mov edx, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x58]
call fcn.0043d400
add esp, 4
lea ecx, [ebp - 0x70]
call fcn.00404370
lea ecx, [ebp - 0x134]
mov byte [ebp - 4], 8
call fcn.0040a020
lea eax, [ebp - 0xd0]
push eax
lea ecx, [ebp + 8]
call fcn.0040b9e0
mov edi, eax
lea eax, [ebp - 0x118]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp + 0x20]
call fcn.0040b9e0
mov esi, eax
lea eax, [ebp - 0xe8]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x58]
call fcn.0040b9e0
push str._e__bsp2__y__
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xa0]
call fcn.0040c7c0
add esp, 4
push esi
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x100]
call fcn.00417f30
add esp, 4
mov byte [ebp - 4], 0xd
push str.___o_
mov edx, eax
lea ecx, [ebp - 0xb8]
call fcn.0040c7c0
add esp, 4
push edi
mov edx, eax
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x88]
call fcn.00417f30
add esp, 4
push 0x44fecc
mov edx, eax
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x40]
call fcn.0040c7c0
add esp, 4
lea ecx, [ebp - 0x88]
call fcn.00404370
lea ecx, [ebp - 0xb8]
call fcn.00404370
lea ecx, [ebp - 0x100]
call fcn.00404370
lea ecx, [ebp - 0xa0]
call fcn.00404370
lea ecx, [ebp - 0xe8]
call fcn.00404370
lea ecx, [ebp - 0x118]
call fcn.00404370
lea ecx, [ebp - 0xd0]
call fcn.00404370
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x1b8]
push ecx
lea ecx, [ebp - 0x1a8]
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 - 0x140]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, eax
call edi
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov byte [ebp - 4], 0x18
test ebx, ebx
je 0x443439
xor ebx, ebx
lea ecx, [ebp - 0x28]
push 0x400
mov dword [ebp - 0x144], ebx
call fcn.00424f10
push ebx
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push ebx
call fcn.0042e970
mov esi, dword [sym.imp.KERNEL32.dll_ReadFile]
push eax
push dword [ebp - 0x13c]
call esi
test eax, eax
je 0x443428
mov edi, dword [sym.imp.MSVCR120.dll_sscanf_s]
lea esp, [esp]
push dword [ebp - 0x144]
lea ecx, [ebp - 0x28]
call fcn.00424f10
mov dword [ebp - 0x138], ebx
mov dword [ebp - 0x148], ebx
cmp dword [ebp + 0x48], ebx
je 0x4433ee
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x148]
push ecx
lea ecx, [ebp - 0x138]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push str._d___n
push eax
call edi
add esp, 0x10
test eax, eax
jle 0x4433ee
cmp dword [ebp - 0x148], ebx
jle 0x4433ee
movd xmm0, dword [ebp - 0x138]
cvtdq2pd xmm0, xmm0
mov ecx, dword [ebp + 0x48]
divsd xmm0, qword [0x45d3d0]
movsd qword [ebp - 0x160], xmm0
test ecx, ecx
je 0x443461
mov eax, dword [ecx]
lea edx, [ebp - 0x160]
push edx
call dword [eax + 8]
push 0x400
lea ecx, [ebp - 0x28]
call fcn.00424f10
push 0
lea eax, [ebp - 0x144]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x28]
push 0
call fcn.0042e970
push eax
push dword [ebp - 0x13c]
call esi
test eax, eax
jne 0x443370
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
mov ecx, 1
cmove ebx, ecx
push dword [ebp - 0x13c]
call edi
cmp ebx, 1
lea ecx, [ebp - 0x28]
sete bl
call fcn.00405bb0
lea ecx, [ebp - 0x40]
call fcn.00404370
lea ecx, [ebp - 0x58]
call fcn.00404370
jmp 0x443469
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xbad_function_call_void_]
xor bl, bl
cmp dword [ebp + 0x1c], 8
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
jb 0x44347d
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 0x44349f
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 0x4434d2
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.00443640
mov esp, ebp
pop ebp
ret