Function at 0x14007d630
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x118
movaps xmmword [rsp + 0x100], xmm6
mov rsi, qword [rcx]
movzx eax, byte [section..data]
cmp al, 1
jne 0x14007d67c
mov rcx, rsi
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp sym.__aes::autodetect::Aes256_as_cipher::block::BlockEncrypt_::encrypt_with_backend::inner::hda50309e45a624f4
mov rbp, qword [rdx]
mov r12, qword [rdx + 8]
mov r15, qword [rdx + 0x10]
mov rcx, qword [rdx + 0x18]
mov eax, ecx
and eax, 3
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
cmp rcx, 4
jb 0x14007d7a9
mov r14, qword [rsp + 0x20]
shr r14, 2
mov r13d, 0x30
lea rdi, [rsp + 0xc0]
lea rbx, [rsp + 0x30]
mov eax, dword [rbp + 0x10]
mov r9d, dword [rbp + 0xc]
mov ecx, dword [rbp]
mov edx, dword [rbp + 4]
mov r8d, dword [rbp + 8]
lea r10d, [r9 + rax]
bswap r10d
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x3c], r10d
lea r10d, [r9 + rax + 1]
bswap r10d
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x44], edx
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x4c], r10d
lea r10d, [r9 + rax + 2]
bswap r10d
mov dword [rsp + 0x50], ecx
mov dword [rsp + 0x54], edx
mov dword [rsp + 0x58], r8d
mov dword [rsp + 0x5c], r10d
add r9d, eax
add r9d, 3
bswap r9d
add eax, 4
mov dword [rbp + 0x10], eax
mov dword [rsp + 0x60], ecx
mov dword [rsp + 0x64], edx
mov dword [rsp + 0x68], r8d
mov dword [rsp + 0x6c], r9d
mov rcx, rdi
mov rdx, rsi
mov r8, rbx
call sym.aes::soft::fixslice::aes256_encrypt::h28b8e046b03a30b9
movups xmm0, xmmword [r12 + r13 - 0x30]
movups xmm1, xmmword [r12 + r13 - 0x20]
movups xmm2, xmmword [r12 + r13 - 0x10]
movups xmm3, xmmword [r12 + r13]
xorps xmm0, xmmword [rsp + 0xc0]
xorps xmm1, xmmword [rsp + 0xd0]
xorps xmm2, xmmword [rsp + 0xe0]
xorps xmm3, xmmword [rsp + 0xf0]
movups xmmword [r15 + r13 - 0x30], xmm0
movups xmmword [r15 + r13 - 0x20], xmm1
movups xmmword [r15 + r13 - 0x10], xmm2
movups xmmword [r15 + r13], xmm3
add r13, 0x40
dec r14
jne 0x14007d6c0
xorps xmm6, xmm6
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x14007d8c2
movabs rax, 0xffffffffffffffc
mov rcx, qword [rsp + 0x20]
and rcx, rax
shl rcx, 4
add r12, rcx
add r15, rcx
lea r13, [rsp + 0x40]
shl ebx, 4
xor r14d, r14d
lea rdi, [rsp + 0x30]
nop word cs:[rax + rax]
mov eax, dword [rbp + 0x10]
mov ecx, dword [rbp + 8]
mov edx, dword [rbp + 0xc]
add edx, eax
bswap edx
mov r8, qword [rbp]
mov qword [rsp + 0x70], r8
mov dword [rsp + 0x78], ecx
mov dword [rsp + 0x7c], edx
inc eax
mov dword [rbp + 0x10], eax
mov rcx, rdi
lea rdx, [rsp + 0x70]
call sym.generic_array::functional::FunctionalSequence::map::he6a9c9b82c88e9c1
movups xmmword [r13 + 0x20], xmm6
movups xmmword [r13 + 0x10], xmm6
movups xmmword [r13], xmm6
lea rcx, [rsp + 0xc0]
mov rdx, rsi
mov r8, rdi
call sym.aes::soft::fixslice::aes256_encrypt::h28b8e046b03a30b9
movups xmm0, xmmword [rsp + 0xc0]
movups xmmword [rsp + r14 + 0x80], xmm0
add r14, 0x10
cmp rbx, r14
jne 0x14007d810
movups xmm0, xmmword [r12]
xorps xmm0, xmmword [rsp + 0x80]
movups xmmword [r15], xmm0
mov rax, qword [rsp + 0x28]
cmp eax, 1
je 0x14007d8c2
movups xmm0, xmmword [r12 + 0x10]
xorps xmm0, xmmword [rsp + 0x90]
movups xmmword [r15 + 0x10], xmm0
cmp eax, 2
je 0x14007d8c2
movups xmm0, xmmword [r12 + 0x20]
xorps xmm0, xmmword [rsp + 0xa0]
movups xmmword [r15 + 0x20], xmm0
movaps xmm6, xmmword [rsp + 0x100]
add rsp, 0x118
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret