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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
xor ebx, ebx
lea rax, [0x18000f6f8]
mov qword [rbp - 0x70], rax
mov r14, r8
xor eax, eax
mov qword [rbp - 0x68], rbx
mov r15, rdx
mov qword [rsp + 0x50], rax
mov rdi, rcx
mov qword [rsp + 0x58], rax
xor edx, edx
mov qword [rsp + 0x60], rax
mov r8d, 0x400
mov qword [rsp + 0x68], rax
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov esi, r9d
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov dword [rbp + 0x3c8], ebx
mov dword [rsp + 0x40], ebx
call sub.msvcrt.dll_memset
mov edx, dword [r15 + 4]
lea rcx, [rsp + 0x50]
call fcn.180006520
mov rcx, qword [rsp + 0x60]
lea r8, [0x18000f6fc]
mov r9, rdi
mov edx, 0x400
call fcn.180001a40
lea ecx, [rbx + 0xc]
call fcn.180005340
mov r9d, dword [r15 + 4]
lea r8, [r15 + 8]
mov rcx, rax
mov dword [rsp + 0x28], ebx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
call fcn.180005c40
mov rcx, qword [rsp + 0x58]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], bl
jne 0x1800037f0
mov r9, qword [rsp + 0x60]
mov edx, 0x400
test rax, rax
jne 0x180003819
lea r8, [0x18000f700]
lea rcx, [rbp - 0x60]
call fcn.180001a40
jmp 0x18000382e
mov qword [rsp + 0x20], rcx
lea r8, [0x18000f704]
lea rcx, [rbp - 0x60]
call fcn.180001a40
mov ecx, 0x1a
call fcn.180005340
mov rcx, qword [0x1800163b0]
lea r8, [rbp - 0x60]
mov rdx, rax
xor r9d, r9d
mov rax, qword [0x1800163c0]
mov qword [rsp + 0x38], rax
mov eax, dword [0x1800163a4]
mov dword [rsp + 0x30], eax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rcx, rax
mov rdi, rax
call fcn.180003050
mov rdx, qword [rsp + 0x50]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], bl
jne 0x180003887
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 edx, dword [r15 + 4]
lea rcx, [rsp + 0x50]
call fcn.180006510
mov rcx, rdi
call fcn.1800036b0
mov rcx, rdi
test eax, eax
je 0x18000392e
xor r9d, r9d
lea rdx, [rbp + 0x3c8]
xor r8d, r8d
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x18000392b
mov eax, dword [rbp + 0x3c8]
cmp eax, esi
jae 0x18000392b
test eax, eax
jne 0x1800038f5
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x180003937
test esi, esi
je 0x18000392b
nop dword [rax]
mov edx, ebx
lea r9, [rsp + 0x40]
add rdx, r14
mov r8d, 0x1000
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x180003954
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x180003954
add ebx, eax
cmp ebx, esi
jb 0x180003900
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
or eax, 0xffffffff
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
cmp ebx, esi
jae 0x18000392b
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, ntohl
call fcn.180005340
mov rcx, rax
mov r9d, esi
mov r8d, ebx
mov rdx, r14
call fcn.1800065c0
jmp 0x180003937