Function at 0x18000f824
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, [0x180062054]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], 0
mov dword [rsp + 0x58], 0
mov dword [rsp + 0x50], 0
mov dword [rsp + 0x54], 0
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x80], 0
lea rax, [rsp + 0x88]
mov rdi, rax
xor eax, eax
mov ecx, 0x38
rep stosb byte [rdi], al
mov byte [rsp + 0xe0], 0
lea rax, [rsp + 0xe1]
mov rdi, rax
xor eax, eax
mov ecx, 0x3ff
rep stosb byte [rdi], al
mov rax, qword [rsp + 0x4f8]
mov edx, dword [rax + 4]
lea rcx, [rsp + 0x80]
call fcn.18001e2f0
mov r9, qword [rsp + 0x4f0]
lea r8, [0x180062058]
mov edx, 0x400
mov rcx, qword [rsp + 0x90]
call fcn.18003fadc
mov rax, qword [rsp + 0x4f8]
add rax, 8
mov qword [rsp + 0x78], rax
mov ecx, ntohs
call fcn.180039f5c
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x4f8]
mov r9d, dword [rcx + 4]
mov rcx, qword [rsp + 0x78]
mov r8, rcx
lea rdx, [rsp + 0x80]
mov rcx, rax
call fcn.18001d688
cmp qword [0x180069be8], 0
je 0x18000f99e
mov rax, qword [0x180069be8]
add rax, 0x10
mov rcx, qword [0x180069be8]
movzx ecx, word [rcx + 0x90]
lea r8, [rsp + 0x80]
mov rdx, rax
call fcn.180015c0c
mov rax, qword [0x180069be8]
add rax, 0x98
mov rcx, qword [0x180069be8]
movzx ecx, word [rcx + 0x118]
lea r8, [rsp + 0x80]
mov rdx, rax
call fcn.180015a24
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0x68], 0xffffffffffffffff
inc qword [rsp + 0x68]
mov rax, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x68]
cmp byte [rax + rcx], 0
jne 0x18000f9b7
mov rax, qword [rsp + 0x68]
test rax, rax
jne 0x18000f9fc
mov r9, qword [rsp + 0x90]
lea r8, [0x18006205c]
mov edx, 0x400
lea rcx, [rsp + 0xe0]
call fcn.18003fadc
jmp 0x18000fa2a
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x90]
lea r8, [0x180062060]
mov edx, 0x400
lea rcx, [rsp + 0xe0]
call fcn.18003fadc
mov ecx, 0x1a
call fcn.180039f5c
mov rcx, qword [0x180062028]
mov qword [rsp + 0x38], rcx
mov ecx, dword [0x180069bf0]
mov dword [rsp + 0x30], ecx
lea rcx, [rsp + 0xc8]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [rsp + 0xe0]
mov rdx, rax
mov rcx, qword [0x180069bd0]
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x48]
call fcn.18000fc3c
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x60], 0xffffffffffffffff
inc qword [rsp + 0x60]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
cmp byte [rax + rcx], 0
jne 0x18000faa0
mov rax, qword [rsp + 0x60]
mov ecx, dword [rsp + 0xa0]
mov dword [rsp + 0x20], ecx
mov r9, qword [rsp + 0x98]
mov r8d, eax
mov rdx, qword [rsp + 0x80]
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 + 0x80]
call fcn.18001e2d0
mov rcx, qword [rsp + 0x48]
call fcn.18001053c
test eax, eax
jne 0x18000fb1e
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0xffffffff
jmp 0x18000fc33
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 0x18000fb53
cmp dword [rsp + 0x50], 0
jb 0x18000fb53
mov eax, dword [rsp + 0x508]
cmp dword [rsp + 0x50], eax
jb 0x18000fb68
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0xffffffff
jmp 0x18000fc33
cmp dword [rsp + 0x50], 0
jne 0x18000fb81
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
jmp 0x18000fc33
mov eax, dword [rsp + 0x508]
cmp dword [rsp + 0x40], eax
jae 0x18000fbda
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 0x18000fbbf
jmp 0x18000fbda
cmp dword [rsp + 0x54], 0
jne 0x18000fbc8
jmp 0x18000fbda
mov eax, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x40]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
jmp 0x18000fb81
mov eax, dword [rsp + 0x508]
cmp dword [rsp + 0x40], eax
jb 0x18000fbf9
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0xffffffff
jmp 0x18000fc33
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, reloc.WS2_32.dll_inet_addr
call fcn.180039f5c
mov r9d, dword [rsp + 0x508]
mov r8d, dword [rsp + 0x40]
mov rdx, qword [rsp + 0x500]
mov rcx, rax
call fcn.18001e408
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
add rsp, 0x4e0
pop rdi
ret