Function at 0x140019180
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, 0x70
mov rax, qword [0x14008b048]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x30], rdx
xor r15d, r15d
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x28], 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], 0x10
jb 0x1400191ed
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 0x140019345
mov ecx, 0x4000
call fcn.14003ac58
mov rbx, rax
xor edx, edx
mov r8d, 0x4000
mov rcx, rax
call fcn.14003cbc0
mov qword [rbp - 0x38], rbx
mov dword [rbp - 0x40], r15d
lea r9, [rbp - 0x40]
mov r8d, 0x3fff
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140019293
mov eax, dword [rbp - 0x40]
test eax, eax
je 0x140019293
mov byte [rax + rbx], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x140019263
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.1400043c0
lea r9, [rbp - 0x40]
mov r8d, 0x3fff
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140019251
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rsi + 0x10], xmm1
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x28], 0
mov rcx, rbx
call fcn.14003a990
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1400192f6
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400192f1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019432
call fcn.14003a990
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x28], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400193ee
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400193e9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140019426
jmp 0x1400193e6
mov qword [rsi], r15
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rsi], 0
mov r8d, 5
lea rdx, str.ERROR
mov rcx, rsi
call fcn.140004260
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1400193a8
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400193a3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019420
call fcn.14003a990
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x28], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x1400193ee
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x1400193e9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001942c
mov rcx, r8
call fcn.14003a990
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rdi], 0
mov rax, rsi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14003a970
mov rbx, qword [rsp + 0xb0]
add rsp, 0x70
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1400412d4
nop
call fcn.1400412d4
int3
call fcn.1400412d4
nop
call fcn.1400412d4
int3