Function at 0x140002740
Capabilities:
Check internet connectivity via wininet
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x14000d010]
xor rax, rsp
mov qword [rbp + 0x47], rax
lea rcx, [rbp + 7]
call fcn.140002360
mov rdx, rax
movdqa xmm0, xmmword [0x140009a60]
movdqu xmmword [rbp - 0x59], xmm0
mov dword [rbp - 0x49], 0x7f6c2068
mov dword [rbp - 0x45], 0x1003c7c
xor ebx, ebx
mov ecx, ebx
nop dword [rax + rax]
lea eax, [rcx - 3]
xor byte [rbp + rcx - 0x59], al
inc rcx
cmp rcx, 0x16
jb 0x140002790
mov byte [rbp - 0x42], bl
lea rax, [rbp - 0x59]
mov r9, 0xffffffffffffffff
nop
inc r9
cmp byte [rax + r9], bl
jne 0x1400027b0
lea r8, [rbp - 0x59]
mov rcx, rdx
call fcn.140006960
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x19], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 9], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], bl
movdqa xmm0, xmmword [0x140009ae0]
movdqu xmmword [rbp - 0x39], xmm0
mov dword [rbp - 0x29], 0x60607a23
mov dword [rbp - 0x25], 0x3b202a2b
mov word [rbp - 0x21], 0x100
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx - 3]
xor byte [rbp + rcx - 0x39], al
inc rcx
cmp rcx, 0x18
jb 0x140002810
mov byte [rbp - 0x20], 0
mov qword [rbp - 0x59], rbx
mov qword [rbp - 0x49], rbx
mov qword [rbp - 0x41], 0xf
mov byte [rbp - 0x59], 0
mov r8d, 0x18
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x59]
call fcn.1400063f0
nop
lea r8, [rbp - 0x19]
cmp qword [rbp - 1], 0x10
cmovae r8, qword [rbp - 0x19]
mov r9, qword [rbp - 9]
lea rcx, [rbp - 0x59]
call fcn.140006960
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x27], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x37], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rbp - 0x41]
cmp rdx, 0x10
jb 0x1400028c4
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400028be
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007810
nop
mov rdx, qword [rbp - 1]
cmp rdx, 0x10
jb 0x140002903
inc rdx
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400028fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400028fd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007810
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0x10
jb 0x140002941
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000293c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000293c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007810
lea rcx, [rbp + 0x27]
cmp qword [rbp + 0x3f], 0x10
cmovae rcx, qword [rbp + 0x27]
xor r8d, r8d
lea edx, [r8 + 1]
call qword [sym.imp.WININET.dll_InternetCheckConnectionA]
test eax, eax
setne bl
mov rdx, qword [rbp + 0x3f]
cmp rdx, 0x10
jb 0x14000299f
inc rdx
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000299a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000299a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007810
movzx eax, bl
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400077f0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xd0
pop rbp
ret