Function at 0x140001190
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push rbx
push rdi
sub rsp, 0x468
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov rdi, rdx
mov rbx, rcx
call fcn.1400010e0
test al, al
jne 0x1400011de
mov r9d, 0x10
lea r8, str.HighxBoostFar
lea rdx, str.You_need_administrator_privileges_to_run_this_program.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor al, al
jmp 0x140001394
mov qword [rsp + 0x498], rsi
lea rcx, str.DownloadFile
mov qword [rsp + 0x460], r14
xor r9d, r9d
xor r14d, r14d
xor r8d, r8d
mov dword [rsp + 0x20], r14d
lea edx, [r14 + 1]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
test rax, rax
jne 0x14000122f
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Failed_to_open_Internet_session_n
call fcn.140001870
xor al, al
jmp 0x140001384
mov qword [rsp + 0x28], r14
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 0x80000000
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
jne 0x140001279
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Failed_to_open_URL_n
call fcn.140001870
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x140001384
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 2
mov rcx, rdi
mov qword [rsp + 0x490], rbp
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
jne 0x1400012df
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Failed_to_create_file_n
call fcn.140001870
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor al, al
jmp 0x14000137c
lea r9, [rsp + 0x40]
mov dword [rsp + 0x40], r14d
mov r8d, 0x400
lea rdx, [rsp + 0x50]
mov rcx, rbx
mov edi, r14d
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14000135c
mov r8d, dword [rsp + 0x40]
test r8d, r8d
je 0x14000135c
xor r9d, r9d
mov qword [rsp + 0x20], r14
lea rdx, [rsp + 0x50]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edi, eax
test eax, eax
je 0x140001349
lea r9, [rsp + 0x40]
mov r8d, 0x400
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140001304
jmp 0x14000135c
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Failed_to_write_to_file_n
call fcn.140001870
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test edi, edi
setne al
mov rbp, qword [rsp + 0x490]
mov rsi, qword [rsp + 0x498]
mov r14, qword [rsp + 0x460]
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1400020d0
add rsp, 0x468
pop rdi
pop rbx
ret