Function at 0x140011717
Capabilities:
Execute command

Disassembly:
jmp 0x140023f10
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x3b8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x86
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov ecx, dword [rsp + 0x3d8]
mov rax, qword [0x140031040]
xor rax, rbp
mov qword [rbp + 0x380], rax
lea rcx, [0x1400390fb]
call fcn.140011a4b
mov byte [rbp + 4], 0
cmp dword [rbp + 0x3b0], 2
jge 0x140023f8f
mov r9d, 0x10
mov r8, qword [str.Error]
mov rdx, qword [str.Usage:_Update.exe__l__url___n__name.exe____m__location_____s____r_]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov eax, 1
jmp 0x140024578
lea rcx, [rbp + 0x28]
call fcn.140011a37
nop
lea rcx, [rbp + 0x68]
call fcn.140011a37
nop
lea rcx, [rbp + 0xa8]
call fcn.140011a37
nop
mov byte [rbp + 0xe4], 0
mov byte [rbp + 0x104], 0
mov dword [rbp + 0x124], 1
jmp 0x140023fd8
mov eax, dword [rbp + 0x124]
inc eax
mov dword [rbp + 0x124], eax
mov eax, dword [rbp + 0x3b0]
cmp dword [rbp + 0x124], eax
jge 0x1400241c7
movsxd rax, dword [rbp + 0x124]
lea rdx, [0x14002b574]
mov rcx, qword [rbp + 0x3b8]
mov rcx, qword [rcx + rax*8]
call fcn.140011b3b
test eax, eax
jne 0x14002404a
mov eax, dword [rbp + 0x124]
inc eax
cmp eax, dword [rbp + 0x3b0]
jge 0x14002404a
mov eax, dword [rbp + 0x124]
inc eax
mov dword [rbp + 0x124], eax
movsxd rax, dword [rbp + 0x124]
mov rcx, qword [rbp + 0x3b8]
mov rdx, qword [rcx + rax*8]
lea rcx, [rbp + 0x28]
call fcn.140011064
jmp 0x1400241c2
movsxd rax, dword [rbp + 0x124]
lea rdx, [0x14002b578]
mov rcx, qword [rbp + 0x3b8]
mov rcx, qword [rcx + rax*8]
call fcn.140011b3b
test eax, eax
jne 0x1400240aa
mov eax, dword [rbp + 0x124]
inc eax
cmp eax, dword [rbp + 0x3b0]
jge 0x1400240aa
mov eax, dword [rbp + 0x124]
inc eax
mov dword [rbp + 0x124], eax
movsxd rax, dword [rbp + 0x124]
mov rcx, qword [rbp + 0x3b8]
mov rdx, qword [rcx + rax*8]
lea rcx, [rbp + 0x68]
call fcn.140011064
jmp 0x1400241c2
movsxd rax, dword [rbp + 0x124]
lea rdx, [0x14002b57c]
mov rcx, qword [rbp + 0x3b8]
mov rcx, qword [rcx + rax*8]
call fcn.140011b3b
test eax, eax
jne 0x14002410d
mov eax, dword [rbp + 0x124]
inc eax
cmp eax, dword [rbp + 0x3b0]
jge 0x14002410d
mov eax, dword [rbp + 0x124]
inc eax
mov dword [rbp + 0x124], eax
movsxd rax, dword [rbp + 0x124]
mov rcx, qword [rbp + 0x3b8]
mov rdx, qword [rcx + rax*8]
lea rcx, [rbp + 0xa8]
call fcn.140011064
jmp 0x1400241c2
movsxd rax, dword [rbp + 0x124]
lea rdx, [0x14002b580]
mov rcx, qword [rbp + 0x3b8]
mov rcx, qword [rcx + rax*8]
call fcn.140011b3b
test eax, eax
jne 0x14002413b
mov byte [rbp + 0xe4], 1
jmp 0x1400241c2
movsxd rax, dword [rbp + 0x124]
lea rdx, [0x14002b584]
mov rcx, qword [rbp + 0x3b8]
mov rcx, qword [rcx + rax*8]
call fcn.140011b3b
test eax, eax
jne 0x140024166
mov byte [rbp + 0x104], 1
jmp 0x1400241c2
movzx eax, byte [rbp + 0xe4]
test eax, eax
jne 0x14002418d
mov r9d, 0x10
mov r8, qword [str.Error]
mov rdx, qword [str.Invalid_arguments_]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rbp + 0x2e4], 1
lea rcx, [rbp + 0xa8]
call fcn.1400111ef
nop
lea rcx, [rbp + 0x68]
call fcn.1400111ef
nop
lea rcx, [rbp + 0x28]
call fcn.1400111ef
mov eax, dword [rbp + 0x2e4]
jmp 0x140024578
jmp 0x140023fca
lea rcx, [rbp + 0x28]
call fcn.140011262
movzx eax, al
test eax, eax
jne 0x140024243
lea rcx, [rbp + 0x68]
call fcn.140011262
movzx eax, al
test eax, eax
je 0x140024243
movzx eax, byte [rbp + 0xe4]
test eax, eax
jne 0x14002420e
mov r9d, 0x10
mov r8, qword [str.Error]
mov rdx, qword [str.The__n_parameter_is_required_when_using__l.]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rbp + 0x304], 1
lea rcx, [rbp + 0xa8]
call fcn.1400111ef
nop
lea rcx, [rbp + 0x68]
call fcn.1400111ef
nop
lea rcx, [rbp + 0x28]
call fcn.1400111ef
mov eax, dword [rbp + 0x304]
jmp 0x140024578
lea rcx, [rbp + 0x68]
call fcn.140011262
movzx eax, al
test eax, eax
jne 0x1400242c2
lea rcx, [rbp + 0xa8]
call fcn.140011262
movzx eax, al
test eax, eax
je 0x1400242c2
movzx eax, byte [rbp + 0xe4]
test eax, eax
jne 0x14002428d
mov r9d, 0x10
mov r8, qword [str.Error]
mov rdx, qword [str.The__m_parameter_is_required_when_using__n.]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rbp + 0x324], 1
lea rcx, [rbp + 0xa8]
call fcn.1400111ef
nop
lea rcx, [rbp + 0x68]
call fcn.1400111ef
nop
lea rcx, [rbp + 0x28]
call fcn.1400111ef
mov eax, dword [rbp + 0x324]
jmp 0x140024578
movzx eax, byte [rbp + 0xe4]
test eax, eax
jne 0x14002444a
call qword [sym.imp.KERNEL32.dll_AllocConsole]
mov ecx, 1
call qword [sym.imp.ucrtbased.dll___acrt_iob_func]
mov r9, rax
lea r8, [0x14002b614]
lea rdx, str.CONOUT_
lea rcx, [rbp + 0x148]
call qword [sym.imp.ucrtbased.dll_freopen_s]
mov byte [rbp + 4], 1
lea rcx, [rbp + 0x28]
call fcn.140011262
movzx eax, al
test eax, eax
jne 0x140024388
lea rdx, str.Link_to_the_file_to_download:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011145
lea rdx, [rbp + 0x28]
mov rcx, rax
call fcn.140011942
mov qword [rbp + 0x378], rax
lea rdx, [0x14001106e]
mov rcx, qword [rbp + 0x378]
call qword [sym.imp.MSVCP140D.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.Saving_file_as:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011145
lea rdx, [rbp + 0x68]
mov rcx, rax
call fcn.140011942
mov qword [rbp + 0x378], rax
lea rdx, [0x14001106e]
mov rcx, qword [rbp + 0x378]
call qword [sym.imp.MSVCP140D.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]
movzx eax, byte [rbp + 0xe4]
test eax, eax
je 0x1400243c1
lea rdx, str.Silent_mode_enabled
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011145
mov qword [rbp + 0x378], rax
lea rdx, [0x14001106e]
mov rcx, qword [rbp + 0x378]
call qword [sym.imp.MSVCP140D.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]
movzx eax, byte [rbp + 0x104]
test eax, eax
je 0x1400243fa
lea rdx, str.Will_run_the_downloaded_file
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011145
mov qword [rbp + 0x378], rax
lea rdx, [0x14001106e]
mov rcx, qword [rbp + 0x378]
call qword [sym.imp.MSVCP140D.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 rcx, [rbp + 0xa8]
call fcn.140011262
movzx eax, al
test eax, eax
jne 0x14002444a
lea rdx, str.Will_move_the_file_to:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140011145
lea rdx, [rbp + 0xa8]
mov rcx, rax
call fcn.140011942
mov qword [rbp + 0x378], rax
lea rdx, [0x14001106e]
mov rcx, qword [rbp + 0x378]
call qword [sym.imp.MSVCP140D.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 rcx, [rbp + 0x28]
call fcn.140011262
movzx eax, al
test eax, eax
jne 0x140024509
lea rcx, [rbp + 0x68]
call fcn.140011262
movzx eax, al
test eax, eax
jne 0x140024509
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x28]
call fcn.1400116ae
lea rcx, [rbp + 0xa8]
call fcn.140011262
movzx eax, al
test eax, eax
jne 0x140024509
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0x68]
call fcn.140011b45
movzx eax, al
test eax, eax
jne 0x140024509
lea rdx, str.Error:_Failed_to_move_the_file.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011145
mov qword [rbp + 0x378], rax
lea rdx, [0x14001106e]
mov rcx, qword [rbp + 0x378]
call qword [sym.imp.MSVCP140D.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 dword [rbp + 0x344], 1
lea rcx, [rbp + 0xa8]
call fcn.1400111ef
nop
lea rcx, [rbp + 0x68]
call fcn.1400111ef
nop
lea rcx, [rbp + 0x28]
call fcn.1400111ef
mov eax, dword [rbp + 0x344]
jmp 0x140024578
movzx eax, byte [rbp + 0x104]
test eax, eax
je 0x140024533
lea rcx, [rbp + 0xa8]
call fcn.140011262
movzx eax, al
test eax, eax
jne 0x140024533
lea rcx, [rbp + 0xa8]
call fcn.140011109
movzx eax, byte [rbp + 4]
test eax, eax
je 0x140024548
lea rcx, str.pause
call qword [sym.imp.ucrtbased.dll_system]
mov dword [rbp + 0x364], 0
lea rcx, [rbp + 0xa8]
call fcn.1400111ef
nop
lea rcx, [rbp + 0x68]
call fcn.1400111ef
nop
lea rcx, [rbp + 0x28]
call fcn.1400111ef
mov eax, dword [rbp + 0x364]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14002c920]
call fcn.1400118ac
mov rax, rdi
mov rcx, qword [rbp + 0x380]
xor rcx, rbp
call fcn.1400114f6
lea rsp, [rbp + 0x398]
pop rdi
pop rbp
ret