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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14007b040]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x38], rdx
xor r15d, r15d
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x30], r15b
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.FLiNGTrainer
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140016623
mov rdx, qword [rdi]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r14, rax
test rax, rax
je 0x140016782
mov ecx, 0x4000
call fcn.1400356d8
mov rbx, rax
xor edx, edx
mov r8d, 0x4000
mov rcx, rax
call fcn.1400577f0
mov qword [rbp - 0x40], rbx
mov dword [rbp - 0x50], r15d
lea r9, [rbp - 0x50]
mov r8d, 0x3fff
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400166d0
mov eax, dword [rbp - 0x50]
test eax, eax
je 0x1400166d0
mov byte [rax + rbx], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rbx + r8], 0
jne 0x1400166a0
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.140002260
lea r9, [rbp - 0x50]
mov r8d, 0x3fff
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140016687
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rsi + 0x10], xmm1
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x30], 0
mov rcx, rbx
call fcn.140035420
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x140016733
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001672e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016876
call fcn.140035420
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x30], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14001682f
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14001682a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001686a
jmp 0x140016827
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], 5
mov qword [rsi + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov eax, dword [str.ERROR]
mov dword [rsi], eax
movzx eax, byte [0x14006cf3c]
mov byte [rsi + 4], al
mov byte [rsi + 5], 0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x1400167e9
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400167e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140016864
call fcn.140035420
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x30], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0xf
jbe 0x14001682f
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14001682a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140016870
mov rcx, r8
call fcn.140035420
mov rax, rsi
mov byte [rdi], 0
mov qword [rdi + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [rdi + 0x10], r15
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140035400
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14003c24c
nop
call fcn.14003c24c
int3
call fcn.14003c24c
nop
call fcn.14003c24c
int3