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

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x4e0
lea rax, [0x18005203c]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], 0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x40], 0
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
lea rax, [rsp + 0xe0]
mov rdi, rax
xor eax, eax
mov ecx, 0x400
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x4f8]
mov edx, dword [rax + 4]
lea rcx, [rsp + 0x90]
call fcn.18001caac
mov r9, qword [rsp + 0x4f0]
lea r8, [0x180052040]
mov edx, 0x400
mov rcx, qword [rsp + 0xa0]
call fcn.18000f304
mov rax, qword [rsp + 0x4f8]
add rax, 8
mov qword [rsp + 0x70], rax
mov ecx, ntohs
call fcn.18002133c
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x4f8]
mov r9d, dword [rcx + 4]
mov rcx, qword [rsp + 0x70]
mov r8, rcx
lea rdx, [rsp + 0x90]
mov rcx, rax
call fcn.18001be48
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x60], 0xffffffffffffffff
inc qword [rsp + 0x60]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x60]
cmp byte [rax + rcx], 0
jne 0x180011142
mov rax, qword [rsp + 0x60]
test rax, rax
jne 0x180011184
mov r9, qword [rsp + 0xa0]
lea r8, [0x180052044]
mov edx, 0x400
lea rcx, [rsp + 0xe0]
call fcn.18000f304
jmp 0x1800111b2
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xa0]
lea r8, [0x180052048]
mov edx, 0x400
lea rcx, [rsp + 0xe0]
call fcn.18000f304
mov ecx, 0x1a
call fcn.18002133c
lea rcx, [0x1800542b0]
mov qword [rsp + 0x38], rcx
mov ecx, dword [0x180054294]
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0xe0]
mov rdx, rax
mov rcx, qword [0x1800542a0]
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.1800113cc
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
inc qword [rsp + 0x68]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x68]
cmp byte [rax + rcx], 0
jne 0x18001122b
mov rax, qword [rsp + 0x68]
mov ecx, dword [rsp + 0xb0]
mov dword [rsp + 0x20], ecx
mov r9, qword [rsp + 0xa8]
mov r8d, eax
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov rax, qword [rsp + 0x4f8]
mov edx, dword [rax + 4]
lea rcx, [rsp + 0x90]
call fcn.18001ca8c
mov rcx, qword [rsp + 0x48]
call fcn.180011ba8
test eax, eax
jne 0x1800112ac
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0xffffffff
jmp 0x1800113c1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov dword [rsp + 0x58], eax
cmp dword [rsp + 0x58], 0
je 0x1800112e1
cmp dword [rsp + 0x50], 0
jb 0x1800112e1
mov eax, dword [rsp + 0x508]
cmp dword [rsp + 0x50], eax
jb 0x1800112f6
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0xffffffff
jmp 0x1800113c1
cmp dword [rsp + 0x50], 0
jne 0x18001130f
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x1800113c1
mov eax, dword [rsp + 0x508]
cmp dword [rsp + 0x40], eax
jae 0x180011368
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x500]
add rcx, rax
mov rax, rcx
lea r9, [rsp + 0x54]
mov r8d, 0x1000
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x18001134d
jmp 0x180011368
cmp dword [rsp + 0x54], 0
jne 0x180011356
jmp 0x180011368
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
jmp 0x18001130f
mov eax, dword [rsp + 0x508]
cmp dword [rsp + 0x40], eax
jb 0x180011387
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0xffffffff
jmp 0x1800113c1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, ntohs
call fcn.18002133c
mov r9d, dword [rsp + 0x508]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x500]
mov rcx, rax
call fcn.18001cbc0
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
add rsp, 0x4e0
pop rdi
ret