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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov rax, qword [0x1400ab088]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r14, rdx
mov r15, rcx
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x38], rdx
xor r13d, r13d
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], r13b
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.FLiNGTrainer
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14001667c
mov rdx, qword [r14]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r12, rax
test rax, rax
je 0x14001683a
mov ecx, 0x4000
call fcn.140035278
mov rsi, rax
test rax, rax
je 0x1400166c5
xor edx, edx
mov r8d, 0x4000
mov rcx, rax
call fcn.140053400
jmp 0x1400166c8
mov rsi, r13
mov qword [rbp - 0x40], rsi
mov dword [rbp - 0x50], r13d
lea r9, [rbp - 0x50]
mov r8d, 0x3fff
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140016780
nop
mov eax, dword [rbp - 0x50]
test eax, eax
je 0x140016780
mov byte [rax + rsi], 0
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rsi + rbx], 0
jne 0x140016706
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
mov rax, rdx
sub rax, rcx
cmp rbx, rax
ja 0x14001674e
lea rax, [rcx + rbx]
mov qword [rbp - 0x20], rax
lea rdi, [rbp - 0x30]
cmp rdx, 0x10
cmovae rdi, qword [rbp - 0x30]
add rdi, rcx
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
call fcn.1400535c0
mov byte [rdi + rbx], 0
jmp 0x140016762
mov qword [rsp + 0x20], rbx
mov r9, rsi
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.140002ba0
lea r9, [rbp - 0x50]
mov r8d, 0x3fff
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1400166f0
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [r15], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [r15 + 0x10], xmm1
mov qword [rbp - 0x20], r13
mov eax, 0xf
mov qword [rbp - 0x18], rax
mov byte [rbp - 0x30], 0
test rsi, rsi
je 0x1400167b3
mov rcx, rsi
call fcn.140034f54
mov rax, qword [rbp - 0x18]
cmp rax, 0x10
jb 0x1400167eb
lea rdx, [rax + 1]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400167e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001692d
call fcn.140034f54
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1400168e1
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400168dc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140016921
jmp 0x1400168d9
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], 0xf
mov byte [r15], 0
mov r8d, 5
lea rdx, str.ERROR
mov rcx, r15
call fcn.140002360
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x14001689b
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140016896
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001691b
call fcn.140034f54
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1400168e1
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400168dc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140016927
mov rcx, r8
call fcn.140034f54
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], 0xf
mov rax, r15
mov byte [r14], 0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140034f30
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400566cc
nop
call fcn.1400566cc
int3
call fcn.1400566cc
nop
call fcn.1400566cc
int3