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

Disassembly:
mov rax, rsp
sub rsp, 0xc8
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 + 0x40], xmm13
movaps xmmword [rsp + 0x30], xmm14
movaps xmmword [rsp + 0x20], xmm15
movdqu xmm1, xmmword [rax + 0xb0]
movdqu xmm2, xmmword [rax + 0xc0]
movdqa xmmword [rsp + 0x10], xmm1
movdqa xmmword [rsp], xmm2
movdqu xmm5, xmmword [rax]
movdqu xmm6, xmmword [rax + 0x10]
movdqu xmm7, xmmword [rax + 0x20]
movdqu xmm8, xmmword [rax + 0x30]
movdqu xmm9, xmmword [rax + 0x40]
movdqu xmm10, xmmword [rax + 0x50]
movdqu xmm11, xmmword [rax + 0x60]
movdqu xmm12, xmmword [rax + 0x70]
movdqu xmm13, xmmword [rax + 0x80]
movdqu xmm14, xmmword [rax + 0x90]
movdqu xmm15, xmmword [rax + 0xa0]
cmp r9, 4
jb 0x18015737d
mov rcx, r9
shr rcx, 2
imul rax, rcx, 0xfffffffffffffffc
add r9, rax
nop dword [rax + rax]
movdqu xmm0, xmmword [rdx]
movdqu xmm2, xmmword [rdx + 0x10]
movdqu xmm3, xmmword [rdx + 0x20]
movdqu xmm4, xmmword [rdx + 0x30]
add rdx, 0x40
xorps xmm2, xmm5
xorps xmm3, xmm5
aesenc xmm2, xmm6
xorps xmm4, xmm5
movdqa xmm1, xmm5
xorps xmm1, xmm0
movdqa xmm0, xmmword [rsp + 0x10]
aesenc xmm2, xmm7
aesenc xmm1, xmm6
aesenc xmm3, xmm6
aesenc xmm4, xmm6
aesenc xmm2, xmm8
aesenc xmm1, xmm7
aesenc xmm3, xmm7
aesenc xmm4, xmm7
aesenc xmm2, xmm9
aesenc xmm1, xmm8
aesenc xmm3, xmm8
aesenc xmm4, xmm8
aesenc xmm2, xmm10
aesenc xmm1, xmm9
aesenc xmm3, xmm9
aesenc xmm4, xmm9
aesenc xmm2, xmm11
aesenc xmm1, xmm10
aesenc xmm3, xmm10
aesenc xmm4, xmm10
aesenc xmm2, xmm12
aesenc xmm1, xmm11
aesenc xmm3, xmm11
aesenc xmm4, xmm11
aesenc xmm2, xmm13
aesenc xmm1, xmm12
aesenc xmm3, xmm12
aesenc xmm4, xmm12
aesenc xmm2, xmm14
aesenc xmm1, xmm13
aesenc xmm3, xmm13
aesenc xmm4, xmm13
aesenc xmm2, xmm15
aesenc xmm1, xmm14
aesenc xmm3, xmm14
aesenc xmm4, xmm14
aesenc xmm2, xmm0
aesenclast xmm2, xmmword [rsp]
aesenc xmm1, xmm15
aesenc xmm3, xmm15
aesenc xmm4, xmm15
movdqu xmmword [r8 + 0x10], xmm2
movdqa xmm2, xmmword [rsp]
aesenc xmm1, xmm0
aesenclast xmm1, xmmword [rsp]
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenclast xmm3, xmm2
aesenclast xmm4, xmm2
movdqu xmmword [r8 + 0x20], xmm3
movdqu xmmword [r8 + 0x30], xmm4
movdqu xmmword [r8], xmm1
add r8, 0x40
sub rcx, 1
jne 0x180157210
movdqa xmm1, xmm0
test r9, r9
je 0x1801573ed
sub rdx, r8
nop word [rax + rax]
movdqu xmm0, xmmword [rdx + r8]
lea r8, [r8 + 0x10]
xorps 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
aesenclast xmm0, xmm2
movdqu xmmword [r8 - 0x10], xmm0
sub r9, 1
jne 0x180157390
movaps xmm13, xmmword [rsp + 0x40]
lea r11, [rsp + 0xc8]
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 + 0x30]
movaps xmm15, xmmword [rsp + 0x20]
mov rsp, r11
ret