Function at 0x1400541b8
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 0x140054231
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 0x140054360
mov ecx, 0x4000
call fcn.1400868f4
mov rsi, rax
xor edx, edx
mov r8d, 0x4000
mov rcx, rax
call fcn.1400af720
mov qword [rbp - 0x40], rsi
mov dword [rbp - 0x50], r12d
jmp 0x1400542a1
mov eax, dword [rbp - 0x50]
test eax, eax
je 0x1400542bb
mov byte [rax + rsi], r12b
or r8, 0xffffffffffffffff
inc r8
cmp byte [rsi + r8], r12b
jne 0x14005428c
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.14001a8ec
lea r9, [rbp - 0x50]
mov r8d, 0x3fff
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x14005427d
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.1400862a0
nop
mov esi, 0x1000
mov rdx, qword [rbp - 0x18]
cmp rdx, r13
jbe 0x14005431a
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, rsi
jb 0x140054315
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140054443
call fcn.1400862a0
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r13
mov byte [rbp - 0x30], r12b
mov rdx, qword [rbx + 0x18]
cmp rdx, r13
jbe 0x1400543fb
inc rdx
mov rcx, qword [rbx]
cmp rdx, rsi
jb 0x1400543f6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140054437
jmp 0x1400543f3
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 [0x1400f7c44]
mov byte [rdi + 4], al
mov byte [rdi + 5], r12b
mov esi, 0x1000
mov rdx, qword [rbp - 0x18]
cmp rdx, r13
jbe 0x1400543be
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, rsi
jb 0x1400543b9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140054431
call fcn.1400862a0
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r13
mov byte [rbp - 0x30], r12b
mov rdx, qword [rbx + 0x18]
cmp rdx, r13
jbe 0x1400543fb
inc rdx
mov rcx, qword [rbx]
cmp rdx, rsi
jb 0x1400543f6
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005443d
mov rcx, r8
call fcn.1400862a0
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.140086280
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.14008d390
nop
call fcn.14008d390
int3
call fcn.14008d390
nop
call fcn.14008d390
int3