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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x7d0]
sub rsp, 0x8d0
mov rax, qword [0x14059d5d8]
xor rax, rsp
mov qword [rbp + 0x7c0], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x38], rcx
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r13 + 1]
lea rcx, str.Mozilla_5.0
call qword [sym.imp.WININET.dll_InternetOpenA]
mov rsi, rax
mov qword [rsp + 0x38], rax
mov qword [rbp - 0x58], r13
mov edi, r13d
mov qword [rbp - 0x48], r13
mov r12d, 0xf
mov r15d, r12d
mov qword [rbp - 0x40], r12
mov byte [rbp - 0x58], dil
test rax, rax
je 0x1400a552e
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov r13, rax
test rax, rax
je 0x1400a552b
movzx ebx, byte [rsp + 0x30]
nop dword [rax]
nop dword [rax + rax]
lea r9, [rbp - 0x60]
mov r8d, 0x7d0
lea rdx, [rbp - 0x10]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetReadFile]
mov esi, dword [rbp - 0x60]
mov rax, r15
sub rax, rdi
cmp rsi, rax
ja 0x1400a52d2
lea rax, [rsi + rdi]
mov qword [rbp - 0x48], rax
lea rax, [rbp - 0x58]
cmp r15, 0x10
cmovae rax, qword [rbp - 0x58]
add rdi, rax
mov r8d, esi
lea rdx, [rbp - 0x10]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + rsi], 0
jmp 0x1400a52eb
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x10]
movzx r8d, bl
mov rdx, rsi
lea rcx, [rbp - 0x58]
call fcn.140088cf0
xor edx, edx
mov r8d, 0x7d0
lea rcx, [rbp - 0x10]
call fcn.140146e9c
cmp dword [rbp - 0x60], 0
je 0x1400a530f
mov r15, qword [rbp - 0x40]
mov rdi, qword [rbp - 0x48]
jmp 0x1400a5280
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, r13
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor ebx, ebx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], r12
mov byte [rsp + 0x60], bl
lea r8d, [rbx + 2]
lea rdx, [0x14014adcc]
lea rcx, [rsp + 0x60]
call fcn.140084b70
nop
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], r12
mov byte [rsp + 0x40], bl
lea r8d, [rbx + 2]
lea rdx, [0x14019a0fc]
lea rcx, [rsp + 0x40]
call fcn.140084b70
nop
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x70], rbx
mov qword [rbp - 0x68], rbx
lea rsi, [rbp - 0x58]
mov r15, qword [rbp - 0x40]
cmp r15, 0x10
setae r13b
mov rbx, qword [rbp - 0x58]
cmovae rsi, rbx
mov rdi, qword [rbp - 0x48]
cmp rdi, 0x10
jae 0x1400a53b1
movups xmm0, xmmword [rsi]
movups xmmword [rbp - 0x80], xmm0
jmp 0x1400a5437
mov r12, rdi
or r12, 0xf
movabs rax, 0x7fffffffffffffff
cmp r12, rax
cmova r12, rax
mov rcx, r12
add rcx, 1
mov rax, 0xffffffffffffffff
cmovb rcx, rax
cmp rcx, 0x1000
jb 0x1400a5416
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400a5676
mov rcx, rax
call fcn.1401463a0
mov rcx, rax
test rax, rax
je 0x1400a540f
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400a5424
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400a5422
call fcn.1401463a0
jmp 0x1400a5424
xor eax, eax
mov qword [rbp - 0x80], rax
lea r8, [rdi + 1]
mov rdx, rsi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], r12
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x38]
call fcn.140143db0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400a5498
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a5492
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a5492
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140145b4c
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400a54d8
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a54d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a54d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140145b4c
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [r14 + 0x10], xmm1
test r13b, r13b
je 0x1400a5649
lea rdx, [r15 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400a551e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a551e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140145b4c
jmp 0x1400a5649
xor r13d, r13d
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x50], r13
mov qword [rsp + 0x58], r12
mov byte [rsp + 0x40], 0
mov r8d, 2
lea rdx, [0x14014adcc]
lea rcx, [rsp + 0x40]
call fcn.140084b70
nop
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r12
mov byte [rsp + 0x60], 0
mov r8d, 2
lea rdx, [0x14019a0fc]
lea rcx, [rsp + 0x60]
call fcn.140084b70
nop
movups xmm0, xmmword [rbp - 0x58]
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r12
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x38]
call fcn.140143db0
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x1400a55f8
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a55f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a55f2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140145b4c
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400a5638
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400a5633
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400a5633
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140145b4c
movups xmm0, xmmword [rbp - 0x38]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [r14 + 0x10], xmm1
mov rax, r14
mov rcx, qword [rbp + 0x7c0]
xor rcx, rsp
call fcn.140146150
mov rbx, qword [rsp + 0x920]
add rsp, 0x8d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140084a10
nop
int3