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

Disassembly:
sub rsp, 0xe8
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x50], xmm7
movaps xmmword [rsp + 0x60], xmm8
movaps xmmword [rsp + 0x70], xmm9
movaps xmmword [rsp + 0x80], xmm10
movaps xmmword [rsp + 0x90], xmm11
movaps xmmword [rsp + 0xa0], xmm12
movaps xmmword [rsp + 0xb0], xmm13
movaps xmmword [rsp + 0xc0], xmm14
movaps xmmword [rsp + 0xd0], xmm15
movdqa xmm9, xmmword [rdx + 0x20]
movdqa xmm13, xmmword [rdx + 0x30]
movdqa xmm0, xmm9
pslldq xmm0, 4
aeskeygenassist xmm14, xmm13, 1
movdqa xmm5, xmm13
mov eax, dword [r8 + 4]
movdqa xmm2, xmm0
pslldq xmm5, 4
pshufd xmm1, xmm14, 0xff
pslldq xmm2, 4
movdqa xmm15, xmm5
movdqa xmm14, xmm2
pslldq xmm14, 4
pslldq xmm15, 4
pxor xmm0, xmm2
pxor xmm14, xmm1
pxor xmm14, xmm0
movdqa xmm0, xmm15
pxor xmm14, xmm9
pslldq xmm0, 4
pxor xmm15, xmm5
aeskeygenassist xmm3, xmm14, 0
movdqa xmm6, xmm0
movdqa xmm8, xmm14
pshufd xmm4, xmm3, 0xaa
pslldq xmm8, 4
pxor xmm6, xmm4
pxor xmm15, xmm6
movdqa xmm10, xmm8
pxor xmm15, xmm13
pslldq xmm10, 4
aeskeygenassist xmm12, xmm15, 2
movdqa xmm2, xmm15
pshufd xmm7, xmm12, 0xff
movdqa xmm12, xmm10
pxor xmm8, xmm10
pslldq xmm12, 4
pslldq xmm2, 4
pxor xmm12, xmm7
pxor xmm12, xmm8
movdqa xmm3, xmm2
pxor xmm12, xmm14
aeskeygenassist xmm11, xmm12, 0
pslldq xmm3, 4
movdqa xmm6, xmm12
pshufd xmm1, xmm11, 0xaa
pslldq xmm6, 4
movdqa xmm11, xmm3
pslldq xmm11, 4
pxor xmm3, xmm2
movdqa xmm0, xmm6
pxor xmm11, xmm1
pslldq xmm0, 4
pxor xmm11, xmm3
pxor xmm11, xmm15
movdqa xmm10, xmm0
pxor xmm0, xmm6
aeskeygenassist xmm4, xmm11, 4
pslldq xmm10, 4
movdqa xmm1, xmm11
pshufd xmm5, xmm4, 0xff
pslldq xmm1, 4
pxor xmm10, xmm5
pxor xmm10, xmm0
movdqa xmm3, xmm1
pxor xmm10, xmm12
pslldq xmm3, 4
aeskeygenassist xmm7, xmm10, 0
movdqa xmm6, xmm10
movdqa xmm2, xmm3
pshufd xmm8, xmm7, 0xaa
pxor xmm3, xmm1
pslldq xmm2, 4
pslldq xmm6, 4
pxor xmm2, xmm8
pxor xmm2, xmm3
movdqa xmm7, xmm6
pxor xmm2, xmm11
pslldq xmm7, 4
aeskeygenassist xmm4, xmm2, 8
movdqa xmm0, xmm7
pshufd xmm5, xmm4, 0xff
pslldq xmm0, 4
movdqa xmm4, xmm2
pxor xmm7, xmm6
pslldq xmm4, 4
pxor xmm0, xmm5
movdqa xmm6, xmmword [rdx + 0x40]
pxor xmm0, xmm7
movdqa xmm5, xmm4
movdqa xmm7, xmmword [rdx + 0x60]
pxor xmm0, xmm10
pslldq xmm5, 4
aeskeygenassist xmm8, xmm0, 0
movaps xmmword [rsp + 0x10], xmm0
movdqa xmm0, xmmword [rdx + 0xb0]
movdqa xmm1, xmm5
pshufd xmm3, xmm8, 0xaa
pxor xmm5, xmm4
movaps xmmword [rsp], xmm6
pslldq xmm1, 4
movdqa xmm8, xmmword [rdx + 0x50]
movdqa xmm4, xmmword [rdx + 0x80]
pxor xmm1, xmm3
pxor xmm5, xmm1
movdqa xmm3, xmmword [rdx + 0x90]
movdqa xmm1, xmmword [rdx + 0xa0]
pxor xmm5, xmm2
movaps xmmword [rsp + 0x20], xmm5
movdqa xmm5, xmmword [rdx + 0x70]
test eax, eax
je 0x6e5539
mov r8, qword [r8 + 0x10]
movdqa xmm6, xmm9
lea r10, [rcx + 0x100]
shr r8, 4
mov r9, r8
je 0x6e5539
movdqa xmm9, xmm15
movaps xmmword [rsp + 0x30], xmm2
sub r9, 1
movdqa xmm15, xmm14
movdqa xmm14, xmm13
shr r9, 3
shl r9, 7
movdqa xmm13, xmm6
lea r11, [rcx + r9 + 0x180]
mov rcx, r10
nop dword [rax]
nop word cs:[rax + rax]
pxor xmm8, xmmword [rcx - 0xf0]
pxor xmm7, xmmword [rcx - 0xe0]
prefetcht0 byte [rcx]
prefetcht0 byte [rcx + 0x10]
pxor xmm5, xmmword [rcx - 0xd0]
pxor xmm4, xmmword [rcx - 0xc0]
sub rcx, 0xffffffffffffff80
pxor xmm3, xmmword [rcx - 0x130]
movdqa xmm6, xmmword [rsp]
aesenc xmm8, xmm13
aesenc xmm7, xmm13
pxor xmm6, xmmword [rcx - 0x180]
pxor xmm1, xmmword [rcx - 0x120]
aesenc xmm5, xmm13
pxor xmm0, xmmword [rcx - 0x110]
aesenc xmm4, xmm13
aesenc xmm3, xmm13
movdqa xmm2, xmmword [rsp + 0x30]
aesenc xmm6, xmm13
aesenc xmm1, xmm13
aesenc xmm8, xmm14
aesenc xmm0, xmm13
aesenc xmm6, xmm14
aesenc xmm7, xmm14
aesenc xmm5, xmm14
aesenc xmm4, xmm14
aesenc xmm3, xmm14
aesenc xmm1, xmm14
aesenc xmm0, xmm14
aesenc xmm6, xmm15
aesenc xmm8, xmm15
aesenc xmm7, xmm15
aesenc xmm5, xmm15
aesenc xmm4, xmm15
aesenc xmm3, xmm15
aesenc xmm1, xmm15
aesenc xmm0, xmm15
aesenc xmm6, xmm9
aesenc xmm8, xmm9
aesenc xmm7, xmm9
aesenc xmm5, xmm9
aesenc xmm4, xmm9
aesenc xmm3, xmm9
aesenc xmm1, xmm9
aesenc xmm0, xmm9
aesenc xmm6, xmm12
aesenc xmm8, xmm12
aesenc xmm7, xmm12
aesenc xmm5, xmm12
aesenc xmm4, xmm12
aesenc xmm3, xmm12
aesenc xmm1, xmm12
aesenc xmm0, xmm12
aesenc xmm6, xmm11
aesenc xmm8, xmm11
aesenc xmm7, xmm11
aesenc xmm5, xmm11
aesenc xmm4, xmm11
aesenc xmm3, xmm11
aesenc xmm1, xmm11
aesenc xmm0, xmm11
aesenc xmm6, xmm10
aesenc xmm8, xmm10
aesenc xmm7, xmm10
aesenc xmm5, xmm10
aesenc xmm4, xmm10
aesenc xmm3, xmm10
aesenc xmm1, xmm10
aesenc xmm6, xmm2
aesenc xmm0, xmm10
aesenc xmm8, xmm2
aesenc xmm7, xmm2
aesenc xmm5, xmm2
aesenc xmm4, xmm2
aesenc xmm3, xmm2
aesenc xmm1, xmm2
aesenc xmm0, xmm2
movdqa xmm2, xmmword [rsp + 0x10]
aesenc xmm6, xmm2
aesenc xmm8, xmm2
aesenc xmm7, xmm2
aesenc xmm5, xmm2
aesenc xmm4, xmm2
aesenc xmm3, xmm2
aesenc xmm1, xmm2
aesenc xmm0, xmm2
movdqa xmm2, xmmword [rsp + 0x20]
aesenc xmm6, xmm2
aesenc xmm8, xmm2
aesenc xmm7, xmm2
aesenc xmm5, xmm2
aesenc xmm4, xmm2
aesenc xmm3, xmm2
aesenc xmm1, xmm2
aesenc xmm0, xmm2
movdqa xmm2, xmm6
pxor xmm2, xmm8
pxor xmm8, xmm7
movaps xmmword [rsp], xmm2
pxor xmm7, xmm5
pxor xmm5, xmm4
pxor xmm4, xmm3
pxor xmm3, xmm1
pxor xmm1, xmm0
pxor xmm0, xmm6
cmp r11, rcx
jne 0x6e5030
movdqa xmm6, xmm13
movdqa xmm13, xmm14
movdqa xmm14, xmm13
movdqa xmm13, xmm6
nop
nop word cs:[rax + rax]
pxor xmm8, xmmword [r10 - 0xf0]
movdqa xmm6, xmmword [rsp]
prefetcht0 byte [r10]
prefetcht0 byte [r10 + 0x10]
pxor xmm6, xmmword [r10 - 0x100]
movdqa xmm2, xmmword [rsp + 0x30]
sub r10, 0xffffffffffffff80
aesenc xmm6, xmm13
pxor xmm7, xmmword [r10 - 0x160]
aesenc xmm8, xmm13
pxor xmm5, xmmword [r10 - 0x150]
pxor xmm4, xmmword [r10 - 0x140]
aesenc xmm6, xmm14
pxor xmm3, xmmword [r10 - 0x130]
pxor xmm1, xmmword [r10 - 0x120]
aesenc xmm7, xmm13
pxor xmm0, xmmword [r10 - 0x110]
aesenc xmm5, xmm13
aesenc xmm4, xmm13
aesenc xmm3, xmm13
aesenc xmm1, xmm13
aesenc xmm0, xmm13
aesenc xmm8, xmm14
aesenc xmm7, xmm14
aesenc xmm5, xmm14
aesenc xmm4, xmm14
aesenc xmm3, xmm14
aesenc xmm1, xmm14
aesenc xmm0, xmm14
aesenc xmm6, xmm15
aesenc xmm8, xmm15
aesenc xmm7, xmm15
aesenc xmm5, xmm15
aesenc xmm4, xmm15
aesenc xmm3, xmm15
aesenc xmm1, xmm15
aesenc xmm0, xmm15
aesenc xmm6, xmm9
aesenc xmm8, xmm9
aesenc xmm7, xmm9
aesenc xmm5, xmm9
aesenc xmm4, xmm9
aesenc xmm3, xmm9
aesenc xmm1, xmm9
aesenc xmm0, xmm9
aesenc xmm6, xmm12
aesenc xmm8, xmm12
aesenc xmm7, xmm12
aesenc xmm5, xmm12
aesenc xmm4, xmm12
aesenc xmm3, xmm12
aesenc xmm1, xmm12
aesenc xmm0, xmm12
aesenc xmm6, xmm11
aesenc xmm8, xmm11
aesenc xmm7, xmm11
aesenc xmm5, xmm11
aesenc xmm4, xmm11
aesenc xmm3, xmm11
aesenc xmm1, xmm11
aesenc xmm0, xmm11
aesenc xmm6, xmm10
aesenc xmm8, xmm10
aesenc xmm7, xmm10
aesenc xmm5, xmm10
aesenc xmm4, xmm10
aesenc xmm6, xmm2
aesenc xmm7, xmm2
aesenc xmm3, xmm10
aesenc xmm5, xmm2
aesenc xmm4, xmm2
aesenc xmm1, xmm10
aesenc xmm0, xmm10
aesenc xmm8, xmm2
aesenc xmm3, xmm2
aesenc xmm1, xmm2
aesenc xmm0, xmm2
movdqa xmm2, xmmword [rsp + 0x10]
aesenc xmm6, xmm2
aesenc xmm8, xmm2
aesenc xmm7, xmm2
aesenc xmm5, xmm2
aesenc xmm4, xmm2
aesenc xmm3, xmm2
aesenc xmm1, xmm2
aesenc xmm0, xmm2
movdqa xmm2, xmmword [rsp + 0x20]
aesenc xmm6, xmm2
aesenc xmm8, xmm2
aesenc xmm7, xmm2
aesenc xmm5, xmm2
aesenc xmm4, xmm2
aesenc xmm3, xmm2
aesenc xmm1, xmm2
aesenc xmm0, xmm2
movdqa xmm2, xmm6
pxor xmm2, xmm8
movaps xmmword [rsp], xmm2
pxor xmm8, xmm7
pxor xmm7, xmm5
pxor xmm5, xmm4
pxor xmm4, xmm3
pxor xmm3, xmm1
pxor xmm1, xmm0
pxor xmm0, xmm6
cmp r11, r10
jne 0x6e52b0
movdqa xmm6, xmm13
movdqa xmm2, xmmword [rsp + 0x30]
movdqa xmm13, xmm14
movdqa xmm14, xmm15
movdqa xmm15, xmm9
movdqa xmm9, xmm6
movdqa xmm6, xmm9
mov eax, 0x10
movdqa xmm9, xmm15
movaps xmmword [rsp + 0x30], xmm2
movdqa xmm15, xmm14
movdqa xmm14, xmm13
movdqa xmm13, xmm6
nop dword [rax]
movdqa xmm6, xmmword [rsp]
aesenc xmm8, xmm13
aesenc xmm7, xmm13
aesenc xmm5, xmm13
aesenc xmm4, xmm13
aesenc xmm3, xmm13
aesenc xmm1, xmm13
movdqa xmm2, xmmword [rsp + 0x30]
aesenc xmm6, xmm13
aesenc xmm0, xmm13
aesenc xmm8, xmm14
aesenc xmm6, xmm14
aesenc xmm7, xmm14
aesenc xmm5, xmm14
aesenc xmm4, xmm14
aesenc xmm3, xmm14
aesenc xmm1, xmm14
aesenc xmm0, xmm14
aesenc xmm6, xmm15
aesenc xmm8, xmm15
aesenc xmm7, xmm15
aesenc xmm5, xmm15
aesenc xmm4, xmm15
aesenc xmm3, xmm15
aesenc xmm1, xmm15
aesenc xmm0, xmm15
aesenc xmm6, xmm9
aesenc xmm8, xmm9
aesenc xmm7, xmm9
aesenc xmm5, xmm9
aesenc xmm4, xmm9
aesenc xmm3, xmm9
aesenc xmm1, xmm9
aesenc xmm0, xmm9
aesenc xmm6, xmm12
aesenc xmm8, xmm12
aesenc xmm7, xmm12
aesenc xmm5, xmm12
aesenc xmm4, xmm12
aesenc xmm3, xmm12
aesenc xmm1, xmm12
aesenc xmm0, xmm12
aesenc xmm6, xmm11
aesenc xmm8, xmm11
aesenc xmm7, xmm11
aesenc xmm5, xmm11
aesenc xmm4, xmm11
aesenc xmm3, xmm11
aesenc xmm1, xmm11
aesenc xmm0, xmm11
aesenc xmm6, xmm10
aesenc xmm8, xmm10
aesenc xmm7, xmm10
aesenc xmm5, xmm10
aesenc xmm4, xmm10
aesenc xmm3, xmm10
aesenc xmm1, xmm10
aesenc xmm6, xmm2
aesenc xmm7, xmm2
aesenc xmm0, xmm10
aesenc xmm8, xmm2
aesenc xmm5, xmm2
aesenc xmm4, xmm2
aesenc xmm3, xmm2
aesenc xmm1, xmm2
aesenc xmm0, xmm2
movdqa xmm2, xmmword [rsp + 0x10]
aesenc xmm6, xmm2
aesenc xmm8, xmm2
aesenc xmm7, xmm2
aesenc xmm5, xmm2
aesenc xmm4, xmm2
aesenc xmm3, xmm2
aesenc xmm1, xmm2
aesenc xmm0, xmm2
movdqa xmm2, xmmword [rsp + 0x20]
aesenc xmm6, xmm2
aesenc xmm8, xmm2
aesenc xmm7, xmm2
aesenc xmm5, xmm2
aesenc xmm4, xmm2
aesenc xmm3, xmm2
aesenc xmm1, xmm2
aesenc xmm0, xmm2
movdqa xmm2, xmm6
pxor xmm2, xmm8
pxor xmm8, xmm7
pxor xmm7, xmm5
movaps xmmword [rsp], xmm2
pxor xmm5, xmm4
pxor xmm4, xmm3
pxor xmm3, xmm1
pxor xmm1, xmm0
pxor xmm0, xmm6
sub rax, 1
jne 0x6e5560
movaps xmmword [rdx + 0x50], xmm8
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm8, xmmword [rsp + 0x60]
movaps xmmword [rdx + 0x60], xmm7
movaps xmm9, xmmword [rsp + 0x70]
movaps xmm7, xmmword [rsp + 0x50]
movaps xmm10, xmmword [rsp + 0x80]
movaps xmmword [rdx + 0x40], xmm2
movaps xmm11, xmmword [rsp + 0x90]
movaps xmm12, xmmword [rsp + 0xa0]
movaps xmmword [rdx + 0x70], xmm5
movaps xmm13, xmmword [rsp + 0xb0]
movaps xmm14, xmmword [rsp + 0xc0]
movaps xmmword [rdx + 0x80], xmm4
movaps xmm15, xmmword [rsp + 0xd0]
movaps xmmword [rdx + 0x90], xmm3
movaps xmmword [rdx + 0xa0], xmm1
movaps xmmword [rdx + 0xb0], xmm0
add rsp, 0xe8
ret