Function at 0x180004700
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, 0x4c0
lea rax, [0x180014820]
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0xb8], 0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x78]
mov rdi, rax
xor eax, eax
mov ecx, 0x38
rep stosb byte [rdi], al
mov byte [rsp + 0xc0], 0
lea rax, [rsp + 0xc1]
mov rdi, rax
xor eax, eax
mov ecx, 0x3ff
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x4d8]
mov edx, dword [rax + 4]
lea rcx, [rsp + 0x70]
call fcn.180009bf0
mov r9, qword [rsp + 0x4d0]
lea r8, [0x180014824]
mov edx, 0x400
mov rcx, qword [rsp + 0x80]
call fcn.180001cc0
mov rax, qword [rsp + 0x4d8]
add rax, 8
mov qword [rsp + 0x60], rax
mov ecx, ntohs
call fcn.180008140
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x4d8]
mov r9d, dword [rcx + 4]
mov rcx, qword [rsp + 0x60]
mov r8, rcx
lea rdx, [rsp + 0x70]
mov rcx, rax
call fcn.180009080
mov rcx, qword [rsp + 0x78]
call sub.msvcrt.dll_strlen
test rax, rax
jne 0x180004842
mov r9, qword [rsp + 0x80]
lea r8, [0x180014828]
mov edx, 0x400
lea rcx, [rsp + 0xc0]
call fcn.180001cc0
jmp 0x18000486d
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x80]
lea r8, [0x18001482c]
mov edx, 0x400
lea rcx, [rsp + 0xc0]
call fcn.180001cc0
mov ecx, 0x1a
call fcn.180008140
mov rcx, qword [0x18001b3c0]
mov qword [rsp + 0x38], rcx
mov ecx, dword [0x18001b3bc]
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0xb0]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0xc0]
mov rdx, rax
mov rcx, qword [0x18001b3a8]
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.180003ef0
mov rcx, qword [rsp + 0x70]
call sub.msvcrt.dll_strlen
mov ecx, dword [rsp + 0x90]
mov dword [rsp + 0x20], ecx
mov r9, qword [rsp + 0x88]
mov r8d, eax
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov rax, qword [rsp + 0x4d8]
mov edx, dword [rax + 4]
lea rcx, [rsp + 0x70]
call fcn.180009bd0
mov rcx, qword [rsp + 0x48]
call fcn.180004690
test eax, eax
jne 0x180004935
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0xffffffff
jmp 0x180004a4a
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 0x18000496a
cmp dword [rsp + 0x50], 0
jb 0x18000496a
mov eax, dword [rsp + 0x4e8]
cmp dword [rsp + 0x50], eax
jb 0x18000497f
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0xffffffff
jmp 0x180004a4a
cmp dword [rsp + 0x50], 0
jne 0x180004998
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x180004a4a
mov eax, dword [rsp + 0x4e8]
cmp dword [rsp + 0x40], eax
jae 0x1800049f1
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x4e0]
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 0x1800049d6
jmp 0x1800049f1
cmp dword [rsp + 0x54], 0
jne 0x1800049df
jmp 0x1800049f1
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
jmp 0x180004998
mov eax, dword [rsp + 0x4e8]
cmp dword [rsp + 0x40], eax
jb 0x180004a10
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0xffffffff
jmp 0x180004a4a
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, ntohs
call fcn.180008140
mov r9d, dword [rsp + 0x4e8]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x4e0]
mov rcx, rax
call fcn.180009d10
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
add rsp, 0x4c0
pop rdi
ret