Function at 0x18000dc5c
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
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
and qword [rsp + 0x50], 0
and dword [rbp + 0x3d8], 0
and dword [rsp + 0x40], 0
xor edi, edi
mov r15, r8
mov rbx, rcx
and qword [rsp + 0x60], rdi
lea rax, [0x18002c6d0]
mov r13, rdx
lea r8d, [rdi + 0x38]
lea rcx, [rsp + 0x68]
xor edx, edx
mov esi, r9d
mov qword [rsp + 0x48], rax
call fcn.180019fc0
lea rcx, [rbp - 0x5f]
xor edx, edx
mov r8d, 0x3ff
mov byte [rbp - 0x60], dil
call fcn.180019fc0
mov edx, dword [r13 + 4]
lea rcx, [rsp + 0x60]
call fcn.180015c68
mov rcx, qword [rsp + 0x70]
lea r8, [0x18002c6c4]
mov r9, rbx
mov edx, 0x400
call fcn.18001a0cc
lea ecx, [rdi + 0xc]
call fcn.180018630
mov r9d, dword [r13 + 4]
and dword [rsp + 0x28], edi
and qword [rsp + 0x20], rdi
lea r8, [r13 + 8]
lea rdx, [rsp + 0x60]
mov rcx, rax
call fcn.1800153d0
mov rcx, qword [rsp + 0x68]
or r14, 0xffffffffffffffff
mov rax, r14
inc rax
cmp byte [rcx + rax], dil
jne 0x18000dd2c
mov r9, qword [rsp + 0x70]
mov edx, 0x400
test rax, rax
jne 0x18000dd56
lea r8, [0x18002c6c4]
lea rcx, [rbp - 0x60]
call fcn.18001a0cc
jmp 0x18000dd6b
mov qword [rsp + 0x20], rcx
lea r8, [0x18002c6d8]
lea rcx, [rbp - 0x60]
call fcn.18001a0cc
mov ecx, 0x1a
call fcn.180018630
mov rcx, qword [0x18003e478]
lea r8, [rbp - 0x60]
mov rdx, rax
lea rax, [0x18003e490]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov eax, dword [0x18003e48c]
mov dword [rsp + 0x30], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], rdi
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rcx, rax
mov rbx, rax
call fcn.18000debc
mov rdx, qword [rsp + 0x60]
mov r8, r14
inc r8
cmp byte [rdx + r8], dil
jne 0x18000ddc4
mov eax, dword [rbp - 0x80]
mov r9, qword [rsp + 0x78]
mov rcx, rbx
mov dword [rsp + 0x20], eax
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov edx, dword [r13 + 4]
lea rcx, [rsp + 0x60]
call fcn.180015c5c
mov rcx, rbx
call fcn.18000e4a0
test eax, eax
je 0x18000de84
lea rdx, [rbp + 0x3d8]
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x18000de92
mov eax, dword [rbp + 0x3d8]
test eax, eax
je 0x18000de92
cmp eax, esi
jae 0x18000de92
test esi, esi
je 0x18000de81
mov edx, edi
lea r9, [rsp + 0x40]
mov r8d, 0x1000
add rdx, r15
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x18000de57
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x18000de57
add edi, eax
cmp edi, esi
jb 0x18000de2c
cmp edi, esi
jae 0x18000de81
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, ntohl
call fcn.180018630
mov r9d, esi
mov r8d, edi
mov rcx, rax
mov rdx, r15
call fcn.180015d04
jmp 0x18000de9d
xor r14d, r14d
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, r14d
jmp 0x18000de9d
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor eax, eax
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret