Function at 0x180001d70
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, [0x180017044]
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 fcn.18000fc98
mov edx, dword [r15 + 4]
lea rcx, [rsp + 0x50]
call fcn.180007390
mov rcx, qword [rsp + 0x60]
lea r8, [0x180017048]
mov r9, rdi
mov edx, 0x400
call fcn.180001090
lea ecx, [rbx + 0xc]
call fcn.180007fb0
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.180006ab0
mov rcx, qword [rsp + 0x58]
or rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], bl
jne 0x180001e50
mov r9, qword [rsp + 0x60]
mov edx, 0x400
test rax, rax
jne 0x180001e79
lea r8, [0x18001704c]
lea rcx, [rbp - 0x60]
call fcn.180001090
jmp 0x180001e8e
mov qword [rsp + 0x20], rcx
lea r8, [0x180017050]
lea rcx, [rbp - 0x60]
call fcn.180001090
mov ecx, 0x1a
call fcn.180007fb0
mov rcx, qword [0x180019400]
lea r8, [rbp - 0x60]
mov rdx, rax
xor r9d, r9d
lea rax, [0x180019410]
mov qword [rsp + 0x38], rax
mov eax, dword [0x1800193f4]
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.180001fe0
mov rdx, qword [rsp + 0x50]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], bl
jne 0x180001ee7
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.180007380
mov rcx, rdi
call fcn.180002640
mov rcx, rdi
test eax, eax
je 0x180001f8e
xor r9d, r9d
lea rdx, [rbp + 0x3c8]
xor r8d, r8d
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x180001f8b
mov eax, dword [rbp + 0x3c8]
cmp eax, esi
jae 0x180001f8b
test eax, eax
jne 0x180001f55
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x180001f97
test esi, esi
je 0x180001f8b
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 0x180001fb4
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x180001fb4
add ebx, eax
cmp ebx, esi
jb 0x180001f60
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 0x180001f8b
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, ntohs
call fcn.180007fb0
mov rcx, rax
mov r9d, esi
mov r8d, ebx
mov rdx, r14
call fcn.180007430
jmp 0x180001f97