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

Disassembly:
mov rax, rsp
sub rsp, 0xe8
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 + 0x60], xmm13
movaps xmmword [rsp + 0x50], xmm14
movaps xmmword [rsp + 0x40], xmm15
movdqu xmm2, xmmword [rax + 0xb0]
movdqu xmm3, xmmword [rax + 0xc0]
movdqa xmmword [rsp + 0x30], xmm2
movdqa xmmword [rsp + 0x20], xmm3
movdqu xmm1, xmmword [rax + 0xd0]
movdqu xmm4, xmmword [rax + 0xe0]
movdqa xmmword [rsp], xmm1
movdqa xmmword [rsp + 0x10], xmm4
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 0x180157e56
mov rcx, r9
shr rcx, 2
imul rax, rcx, 0xfffffffffffffffc
add r9, rax
nop word [rax + rax]
movdqu xmm0, xmmword [rdx]
movdqu xmm2, xmmword [rdx + 0x10]
movdqu xmm3, xmmword [rdx + 0x20]
movdqu xmm4, xmmword [rdx + 0x30]
add rdx, 0x40
movdqa xmm1, xmm5
xorps xmm1, xmm0
movdqa xmm0, xmm5
xorps xmm0, xmm2
movdqa xmm2, xmmword [rsp + 0x30]
aesenc xmm1, xmm6
aesenc xmm1, xmm7
aesenc xmm0, xmm6
aesenc xmm1, xmm8
aesenc xmm0, xmm7
aesenc xmm1, xmm9
aesenc xmm0, xmm8
aesenc xmm1, xmm10
aesenc xmm0, xmm9
aesenc xmm1, xmm11
aesenc xmm0, xmm10
aesenc xmm1, xmm12
aesenc xmm0, xmm11
aesenc xmm1, xmm13
aesenc xmm0, xmm12
aesenc xmm1, xmm14
aesenc xmm0, xmm13
aesenc xmm1, xmm15
aesenc xmm1, xmmword [rsp + 0x30]
aesenc xmm1, xmmword [rsp + 0x20]
aesenc xmm1, xmmword [rsp]
aesenclast xmm1, xmmword [rsp + 0x10]
aesenc xmm0, xmm14
aesenc xmm0, xmm15
aesenc xmm0, xmm2
aesenc xmm0, xmmword [rsp + 0x20]
aesenc xmm0, xmmword [rsp]
aesenclast xmm0, xmmword [rsp + 0x10]
movdqu xmmword [r8], xmm1
movdqu xmmword [r8 + 0x10], xmm0
movdqa xmm1, xmm5
movdqa xmm0, xmm5
xorps xmm1, xmm3
xorps xmm0, xmm4
movdqa xmm3, xmmword [rsp + 0x20]
movdqa xmm4, xmmword [rsp + 0x10]
aesenc xmm1, xmm6
aesenc xmm1, xmm7
aesenc xmm0, xmm6
aesenc xmm1, xmm8
aesenc xmm0, xmm7
aesenc xmm1, xmm9
aesenc xmm0, xmm8
aesenc xmm1, xmm10
aesenc xmm0, xmm9
aesenc xmm1, xmm11
aesenc xmm0, xmm10
aesenc xmm1, xmm12
aesenc xmm0, xmm11
aesenc xmm1, xmm13
aesenc xmm0, xmm12
aesenc xmm1, xmm14
aesenc xmm0, xmm13
aesenc xmm1, xmm15
aesenc xmm0, xmm14
aesenc xmm1, xmm2
aesenc xmm0, xmm15
aesenc xmm1, xmm3
aesenc xmm1, xmmword [rsp]
aesenclast xmm1, xmmword [rsp + 0x10]
aesenc xmm0, xmm2
movdqu xmmword [r8 + 0x20], xmm1
movdqa xmm1, xmmword [rsp]
aesenc xmm0, xmm3
aesenc xmm0, xmm1
aesenclast xmm0, xmm4
movdqu xmmword [r8 + 0x30], xmm0
add r8, 0x40
sub rcx, 1
jne 0x180157ca0
test r9, r9
je 0x180157ec7
sub rdx, r8
nop
movdqu xmm0, xmmword [r8 + rdx]
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, xmm2
aesenc xmm0, xmm3
aesenc xmm0, xmm1
aesenclast xmm0, xmm4
movdqu xmmword [r8 - 0x10], xmm0
sub r9, 1
jne 0x180157e60
movaps xmm13, xmmword [rsp + 0x60]
lea r11, [rsp + 0xe8]
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 + 0x50]
movaps xmm15, xmmword [rsp + 0x40]
mov rsp, r11
ret