Function at 0x180003670
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, [0x1800113f0]
mov qword [rbp - 0x70], rax
mov r15, r8
xor eax, eax
mov qword [rbp - 0x68], rbx
mov rsi, 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 r14d, 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 [rsi + 4]
lea rcx, [rsp + 0x50]
call fcn.1800072e0
mov rcx, qword [rsp + 0x60]
lea r8, [0x180011390]
mov r9, rdi
mov edx, 0x400
call fcn.180001090
lea ecx, [rbx + 0xc]
call fcn.180005e80
mov r9d, dword [rsi + 4]
lea r8, [rsi + 8]
mov rcx, rax
mov dword [rsp + 0x28], ebx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x20], rbx
call fcn.1800067e0
mov rcx, qword [rsp + 0x58]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], bl
jne 0x180003748
mov r9, qword [rsp + 0x60]
mov edx, 0x400
test rax, rax
jne 0x180003771
lea r8, [0x180011390]
lea rcx, [rbp - 0x60]
call fcn.180001090
jmp 0x180003786
mov qword [rsp + 0x20], rcx
lea r8, [0x1800113f8]
lea rcx, [rbp - 0x60]
call fcn.180001090
mov ecx, 0x1a
call fcn.180005e80
mov rcx, qword [0x181776730]
lea r8, [rbp - 0x60]
mov rdx, rax
xor r9d, r9d
mov rax, qword [0x181777708]
mov qword [rsp + 0x38], rax
mov eax, dword [0x181777700]
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.180003230
mov rdx, qword [rsp + 0x50]
or r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rdx + r8], bl
jne 0x1800037e0
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]
lea rcx, [rsp + 0x50]
call fcn.180007380
mov rcx, rdi
call fcn.1800032b0
mov rcx, rdi
test eax, eax
je 0x18000387f
xor r9d, r9d
lea rdx, [rbp + 0x3c8]
xor r8d, r8d
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x18000387c
mov eax, dword [rbp + 0x3c8]
cmp eax, r14d
jae 0x18000387c
test eax, eax
jne 0x18000384b
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x180003888
test r14d, r14d
je 0x18000387c
mov edx, ebx
lea r9, [rsp + 0x40]
add rdx, r15
mov r8d, 0x1000
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1800038a5
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x1800038a5
add ebx, eax
cmp ebx, r14d
jb 0x180003850
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, r14d
jae 0x18000387c
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, ntohl
call fcn.180005e80
mov rcx, rax
mov r9d, r14d
mov r8d, ebx
mov rdx, r15
call fcn.1800070b0
jmp 0x180003888