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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14010c0c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x38], rdx
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r12
lea r13d, [r12 + 0xf]
mov qword [rbp - 0x18], r13
mov byte [rbp - 0x30], r12b
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.FLiNGTrainer
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdx, rbx
cmp qword [rbx + 0x18], r13
jbe 0x14005196d
mov rdx, qword [rbx]
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r14, rax
test rax, rax
je 0x140051a9c
mov ecx, 0x4000
call fcn.140082d04
mov rsi, rax
xor edx, edx
mov r8d, 0x4000
mov rcx, rax
call fcn.1400abb30
mov qword [rbp - 0x40], rsi
mov dword [rbp - 0x50], r12d
jmp 0x1400519dd
mov eax, dword [rbp - 0x50]
test eax, eax
je 0x1400519f7
mov byte [rax + rsi], r12b
or r8, 0xffffffffffffffff
inc r8
cmp byte [rsi + r8], r12b
jne 0x1400519c8
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.1400187b8
lea r9, [rbp - 0x50]
mov r8d, 0x3fff
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1400519b9
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r13
mov byte [rbp - 0x30], r12b
mov rcx, rsi
call fcn.1400826b0
nop
mov esi, 0x1000
mov rdx, qword [rbp - 0x18]
cmp rdx, r13
jbe 0x140051a56
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, rsi
jb 0x140051a51
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051b7f
call fcn.1400826b0
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r13
mov byte [rbp - 0x30], r12b
mov rdx, qword [rbx + 0x18]
cmp rdx, r13
jbe 0x140051b37
inc rdx
mov rcx, qword [rbx]
cmp rdx, rsi
jb 0x140051b32
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140051b73
jmp 0x140051b2f
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], 5
mov qword [rdi + 0x18], r13
mov eax, dword [str.ERROR]
mov dword [rdi], eax
mov al, byte [0x1400f4a24]
mov byte [rdi + 4], al
mov byte [rdi + 5], r12b
mov esi, 0x1000
mov rdx, qword [rbp - 0x18]
cmp rdx, r13
jbe 0x140051afa
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, rsi
jb 0x140051af5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051b6d
call fcn.1400826b0
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r13
mov byte [rbp - 0x30], r12b
mov rdx, qword [rbx + 0x18]
cmp rdx, r13
jbe 0x140051b37
inc rdx
mov rcx, qword [rbx]
cmp rdx, rsi
jb 0x140051b32
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140051b79
mov rcx, r8
call fcn.1400826b0
mov rax, rdi
mov byte [rbx], r12b
mov qword [rbx + 0x18], r13
mov qword [rbx + 0x10], r12
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140082690
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
call fcn.1400897a0
nop
call fcn.1400897a0
int3
call fcn.1400897a0
nop
call fcn.1400897a0
int3