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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
mov eax, 0x1060
call fcn.14007e560
sub rsp, rax
mov rbx, rdx
mov rsi, rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.HTTPGET
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r14, rax
test rax, rax
jne 0x140080559
mov qword [rsi], r15
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
lea edx, [rax + 0x20]
mov rcx, rsi
call fcn.140005880
mov qword [rsi], rax
mov qword [rsi + 0x10], Ordinal_27
mov qword [rsi + 0x18], Ordinal_32
movups xmm0, xmmword [str.Erro_ao_abrir_a_Internet]
movups xmmword [rax], xmm0
movsd xmm1, qword [0x14030f0a0]
movsd qword [rax + 0x10], xmm1
mov byte [rax + 0x18], r15b
jmp 0x1400806fd
cmp qword [rbx + 0x18], 0x10
jb 0x140080563
mov rbx, qword [rbx]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbp, rax
test rax, rax
jne 0x1400805e8
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsi], r15
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
lea edx, [rbp + 0x20]
mov rcx, rsi
call fcn.140005880
mov qword [rsi], rax
mov qword [rsi + 0x10], reloc.WS2_32.dll_send
mov qword [rsi + 0x18], Ordinal_32
movups xmm0, xmmword [str.Erro_ao_abrir_o_URL]
movups xmmword [rax], xmm0
movzx ecx, word [0x14030f0c0]
mov word [rax + 0x10], cx
movzx ecx, byte [0x14030f0c2]
mov byte [rax + 0x12], cl
mov byte [rax + 0x13], r15b
jmp 0x1400806fd
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], r15b
lea r9, [rsp + 0x1090]
mov r8d, 0xfff
lea rdx, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400806da
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [rsp + 0x1090]
test eax, eax
je 0x1400806da
mov byte [rsp + rax + 0x60], 0
lea rax, [rsp + 0x60]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140080650
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rbx, rax
ja 0x14008069f
lea rax, [rbx + rcx]
mov qword [rsp + 0x40], rax
lea rdi, [rsp + 0x30]
cmp rdx, 0x10
cmovae rdi, qword [rsp + 0x30]
add rdi, rcx
mov r8, rbx
lea rdx, [rsp + 0x60]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rbx], 0
jmp 0x1400806b6
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x60]
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140006260
lea r9, [rsp + 0x1090]
mov r8d, 0xfff
lea rdx, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140080630
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rsi + 0x10], xmm1
mov rax, rsi
lea r11, [rsp + 0x1060]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret