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

Disassembly:
push ebp
push ebx
test eax, eax
je 0x6cdb00e0
test edx, edx
je 0x6cdb00e0
call 0x6cdafbd7
pop ebx
lea ebx, [ebx + 0x5e9]
lea ebp, [0x6ce60730]
movups xmm0, xmmword [eax]
xorps xmm4, xmm4
mov ebp, dword [ebp + 4]
lea edx, [edx + 0x10]
and ebp, 0x10000800
cmp ecx, 0x100
je 0x6cdaff20
cmp ecx, 0xc0
je 0x6cdafdb0
cmp ecx, 0x80
jne 0x6cdb00e8
nop
nop
nop
nop
nop
nop
cmp ebp, 0x10000000
je 0x6cdafcd0
mov ecx, 9
movups xmmword [edx - 0x10], xmm0
aeskeygenassist xmm1, xmm0, 1
call fcn.6cdafcb6
aeskeygenassist xmm1, xmm0, 2
call fcn.6cdafcb0
aeskeygenassist xmm1, xmm0, 4
call fcn.6cdafcb0
aeskeygenassist xmm1, xmm0, 8
call fcn.6cdafcb0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.6cdafcb0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.6cdafcb0
aeskeygenassist xmm1, xmm0, 0x40
call fcn.6cdafcb0
aeskeygenassist xmm1, xmm0, 0x80
call fcn.6cdafcb0
aeskeygenassist xmm1, xmm0, 0x1b
call fcn.6cdafcb0
aeskeygenassist xmm1, xmm0, 0x36
call fcn.6cdafcb0
movups xmmword [edx], xmm0
mov dword [edx + 0x50], ecx
jmp 0x6cdb00c3
movdqa xmm5, xmmword [ebx]
mov ecx, 8
movdqa xmm4, xmmword [ebx + 0x20]
movdqa xmm2, xmm0
movdqu xmmword [edx - 0x10], xmm0
pshufb xmm0, xmm5
aesenclast xmm0, xmm4
pslld xmm4, 1
lea edx, [edx + 0x10]
movdqa xmm3, xmm2
pslldq xmm2, 4
pxor xmm3, xmm2
pslldq xmm2, 4
pxor xmm3, xmm2
pslldq xmm2, 4
pxor xmm2, xmm3
pxor xmm0, xmm2
movdqu xmmword [edx - 0x10], xmm0
movdqa xmm2, xmm0
dec ecx
jne 0x6cdafce7
movdqa xmm4, xmmword [ebx + 0x30]
pshufb xmm0, xmm5
aesenclast xmm0, xmm4
pslld xmm4, 1
movdqa xmm3, xmm2
pslldq xmm2, 4
pxor xmm3, xmm2
pslldq xmm2, 4
pxor xmm3, xmm2
pslldq xmm2, 4
pxor xmm2, xmm3
pxor xmm0, xmm2
movdqu xmmword [edx], xmm0
movdqa xmm2, xmm0
pshufb xmm0, xmm5
aesenclast xmm0, xmm4
movdqa xmm3, xmm2
pslldq xmm2, 4
pxor xmm3, xmm2
pslldq xmm2, 4
pxor xmm3, xmm2
pslldq xmm2, 4
pxor xmm2, xmm3
pxor xmm0, xmm2
movdqu xmmword [edx + 0x10], xmm0
mov ecx, 9
mov dword [edx + 0x60], ecx
jmp 0x6cdb00c3
movq xmm2, qword [eax + 0x10]
cmp ebp, 0x10000000
je 0x6cdafea0
mov ecx, 0xb
movups xmmword [edx - 0x10], xmm0
aeskeygenassist xmm1, xmm2, 1
call fcn.6cdafe40
aeskeygenassist xmm1, xmm2, 2
call fcn.6cdafe80
aeskeygenassist xmm1, xmm2, 4
call fcn.6cdafe30
aeskeygenassist xmm1, xmm2, 8
call fcn.6cdafe80
aeskeygenassist xmm1, xmm2, 0x10
call fcn.6cdafe30
aeskeygenassist xmm1, xmm2, 0x20
call fcn.6cdafe80
aeskeygenassist xmm1, xmm2, 0x40
call fcn.6cdafe30
aeskeygenassist xmm1, xmm2, 0x80
call fcn.6cdafe80
movups xmmword [edx], xmm0
mov dword [edx + 0x30], ecx
jmp 0x6cdb00c3
movdqa xmm5, xmmword [ebx + 0x10]
movdqa xmm4, xmmword [ebx + 0x20]
mov ecx, 8
movdqu xmmword [edx - 0x10], xmm0
movq qword [edx], xmm2
movdqa xmm1, xmm2
pshufb xmm2, xmm5
aesenclast xmm2, xmm4
pslld xmm4, 1
lea edx, [edx + 0x18]
movdqa xmm3, xmm0
pslldq xmm0, 4
pxor xmm3, xmm0
pslldq xmm0, 4
pxor xmm3, xmm0
pslldq xmm0, 4
pxor xmm0, xmm3
pshufd xmm3, xmm0, 0xff
pxor xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm1
pxor xmm0, xmm2
pxor xmm2, xmm3
movdqu xmmword [edx - 0x10], xmm0
dec ecx
jne 0x6cdafeb4
mov ecx, 0xb
mov dword [edx + 0x20], ecx
jmp 0x6cdb00c3
movups xmm2, xmmword [eax + 0x10]
lea edx, [edx + 0x10]
cmp ebp, 0x10000000
je 0x6cdb0020
mov ecx, 0xd
movups xmmword [edx - 0x20], xmm0
movups xmmword [edx - 0x10], xmm2
aeskeygenassist xmm1, xmm2, 1
call fcn.6cdaffe6
aeskeygenassist xmm1, xmm0, 1
call fcn.6cdb0000
aeskeygenassist xmm1, xmm2, 2
call fcn.6cdaffe0
aeskeygenassist xmm1, xmm0, 2
call fcn.6cdb0000
aeskeygenassist xmm1, xmm2, 4
call fcn.6cdaffe0
aeskeygenassist xmm1, xmm0, 4
call fcn.6cdb0000
aeskeygenassist xmm1, xmm2, 8
call fcn.6cdaffe0
aeskeygenassist xmm1, xmm0, 8
call fcn.6cdb0000
aeskeygenassist xmm1, xmm2, 0x10
call fcn.6cdaffe0
aeskeygenassist xmm1, xmm0, 0x10
call fcn.6cdb0000
aeskeygenassist xmm1, xmm2, 0x20
call fcn.6cdaffe0
aeskeygenassist xmm1, xmm0, 0x20
call fcn.6cdb0000
aeskeygenassist xmm1, xmm2, 0x40
call fcn.6cdaffe0
movups xmmword [edx], xmm0
mov dword [edx + 0x10], ecx
xor eax, eax
jmp 0x6cdb00c3
movdqa xmm5, xmmword [ebx]
movdqa xmm4, xmmword [ebx + 0x20]
mov ecx, 7
movdqu xmmword [edx - 0x20], xmm0
movdqa xmm1, xmm2
movdqu xmmword [edx - 0x10], xmm2
pshufb xmm2, xmm5
aesenclast xmm2, xmm4
movdqa xmm3, xmm0
pslldq xmm0, 4
pxor xmm3, xmm0
pslldq xmm0, 4
pxor xmm3, xmm0
pslldq xmm0, 4
pxor xmm0, xmm3
pslld xmm4, 1
pxor xmm0, xmm2
movdqu xmmword [edx], xmm0
dec ecx
je 0x6cdb00bb
pshufd xmm2, xmm0, 0xff
pxor xmm3, xmm3
aesenclast xmm2, xmm3
movdqa xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm1
pslldq xmm1, 4
pxor xmm3, xmm1
pslldq xmm1, 4
pxor xmm1, xmm3
pxor xmm2, xmm1
movdqu xmmword [edx + 0x10], xmm2
lea edx, [edx + 0x20]
movdqa xmm1, xmm2
jmp 0x6cdb003c
mov ecx, 0xd
mov dword [edx + 0x10], ecx
pxor xmm0, xmm0
pxor xmm1, xmm1
pxor xmm2, xmm2
pxor xmm3, xmm3
pxor xmm4, xmm4
pxor xmm5, xmm5
xor eax, eax
pop ebx
pop ebp
ret
mov eax, 0xffffffff
pop ebx
pop ebp
ret
pxor xmm0, xmm0
mov eax, 0xfffffffe
pop ebx
pop ebp
ret