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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1400d9448]
xor rax, rsp
mov qword [rbp - 8], rax
mov r15, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rbp - 0x38], rcx
mov qword [rbp - 0x30], rdx
xor r12d, r12d
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x18], r12
lea r13d, [r12 + 0xf]
mov qword [rbp - 0x10], r13
mov byte [rbp - 0x28], 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, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x1400402f1
mov rdx, qword [rsi]
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 0x140040462
mov r13d, 0x4000
mov edx, r13d
lea rcx, [rbp - 0x38]
call fcn.14003df5c
nop
mov dword [rbp - 0x40], r12d
mov rbx, qword [rbp - 0x38]
test r15, r15
je 0x14004036a
mov dword [rbp - 0x40], r13d
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x40]
mov r8, rbx
mov edx, SafeArrayUnaccessData
mov rcx, r14
call qword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x14004036a
mov eax, dword [rbp - 0x40]
mov byte [rax + rbx], r12b
mov rdx, rbx
mov rcx, r15
call fcn.140021b50
mov r15d, 0x3fff
jmp 0x140040396
mov eax, dword [rbp - 0x40]
test eax, eax
je 0x1400403ad
mov byte [rax + rbx], r12b
or r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], r12b
jne 0x140040381
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140021954
lea r9, [rbp - 0x40]
mov r8d, r15d
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140040372
movups xmm0, xmmword [rbp - 0x28]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbp - 0x18], r12
mov r13d, reloc.OLEAUT32.dll_SafeArrayDestroy
mov eax, r13d
mov qword [rbp - 0x10], rax
mov byte [rbp - 0x28], r12b
test rbx, rbx
je 0x1400403e2
mov rcx, rbx
call fcn.1400716ac
mov rax, qword [rbp - 0x10]
mov ebx, 0x1000
cmp rax, 0x10
jb 0x14004041b
lea rdx, [rax + 1]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, rbx
jb 0x140040416
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040543
call fcn.1400716ac
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r13
mov byte [rbp - 0x28], r12b
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1400404ff
inc rdx
mov rcx, qword [rsi]
cmp rdx, rbx
jb 0x1400404fa
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140040537
jmp 0x1400404f7
mov qword [rdi], r12
mov qword [rdi + 0x18], r13
mov byte [rdi], r12b
mov r8d, 5
mov qword [rdi + 0x10], r8
lea rdx, str.ERROR
mov rcx, rdi
call fcn.140073ae0
mov byte [rdi + 5], r12b
mov ebx, 0x1000
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1400404c1
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, rbx
jb 0x1400404bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040531
call fcn.1400716ac
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r13
mov byte [rbp - 0x28], r12b
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1400404ff
inc rdx
mov rcx, qword [rsi]
cmp rdx, rbx
jb 0x1400404fa
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004053d
mov rcx, r8
call fcn.1400716ac
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], r13
mov byte [rsi], r12b
mov rax, rdi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140071cb0
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400780a4
nop
call fcn.1400780a4
int3
call fcn.1400780a4
nop
call fcn.1400780a4
int3