Function at 0x180157f10
Capabilities:
Decrypt data using aes via x86 extensions
Encode data using xor

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 + 0x20]
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 0x1801581a6
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]
aesdec xmm1, xmm6
aesdec xmm1, xmm7
aesdec xmm0, xmm6
aesdec xmm1, xmm8
aesdec xmm0, xmm7
aesdec xmm1, xmm9
aesdec xmm0, xmm8
aesdec xmm1, xmm10
aesdec xmm0, xmm9
aesdec xmm1, xmm11
aesdec xmm0, xmm10
aesdec xmm1, xmm12
aesdec xmm0, xmm11
aesdec xmm1, xmm13
aesdec xmm0, xmm12
aesdec xmm1, xmm14
aesdec xmm0, xmm13
aesdec xmm1, xmm15
aesdec xmm1, xmmword [rsp + 0x30]
aesdec xmm1, xmmword [rsp + 0x20]
aesdec xmm1, xmmword [rsp]
aesdeclast xmm1, xmmword [rsp + 0x10]
aesdec xmm0, xmm14
aesdec xmm0, xmm15
aesdec xmm0, xmm2
aesdec xmm0, xmmword [rsp + 0x20]
aesdec xmm0, xmmword [rsp]
aesdeclast 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]
aesdec xmm1, xmm6
aesdec xmm1, xmm7
aesdec xmm0, xmm6
aesdec xmm1, xmm8
aesdec xmm0, xmm7
aesdec xmm1, xmm9
aesdec xmm0, xmm8
aesdec xmm1, xmm10
aesdec xmm0, xmm9
aesdec xmm1, xmm11
aesdec xmm0, xmm10
aesdec xmm1, xmm12
aesdec xmm0, xmm11
aesdec xmm1, xmm13
aesdec xmm0, xmm12
aesdec xmm1, xmm14
aesdec xmm0, xmm13
aesdec xmm1, xmm15
aesdec xmm0, xmm14
aesdec xmm1, xmm2
aesdec xmm0, xmm15
aesdec xmm1, xmm3
aesdec xmm1, xmmword [rsp]
aesdeclast xmm1, xmmword [rsp + 0x10]
aesdec xmm0, xmm2
movdqu xmmword [r8 + 0x20], xmm1
movdqa xmm1, xmmword [rsp]
aesdec xmm0, xmm3
aesdec xmm0, xmm1
aesdeclast xmm0, xmm4
movdqu xmmword [r8 + 0x30], xmm0
add r8, 0x40
sub rcx, 1
jne 0x180157ff0
test r9, r9
je 0x180158217
sub rdx, r8
nop
movdqu xmm0, xmmword [r8 + rdx]
lea r8, [r8 + 0x10]
xorps xmm0, xmm5
aesdec xmm0, xmm6
aesdec xmm0, xmm7
aesdec xmm0, xmm8
aesdec xmm0, xmm9
aesdec xmm0, xmm10
aesdec xmm0, xmm11
aesdec xmm0, xmm12
aesdec xmm0, xmm13
aesdec xmm0, xmm14
aesdec xmm0, xmm15
aesdec xmm0, xmm2
aesdec xmm0, xmm3
aesdec xmm0, xmm1
aesdeclast xmm0, xmm4
movdqu xmmword [r8 - 0x10], xmm0
sub r9, 1
jne 0x1801581b0
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