Function at 0x10305370
Capabilities:
Decrypt data using aes via x86 extensions
Encode data using xor

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 + 0x10]
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 0x103055e6
mov edi, edx
mov esi, ecx
sub edi, eax
shr esi, 2
jmp 0x10305452
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
aesdec xmm3, xmm5
aesdec xmm3, xmm6
aesdec xmm3, xmm7
aesdec xmm3, xmm0
aesdec xmm3, xmm1
aesdec xmm3, xmm2
movups xmm2, xmmword [eax + 0x20]
aesdec xmm3, xmmword [ebp - 0x20]
aesdec xmm3, xmmword [ebp - 0x30]
pxor xmm2, xmm4
aesdec xmm2, xmm5
aesdec xmm2, xmm6
aesdec xmm2, xmm7
aesdec xmm2, xmm0
aesdec xmm2, xmm1
movups xmm1, xmmword [eax + 0x30]
aesdec xmm2, xmmword [ebp - 0x10]
aesdec xmm2, xmmword [ebp - 0x20]
pxor xmm1, xmm4
aesdec xmm1, xmm5
aesdec xmm1, xmm6
aesdec xmm2, xmmword [ebp - 0x30]
aesdec xmm3, xmmword [ebp - 0x40]
aesdec xmm1, xmm7
aesdec xmm1, xmm0
movups xmm0, xmmword [eax]
aesdec xmm1, xmmword [ebp - 0xa0]
aesdec xmm1, xmmword [ebp - 0x10]
aesdec xmm1, xmmword [ebp - 0x20]
aesdec xmm1, xmmword [ebp - 0x30]
aesdec xmm2, xmmword [ebp - 0x40]
aesdec xmm1, xmmword [ebp - 0x40]
aesdec xmm3, xmmword [ebp - 0x50]
aesdec xmm2, xmmword [ebp - 0x50]
pxor xmm0, xmm4
aesdec xmm1, xmmword [ebp - 0x50]
aesdec xmm3, xmmword [ebp - 0x60]
aesdec xmm2, xmmword [ebp - 0x60]
aesdec xmm0, xmm5
aesdec xmm1, xmmword [ebp - 0x60]
aesdec xmm3, xmmword [ebp - 0x70]
aesdec xmm2, xmmword [ebp - 0x70]
aesdec xmm0, xmm6
aesdec xmm1, xmmword [ebp - 0x70]
aesdec xmm3, xmmword [ebp - 0x80]
aesdec xmm2, xmmword [ebp - 0x80]
aesdec xmm0, xmm7
aesdec xmm0, xmmword [ebp - 0xb0]
aesdec xmm0, xmmword [ebp - 0xa0]
aesdec xmm0, xmmword [ebp - 0x10]
aesdec xmm0, xmmword [ebp - 0x20]
aesdec xmm0, xmmword [ebp - 0x30]
aesdec xmm0, xmmword [ebp - 0x40]
aesdec xmm0, xmmword [ebp - 0x50]
aesdec xmm0, xmmword [ebp - 0x60]
aesdec xmm0, xmmword [ebp - 0x70]
aesdec xmm0, xmmword [ebp - 0x80]
aesdeclast xmm0, xmmword [ebp - 0x90]
aesdeclast xmm3, xmmword [ebp - 0x90]
aesdec xmm1, xmmword [ebp - 0x80]
aesdeclast xmm2, xmmword [ebp - 0x90]
aesdeclast 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 0x10305440
test ecx, ecx
je 0x10305666
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
aesdec xmm0, xmm5
aesdec xmm0, xmm6
aesdec xmm0, xmm7
aesdec xmm0, xmm1
aesdec xmm0, xmm2
aesdec xmm0, xmm3
aesdec xmm0, xmmword [ebp - 0x20]
aesdec xmm0, xmmword [ebp - 0x30]
aesdec xmm0, xmmword [ebp - 0x40]
aesdec xmm0, xmmword [ebp - 0x50]
aesdec xmm0, xmmword [ebp - 0x60]
aesdec xmm0, xmmword [ebp - 0x70]
aesdec xmm0, xmmword [ebp - 0x80]
aesdeclast xmm0, xmmword [ebp - 0x90]
movups xmmword [edx + eax - 0x10], xmm0
sub ecx, 1
jne 0x10305600
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc