Function at 0x140085240
Capabilities:
Create http request
Query remote server for available data
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x140130c00]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x40], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
movabs rax, 0xc3757be5d6cb9f44
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x60], rax
movabs rax, 0x3ee7829b981b8692
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x68], rax
movabs rax, 0x48fff96ef2587ff3
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x70], rax
movabs rax, 0x71eddfc49a337508
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x78], rax
movabs rax, 0x52d1a55967599ca6
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x80], rax
movabs rcx, 0xdd9124581e4fd3da
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x78], rax
movabs rax, 0xe34f0f95b3a8fc05
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x30], rax
movabs rax, 0x5393eab4ec63e3e6
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x28], rax
movabs rax, 0x678b810b8678449f
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x20], rax
movabs rax, 0x5bcde4aaf3521978
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x18], rax
movabs rax, 0x52d1a5596759b689
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x10], rax
mov qword [rsp + 0x48], rcx
mov rax, qword [rsp + 0x48]
mov qword [rbp - 8], rax
movdqa xmm0, xmmword [rsp + 0x60]
xorps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [rsp + 0x70]
xorps xmm1, xmmword [rbp - 0x20]
movdqa xmmword [rsp + 0x70], xmm1
movdqa xmm0, xmmword [rbp - 0x80]
xorps xmm0, xmmword [rbp - 0x10]
movdqa xmmword [rbp - 0x80], xmm0
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], rdi
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], dil
jne 0x1400853e0
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.1400486b0
nop
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r15, rax
mov qword [rsp + 0x48], rax
test rax, rax
jne 0x1400854b5
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], send
mov byte [r14], al
mov dword [rsp + 0x30], 1
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14008547b
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140085476
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400858b5
call fcn.1400ae880
mov qword [rbp - 0x60], rdi
mov qword [rbp - 0x58], send
mov byte [rbp - 0x70], 0
mov rax, r14
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1400ae860
mov rbx, qword [rsp + 0x1b0]
add rsp, 0x160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [rbp - 0x40], rdi
lea r8, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r8, qword [rbp - 0x70]
cmp qword [rbx + 0x18], 0xf
jbe 0x1400854d1
mov rbx, qword [rbx]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x84880100
mov r9d, dword [rbp - 0x60]
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r13, rax
mov qword [rbp - 0x40], rax
test rax, rax
jne 0x140085529
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], send
mov byte [r14], al
mov dword [rsp + 0x30], 1
mov rcx, r15
mov rax, qword [0x140118138]
call rax
jmp 0x140085440
mov qword [rbp], rdi
mov dword [rbp - 0x50], 8
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x50]
lea r8, [rbp]
mov edx, reloc.WS2_32.dll_send
mov rcx, r13
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
xorps xmm0, xmm0
test eax, eax
jne 0x14008558f
movups xmmword [r14], xmm0
mov qword [r14 + 0x10], rdi
mov qword [r14 + 0x18], send
mov byte [r14], al
mov dword [rsp + 0x30], 1
mov rcx, r13
mov rax, qword [0x140118138]
call rax
nop
mov rcx, r15
mov rax, qword [0x140118138]
call rax
jmp 0x140085440
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], rdi
mov r15, rdi
mov qword [rsp + 0x70], rdi
mov r12d, send
mov qword [rsp + 0x78], r12
mov byte [rsp + 0x60], r15b
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
mov dword [rbp - 0x4c], 0x40
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x4c]
lea r8, [rbp + 0x10]
mov edx, 5
mov rcx, r13
call qword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x140085618
xor edx, edx
mov r8d, 0xa
lea rcx, [rbp + 0x10]
call fcn.140094550
mov edx, eax
cmp rdx, r12
jbe 0x140085618
lea rcx, [rsp + 0x60]
call fcn.140048560
mov qword [rsp + 0x70], rdi
mov r12, qword [rsp + 0x78]
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x140085813
movzx ebx, byte [rsp + 0x34]
nop dword [rax]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x140085813
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rcx
mov esi, eax
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rdi
test eax, eax
je 0x1400856d9
cmp rax, 0x1000
jb 0x14008569c
lea rcx, [rax + 0x27]
cmp rcx, rax
jbe 0x1400858bb
call fcn.1400ae888
mov rcx, rax
test rax, rax
je 0x1400858af
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400856a4
mov rcx, rsi
call fcn.1400ae888
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
add rax, rsi
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x38], rax
mov rcx, qword [rbp - 0x30]
lea rdi, [rsi + rcx]
mov r8, rsi
xor edx, edx
call main
mov qword [rbp - 0x28], rdi
xor edi, edi
mov qword [rsp + 0x38], rdi
lea r9, [rbp - 0x48]
mov r8d, dword [rsp + 0x50]
mov rdx, qword [rbp - 0x30]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1400857cd
mov eax, dword [rbp - 0x48]
test eax, eax
je 0x1400857cd
mov esi, eax
mov rax, r12
sub rax, r15
cmp rsi, rax
ja 0x14008573f
lea rax, [rsi + r15]
mov qword [rsp + 0x70], rax
lea rdi, [rsp + 0x60]
cmp r12, 0xf
cmova rdi, qword [rsp + 0x60]
add rdi, r15
mov r8d, esi
mov rdx, qword [rbp - 0x30]
mov rcx, rdi
call fcn.1400c0fb0
mov byte [rdi + rsi], 0
jmp 0x14008575a
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp - 0x30]
movzx r8d, bl
mov rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.140049030
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400857a4
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14008578f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400858af
call fcn.1400ae880
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
xor edi, edi
mov qword [rbp - 0x20], rdi
jmp 0x1400857a6
xor edi, edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x140085813
mov r12, qword [rsp + 0x78]
mov r15, qword [rsp + 0x70]
jmp 0x140085640
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x140085813
mov rdx, qword [rbp - 0x20]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140085802
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400858af
call fcn.1400ae880
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], rdi
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [r14 + 0x10], xmm1
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], send
mov byte [rsp + 0x60], 0
mov dword [rsp + 0x30], 1
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x78], send
mov byte [rsp + 0x60], 0
mov rcx, r13
mov rax, qword [0x140118138]
call rax
nop
mov rcx, qword [rsp + 0x48]
mov rax, qword [0x140118138]
call rax
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x14008547b
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140085476
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400858b5
jmp 0x140085476
call fcn.140098254
nop
call fcn.140098254
nop
call fcn.14002b820
int3