Function at 0x1800016a0
Capabilities:
Connect to http server
Create http request
Query remote server for available data
Read data from internet
Receive data
Send data
Send http request

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov rax, qword [0x180021018]
xor rax, rsp
mov qword [rsp + 0x98], rax
lea rcx, [rsp + 0x78]
call fcn.180004770
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, [0x180016478]
call qword [sym.imp.WININET.dll_InternetOpenA]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
jne 0x18000175e
lea rdx, [0x180016488]
lea rcx, [rsp + 0x78]
call fcn.180004dd0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xb0]
call fcn.180004620
lea rcx, [rsp + 0x78]
call fcn.180004ba0
mov rcx, qword [rsp + 0xb8]
call fcn.180004ba0
mov rcx, qword [rsp + 0xc0]
call fcn.180004ba0
mov rax, qword [rsp + 0xb0]
jmp 0x180001b4a
mov rcx, qword [rsp + 0xb8]
call fcn.1800064f0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8w, 0x1f90
mov rdx, rax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetConnectA]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jne 0x18000181a
lea rdx, [0x1800164a0]
lea rcx, [rsp + 0x78]
call fcn.180004dd0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xb0]
call fcn.180004620
lea rcx, [rsp + 0x78]
call fcn.180004ba0
mov rcx, qword [rsp + 0xb8]
call fcn.180004ba0
mov rcx, qword [rsp + 0xc0]
call fcn.180004ba0
mov rax, qword [rsp + 0xb0]
jmp 0x180001b4a
mov rcx, qword [rsp + 0xc0]
call fcn.1800064f0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, rax
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
jne 0x1800018df
lea rdx, [0x1800164b8]
lea rcx, [rsp + 0x78]
call fcn.180004dd0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xb0]
call fcn.180004620
lea rcx, [rsp + 0x78]
call fcn.180004ba0
mov rcx, qword [rsp + 0xb8]
call fcn.180004ba0
mov rcx, qword [rsp + 0xc0]
call fcn.180004ba0
mov rax, qword [rsp + 0xb0]
jmp 0x180001b4a
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov dword [rsp + 0x68], eax
cmp dword [rsp + 0x68], 0
jne 0x18000197a
lea rdx, [0x1800164d0]
lea rcx, [rsp + 0x78]
call fcn.180004dd0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xb0]
call fcn.180004620
lea rcx, [rsp + 0x78]
call fcn.180004ba0
mov rcx, qword [rsp + 0xb8]
call fcn.180004ba0
mov rcx, qword [rsp + 0xc0]
call fcn.180004ba0
mov rax, qword [rsp + 0xb0]
jmp 0x180001b4a
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
mov dword [rsp + 0x6c], eax
cmp dword [rsp + 0x6c], 0
jne 0x180001a10
lea rdx, [0x1800164e8]
lea rcx, [rsp + 0x78]
call fcn.180004dd0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xb0]
call fcn.180004620
lea rcx, [rsp + 0x78]
call fcn.180004ba0
mov rcx, qword [rsp + 0xb8]
call fcn.180004ba0
mov rcx, qword [rsp + 0xc0]
call fcn.180004ba0
mov rax, qword [rsp + 0xb0]
jmp 0x180001b4a
mov eax, dword [rsp + 0x58]
inc eax
mov eax, eax
mov ecx, eax
call fcn.18000948c
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x58]
inc eax
mov eax, eax
mov r8d, eax
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.180008280
lea r9, [rsp + 0x74]
mov r8d, dword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetReadFile]
mov dword [rsp + 0x70], eax
cmp dword [rsp + 0x70], 0
jne 0x180001ad2
lea rdx, [0x180016500]
lea rcx, [rsp + 0x78]
call fcn.180004dd0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xb0]
call fcn.180004620
lea rcx, [rsp + 0x78]
call fcn.180004ba0
mov rcx, qword [rsp + 0xb8]
call fcn.180004ba0
mov rcx, qword [rsp + 0xc0]
call fcn.180004ba0
mov rax, qword [rsp + 0xb0]
jmp 0x180001b4a
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x78]
call fcn.180004dd0
mov rcx, qword [rsp + 0x60]
call fcn.180009478
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rdx, [rsp + 0x78]
mov rcx, qword [rsp + 0xb0]
call fcn.180004620
lea rcx, [rsp + 0x78]
call fcn.180004ba0
mov rcx, qword [rsp + 0xb8]
call fcn.180004ba0
mov rcx, qword [rsp + 0xc0]
call fcn.180004ba0
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.180007320
add rsp, 0xa8
ret