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

Disassembly:
jmp 0x1400161d0
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x4a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x238]
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x1d8], rax
lea rcx, [0x1400240a3]
call fcn.1400113ac
mov dword [rbp + 0xa4], 0
mov qword [rbp + 0xc8], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Windows_C_HTTP_Client
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140016271
lea rcx, str.Error_initializing_WinINet_n
call fcn.1400111b8
xor eax, eax
jmp 0x140016482
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x200]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x1400162d5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.InternetOpenUrl_failed__error:__lu__n
call fcn.1400111b8
lea rcx, str.Error:_Unable_to_open_URL_n
call fcn.1400111b8
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x140016482
mov dword [rbp + 0xa4], 0x1000
mov eax, dword [rbp + 0xa4]
mov ecx, eax
call qword [sym.imp.ucrtbased.dll_malloc]
mov qword [rbp + 0xc8], rax
cmp qword [rbp + 0xc8], 0
jne 0x140016325
lea rcx, str.Error_allocating_memory_n
call fcn.1400111b8
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x140016482
mov dword [rbp + 0xe4], 0
mov eax, dword [rbp + 0xe4]
mov ecx, dword [rbp + 0xa4]
sub ecx, eax
mov eax, ecx
mov ecx, dword [rbp + 0xe4]
mov rdx, qword [rbp + 0xc8]
add rdx, rcx
mov rcx, rdx
lea r9, [rbp + 0x84]
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x14001641a
cmp dword [rbp + 0x84], 0
je 0x14001641a
mov eax, dword [rbp + 0x84]
mov ecx, dword [rbp + 0xe4]
add ecx, eax
mov eax, ecx
mov dword [rbp + 0xe4], eax
mov eax, dword [rbp + 0xa4]
cmp dword [rbp + 0xe4], eax
jne 0x140016415
mov eax, dword [rbp + 0xa4]
shl eax, 1
mov dword [rbp + 0xa4], eax
mov eax, dword [rbp + 0xa4]
mov edx, eax
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.ucrtbased.dll_realloc]
mov qword [rbp + 0x108], rax
cmp qword [rbp + 0x108], 0
jne 0x140016407
lea rcx, str.Error_reallocating_memory_n
call fcn.1400111b8
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.ucrtbased.dll_free]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x140016482
mov rax, qword [rbp + 0x108]
mov qword [rbp + 0xc8], rax
jmp 0x14001632f
mov eax, dword [rbp + 0xe4]
add eax, 1
mov eax, eax
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
mov rdx, rax
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.ucrtbased.dll_realloc]
mov qword [rbp + 0xc8], rax
mov eax, dword [rbp + 0xe4]
mov rcx, qword [rbp + 0xc8]
mov byte [rcx + rax], 0
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rbp + 8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, qword [rbp + 0x208]
mov ecx, dword [rbp + 0xe4]
mov dword [rax], ecx
mov rax, qword [rbp + 0xc8]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ac80]
call fcn.140011339
mov rax, rdi
mov rcx, qword [rbp + 0x1d8]
xor rcx, rbp
call fcn.1400111d1
lea rsp, [rbp + 0x1e8]
pop rdi
pop rbp
ret