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

Disassembly:
sub rsp, 0xc8
movaps xmmword [rsp + 0x20], xmm6
movaps xmmword [rsp + 0x30], xmm7
movaps xmmword [rsp + 0x40], xmm8
movaps xmmword [rsp + 0x50], xmm9
movaps xmmword [rsp + 0x60], xmm10
movaps xmmword [rsp + 0x70], xmm11
movaps xmmword [rsp + 0x80], xmm12
movaps xmmword [rsp + 0x90], xmm13
movaps xmmword [rsp + 0xa0], xmm14
movaps xmmword [rsp + 0xb0], xmm15
movdqa xmm15, xmmword [rdx + 0x20]
movdqa xmm2, xmmword [rdx + 0x30]
movdqa xmm3, xmm15
movdqa xmm8, xmmword [rdx + 0x40]
pslldq xmm3, 4
aeskeygenassist xmm1, xmm2, 1
pshufd xmm1, xmm1, 0xff
movdqa xmm7, xmmword [rdx + 0x50]
movdqa xmm6, xmmword [rdx + 0x60]
movdqa xmm0, xmm3
pslldq xmm0, 4
movdqa xmm5, xmmword [rdx + 0x70]
lea rax, [rcx + 0x200000]
movdqa xmm9, xmm0
pxor xmm0, xmm3
movdqa xmm3, xmm2
pslldq xmm3, 4
pslldq xmm9, 4
pxor xmm9, xmm1
pxor xmm9, xmm0
movdqa xmm0, xmm3
pxor xmm9, xmm15
pslldq xmm0, 4
aeskeygenassist xmm1, xmm9, 0
pshufd xmm1, xmm1, 0xaa
movdqa xmm10, xmm0
pxor xmm0, xmm3
movdqa xmm3, xmm9
pslldq xmm3, 4
pslldq xmm10, 4
pxor xmm10, xmm1
pxor xmm10, xmm0
movdqa xmm0, xmm3
pxor xmm10, xmm2
pslldq xmm0, 4
aeskeygenassist xmm1, xmm10, 2
pshufd xmm1, xmm1, 0xff
movdqa xmm11, xmm0
pxor xmm0, xmm3
movdqa xmm3, xmm10
pslldq xmm3, 4
pslldq xmm11, 4
pxor xmm11, xmm1
pxor xmm11, xmm0
movdqa xmm0, xmm3
pxor xmm11, xmm9
pslldq xmm0, 4
movdqa xmm13, xmm11
aeskeygenassist xmm1, xmm11, 0
pshufd xmm1, xmm1, 0xaa
movdqa xmm12, xmm0
pslldq xmm13, 4
pxor xmm0, xmm3
pslldq xmm12, 4
pxor xmm12, xmm1
pxor xmm12, xmm0
pxor xmm12, xmm10
aeskeygenassist xmm0, xmm12, 4
pshufd xmm3, xmm0, 0xff
movdqa xmm0, xmm13
pslldq xmm0, 4
movdqa xmm1, xmm0
pxor xmm13, xmm0
pslldq xmm1, 4
movdqa xmm0, xmm1
pxor xmm0, xmm3
movdqa xmm3, xmm12
pxor xmm13, xmm0
pxor xmm13, xmm11
pslldq xmm3, 4
movdqa xmm4, xmm13
aeskeygenassist xmm1, xmm13, 0
pshufd xmm1, xmm1, 0xaa
movdqa xmm0, xmm3
pslldq xmm4, 4
pslldq xmm0, 4
movdqa xmm14, xmm0
pxor xmm0, xmm3
pslldq xmm14, 4
pxor xmm14, xmm1
movdqa xmm1, xmm4
pxor xmm14, xmm0
pxor xmm14, xmm12
pslldq xmm1, 4
aeskeygenassist xmm0, xmm14, 8
pshufd xmm3, xmm0, 0xff
movdqa xmm0, xmm1
pxor xmm1, xmm4
movdqa xmm4, xmm14
pslldq xmm4, 4
pslldq xmm0, 4
pxor xmm0, xmm3
pxor xmm0, xmm1
movdqa xmm1, xmm4
pxor xmm0, xmm13
pslldq xmm1, 4
movaps xmmword [rsp], xmm0
aeskeygenassist xmm0, xmm0, 0
pshufd xmm3, xmm0, 0xaa
movdqa xmm0, xmm1
pxor xmm1, xmm4
movdqa xmm4, xmmword [rdx + 0x80]
pslldq xmm0, 4
pxor xmm0, xmm3
movdqa xmm3, xmmword [rdx + 0x90]
pxor xmm0, xmm1
pxor xmm0, xmm14
movdqa xmm1, xmmword [rdx + 0xa0]
movaps xmmword [rsp + 0x10], xmm0
movdqa xmm0, xmmword [rdx + 0xb0]
nop
pxor xmm8, xmmword [rcx]
pxor xmm7, xmmword [rcx + 0x10]
pxor xmm6, xmmword [rcx + 0x20]
pxor xmm5, xmmword [rcx + 0x30]
pxor xmm4, xmmword [rcx + 0x40]
pxor xmm3, xmmword [rcx + 0x50]
pxor xmm1, xmmword [rcx + 0x60]
pxor xmm0, xmmword [rcx + 0x70]
sub rcx, 0xffffffffffffff80
aesenc xmm8, xmm15
aesenc xmm7, xmm15
aesenc xmm6, xmm15
cmp rax, rcx
aesenc xmm5, xmm15
aesenc xmm4, xmm15
aesenc xmm3, xmm15
aesenc xmm1, xmm15
aesenc xmm0, xmm15
aesenc xmm8, xmm2
aesenc xmm7, xmm2
aesenc xmm6, xmm2
aesenc xmm5, xmm2
aesenc xmm4, xmm2
aesenc xmm3, xmm2
aesenc xmm1, xmm2
aesenc xmm0, xmm2
aesenc xmm8, xmm9
aesenc xmm7, xmm9
aesenc xmm6, xmm9
aesenc xmm5, xmm9
aesenc xmm4, xmm9
aesenc xmm3, xmm9
aesenc xmm1, xmm9
aesenc xmm0, xmm9
aesenc xmm8, xmm10
aesenc xmm7, xmm10
aesenc xmm6, xmm10
aesenc xmm5, xmm10
aesenc xmm4, xmm10
aesenc xmm3, xmm10
aesenc xmm1, xmm10
aesenc xmm0, xmm10
aesenc xmm8, xmm11
aesenc xmm7, xmm11
aesenc xmm6, xmm11
aesenc xmm5, xmm11
aesenc xmm4, xmm11
aesenc xmm3, xmm11
aesenc xmm1, xmm11
aesenc xmm0, xmm11
aesenc xmm8, xmm12
aesenc xmm7, xmm12
aesenc xmm6, xmm12
aesenc xmm5, xmm12
aesenc xmm4, xmm12
aesenc xmm3, xmm12
aesenc xmm1, xmm12
aesenc xmm0, xmm12
aesenc xmm8, xmm13
aesenc xmm7, xmm13
aesenc xmm6, xmm13
aesenc xmm5, xmm13
aesenc xmm4, xmm13
aesenc xmm3, xmm13
aesenc xmm1, xmm13
aesenc xmm0, xmm13
aesenc xmm8, xmm14
aesenc xmm7, xmm14
aesenc xmm6, xmm14
aesenc xmm5, xmm14
aesenc xmm4, xmm14
aesenc xmm3, xmm14
aesenc xmm1, xmm14
aesenc xmm0, xmm14
aesenc xmm8, xmmword [rsp]
aesenc xmm7, xmmword [rsp]
aesenc xmm6, xmmword [rsp]
aesenc xmm5, xmmword [rsp]
aesenc xmm4, xmmword [rsp]
aesenc xmm3, xmmword [rsp]
aesenc xmm1, xmmword [rsp]
aesenc xmm0, xmmword [rsp]
aesenc xmm8, xmmword [rsp + 0x10]
aesenc xmm7, xmmword [rsp + 0x10]
aesenc xmm6, xmmword [rsp + 0x10]
aesenc xmm5, xmmword [rsp + 0x10]
aesenc xmm4, xmmword [rsp + 0x10]
aesenc xmm3, xmmword [rsp + 0x10]
aesenc xmm1, xmmword [rsp + 0x10]
aesenc xmm0, xmmword [rsp + 0x10]
jne 0x679c60
movaps xmmword [rdx + 0x40], xmm8
movaps xmm9, xmmword [rsp + 0x50]
movaps xmmword [rdx + 0x50], xmm7
movaps xmm8, xmmword [rsp + 0x40]
movaps xmmword [rdx + 0x60], xmm6
movaps xmm7, xmmword [rsp + 0x30]
movaps xmm6, xmmword [rsp + 0x20]
movaps xmmword [rdx + 0x70], xmm5
movaps xmm10, xmmword [rsp + 0x60]
movaps xmmword [rdx + 0x80], xmm4
movaps xmm11, xmmword [rsp + 0x70]
movaps xmmword [rdx + 0x90], xmm3
movaps xmm12, xmmword [rsp + 0x80]
movaps xmmword [rdx + 0xa0], xmm1
movaps xmm13, xmmword [rsp + 0x90]
movaps xmmword [rdx + 0xb0], xmm0
movaps xmm14, xmmword [rsp + 0xa0]
movaps xmm15, xmmword [rsp + 0xb0]
add rsp, 0xc8
ret