Function at 0x18000e68c
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 [rbp - 0x68], 0
and dword [rbp + 0x3d8], 0
and dword [rsp + 0x40], 0
xor esi, esi
mov r15, r8
mov rbx, rcx
and qword [rsp + 0x50], rsi
lea rax, [0x180032700]
mov r13, rdx
lea r8d, [rsi + 0x38]
lea rcx, [rsp + 0x58]
xor edx, edx
mov r14d, r9d
mov qword [rbp - 0x70], rax
call fcn.18001f530
lea rcx, [rbp - 0x5f]
xor edx, edx
mov r8d, 0x3ff
mov byte [rbp - 0x60], sil
call fcn.18001f530
mov edx, dword [r13 + 4]
lea rcx, [rsp + 0x50]
call fcn.1800183d0
mov rcx, qword [rsp + 0x60]
mov edi, 0x400
lea r8, [0x1800326f4]
mov edx, edi
mov r9, rbx
call fcn.18001f63c
lea ecx, [rsi + 0xc]
call fcn.18001b454
mov r9d, dword [r13 + 4]
and dword [rsp + 0x28], esi
and qword [rsp + 0x20], rsi
lea r8, [r13 + 8]
lea rdx, [rsp + 0x50]
mov rcx, rax
call fcn.180017b38
mov rax, qword [0x1800494c8]
test rax, rax
je 0x18000e790
movzx ecx, word [rax + 0x90]
lea rdx, [rax + 0x10]
lea r8, [rsp + 0x50]
call fcn.180012d70
mov rax, qword [0x1800494c8]
lea r8, [rsp + 0x50]
movzx ecx, word [rax + 0x118]
lea rdx, [rax + 0x98]
call fcn.180012c0c
mov rcx, qword [rsp + 0x58]
or rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp byte [rcx + rax], sil
jne 0x18000e79c
mov r9, qword [rsp + 0x60]
mov rdx, rdi
test rax, rax
jne 0x18000e7c4
lea r8, [0x1800326f4]
lea rcx, [rbp - 0x60]
call fcn.18001f63c
jmp 0x18000e7d9
mov qword [rsp + 0x20], rcx
lea r8, [0x180032708]
lea rcx, [rbp - 0x60]
call fcn.18001f63c
mov ecx, 0x1a
call fcn.18001b454
mov rcx, qword [0x1800494b0]
lea r8, [rbp - 0x60]
mov rdx, rax
mov rax, qword [0x180042010]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov eax, dword [0x1800494d0]
mov dword [rsp + 0x30], eax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], rsi
call qword [sym.imp.WININET.dll_HttpOpenRequestA]
mov rcx, rax
mov rdi, rax
call fcn.18000e918
mov rdx, qword [rsp + 0x50]
mov r8, rbx
inc r8
cmp byte [rdx + r8], sil
jne 0x18000e831
mov eax, dword [rsp + 0x70]
mov r9, qword [rsp + 0x68]
mov rcx, rdi
mov dword [rsp + 0x20], eax
call qword [sym.imp.WININET.dll_HttpSendRequestA]
mov edx, dword [r13 + 4]
lea rcx, [rsp + 0x50]
call fcn.1800183c4
mov rcx, rdi
call fcn.18000efbc
test eax, eax
je 0x18000e895
lea rdx, [rbp + 0x3d8]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
je 0x18000e895
mov eax, dword [rbp + 0x3d8]
cmp eax, r14d
jae 0x18000e895
test eax, eax
jne 0x18000e8bc
xor ebx, ebx
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, ebx
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
test r14d, r14d
je 0x18000e895
mov edx, esi
lea r9, [rsp + 0x40]
mov r8d, 0x1000
add rdx, r15
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x18000e8ed
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x18000e8ed
add esi, eax
cmp esi, r14d
jb 0x18000e8c1
cmp esi, r14d
jae 0x18000e895
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, reloc.WS2_32.dll_inet_addr
call fcn.18001b454
mov r9d, r14d
mov r8d, esi
mov rcx, rax
mov rdx, r15
call fcn.18001846c
jmp 0x18000e8a0