Function at 0x140002530
Capabilities:
Delete file
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x14000d040]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp + 0x1f], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x2f], xmm1
mov ecx, 0x30
call fcn.140005f40
mov rdx, rax
mov qword [rbp + 0x1f], rax
movdqa xmm0, xmmword [0x140008f30]
movdqu xmmword [rbp + 0x2f], xmm0
movups xmm0, xmmword [str.https:__www.7_zip.org_a_7z2107_x64.exe]
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x140008860]
movups xmmword [rax + 0x10], xmm1
mov ecx, dword [0x140008870]
mov dword [rax + 0x20], ecx
movzx eax, word [0x140008874]
mov word [rdx + 0x24], ax
mov byte [rdx + 0x26], r12b
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r12
mov qword [rbp - 9], r12
mov ecx, 0x20
call fcn.140005f40
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x11], 0x10
mov qword [rbp - 9], 0x1f
movups xmm0, xmmword [str.7z_installer.exe]
movups xmmword [rax], xmm0
mov byte [rax + 0x10], r12b
lea rdx, [rbp - 0x21]
lea rcx, [rbp + 0x1f]
call fcn.140001560
test al, al
jne 0x140002636
lea rdx, str.Failed_to_download_7_Zip_installer.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004c00
mov rcx, rax
lea rdx, [0x140004e00]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor bl, bl
jmp 0x140002835
mov rsi, qword [rbp - 0x11]
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
sub rax, rsi
cmp rax, 3
jb 0x1400028f1
lea r15, [rbp - 0x21]
cmp qword [rbp - 9], 0xf
cmova r15, qword [rbp - 0x21]
xorps xmm0, xmm0
movups xmmword [rbp - 1], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xf], xmm1
lea r14, [rsi + 3]
mov ebx, 0xf
lea rdi, [rbp - 1]
cmp r14, rbx
jbe 0x1400026fd
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400026bf
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140005f40
test rax, rax
je 0x140002818
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400026f9
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x1400026d9
mov rdi, r12
jmp 0x1400026f9
cmp rcx, 0x1000
jb 0x1400026f1
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400028f7
jmp 0x1400026a0
call fcn.140005f40
mov rdi, rax
mov qword [rbp - 1], rdi
mov qword [rbp + 0xf], r14
mov qword [rbp + 0x17], rbx
mov r8, rsi
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x1400088b4]
mov word [rdi + rsi], ax
movzx eax, byte [0x1400088b6]
mov byte [rdi + rsi + 2], al
mov byte [rdi + r14], 0
lea rcx, [rbp - 1]
cmp qword [rbp + 0x17], 0xf
cmova rcx, qword [rbp - 1]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
test eax, eax
je 0x14000276c
lea rdx, str.Failed_to_install_7_Zip.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004c00
mov rcx, rax
lea rdx, [0x140004e00]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor bl, bl
jmp 0x1400027e6
lea rcx, [rbp - 0x21]
cmp qword [rbp - 9], 0xf
cmova rcx, qword [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x1400027e4
lea rdx, str.Failed_to_delete_file:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004c00
lea rdx, [rbp - 0x21]
cmp qword [rbp - 9], 0xf
cmova rdx, qword [rbp - 0x21]
mov r8, qword [rbp - 0x11]
mov rcx, rax
call fcn.140005970
lea rdx, [0x140004e00]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, str.Failed_to_delete_7_Zip_installer.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140004c00
mov rcx, rax
lea rdx, [0x140004e00]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov bl, 1
mov rdx, qword [rbp + 0x17]
cmp rdx, 0xf
jbe 0x140002824
inc rdx
mov rcx, qword [rbp - 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000281f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000281f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005f7c
movdqa xmm0, xmmword [0x140008f10]
movdqu xmmword [rbp + 0xf], xmm0
mov byte [rbp - 1], 0
mov rdx, qword [rbp - 9]
cmp rdx, 0xf
jbe 0x140002873
inc rdx
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000286e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000286e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005f7c
mov qword [rbp - 0x11], r12
mov qword [rbp - 9], 0xf
mov byte [rbp - 0x21], 0
mov rdx, qword [rbp + 0x37]
cmp rdx, 0xf
jbe 0x1400028c1
inc rdx
mov rcx, qword [rbp + 0x1f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400028bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140005f7c
movzx eax, bl
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140005f20
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400011b0
nop
call fcn.140001110
int3