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

Disassembly:
mov rax, rsp
sub rsp, 0xb8
movdqa xmm2, xmmword [rdx + 0x30]
movdqa xmm1, xmmword [rdx + 0x20]
pslldq xmm1, 4
movdqa xmm0, xmm1
movaps xmmword [rax - 0x18], xmm6
pxor xmm0, xmmword [rdx + 0x20]
pslldq xmm1, 4
movaps xmmword [rax - 0x28], xmm7
movaps xmmword [rax - 0x38], xmm8
movaps xmmword [rax - 0x48], xmm9
movdqa xmm9, xmm1
pslldq xmm1, 4
pxor xmm9, xmm0
pxor xmm9, xmm1
movaps xmmword [rax - 0x58], xmm10
movaps xmmword [rax - 0x68], xmm11
movaps xmmword [rax - 0x78], xmm12
movaps xmmword [rsp + 0x30], xmm13
aeskeygenassist xmm0, xmm2, 1
pshufd xmm1, xmm0, 0xff
pxor xmm9, xmm1
movaps xmmword [rsp + 0x20], xmm14
movdqa xmm1, xmm2
movaps xmmword [rsp + 0x10], xmm15
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
movdqa xmm10, xmm1
pxor xmm0, xmm2
pslldq xmm1, 4
pxor xmm10, xmm0
pxor xmm10, xmm1
aeskeygenassist xmm0, xmm9, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm10, xmm1
movdqa xmm1, xmm9
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
movdqa xmm11, xmm1
pxor xmm0, xmm9
pslldq xmm1, 4
pxor xmm11, xmm0
pxor xmm11, xmm1
aeskeygenassist xmm0, xmm10, 2
pshufd xmm1, xmm0, 0xff
pxor xmm11, xmm1
movdqa xmm1, xmm10
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
movdqa xmm12, xmm1
pxor xmm0, xmm10
pslldq xmm1, 4
pxor xmm12, xmm0
pxor xmm12, xmm1
aeskeygenassist xmm0, xmm11, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm12, xmm1
movdqa xmm1, xmm11
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
movdqa xmm13, xmm1
pxor xmm0, xmm11
pxor xmm13, xmm0
pslldq xmm1, 4
pxor xmm13, xmm1
aeskeygenassist xmm0, xmm12, 4
pshufd xmm1, xmm0, 0xff
pxor xmm13, xmm1
movdqa xmm1, xmm12
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
movdqa xmm14, xmm1
pxor xmm0, xmm12
pxor xmm14, xmm0
pslldq xmm1, 4
pxor xmm14, xmm1
aeskeygenassist xmm0, xmm13, 0
movdqa xmm3, xmmword [rdx + 0x60]
add rcx, 0x20
movdqa xmm4, xmmword [rdx + 0x70]
mov eax, 0x4000
movdqa xmm5, xmmword [rdx + 0x80]
movdqa xmm6, xmmword [rdx + 0x90]
movdqa xmm7, xmmword [rdx + 0xa0]
movdqa xmm8, xmmword [rdx + 0xb0]
pshufd xmm1, xmm0, 0xaa
pxor xmm14, xmm1
movdqa xmm1, xmm13
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
movdqa xmm15, xmm1
pxor xmm0, xmm13
pslldq xmm1, 4
pxor xmm15, xmm0
pxor xmm15, xmm1
aeskeygenassist xmm0, xmm14, 8
pshufd xmm1, xmm0, 0xff
pxor xmm15, xmm1
movdqa xmm1, xmm14
pslldq xmm1, 4
movdqa xmm0, xmm1
pslldq xmm1, 4
movdqa xmm2, xmm1
pxor xmm0, xmm14
pxor xmm2, xmm0
pslldq xmm1, 4
pxor xmm2, xmm1
aeskeygenassist xmm0, xmm15, 0
pshufd xmm1, xmm0, 0xaa
pxor xmm2, xmm1
movdqa xmm1, xmmword [rdx + 0x40]
movdqa xmmword [rsp], xmm2
movdqa xmm2, xmmword [rdx + 0x50]
nop word [rax + rax]
movdqa xmm0, xmmword [rcx - 0x20]
pxor xmm0, xmm1
movdqa xmm1, xmm0
movdqa xmm0, xmmword [rcx - 0x10]
aesenc xmm1, xmmword [rdx + 0x20]
aesenc xmm1, xmmword [rdx + 0x30]
pxor xmm0, xmm2
movdqa xmm2, xmm0
movdqa xmm0, xmmword [rcx]
aesenc xmm2, xmmword [rdx + 0x20]
aesenc xmm2, xmmword [rdx + 0x30]
pxor xmm0, xmm3
movdqa xmm3, xmm0
movdqa xmm0, xmmword [rcx + 0x10]
aesenc xmm3, xmmword [rdx + 0x20]
aesenc xmm3, xmmword [rdx + 0x30]
pxor xmm0, xmm4
movdqa xmm4, xmm0
movdqa xmm0, xmmword [rcx + 0x20]
aesenc xmm4, xmmword [rdx + 0x20]
aesenc xmm4, xmmword [rdx + 0x30]
pxor xmm0, xmm5
aesenc xmm1, xmm9
aesenc xmm2, xmm9
aesenc xmm3, xmm9
aesenc xmm4, xmm9
aesenc xmm1, xmm10
aesenc xmm2, xmm10
aesenc xmm3, xmm10
aesenc xmm4, xmm10
movdqa xmm5, xmm0
movdqa xmm0, xmmword [rcx + 0x30]
aesenc xmm5, xmmword [rdx + 0x20]
aesenc xmm5, xmmword [rdx + 0x30]
pxor xmm0, xmm6
aesenc xmm5, xmm9
aesenc xmm5, xmm10
aesenc xmm1, xmm11
aesenc xmm2, xmm11
aesenc xmm3, xmm11
aesenc xmm4, xmm11
aesenc xmm5, xmm11
aesenc xmm1, xmm12
aesenc xmm2, xmm12
aesenc xmm3, xmm12
aesenc xmm4, xmm12
aesenc xmm5, xmm12
movdqa xmm6, xmm0
movdqa xmm0, xmmword [rcx + 0x40]
aesenc xmm6, xmmword [rdx + 0x20]
aesenc xmm6, xmmword [rdx + 0x30]
aesenc xmm6, xmm9
aesenc xmm6, xmm10
aesenc xmm6, xmm11
aesenc xmm6, xmm12
aesenc xmm6, xmm13
aesenc xmm1, xmm13
aesenc xmm2, xmm13
aesenc xmm3, xmm13
aesenc xmm4, xmm13
aesenc xmm5, xmm13
aesenc xmm6, xmm14
aesenc xmm1, xmm14
aesenc xmm2, xmm14
aesenc xmm3, xmm14
aesenc xmm4, xmm14
aesenc xmm5, xmm14
aesenc xmm6, xmm15
aesenc xmm6, xmmword [rsp]
aesenc xmm1, xmm15
aesenc xmm1, xmmword [rsp]
aesenc xmm2, xmm15
aesenc xmm2, xmmword [rsp]
aesenc xmm3, xmm15
aesenc xmm3, xmmword [rsp]
aesenc xmm4, xmm15
aesenc xmm4, xmmword [rsp]
aesenc xmm5, xmm15
aesenc xmm5, xmmword [rsp]
pxor xmm0, xmm7
movdqa xmm7, xmm0
movdqa xmm0, xmmword [rcx + 0x50]
lea rcx, [rcx + 0x80]
pxor xmm0, xmm8
movdqa xmm8, xmm0
aesenc xmm8, xmmword [rdx + 0x20]
aesenc xmm7, xmmword [rdx + 0x20]
aesenc xmm8, xmmword [rdx + 0x30]
aesenc xmm7, xmmword [rdx + 0x30]
aesenc xmm8, xmm9
aesenc xmm7, xmm9
aesenc xmm8, xmm10
aesenc xmm7, xmm10
aesenc xmm8, xmm11
aesenc xmm7, xmm11
aesenc xmm8, xmm12
aesenc xmm7, xmm12
aesenc xmm8, xmm13
aesenc xmm7, xmm13
aesenc xmm8, xmm14
aesenc xmm7, xmm14
aesenc xmm8, xmm15
aesenc xmm8, xmmword [rsp]
aesenc xmm7, xmm15
aesenc xmm7, xmmword [rsp]
sub rax, 1
jne 0x140171dc0
movaps xmm13, xmmword [rsp + 0x30]
lea r11, [rsp + 0xb8]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
movaps xmm11, xmmword [r11 - 0x68]
movaps xmm12, xmmword [r11 - 0x78]
movaps xmm14, xmmword [rsp + 0x20]
movaps xmm15, xmmword [rsp + 0x10]
movdqa xmmword [rdx + 0x40], xmm1
movdqa xmmword [rdx + 0x50], xmm2
movdqa xmmword [rdx + 0x60], xmm3
movdqa xmmword [rdx + 0x70], xmm4
movdqa xmmword [rdx + 0x80], xmm5
movdqa xmmword [rdx + 0x90], xmm6
movaps xmm6, xmmword [r11 - 0x18]
movdqa xmmword [rdx + 0xa0], xmm7
movaps xmm7, xmmword [r11 - 0x28]
movdqa xmmword [rdx + 0xb0], xmm8
movaps xmm8, xmmword [r11 - 0x38]
mov rsp, r11
ret