Function at 0x1400110c3
Capabilities:
Create http request
Get http content length
Read data from internet
Receive data

Disassembly:
jmp 0x140016100
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x72
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2d8]
mov rax, qword [0x140027040]
xor rax, rbp
mov qword [rbp + 0x278], rax
lea rcx, [0x14002d0fb]
call fcn.140011744
nop
mov dword [rbp + 0x64], 0
mov dword [rbp + 0x84], 0
mov dword [rbp + 0xa4], 0
mov dword [rbp + 0xc4], 4
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.User_Agent
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400161e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x274], eax
lea rdx, str.InternetOpen_failed._Error:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400110dc
mov ecx, dword [rbp + 0x274]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.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]
lea rdx, [0x140011050]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
xor eax, eax
jmp 0x14001642b
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x2a0]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x14001626d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x274], eax
lea rdx, str.InternetOpenUrlA_failed._Error:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400110dc
mov ecx, dword [rbp + 0x274]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.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]
lea rdx, [0x140011050]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
xor eax, eax
jmp 0x14001642b
lea rax, [rbp + 0xa4]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xc4]
lea r8, [rbp + 0x84]
mov edx, 0x20000005
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
nop
mov edx, 0x20
lea rcx, [rbp + 0xe8]
call fcn.140011654
mov byte [rbp + 0x204], 0
lea rcx, [rbp + 0x1e4]
call fcn.1400111c2
mov ecx, dword [rbp + 0x84]
inc ecx
mov ecx, ecx
mov r9, rax
lea r8, [rbp + 0x204]
mov edx, ecx
lea rcx, [rbp + 0xe8]
call fcn.140011172
nop
xor edx, edx
lea rcx, [rbp + 0xe8]
call fcn.14001119f
lea r9, [rbp + 0x44]
mov r8d, dword [rbp + 0x84]
mov rdx, rax
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x14001634e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x274], eax
lea rdx, str.InternetReadFile_failed._Error:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400110dc
mov ecx, dword [rbp + 0x274]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.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]
lea rdx, [0x140011050]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
jmp 0x1400163ed
cmp dword [rbp + 0x44], 0
jbe 0x1400163ed
mov eax, dword [rbp + 0x44]
mov edx, eax
lea rcx, [rbp + 0xe8]
call fcn.14001119f
mov byte [rax], 0
xor edx, edx
mov eax, dword [rbp + 0x44]
mov ecx, 2
div ecx
mov eax, eax
mov edx, eax
mov rcx, qword [rbp + 0x2a8]
call fcn.1400113f2
nop
xor edx, edx
lea rcx, [rbp + 0xe8]
call fcn.14001119f
mov rdx, rax
lea rcx, [rbp + 0x228]
call fcn.140011352
nop
xor edx, edx
mov eax, dword [rbp + 0x44]
mov ecx, 2
div ecx
mov dword [rbp + 0x274], eax
xor edx, edx
mov rcx, qword [rbp + 0x2a8]
call fcn.140011730
mov ecx, dword [rbp + 0x274]
mov r8d, ecx
mov rdx, rax
lea rcx, [rbp + 0x228]
call fcn.140011451
nop
lea rcx, [rbp + 0x228]
call fcn.140011159
nop
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
xor edx, edx
mov eax, dword [rbp + 0x44]
mov ecx, 2
div ecx
mov eax, eax
mov qword [rbp + 0x268], rax
lea rcx, [rbp + 0xe8]
call fcn.1400116bd
mov rax, qword [rbp + 0x268]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x140021f40]
call fcn.140011631
mov rax, rdi
mov rcx, qword [rbp + 0x278]
xor rcx, rbp
call fcn.1400113bb
lea rsp, [rbp + 0x288]
pop rdi
pop rbp
ret