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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov rax, qword [0x1400c8080]
xor rax, rsp
mov qword [rbp - 8], rax
mov r14, rdx
mov r12, rcx
mov qword [rbp - 0x50], rcx
mov qword [rbp - 0x30], rdx
xor edi, edi
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], 0xf
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, r14
cmp qword [r14 + 0x18], 0x10
jb 0x14001020a
mov rdx, qword [r14]
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 rsi, rax
test rax, rax
je 0x140010408
mov ecx, 0x4000
call fcn.14004e010
mov rbx, rax
test rax, rax
je 0x140010252
xor edx, edx
mov r8d, 0x4000
mov rcx, rax
call fcn.14006c310
jmp 0x140010255
mov rbx, rdi
mov qword [rbp - 0x40], rbx
mov dword [rbp - 0x50], edi
lea r9, [rbp - 0x50]
mov r8d, 0x3fff
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
mov rdi, 0xffffffffffffffff
test eax, eax
je 0x1400102c0
nop dword [rax]
mov eax, dword [rbp - 0x50]
test eax, eax
je 0x1400102c0
mov byte [rax + rbx], 0
mov r8, rdi
nop
inc r8
cmp byte [rbx + r8], 0
jne 0x140010290
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140005730
lea r9, [rbp - 0x50]
mov r8d, 0x3fff
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140010280
mov rax, qword [rbp - 0x18]
lea r13, [rax*2 + 1]
add r13, rax
mov eax, 2
mul r13
mov r15, rax
cmovo r15, rdi
mov rcx, r15
call fcn.14004e010
mov rsi, rax
test rax, rax
je 0x140010300
mov r8, r15
xor edx, edx
mov rcx, rax
call fcn.14006c310
xor r15d, r15d
jmp 0x140010306
xor r15d, r15d
mov esi, r15d
mov qword [rbp - 0x38], rsi
lea r8, [rbp - 0x28]
cmp qword [rbp - 0x10], 0x10
cmovae r8, qword [rbp - 0x28]
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rsi
mov r9d, edi
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov qword [r12 + 0x10], r15
mov qword [r12 + 0x18], 7
mov word [r12], r15w
inc rdi
cmp word [rsi + rdi*2], 0
jne 0x140010345
mov r8, rdi
mov rdx, rsi
mov rcx, r12
call fcn.1400051b0
nop
test rsi, rsi
je 0x14001036c
mov rcx, rsi
call fcn.14004d9a4
nop
test rbx, rbx
je 0x14001037a
mov rcx, rbx
call fcn.14004d9a4
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x1400103b5
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400103b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400104f8
call fcn.14004d9a4
mov qword [rbp - 0x18], r15
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1400103ff
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400103fa
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400104fe
mov rcx, r8
call fcn.14004d9a4
mov qword [r14 + 0x10], r15
jmp 0x1400104b6
mov qword [r12 + 0x10], rdi
mov qword [r12 + 0x18], 7
mov word [r12], di
mov r8d, 5
lea rdx, str.ERROR
mov rcx, r12
call fcn.1400051b0
nop
mov rdx, qword [rbp - 0x10]
cmp rdx, 0x10
jb 0x14001046c
inc rdx
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140010467
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400104ec
call fcn.14004d9a4
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x10], 0xf
mov byte [rbp - 0x28], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 0x10
jb 0x1400104b2
inc rdx
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x1400104ad
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400104f2
mov rcx, r8
call fcn.14004d9a4
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], 0xf
mov rax, r12
mov byte [r14], 0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14004d980
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.14006ef3c
nop
call fcn.14006ef3c
nop
call fcn.14006ef3c
nop
call fcn.14006ef3c
int3