Function at 0x18004af70
Capabilities:
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x860
mov r13, rcx
lea r14, [0x1800ad0e8]
mov rcx, qword [0x1800ae260]
xor ebx, ebx
mov r15, rdx
test rcx, rcx
je 0x18004b0c2
cmp qword [rdx + 0x18], 0xf
jbe 0x18004afb8
mov rdx, qword [rdx]
mov qword [rsp + 0x28], rbx
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], ebx
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov qword [0x1800ae1d8], rax
test rax, rax
je 0x18004b0bb
movzx ebx, byte [rsp + 0x8a0]
nop word [rax + rax]
lea r9, [rsp + 0x8a0]
mov r8d, 0x7d0
lea rdx, [rsp + 0x90]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
mov rdx, qword [0x1800ad100]
mov rcx, qword [0x1800ad0f8]
mov rax, rdx
mov esi, dword [rsp + 0x8a0]
sub rax, rcx
cmp rsi, rax
ja 0x18004b065
cmp rdx, 0xf
lea rax, [rcx + rsi]
mov rdi, r14
mov qword [0x1800ad0f8], rax
cmova rdi, qword [0x1800ad0e8]
lea rdx, [rsp + 0x90]
add rdi, rcx
mov r8d, esi
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi], 0
jmp 0x18004b081
lea r9, [rsp + 0x90]
mov qword [rsp + 0x20], rsi
movzx r8d, bl
mov rdx, rsi
mov rcx, r14
call fcn.18002e7b0
xor edx, edx
lea rcx, [rsp + 0x90]
mov r8d, 0x7d0
call sub.VCRUNTIME140.dll_memset
cmp dword [rsp + 0x8a0], 0
je 0x18004b0ac
mov rax, qword [0x1800ae1d8]
jmp 0x18004aff0
mov rcx, qword [0x1800ae1d8]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor ebx, ebx
mov rcx, qword [0x1800ae260]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
mov byte [rsp + 0x52], 0
movups xmmword [rsp + 0x30], xmm0
mov eax, 0xa0d
mov byte [rsp + 0x32], 0
mov r12d, 2
mov word [rsp + 0x30], ax
mov ebp, 0xf
mov qword [rsp + 0x40], r12
mov rdx, r14
mov qword [rsp + 0x48], rbp
lea rcx, [rsp + 0x70]
call fcn.18002ee00
mov rdi, rax
mov rcx, rbx
nop dword [rax]
cmp qword [rdi + 0x18], 0xf
mov r14, rdi
mov rax, qword [rdi + 0x10]
jbe 0x18004b121
mov r14, qword [rdi]
cmp rax, 2
jb 0x18004b17d
add rax, 0xfffffffffffffffe
cmp rcx, rax
ja 0x18004b17d
lea rsi, [rax + r14]
add rcx, r14
lea r8, [rsi + 1]
mov edx, 0x7c
sub r8, rcx
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x18004b17d
mov eax, 0x6e7c
cmp word [rbx], ax
je 0x18004b1e5
inc rbx
lea r8, [rsi + 1]
sub r8, rbx
mov rcx, rbx
mov edx, 0x7c
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
jne 0x18004b150
xor ebx, ebx
xorps xmm0, xmm0
movups xmmword [r13], xmm0
mov qword [r13 + 0x10], rbx
mov esi, 0xf
mov qword [r13 + 0x18], rbx
movups xmm0, xmmword [rdi]
movups xmmword [r13], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [r13 + 0x10], xmm1
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], rsi
mov byte [rdi], bl
cmp rbp, rsi
jbe 0x18004b22b
mov rcx, qword [rsp + 0x30]
lea rdx, [rbp + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004b226
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004b226
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
sub rbx, r14
cmp rbx, 0xffffffffffffffff
je 0x18004b17d
cmp rbp, 0xf
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x30]
mov r8d, 2
cmova r9, qword [rsp + 0x30]
mov rdx, rbx
mov rcx, rdi
call fcn.18004b2a0
mov r12, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
lea rcx, [rbx + r12]
jmp 0x18004b110
call fcn.18004b988
mov rdx, qword [r15 + 0x18]
cmp rdx, rsi
jbe 0x18004b260
mov rcx, qword [r15]
inc rdx
cmp rdx, 0x1000
jb 0x18004b25b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18004b28f
mov rcx, r8
call fcn.18004b988
lea r11, [rsp + 0x860]
mov qword [r15 + 0x10], rbx
mov rbp, qword [r11 + 0x38]
mov rax, r13
mov qword [r15 + 0x18], rsi
mov rsi, qword [r11 + 0x48]
mov byte [r15], bl
mov rbx, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3