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

Disassembly:
mov rax, rsp
sub rsp, 0xd8
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
mov rax, qword [rcx + 8]
movaps xmmword [rsp + 0x50], xmm13
movaps xmmword [rsp + 0x40], xmm14
movaps xmmword [rsp + 0x30], xmm15
movdqu xmm0, xmmword [rax + 0xc0]
movdqu xmm1, xmmword [rax + 0xd0]
movdqa xmmword [rsp + 0x20], xmm0
movdqa xmmword [rsp + 0x10], xmm1
movdqu xmm2, xmmword [rax + 0xe0]
movdqu xmm4, xmmword [rax]
movdqa xmmword [rsp], xmm2
movdqu xmm5, xmmword [rax + 0x10]
movdqu xmm6, xmmword [rax + 0x20]
movdqu xmm7, xmmword [rax + 0x30]
movdqu xmm8, xmmword [rax + 0x40]
movdqu xmm9, xmmword [rax + 0x50]
movdqu xmm10, xmmword [rax + 0x60]
movdqu xmm11, xmmword [rax + 0x70]
movdqu xmm12, xmmword [rax + 0x80]
movdqu xmm13, xmmword [rax + 0x90]
movdqu xmm14, xmmword [rax + 0xa0]
movdqu xmm15, xmmword [rax + 0xb0]
cmp r9, 4
jb 0x1400a9a21
mov rcx, r9
mov r10, r8
shr rcx, 2
sub r10, rdx
imul rax, rcx, 0xfffffffffffffffc
add r9, rax
jmp 0x1400a9891
movdqa xmm0, xmmword [rsp + 0x20]
movdqa xmm1, xmmword [rsp + 0x10]
movdqa xmm2, xmmword [rsp]
movdqu xmm3, xmmword [rdx + 0x10]
pxor xmm3, xmm4
aesenc xmm3, xmm5
aesenc xmm3, xmm6
aesenc xmm3, xmm7
aesenc xmm3, xmm8
aesenc xmm3, xmm9
aesenc xmm3, xmm10
aesenc xmm3, xmm11
aesenc xmm3, xmm12
aesenc xmm3, xmm13
aesenc xmm3, xmm14
aesenc xmm3, xmm15
aesenc xmm3, xmm0
aesenc xmm3, xmm1
aesenclast xmm3, xmm2
movdqu xmm2, xmmword [rdx + 0x20]
pxor xmm2, xmm4
aesenc xmm2, xmm5
aesenc xmm2, xmm6
aesenc xmm2, xmm7
aesenc xmm2, xmm8
aesenc xmm2, xmm9
aesenc xmm2, xmm10
aesenc xmm2, xmm11
aesenc xmm2, xmm12
aesenc xmm2, xmm13
aesenc xmm2, xmm14
aesenc xmm2, xmm15
aesenc xmm2, xmm0
aesenc xmm2, xmm1
movdqu xmm1, xmmword [rdx + 0x30]
aesenclast xmm2, xmmword [rsp]
pxor xmm1, xmm4
aesenc xmm1, xmm5
aesenc xmm1, xmm6
aesenc xmm1, xmm7
aesenc xmm1, xmm8
aesenc xmm1, xmm9
aesenc xmm1, xmm10
aesenc xmm1, xmm11
aesenc xmm1, xmm12
aesenc xmm1, xmm13
aesenc xmm1, xmm14
aesenc xmm1, xmm15
aesenc xmm1, xmm0
movdqu xmm0, xmmword [rdx]
aesenc xmm1, xmmword [rsp + 0x10]
aesenclast xmm1, xmmword [rsp]
pxor xmm0, xmm4
aesenc xmm0, xmm5
aesenc xmm0, xmm6
aesenc xmm0, xmm7
aesenc xmm0, xmm8
aesenc xmm0, xmm9
aesenc xmm0, xmm10
aesenc xmm0, xmm11
aesenc xmm0, xmm12
aesenc xmm0, xmm13
aesenc xmm0, xmm14
aesenc xmm0, xmm15
aesenc xmm0, xmmword [rsp + 0x20]
aesenc xmm0, xmmword [rsp + 0x10]
aesenclast xmm0, xmmword [rsp]
movdqu xmmword [r8], xmm0
add r8, 0x40
movdqu xmmword [r10 + rdx + 0x10], xmm3
movdqu xmmword [r10 + rdx + 0x20], xmm2
movdqu xmmword [r10 + rdx + 0x30], xmm1
add rdx, 0x40
sub rcx, 1
jne 0x1400a9880
test r9, r9
je 0x1400a9aa8
movdqa xmm1, xmmword [rsp + 0x20]
sub rdx, r8
movdqa xmm2, xmmword [rsp + 0x10]
movdqa xmm3, xmmword [rsp]
nop
movdqu xmm0, xmmword [r8 + rdx]
lea r8, [r8 + 0x10]
pxor xmm0, xmm4
aesenc xmm0, xmm5
aesenc xmm0, xmm6
aesenc xmm0, xmm7
aesenc xmm0, xmm8
aesenc xmm0, xmm9
aesenc xmm0, xmm10
aesenc xmm0, xmm11
aesenc xmm0, xmm12
aesenc xmm0, xmm13
aesenc xmm0, xmm14
aesenc xmm0, xmm15
aesenc xmm0, xmm1
aesenc xmm0, xmm2
aesenclast xmm0, xmm3
movdqu xmmword [r8 - 0x10], xmm0
sub r9, 1
jne 0x1400a9a40
movaps xmm13, xmmword [rsp + 0x50]
lea r11, [rsp + 0xd8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm14, xmmword [rsp + 0x40]
movaps xmm15, xmmword [rsp + 0x30]
mov rsp, r11
ret