Function at 0x140004720
Capabilities:
Download url
Execute command
Receive data
Set console window title

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x14000f040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor edi, edi
lea rcx, str.Artemis_Bootstrapper
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, [0x14000a8b8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str._n_____Downloading_Artemis
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140006490
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, [0x14000fbe8]
cmp qword [0x14000fc00], 0xf
cmova r8, qword [0x14000fbe8]
lea rdx, [0x14000fb68]
cmp qword [0x14000fb80], 0xf
cmova rdx, qword [0x14000fb68]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
je 0x140004a5e
lea rcx, [0x14000a8b8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str._n_____Main_download_failed_trying_Backup_Download
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140006490
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r8, [0x14000fbe8]
cmp qword [0x14000fc00], 0xf
cmova r8, qword [0x14000fbe8]
lea rdx, [0x14000fc08]
cmp qword [0x14000fc20], 0xf
cmova rdx, qword [0x14000fc08]
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
je 0x140004889
lea rcx, [0x14000a8b8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str._n_____Backup_Download_failed__Check_your_internet_connection__if_your_internet_connection_is_fine_please_report_the_issue_to_the_developers
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140006490
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140008140
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea rbx, [0x14000fb88]
mov rax, rbx
cmp qword [0x14000fba0], 0xf
cmova rax, qword [0x14000fb88]
mov qword [rbp + 0x37], rax
mov rax, qword [0x14000fb98]
mov qword [rbp + 0x3f], rax
call fcn.140007750
movaps xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp + 0x37], xmm0
lea r8, [rbp + 0x37]
mov edx, eax
lea rcx, [rbp - 0x39]
call fcn.140001d10
nop
mov qword [rbp + 0x37], rdi
lea rdi, [0x14000f0c8]
mov qword [rbp + 0x3f], rdi
lea rdx, [rbp + 0x37]
lea rcx, [rbp - 0x39]
call fcn.140003430
movzx esi, al
cmp dword [rbp + 0x37], 0
jne 0x140004c62
mov rdx, qword [rbp - 0x21]
cmp rdx, 7
jbe 0x14000493c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004937
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004937
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400083e4
test sil, sil
je 0x140004a1c
mov rax, rbx
cmp qword [0x14000fba0], 0xf
cmova rax, qword [0x14000fb88]
mov qword [rbp + 0x37], rax
mov rax, qword [0x14000fb98]
mov qword [rbp + 0x3f], rax
call fcn.140007750
movaps xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp + 0x37], xmm0
lea r8, [rbp + 0x37]
mov edx, eax
lea rcx, [rbp - 0x39]
call fcn.140001d10
nop
lea rcx, [rbp - 0x39]
cmp qword [rbp - 0x21], 7
cmova rcx, qword [rbp - 0x39]
call fcn.140007e20
mov rdx, rax
shr rdx, 0x20
movzx ecx, al
mov qword [rbp + 0x47], rcx
mov dword [rbp + 0x37], edx
mov qword [rbp + 0x3f], rdi
movaps xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp + 0x37], xmm0
cmp edx, 0x91
jne 0x1400049cf
lea r8, [rbp + 0x47]
lea rdx, [rbp + 0x37]
lea rcx, [rbp - 0x39]
call fcn.140003540
cmp dword [rbp + 0x37], 0
jne 0x140004c77
mov rdx, qword [rbp - 0x21]
cmp rdx, 7
jbe 0x140004a1c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004a17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004a17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400083e4
call fcn.140003b90
test al, al
jne 0x140004c8c
lea rcx, [0x14000a8b8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str._n_____Failed_to_Unzip
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140006490
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 1
jmp 0x140004864
lea rbx, [0x14000fb88]
mov rax, rbx
cmp qword [0x14000fba0], 0xf
cmova rax, qword [0x14000fb88]
mov qword [rbp + 0x37], rax
mov rax, qword [0x14000fb98]
mov qword [rbp + 0x3f], rax
call fcn.140007750
movaps xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp + 0x37], xmm0
lea r8, [rbp + 0x37]
mov edx, eax
lea rcx, [rbp - 0x39]
call fcn.140001d10
nop
mov qword [rbp + 0x37], rdi
lea rdi, [0x14000f0c8]
mov qword [rbp + 0x3f], rdi
lea rdx, [rbp + 0x37]
lea rcx, [rbp - 0x39]
call fcn.140003430
movzx esi, al
cmp dword [rbp + 0x37], 0
jne 0x140004cde
mov rdx, qword [rbp - 0x21]
cmp rdx, 7
jbe 0x140004b11
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004b0c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004b0c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400083e4
test sil, sil
je 0x140004bed
mov rax, rbx
cmp qword [0x14000fba0], 0xf
cmova rax, qword [0x14000fb88]
mov qword [rbp + 0x37], rax
mov rax, qword [0x14000fb98]
mov qword [rbp + 0x3f], rax
call fcn.140007750
movaps xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp + 0x37], xmm0
lea r8, [rbp + 0x37]
mov edx, eax
lea rcx, [rbp - 0x39]
call fcn.140001d10
nop
lea rcx, [rbp - 0x39]
cmp qword [rbp - 0x21], 7
cmova rcx, qword [rbp - 0x39]
call fcn.140007e20
mov rdx, rax
shr rdx, 0x20
movzx ecx, al
mov qword [rbp + 0x47], rcx
mov dword [rbp + 0x37], edx
mov qword [rbp + 0x3f], rdi
movaps xmm0, xmmword [rbp + 0x37]
movdqa xmmword [rbp + 0x37], xmm0
cmp edx, 0x91
jne 0x140004ba4
lea r8, [rbp + 0x47]
lea rdx, [rbp + 0x37]
lea rcx, [rbp - 0x39]
call fcn.140003540
cmp dword [rbp + 0x37], 0
jne 0x140004bfb
mov rdx, qword [rbp - 0x21]
cmp rdx, 7
jbe 0x140004bed
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004be8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004be8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400083e4
call fcn.140003b90
test al, al
jne 0x140004c10
jmp 0x140004a29
lea r8, [rbp - 0x39]
lea rdx, [rbp + 0x37]
lea rcx, str.remove_all
call fcn.140002d60
nop
lea rax, [rbp + 0xf]
mov qword [rbp + 0x37], rax
mov rdx, rbx
lea rcx, [rbp + 0xf]
call fcn.140005a30
mov rdi, rax
lea rax, [rbp - 0x11]
mov qword [rbp - 0x19], rax
lea rdx, [0x14000fbe8]
lea rcx, [rbp - 0x11]
call fcn.140005a30
mov rbx, rax
lea rdx, [0x14000fb48]
lea rcx, [rbp - 0x39]
call fcn.140005a30
nop
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call fcn.140004590
nop
lea r8, [rbp - 0x39]
lea rdx, [rbp + 0x37]
lea rcx, str.exists
call fcn.140002d60
nop
lea r8, [rbp - 0x39]
lea rdx, [rbp + 0x37]
lea rcx, str.remove_all
call fcn.140002d60
nop
lea rax, [rbp - 0x39]
mov qword [rbp + 0x47], rax
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.140005a30
mov rdi, rax
lea rax, [rbp - 0x11]
mov qword [rbp - 0x19], rax
lea rdx, [0x14000fbe8]
lea rcx, [rbp - 0x11]
call fcn.140005a30
mov rbx, rax
lea rdx, [0x14000fb48]
lea rcx, [rbp + 0xf]
call fcn.140005a30
nop
mov r8, rdi
mov rdx, rbx
mov rcx, rax
call fcn.140004590
nop
lea r8, [rbp - 0x39]
lea rdx, [rbp + 0x37]
lea rcx, str.exists
call fcn.140002d60
int3