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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400e5080]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15, rdx
mov r12, rcx
mov qword [rbp - 0x48], rcx
mov qword [rbp - 0x30], rdx
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x28], dil
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.FLiNGTrainer
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdx, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x140049c65
mov rdx, qword [r15]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r13, rax
test rax, rax
je 0x140049e27
mov ecx, 0x4000
call fcn.14007fb98
mov r14, rax
xor edx, edx
mov r8d, 0x4000
mov rcx, rax
call fcn.1400a4320
mov qword [rbp - 0x38], r14
mov dword [rbp - 0x48], edi
lea r9, [rbp - 0x48]
mov r8d, 0x3fff
mov rdx, r14
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140049d71
movzx ebx, byte [rbp - 0x50]
nop
mov eax, dword [rbp - 0x48]
test eax, eax
je 0x140049d6f
mov byte [rax + r14], 0
mov rdi, 0xffffffffffffffff
nop word [rax + rax]
inc rdi
cmp byte [r14 + rdi], 0
jne 0x140049cf0
mov rcx, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x10]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x140049d39
lea rax, [rcx + rdi]
mov qword [rbp - 0x18], rax
lea rsi, [rbp - 0x28]
cmp rdx, 0xf
cmova rsi, qword [rbp - 0x28]
add rsi, rcx
mov r8, rdi
mov rdx, r14
mov rcx, rsi
call fcn.1400a3c80
mov byte [rsi + rdi], 0
jmp 0x140049d51
mov qword [rsp + 0x20], rdi
mov r9, r14
movzx r8d, bl
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140026360
lea r9, [rbp - 0x48]
mov r8d, 0x3fff
mov rdx, r14
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140049cd0
xor edi, edi
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [r12], xmm0
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [r12 + 0x10], xmm1
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x28], 0
mov rcx, r14
call fcn.14007f6f0
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140049dd8
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049dd3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049f2a
call fcn.14007f6f0
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x28], 0
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x140049ede
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140049ed9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140049f1e
jmp 0x140049ed6
xorps xmm0, xmm0
movups xmmword [r12], xmm0
mov qword [r12 + 0x10], 5
mov qword [r12 + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov eax, dword [str.ERROR]
mov dword [r12], eax
movzx eax, byte [0x1400cdf4c]
mov byte [r12 + 4], al
mov byte [r12 + 5], 0
mov rdx, qword [rbp - 0x10]
cmp rdx, 0xf
jbe 0x140049e98
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140049e93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140049f18
call fcn.14007f6f0
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rbp - 0x28], 0
mov rdx, qword [r15 + 0x18]
cmp rdx, 0xf
jbe 0x140049ede
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140049ed9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140049f24
mov rcx, r8
call fcn.14007f6f0
mov rax, r12
mov byte [r15], 0
mov qword [r15 + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov qword [r15 + 0x10], rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14007f6d0
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.140086604
nop
call fcn.140086604
int3
call fcn.140086604
nop
call fcn.140086604
int3