Function at 0x1400146d0
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 [0x1400a4088]
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 0x14001474c
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 0x14001490a
mov ecx, 0x4000
call fcn.140032978
mov rsi, rax
test rax, rax
je 0x140014795
xor edx, edx
mov r8d, 0x4000
mov rcx, rax
call fcn.140050b00
jmp 0x140014798
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 0x140014850
nop
mov eax, dword [rbp - 0x50]
test eax, eax
je 0x140014850
mov byte [rax + rsi], 0
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rsi + rbx], 0
jne 0x1400147d6
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
mov rax, rdx
sub rax, rcx
cmp rbx, rax
ja 0x14001481e
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.140050cc0
mov byte [rdi + rbx], 0
jmp 0x140014832
mov qword [rsp + 0x20], rbx
mov r9, rsi
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.140002b30
lea r9, [rbp - 0x50]
mov r8d, 0x3fff
mov rdx, rsi
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1400147c0
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 0x140014883
mov rcx, rsi
call fcn.140032654
mov rax, qword [rbp - 0x18]
cmp rax, 0x10
jb 0x1400148bb
lea rdx, [rax + 1]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400148b6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400149fd
call fcn.140032654
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1400149b1
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400149ac
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400149f1
jmp 0x1400149a9
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.1400022f0
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x14001496b
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140014966
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400149eb
call fcn.140032654
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1400149b1
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400149ac
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400149f7
mov rcx, r8
call fcn.140032654
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.140032630
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.140053be4
nop
call fcn.140053be4
int3
call fcn.140053be4
nop
call fcn.140053be4
int3