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

Disassembly:
jmp 0x140012650
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1f8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x42
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x218]
mov rax, qword [0x140020040]
xor rax, rbp
mov qword [rbp + 0x1b8], rax
lea rcx, [0x14002616e]
call fcn.1400113a7
mov dword [rbp + 4], 1
mov qword [rbp + 0x28], 0
mov qword [rbp + 0x48], 0
mov dword [rbp + 0x64], 0
mov dword [rbp + 0x84], 0
mov qword [rbp + 0xa8], 0
mov qword [rbp + 0xc8], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.LemmeGetThat
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140012729
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____InternetOpenW_Failed_With_Error:__d__n
call fcn.1400111ae
mov dword [rbp + 4], 0
jmp 0x1400128b9
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0x2400
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbp + 0x1e0]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov qword [rbp + 0x48], rax
cmp qword [rbp + 0x48], 0
jne 0x14001277c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____InternetOpenUrlW_Failed_With_Error:__d__n
call fcn.1400111ae
mov dword [rbp + 4], 0
jmp 0x1400128b9
mov dword [rbp + 0x84], 0xffffffff
mov dword [rbp + 0xe4], 4
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0xe4]
lea r8, [rbp + 0x84]
mov edx, 0x20000005
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
cmp dword [rbp + 0x84], 0xffffffff
jne 0x1400127d5
lea rcx, str.____Unable_to_determine_file_size._n
call fcn.1400111ae
mov dword [rbp + 0x84], 0x100000
mov eax, dword [rbp + 0x84]
mov edx, eax
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbp + 0xc8], rax
cmp qword [rbp + 0xc8], 0
jne 0x140012819
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____LocalAlloc_Failed_With_Error:__d__n
call fcn.1400111ae
mov dword [rbp + 4], 0
jmp 0x1400128b9
xor eax, eax
cmp eax, 1
je 0x140012897
mov eax, dword [rbp + 0x84]
sub rax, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0xa8]
mov rdx, qword [rbp + 0xc8]
add rdx, rcx
mov rcx, rdx
lea r9, [rbp + 0x64]
mov r8d, eax
mov rdx, rcx
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140012876
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____InternetReadFile_Failed_With_Error:__d__n
call fcn.1400111ae
mov dword [rbp + 4], 0
jmp 0x1400128b9
mov eax, dword [rbp + 0x64]
mov rcx, qword [rbp + 0xa8]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0xa8], rax
cmp dword [rbp + 0x64], 0
jne 0x140012895
jmp 0x140012897
jmp 0x140012819
mov rax, qword [rbp + 0x1e8]
mov rcx, qword [rbp + 0xc8]
mov qword [rax], rcx
mov rax, qword [rbp + 0x1f0]
mov rcx, qword [rbp + 0xa8]
mov qword [rax], rcx
cmp qword [rbp + 0x28], 0
je 0x1400128ca
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp qword [rbp + 0x48], 0
je 0x1400128db
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [rbp + 4], 0
jne 0x1400128f8
cmp qword [rbp + 0xc8], 0
je 0x1400128f8
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ca20]
call fcn.140011339
mov eax, edi
mov rcx, qword [rbp + 0x1b8]
xor rcx, rbp
call fcn.1400111c7
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret