Function at 0x1400508c0
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 [0x1401060c0]
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 0x140050939
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 0x140050a68
mov ecx, 0x4000
call fcn.140080e24
mov rsi, rax
xor edx, edx
mov r8d, 0x4000
mov rcx, rax
call fcn.1400a9c50
mov qword [rbp - 0x40], rsi
mov dword [rbp - 0x50], r12d
jmp 0x1400509a9
mov eax, dword [rbp - 0x50]
test eax, eax
je 0x1400509c3
mov byte [rax + rsi], r12b
or r8, 0xffffffffffffffff
inc r8
cmp byte [rsi + r8], r12b
jne 0x140050994
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.140018878
lea r9, [rbp - 0x50]
mov r8d, 0x3fff
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140050985
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.1400807d0
nop
mov esi, 0x1000
mov rdx, qword [rbp - 0x18]
cmp rdx, r13
jbe 0x140050a22
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, rsi
jb 0x140050a1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050b4b
call fcn.1400807d0
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r13
mov byte [rbp - 0x30], r12b
mov rdx, qword [rbx + 0x18]
cmp rdx, r13
jbe 0x140050b03
inc rdx
mov rcx, qword [rbx]
cmp rdx, rsi
jb 0x140050afe
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140050b3f
jmp 0x140050afb
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 [0x1400f29f4]
mov byte [rdi + 4], al
mov byte [rdi + 5], r12b
mov esi, 0x1000
mov rdx, qword [rbp - 0x18]
cmp rdx, r13
jbe 0x140050ac6
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, rsi
jb 0x140050ac1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140050b39
call fcn.1400807d0
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r13
mov byte [rbp - 0x30], r12b
mov rdx, qword [rbx + 0x18]
cmp rdx, r13
jbe 0x140050b03
inc rdx
mov rcx, qword [rbx]
cmp rdx, rsi
jb 0x140050afe
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140050b45
mov rcx, r8
call fcn.1400807d0
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.1400807b0
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.1400878c0
nop
call fcn.1400878c0
int3
call fcn.1400878c0
nop
call fcn.1400878c0
int3