Function at 0x140119a60
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 [0x1402b7130]
cmp al, 1
jne 0x140119aac
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::hdd28da08993de814
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 0x140119c09
mov r14, qword [rsp + 0x20]
shr r14, 2
mov r13d, 0x30
xorps xmm6, xmm6
lea rdi, [rsp + 0x80]
lea rbx, [rsp + 0x30]
nop word cs:[rax + rax]
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
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::h5feea39bbcbed437
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 + 0x80]
xorps xmm1, xmmword [rsp + 0x90]
xorps xmm2, xmmword [rsp + 0xa0]
xorps xmm3, xmmword [rsp + 0xb0]
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 0x140119b00
xorps xmm6, xmm6
movaps xmmword [rsp + 0xf0], xmm6
movaps xmmword [rsp + 0xe0], xmm6
movaps xmmword [rsp + 0xd0], xmm6
movaps xmmword [rsp + 0xc0], xmm6
mov r13, qword [rsp + 0x28]
test r13, r13
je 0x140119d2e
movabs rax, 0xffffffffffffffc
mov rcx, qword [rsp + 0x20]
and rcx, rax
shl rcx, 4
add r12, rcx
add r15, rcx
shl r13, 4
xor ebx, ebx
lea rdi, [rsp + 0x80]
lea r14, [rsp + 0x30]
nop dword [rax]
mov eax, dword [rbp + 0x10]
mov rcx, qword [rbp]
mov edx, dword [rbp + 8]
mov r8d, dword [rbp + 0xc]
add r8d, eax
bswap r8d
mov qword [rsp + 0x70], rcx
mov dword [rsp + 0x78], edx
mov dword [rsp + 0x7c], r8d
inc eax
mov dword [rbp + 0x10], eax
movaps xmmword [rsp + 0xb0], xmm6
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm6
movaps xmmword [rsp + 0x80], xmm6
mov rcx, rdi
lea rdx, [rsp + 0x70]
call sym.generic_array::functional::FunctionalSequence::map::h879e9d778d8e840d
mov rcx, r14
mov rdx, rsi
mov r8, rdi
call sym.aes::soft::fixslice::aes256_encrypt::h5feea39bbcbed437
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rsp + rbx + 0xc0], xmm0
add rbx, 0x10
cmp r13, rbx
jne 0x140119c70
movups xmm0, xmmword [r12]
xorps xmm0, xmmword [rsp + 0xc0]
movups xmmword [r15], xmm0
mov rax, qword [rsp + 0x28]
cmp eax, 1
je 0x140119d2e
movups xmm0, xmmword [r12 + 0x10]
xorps xmm0, xmmword [rsp + 0xd0]
movups xmmword [r15 + 0x10], xmm0
cmp eax, 2
je 0x140119d2e
movups xmm0, xmmword [r12 + 0x20]
xorps xmm0, xmmword [rsp + 0xe0]
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