Function at 0x140051b74
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 [0x14010e0c0]
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 0x140051bed
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 0x140051d1c
mov ecx, 0x4000
call fcn.1400831b4
mov rsi, rax
xor edx, edx
mov r8d, 0x4000
mov rcx, rax
call fcn.1400abfe0
mov qword [rbp - 0x40], rsi
mov dword [rbp - 0x50], r12d
jmp 0x140051c5d
mov eax, dword [rbp - 0x50]
test eax, eax
je 0x140051c77
mov byte [rax + rsi], r12b
or r8, 0xffffffffffffffff
inc r8
cmp byte [rsi + r8], r12b
jne 0x140051c48
mov rdx, rsi
lea rcx, [rbp - 0x30]
call fcn.140018818
lea r9, [rbp - 0x50]
mov r8d, 0x3fff
mov rdx, rsi
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140051c39
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.140082b60
nop
mov esi, 0x1000
mov rdx, qword [rbp - 0x18]
cmp rdx, r13
jbe 0x140051cd6
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, rsi
jb 0x140051cd1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051dff
call fcn.140082b60
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r13
mov byte [rbp - 0x30], r12b
mov rdx, qword [rbx + 0x18]
cmp rdx, r13
jbe 0x140051db7
inc rdx
mov rcx, qword [rbx]
cmp rdx, rsi
jb 0x140051db2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140051df3
jmp 0x140051daf
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 [0x1400f4a24]
mov byte [rdi + 4], al
mov byte [rdi + 5], r12b
mov esi, 0x1000
mov rdx, qword [rbp - 0x18]
cmp rdx, r13
jbe 0x140051d7a
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, rsi
jb 0x140051d75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140051ded
call fcn.140082b60
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], r13
mov byte [rbp - 0x30], r12b
mov rdx, qword [rbx + 0x18]
cmp rdx, r13
jbe 0x140051db7
inc rdx
mov rcx, qword [rbx]
cmp rdx, rsi
jb 0x140051db2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140051df9
mov rcx, r8
call fcn.140082b60
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.140082b40
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.140089c50
nop
call fcn.140089c50
int3
call fcn.140089c50
nop
call fcn.140089c50
int3