Function at 0x180034760
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
mov eax, 0x1070
call fcn.1800b0850
sub rsp, rax
mov rax, qword [0x18043a040]
xor rax, rsp
mov qword [rsp + 0x1060], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
xor r14d, r14d
lea rdx, [0x180425128]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.180038340
mov rdx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x1800347bb
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
mov rcx, rax
call fcn.180039510
lea rdx, [0x180425124]
mov rcx, rax
call fcn.180038340
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Program
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rbp, rax
test rax, rax
jne 0x180034832
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.InternetOpen_failed._Error_code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180038160
mov edx, ebx
mov rcx, rax
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x1800d0c58]
call fcn.180038160
jmp 0x1800348a1
cmp qword [rbx + 0x18], 7
jbe 0x18003483c
mov rbx, qword [rbx]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x84000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov rsi, rax
test rax, rax
jne 0x1800348dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.InternetOpenUrl_failed._Error_code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180038160
mov edx, ebx
mov rcx, rax
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x1800d0c58]
call fcn.180038160
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [rsp + 0x30], r14b
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov ecx, 1
call fcn.18004cb7c
mov rcx, rax
mov qword [rdi], rax
inc rax
mov qword [rdi + 0x10], rax
movzx eax, byte [rsp + 0x30]
mov byte [rcx], al
lea rax, [rcx + 1]
mov qword [rdi + 8], rax
jmp 0x180034a2a
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x38], r14d
nop
lea r9, [rsp + 0x38]
mov r8d, 0x1000
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x180034971
mov r9d, dword [rsp + 0x38]
lea r8, [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x40]
call fcn.1800396e0
cmp dword [rsp + 0x38], 0
ja 0x1800348f0
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, str.Download_completed._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180038160
mov rcx, qword [rsp + 0x40]
mov qword [rdi], rcx
mov rcx, qword [rsp + 0x48]
mov qword [rdi + 8], rcx
mov rcx, qword [rsp + 0x50]
mov qword [rdi + 0x10], rcx
jmp 0x180034a2a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea rdx, str.InternetReadFile_failed._Error_code:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.180038160
mov edx, ebx
mov rcx, rax
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___unsigned_long_int____ptr64]
mov rcx, rax
lea rdx, [0x1800d0c58]
call fcn.180038160
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov byte [rsp + 0x30], 0
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov ecx, 1
call fcn.18004cb7c
mov qword [rdi], rax
lea rcx, [rax + 1]
mov qword [rdi + 0x10], rcx
movzx ecx, byte [rsp + 0x30]
mov byte [rax], cl
inc rax
mov qword [rdi + 8], rax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x180034a2a
mov rdx, qword [rsp + 0x50]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x180034a25
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180034a25
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.18004cff8
mov rax, rdi
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.18004c8c0
lea r11, [rsp + 0x1070]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret