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

Disassembly:
jmp 0x140012730
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.1400113b6
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.MalDevAcademy
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140012809
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____InternetOpenW_Failed_With_Error:__d__n
call fcn.1400111b3
mov dword [rbp + 4], 0
jmp 0x140012999
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 0x14001285c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____InternetOpenUrlW_Failed_With_Error:__d__n
call fcn.1400111b3
mov dword [rbp + 4], 0
jmp 0x140012999
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 0x1400128b5
lea rcx, str.____Unable_to_determine_file_size._n
call fcn.1400111b3
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 0x1400128f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____LocalAlloc_Failed_With_Error:__d__n
call fcn.1400111b3
mov dword [rbp + 4], 0
jmp 0x140012999
xor eax, eax
cmp eax, 1
je 0x140012977
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 0x140012956
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____InternetReadFile_Failed_With_Error:__d__n
call fcn.1400111b3
mov dword [rbp + 4], 0
jmp 0x140012999
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 0x140012975
jmp 0x140012977
jmp 0x1400128f9
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 0x1400129aa
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp qword [rbp + 0x48], 0
je 0x1400129bb
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp dword [rbp + 4], 0
jne 0x1400129d8
cmp qword [rbp + 0xc8], 0
je 0x1400129d8
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, [0x14001cb70]
call fcn.140011343
mov eax, edi
mov rcx, qword [rbp + 0x1b8]
xor rcx, rbp
call fcn.1400111cc
lea rsp, [rbp + 0x1c8]
pop rdi
pop rbp
ret