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

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov r14d, r8d
mov r12, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp - 0x60]
call fcn.140022720
mov ecx, dword [0x14005d044]
lea rax, [0x14004bea8]
xorps xmm0, xmm0
mov qword [rbp - 0x70], rax
xor esi, esi
lea rdx, [rsp + 0x50]
movups xmmword [rsp + 0x50], xmm0
mov qword [rbp - 0x68], rsi
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
call fcn.140007fa0
mov rcx, qword [rsp + 0x60]
lea r8, [0x14004bcc8]
mov r9, rbx
mov edx, 0x400
call fcn.140001df0
mov rcx, qword [0x14005c350]
cmp word [rcx + 0xc0], 3
jne 0x1400092df
mov rcx, qword [rcx + 0xc8]
jmp 0x1400092e2
mov rcx, rsi
mov r9d, dword [0x14005d044]
lea r8, [0x14005d050]
mov qword [rsp + 0x28], rsi
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rsi
call fcn.140008620
mov r9, qword [rsp + 0x58]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r9 + rax], sil
jne 0x140009310
lea rcx, [r9 + 1]
mov edx, 0x400
add rcx, rax
lea rax, [r9 + 1]
cmp rcx, rax
lea rcx, [rbp - 0x60]
jne 0x140009345
mov r9, qword [rsp + 0x60]
lea r8, [0x14004bcc8]
call fcn.140001df0
jmp 0x14000935b
mov qword [rsp + 0x20], r9
lea r8, str._s_s
mov r9, qword [rsp + 0x60]
call fcn.140001df0
mov rax, qword [0x14005c350]
cmp word [rax + 0x1a0], 3
jne 0x140009375
mov rdx, qword [rax + 0x1a8]
jmp 0x140009378
mov rdx, rsi
mov rax, qword [0x140058f90]
lea r8, [rbp - 0x60]
mov rcx, qword [0x140058fa0]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov eax, dword [0x140058f98]
mov dword [rsp + 0x30], eax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rdi, rax
mov dword [rbp + 0x3e8], esi
mov rax, qword [0x14005c350]
cmp word [rax + 0x10], 1
jne 0x14000941a
test byte [rax + 0x18], 8
je 0x14000941a
lea r9, [rsp + 0x48]
mov dword [rsp + 0x48], 4
lea r8, [rbp + 0x3e8]
mov edx, 0x1f
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetQueryOptionA]
or dword [rbp + 0x3e8], 0x3380
lea r8, [rbp + 0x3e8]
mov r9d, 4
mov rcx, rdi
lea edx, [r9 + 0x1b]
call qword [sym.imp.WININET.dll_InternetSetOptionA]
mov rax, qword [0x14005c350]
cmp word [rax + 0x3b0], 3
jne 0x14000943d
cmp qword [rax + 0x3b8], rsi
je 0x14000943d
lea rdx, [0x14000a5f0]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetSetStatusCallback]
mov rdx, qword [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], sil
jne 0x140009450
mov eax, dword [rsp + 0x70]
mov rcx, rdi
mov r9, qword [rsp + 0x68]
mov dword [rsp + 0x20], eax
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov rbx, qword [rbp - 0x78]
mov rcx, qword [rbx]
call fcn.140028a50
mov rcx, rbx
call fcn.140028a50
mov rcx, rdi
call fcn.14000a630
mov rcx, rdi
test eax, eax
jne 0x1400094a2
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0xffffffff
jmp 0x140009521
xor r9d, r9d
mov qword [rsp + 0x4d0], r15
xor r8d, r8d
mov dword [rsp + 0x40], esi
lea rdx, [rsp + 0x40]
mov dword [rsp + 0x44], esi
mov ebx, esi
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x14000950e
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x14000950e
cmp eax, r14d
jae 0x14000950e
test r14d, r14d
je 0x14000950e
nop dword [rax + rax]
mov r15d, ebx
lea r9, [rsp + 0x44]
mov r8d, 0x1000
mov rcx, rdi
lea rdx, [r15 + r12]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140009538
mov eax, dword [rsp + 0x44]
test eax, eax
je 0x140009538
add ebx, eax
cmp ebx, r14d
jb 0x1400094e0
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
mov r15, qword [rsp + 0x4d0]
mov rbx, qword [rsp + 0x4d8]
add rsp, 0x4a0
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp ebx, r14d
jae 0x14000950e
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rax, qword [0x14005c350]
cmp word [rax + 0xb0], 3
jne 0x14000955e
mov rsi, qword [rax + 0xb8]
mov r9d, r14d
mov r8, rsi
mov rdx, r15
mov rcx, r12
call fcn.1400082c0
jmp 0x140009519