Function at 0x14000ad84
Capabilities:
Create http request
Read data from internet
Receive data
Reference http user-agent string

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x7b0]
sub rsp, 0x8b0
mov rax, qword [0x140124040]
xor rax, rsp
mov qword [rbp + 0x7a0], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x60], rdx
mov edx, 1
mov dword [rsp + 0x30], edx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rcx, str.Mozilla_5.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov r14, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movdqa xmm1, xmmword [0x140110980]
movdqu xmmword [rsp + 0x78], xmm1
mov byte [rsp + 0x68], r15b
lea r12d, [r15 + 0xf]
test rax, rax
je 0x14000aff7
mov rdx, rbx
cmp qword [rbx + 0x18], r12
jbe 0x14000ae21
mov rdx, qword [rbx]
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rdi, rax
test rax, rax
je 0x14000aff7
lea r9, [rsp + 0x30]
mov r8d, 0x7d0
lea rdx, [rbp - 0x30]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
mov r8d, dword [rsp + 0x30]
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x68]
call fcn.140003c18
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x30]
call sub.VCRUNTIME140.dll_memset
cmp dword [rsp + 0x30], r15d
jne 0x14000ae46
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp - 0x58], xmm0
movdqa xmm1, xmmword [0x140110990]
movdqu xmmword [rbp - 0x48], xmm1
mov eax, 0xa0d
mov word [rbp - 0x58], ax
mov byte [rbp - 0x56], r15b
movups xmmword [rbp - 0x78], xmm0
movdqu xmmword [rbp - 0x68], xmm1
mov eax, 0x6e7c
mov word [rbp - 0x78], ax
mov byte [rbp - 0x76], r15b
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.140002300
lea r9, [rbp - 0x58]
lea r8, [rbp - 0x78]
mov rdx, rax
mov rcx, rsi
call fcn.14000ac4c
nop
mov edi, 0x1000
mov rdx, qword [rbp - 0x60]
cmp rdx, r12
jbe 0x14000af34
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, rdi
jb 0x14000af2e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000af2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dc284
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, r12
jbe 0x14000af6e
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, rdi
jb 0x14000af68
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000af68
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dc284
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, r12
jbe 0x14000afa8
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, rdi
jb 0x14000afa3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000afa3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dc284
movdqa xmm0, xmmword [0x140110980]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], r15b
mov rdx, qword [rbx + 0x18]
cmp rdx, r12
jbe 0x14000b151
inc rdx
mov rcx, qword [rbx]
cmp rdx, rdi
jb 0x14000b14c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14000b149
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
movdqa xmm1, xmmword [0x140110990]
movdqu xmmword [rbp - 0x68], xmm1
mov eax, 0xa0d
mov word [rbp - 0x78], ax
mov byte [rbp - 0x76], r15b
movups xmmword [rbp - 0x58], xmm0
movdqu xmmword [rbp - 0x48], xmm1
mov eax, 0x6e7c
mov word [rbp - 0x58], ax
mov byte [rbp - 0x56], r15b
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x40]
call fcn.140002300
lea r9, [rbp - 0x78]
lea r8, [rbp - 0x58]
mov rdx, rax
mov rcx, rsi
call fcn.14000ac4c
nop
mov edi, 0x1000
mov rdx, qword [rbp - 0x40]
cmp rdx, r12
jbe 0x14000b099
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, rdi
jb 0x14000b093
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b093
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dc284
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, r12
jbe 0x14000b0d3
inc rdx
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, rdi
jb 0x14000b0cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b0cd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dc284
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, r12
jbe 0x14000b10d
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, rdi
jb 0x14000b108
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b108
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dc284
movdqa xmm0, xmmword [0x140110980]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], r15b
mov rdx, qword [rbx + 0x18]
cmp rdx, r12
jbe 0x14000b151
inc rdx
mov rcx, qword [rbx]
cmp rdx, rdi
jb 0x14000b14c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b18a
mov rcx, r8
call fcn.1400dc284
mov rax, rsi
mov byte [rbx], r15b
mov qword [rbx + 0x18], r12
mov qword [rbx + 0x10], r15
mov rcx, qword [rbp + 0x7a0]
xor rcx, rsp
call fcn.1400dbf10
lea r11, [rsp + 0x8b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3