Function at 0x1402a7780
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 xmm1, xmmword [rax + 0xc0]
movdqu xmm2, xmmword [rax + 0xd0]
movdqa xmmword [rsp + 0x10], xmm1
movdqa xmmword [rsp + 0x20], xmm2
movdqu xmm3, xmmword [rax + 0xe0]
movdqu xmm4, xmmword [rax]
movdqa xmmword [rsp], xmm3
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 0x1402a7a03
mov rcx, r9
shr rcx, 2
imul rax, rcx, 0xfffffffffffffffc
add r9, rax
nop dword [rax]
nop word [rax + rax]
movdqu xmm0, xmmword [rdx]
movdqa xmm3, xmm4
xorps xmm3, xmm0
movdqu xmm0, xmmword [rdx + 0x30]
aesenc xmm3, xmm5
xorps xmm0, xmm4
aesenc xmm3, xmm6
aesenc xmm0, xmm5
aesenc xmm3, xmm7
aesenc xmm0, xmm6
aesenc xmm3, xmm8
aesenc xmm0, xmm7
aesenc xmm3, xmm9
aesenc xmm0, xmm8
aesenc xmm3, xmm10
aesenc xmm0, xmm9
aesenc xmm3, xmm11
aesenc xmm0, xmm10
aesenc xmm3, xmm12
aesenc xmm0, xmm11
aesenc xmm3, xmm13
aesenc xmm0, xmm12
aesenc xmm3, xmm14
aesenc xmm0, xmm13
aesenc xmm3, xmm15
aesenc xmm3, xmm1
aesenc xmm3, xmm2
movdqu xmm2, xmmword [rdx + 0x10]
aesenclast xmm3, xmmword [rsp]
xorps 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, xmm1
movdqu xmm1, xmmword [rdx + 0x20]
add rdx, 0x40
aesenc xmm2, xmmword [rsp + 0x20]
aesenclast xmm2, xmmword [rsp]
xorps 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 xmm0, xmm14
aesenc xmm1, xmm15
aesenc xmm1, xmmword [rsp + 0x10]
aesenc xmm1, xmmword [rsp + 0x20]
aesenclast xmm1, xmmword [rsp]
aesenc xmm0, xmm15
aesenc xmm0, xmmword [rsp + 0x10]
aesenc xmm0, xmmword [rsp + 0x20]
aesenclast xmm0, xmmword [rsp]
movdqu xmmword [r8 + 0x20], xmm1
movdqa xmm1, xmmword [rsp + 0x10]
movdqu xmmword [r8 + 0x10], xmm2
movdqa xmm2, xmmword [rsp + 0x20]
movdqu xmmword [r8], xmm3
movdqu xmmword [r8 + 0x30], xmm0
add r8, 0x40
sub rcx, 1
jne 0x1402a7860
movdqa xmm3, xmmword [rsp]
test r9, r9
je 0x1402a7a77
sub rdx, r8
nop dword [rax + rax]
movdqu xmm0, xmmword [r8 + rdx]
lea r8, [r8 + 0x10]
xorps 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 0x1402a7a10
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