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

Disassembly:
push ebp
lea ecx, [eax + 0x200000]
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa0
movdqa xmm7, xmmword [edx + 0x20]
movdqa xmm2, xmm7
movdqa xmm6, xmmword [edx + 0x30]
pslldq xmm2, 4
movdqa xmm0, xmm2
aeskeygenassist xmm1, xmm6, 1
pslldq xmm0, 4
movdqa xmm3, xmm0
pxor xmm0, xmm2
movaps xmmword [esp + 0x80], xmm6
pshufd xmm4, xmm1, 0xff
pslldq xmm3, 4
pxor xmm0, xmm7
movaps xmmword [esp + 0x90], xmm7
pxor xmm0, xmm3
pxor xmm0, xmm4
movdqa xmm4, xmm6
aeskeygenassist xmm5, xmm0, 0
pslldq xmm4, 4
movdqa xmm3, xmm0
movdqa xmm7, xmm0
movaps xmmword [esp + 0x10], xmm0
pshufd xmm1, xmm5, 0xaa
pslldq xmm3, 4
movdqa xmm5, xmm4
pslldq xmm5, 4
movdqa xmm2, xmm5
pxor xmm5, xmm4
pslldq xmm2, 4
pxor xmm5, xmm6
pxor xmm5, xmm2
pxor xmm5, xmm1
aeskeygenassist xmm6, xmm5, 2
movdqa xmm4, xmm5
movaps xmmword [esp], xmm5
pshufd xmm1, xmm6, 0xff
movdqa xmm6, xmm3
pslldq xmm6, 4
movdqa xmm0, xmm6
pxor xmm6, xmm3
pslldq xmm0, 4
pxor xmm6, xmm0
pxor xmm6, xmm1
movdqa xmm1, xmm4
pxor xmm6, xmm7
pslldq xmm1, 4
movdqa xmm3, xmm1
aeskeygenassist xmm7, xmm6, 0
pslldq xmm3, 4
movdqa xmm2, xmm3
pxor xmm3, xmm1
movdqa xmm5, xmm6
pshufd xmm7, xmm7, 0xaa
pslldq xmm2, 4
pxor xmm2, xmm3
movaps xmmword [esp + 0x30], xmm6
pxor xmm7, xmm2
pxor xmm7, xmm4
movdqa xmm6, xmm7
aeskeygenassist xmm4, xmm7, 4
movaps xmmword [esp + 0x20], xmm7
movdqa xmm7, xmm5
pshufd xmm4, xmm4, 0xff
pslldq xmm7, 4
movdqa xmm0, xmm7
pslldq xmm0, 4
movdqa xmm1, xmm0
pxor xmm0, xmm7
movdqa xmm7, xmm6
pslldq xmm1, 4
pslldq xmm7, 4
pxor xmm0, xmm1
pxor xmm4, xmm0
pxor xmm4, xmm5
aeskeygenassist xmm5, xmm4, 0
movdqa xmm1, xmm4
movaps xmmword [esp + 0x50], xmm4
pshufd xmm3, xmm5, 0xaa
pslldq xmm1, 4
movdqa xmm5, xmm7
pslldq xmm5, 4
movdqa xmm2, xmm5
pxor xmm5, xmm7
movdqa xmm7, xmm1
pslldq xmm2, 4
pslldq xmm7, 4
pxor xmm5, xmm2
pxor xmm5, xmm3
pxor xmm5, xmm6
movdqa xmm6, xmm5
aeskeygenassist xmm0, xmm5, 8
movaps xmmword [esp + 0x40], xmm5
movdqa xmm5, xmm7
pxor xmm7, xmm1
movdqa xmm1, xmm6
pshufd xmm3, xmm0, 0xff
pslldq xmm5, 4
pslldq xmm1, 4
movdqa xmm0, xmm1
pxor xmm7, xmm5
movdqa xmm5, xmmword [edx + 0x70]
pslldq xmm0, 4
movdqa xmm2, xmm0
pxor xmm0, xmm1
movdqa xmm1, xmmword [edx + 0xb0]
pxor xmm7, xmm3
pslldq xmm2, 4
pxor xmm0, xmm2
pxor xmm7, xmm4
movdqa xmm2, xmmword [edx + 0xa0]
aeskeygenassist xmm4, xmm7, 0
movaps xmmword [esp + 0x70], xmm7
pshufd xmm3, xmm4, 0xaa
movdqa xmm7, xmmword [edx + 0x50]
pxor xmm0, xmm3
movdqa xmm4, xmmword [edx + 0x80]
pxor xmm0, xmm6
movdqa xmm3, xmmword [edx + 0x90]
movaps xmmword [esp + 0x60], xmm0
movdqa xmm6, xmmword [edx + 0x60]
movdqa xmm0, xmmword [edx + 0x40]
nop
lea esi, [esi]
pxor xmm0, xmmword [eax]
sub eax, 0xffffff80
pxor xmm7, xmmword [eax - 0x70]
pxor xmm6, xmmword [eax - 0x60]
pxor xmm5, xmmword [eax - 0x50]
pxor xmm4, xmmword [eax - 0x40]
pxor xmm3, xmmword [eax - 0x30]
pxor xmm2, xmmword [eax - 0x20]
pxor xmm1, xmmword [eax - 0x10]
cmp ecx, eax
aesenc xmm0, xmmword [esp + 0x90]
aesenc xmm7, xmmword [esp + 0x90]
aesenc xmm6, xmmword [esp + 0x90]
aesenc xmm5, xmmword [esp + 0x90]
aesenc xmm4, xmmword [esp + 0x90]
aesenc xmm3, xmmword [esp + 0x90]
aesenc xmm2, xmmword [esp + 0x90]
aesenc xmm1, xmmword [esp + 0x90]
aesenc xmm0, xmmword [esp + 0x80]
aesenc xmm7, xmmword [esp + 0x80]
aesenc xmm6, xmmword [esp + 0x80]
aesenc xmm5, xmmword [esp + 0x80]
aesenc xmm4, xmmword [esp + 0x80]
aesenc xmm3, xmmword [esp + 0x80]
aesenc xmm2, xmmword [esp + 0x80]
aesenc xmm1, xmmword [esp + 0x80]
aesenc xmm7, xmmword [esp + 0x10]
aesenc xmm6, xmmword [esp + 0x10]
aesenc xmm5, xmmword [esp + 0x10]
aesenc xmm4, xmmword [esp + 0x10]
aesenc xmm3, xmmword [esp + 0x10]
aesenc xmm2, xmmword [esp + 0x10]
aesenc xmm1, xmmword [esp + 0x10]
aesenc xmm0, xmmword [esp + 0x10]
aesenc xmm0, xmmword [esp]
aesenc xmm7, xmmword [esp]
aesenc xmm6, xmmword [esp]
aesenc xmm5, xmmword [esp]
aesenc xmm4, xmmword [esp]
aesenc xmm3, xmmword [esp]
aesenc xmm2, xmmword [esp]
aesenc xmm1, xmmword [esp]
aesenc xmm0, xmmword [esp + 0x30]
aesenc xmm7, xmmword [esp + 0x30]
aesenc xmm6, xmmword [esp + 0x30]
aesenc xmm5, xmmword [esp + 0x30]
aesenc xmm4, xmmword [esp + 0x30]
aesenc xmm3, xmmword [esp + 0x30]
aesenc xmm2, xmmword [esp + 0x30]
aesenc xmm1, xmmword [esp + 0x30]
aesenc xmm0, xmmword [esp + 0x20]
aesenc xmm7, xmmword [esp + 0x20]
aesenc xmm6, xmmword [esp + 0x20]
aesenc xmm5, xmmword [esp + 0x20]
aesenc xmm4, xmmword [esp + 0x20]
aesenc xmm3, xmmword [esp + 0x20]
aesenc xmm2, xmmword [esp + 0x20]
aesenc xmm1, xmmword [esp + 0x20]
aesenc xmm7, xmmword [esp + 0x50]
aesenc xmm6, xmmword [esp + 0x50]
aesenc xmm5, xmmword [esp + 0x50]
aesenc xmm4, xmmword [esp + 0x50]
aesenc xmm3, xmmword [esp + 0x50]
aesenc xmm2, xmmword [esp + 0x50]
aesenc xmm1, xmmword [esp + 0x50]
aesenc xmm0, xmmword [esp + 0x50]
aesenc xmm0, xmmword [esp + 0x40]
aesenc xmm7, xmmword [esp + 0x40]
aesenc xmm6, xmmword [esp + 0x40]
aesenc xmm5, xmmword [esp + 0x40]
aesenc xmm4, xmmword [esp + 0x40]
aesenc xmm3, xmmword [esp + 0x40]
aesenc xmm2, xmmword [esp + 0x40]
aesenc xmm1, xmmword [esp + 0x40]
aesenc xmm0, xmmword [esp + 0x70]
aesenc xmm7, xmmword [esp + 0x70]
aesenc xmm6, xmmword [esp + 0x70]
aesenc xmm5, xmmword [esp + 0x70]
aesenc xmm4, xmmword [esp + 0x70]
aesenc xmm3, xmmword [esp + 0x70]
aesenc xmm2, xmmword [esp + 0x70]
aesenc xmm1, xmmword [esp + 0x70]
aesenc xmm0, xmmword [esp + 0x60]
aesenc xmm7, xmmword [esp + 0x60]
aesenc xmm6, xmmword [esp + 0x60]
aesenc xmm5, xmmword [esp + 0x60]
aesenc xmm4, xmmword [esp + 0x60]
aesenc xmm3, xmmword [esp + 0x60]
aesenc xmm2, xmmword [esp + 0x60]
aesenc xmm1, xmmword [esp + 0x60]
jne 0x52c0b6
movaps xmmword [edx + 0x40], xmm0
movaps xmmword [edx + 0x50], xmm7
movaps xmmword [edx + 0x60], xmm6
movaps xmmword [edx + 0x70], xmm5
movaps xmmword [edx + 0x80], xmm4
movaps xmmword [edx + 0x90], xmm3
movaps xmmword [edx + 0xa0], xmm2
movaps xmmword [edx + 0xb0], xmm1
leave
ret