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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0xb8
mov ecx, dword [ecx + 4]
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
push esi
movups xmm3, xmmword [ecx + 0x70]
push edi
movups xmm0, xmmword [ecx + 0x40]
movaps xmmword [ebp - 0x20], xmm3
movups xmm3, xmmword [ecx + 0x80]
movups xmm1, xmmword [ecx + 0x50]
movups xmm2, xmmword [ecx + 0x60]
movups xmm4, xmmword [ecx]
movups xmm5, xmmword [ecx + 0x10]
movups xmm6, xmmword [ecx + 0x20]
movups xmm7, xmmword [ecx + 0x30]
movaps xmmword [ebp - 0x30], xmm3
movups xmm3, xmmword [ecx + 0x90]
movaps xmmword [ebp - 0xb0], xmm0
movaps xmmword [ebp - 0x40], xmm3
movups xmm3, xmmword [ecx + 0xa0]
movaps xmmword [ebp - 0xa0], xmm1
movaps xmmword [ebp - 0x50], xmm3
movups xmm3, xmmword [ecx + 0xb0]
movaps xmmword [ebp - 0x10], xmm2
movaps xmmword [ebp - 0x60], xmm3
movups xmm3, xmmword [ecx + 0xc0]
movaps xmmword [ebp - 0x70], xmm3
movups xmm3, xmmword [ecx + 0xd0]
movaps xmmword [ebp - 0x80], xmm3
movups xmm3, xmmword [ecx + 0xe0]
mov ecx, dword [ebx + 0x10]
movaps xmmword [ebp - 0x90], xmm3
cmp ecx, 4
jb 0x103052d6
mov edi, edx
mov esi, ecx
sub edi, eax
shr esi, 2
jmp 0x10305142
movaps xmm0, xmmword [ebp - 0xb0]
movaps xmm1, xmmword [ebp - 0xa0]
movaps xmm2, xmmword [ebp - 0x10]
movups xmm3, xmmword [eax + 0x10]
sub ecx, 4
pxor xmm3, xmm4
aesenc xmm3, xmm5
aesenc xmm3, xmm6
aesenc xmm3, xmm7
aesenc xmm3, xmm0
aesenc xmm3, xmm1
aesenc xmm3, xmm2
movups xmm2, xmmword [eax + 0x20]
aesenc xmm3, xmmword [ebp - 0x20]
aesenc xmm3, xmmword [ebp - 0x30]
pxor xmm2, xmm4
aesenc xmm2, xmm5
aesenc xmm2, xmm6
aesenc xmm2, xmm7
aesenc xmm2, xmm0
aesenc xmm2, xmm1
movups xmm1, xmmword [eax + 0x30]
aesenc xmm2, xmmword [ebp - 0x10]
aesenc xmm2, xmmword [ebp - 0x20]
pxor xmm1, xmm4
aesenc xmm1, xmm5
aesenc xmm1, xmm6
aesenc xmm2, xmmword [ebp - 0x30]
aesenc xmm3, xmmword [ebp - 0x40]
aesenc xmm1, xmm7
aesenc xmm1, xmm0
movups xmm0, xmmword [eax]
aesenc xmm1, xmmword [ebp - 0xa0]
aesenc xmm1, xmmword [ebp - 0x10]
aesenc xmm1, xmmword [ebp - 0x20]
aesenc xmm1, xmmword [ebp - 0x30]
aesenc xmm2, xmmword [ebp - 0x40]
aesenc xmm1, xmmword [ebp - 0x40]
aesenc xmm3, xmmword [ebp - 0x50]
aesenc xmm2, xmmword [ebp - 0x50]
pxor xmm0, xmm4
aesenc xmm1, xmmword [ebp - 0x50]
aesenc xmm3, xmmword [ebp - 0x60]
aesenc xmm2, xmmword [ebp - 0x60]
aesenc xmm0, xmm5
aesenc xmm1, xmmword [ebp - 0x60]
aesenc xmm3, xmmword [ebp - 0x70]
aesenc xmm2, xmmword [ebp - 0x70]
aesenc xmm0, xmm6
aesenc xmm1, xmmword [ebp - 0x70]
aesenc xmm3, xmmword [ebp - 0x80]
aesenc xmm2, xmmword [ebp - 0x80]
aesenc xmm0, xmm7
aesenc xmm0, xmmword [ebp - 0xb0]
aesenc xmm0, xmmword [ebp - 0xa0]
aesenc xmm0, xmmword [ebp - 0x10]
aesenc xmm0, xmmword [ebp - 0x20]
aesenc xmm0, xmmword [ebp - 0x30]
aesenc xmm0, xmmword [ebp - 0x40]
aesenc xmm0, xmmword [ebp - 0x50]
aesenc xmm0, xmmword [ebp - 0x60]
aesenc xmm0, xmmword [ebp - 0x70]
aesenc xmm0, xmmword [ebp - 0x80]
aesenclast xmm0, xmmword [ebp - 0x90]
aesenclast xmm3, xmmword [ebp - 0x90]
aesenc xmm1, xmmword [ebp - 0x80]
aesenclast xmm2, xmmword [ebp - 0x90]
aesenclast xmm1, xmmword [ebp - 0x90]
movups xmmword [edx], xmm0
movups xmmword [edx + 0x10], xmm3
movups xmmword [edi + eax + 0x20], xmm2
add eax, 0x40
movups xmmword [edx + 0x30], xmm1
add edx, 0x40
sub esi, 1
jne 0x10305130
test ecx, ecx
je 0x10305356
movaps xmm1, xmmword [ebp - 0xb0]
sub edx, eax
movaps xmm2, xmmword [ebp - 0xa0]
movaps xmm3, xmmword [ebp - 0x10]
nop
lea eax, [eax + 0x10]
movups xmm0, xmmword [eax - 0x10]
pxor xmm0, xmm4
aesenc xmm0, xmm5
aesenc xmm0, xmm6
aesenc xmm0, xmm7
aesenc xmm0, xmm1
aesenc xmm0, xmm2
aesenc xmm0, xmm3
aesenc xmm0, xmmword [ebp - 0x20]
aesenc xmm0, xmmword [ebp - 0x30]
aesenc xmm0, xmmword [ebp - 0x40]
aesenc xmm0, xmmword [ebp - 0x50]
aesenc xmm0, xmmword [ebp - 0x60]
aesenc xmm0, xmmword [ebp - 0x70]
aesenc xmm0, xmmword [ebp - 0x80]
aesenclast xmm0, xmmword [ebp - 0x90]
movups xmmword [edx + eax - 0x10], xmm0
sub ecx, 1
jne 0x103052f0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc