Function at 0x140051834
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 [0x14010b0c0]
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 0x1400518ad
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 0x1400519dc
mov ecx, 0x4000
call fcn.140083764
mov rsi, rax
xor edx, edx
mov r8d, 0x4000
mov rcx, rax
call fcn.1400ae5c0
mov qword [rbp - 0x40], rsi
mov dword [rbp - 0x50], r12d
jmp 0x14005191d
mov eax, dword [rbp - 0x50]
test eax, eax
je 0x140051937
mov byte [rax + rsi], r12b
or r8, 0xffffffffffffffff
inc r8
cmp byte [rsi + r8], r12b
jne 0x140051908
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.140018878
lea r9, [rbp - 0x50]
mov r8d, 0x3fff
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1400518f9
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.140083110
nop
mov esi, 0x1000
mov rdx, qword [rbp - 0x18]
cmp rdx, r13
jbe 0x140051996
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, rsi
jb 0x140051991
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051abf
call fcn.140083110
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r13
mov byte [rbp - 0x30], r12b
mov rdx, qword [rbx + 0x18]
cmp rdx, r13
jbe 0x140051a77
inc rdx
mov rcx, qword [rbx]
cmp rdx, rsi
jb 0x140051a72
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140051ab3
jmp 0x140051a6f
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 [0x1400f6b04]
mov byte [rdi + 4], al
mov byte [rdi + 5], r12b
mov esi, 0x1000
mov rdx, qword [rbp - 0x18]
cmp rdx, r13
jbe 0x140051a3a
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, rsi
jb 0x140051a35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051aad
call fcn.140083110
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r13
mov byte [rbp - 0x30], r12b
mov rdx, qword [rbx + 0x18]
cmp rdx, r13
jbe 0x140051a77
inc rdx
mov rcx, qword [rbx]
cmp rdx, rsi
jb 0x140051a72
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140051ab9
mov rcx, r8
call fcn.140083110
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.1400830f0
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.14008a200
nop
call fcn.14008a200
int3
call fcn.14008a200
nop
call fcn.14008a200
int3