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

Disassembly:
mov r11, rsp
push rsi
push rdi
push r14
sub rsp, 0x80
mov qword [r11 - 0x60], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov rax, qword [0x140093080]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x30], rcx
mov qword [r11 - 0x50], rdx
movdqa xmm0, xmmword [0x140082340]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
xor r14d, r14d
mov dword [r11 - 0x78], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.FLiNGTrainer
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140010a18
mov rdx, qword [rdi]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbp, rax
test rax, rax
je 0x140010b96
mov ecx, 0x4000
call fcn.1400270e8
mov rbx, rax
test rax, rax
je 0x140010a61
xor edx, edx
mov r8d, 0x4000
mov rcx, rax
call fcn.140045650
jmp 0x140010a64
mov rbx, r14
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x30], r14d
lea r9, [rsp + 0x30]
mov r8d, 0x3fff
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140010ad5
nop dword [rax]
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x140010ad5
mov byte [rax + rbx], 0
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rbx + r8], 0
jne 0x140010aa3
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140002360
lea r9, [rsp + 0x30]
mov r8d, 0x3fff
mov rdx, rbx
mov rcx, rbp
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140010a90
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rsi + 0x10], xmm1
movdqa xmm0, xmmword [0x140082340]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
test rbx, rbx
je 0x140010b07
mov rcx, rbx
call fcn.140026dc4
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140010b44
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010b3f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010c8a
call fcn.140026dc4
movdqa xmm0, xmmword [0x140082340]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140010c41
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140010c3c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140010c7e
jmp 0x140010c39
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov byte [rsi], r14b
mov r8d, 5
lea rdx, str.ERROR
mov rcx, rsi
call fcn.140002210
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140010bf8
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010bf3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010c78
call fcn.140026dc4
movdqa xmm0, xmmword [0x140082340]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x140010c41
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x140010c3c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140010c84
mov rcx, r8
call fcn.140026dc4
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], reloc.OLEAUT32.dll_SafeArrayDestroy
mov rax, rsi
mov byte [rdi], 0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140026da0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
call fcn.14004b610
nop
call fcn.14004b610
int3
call fcn.14004b610
nop
call fcn.14004b610
int3