Function at 0x103041c0
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, 0x78
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]
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 - 0x20], xmm3
movups xmm3, xmmword [ecx + 0x80]
movaps xmmword [ebp - 0x70], xmm0
movaps xmmword [ebp - 0x30], xmm3
movups xmm3, xmmword [ecx + 0x90]
movaps xmmword [ebp - 0x60], xmm1
movaps xmmword [ebp - 0x40], xmm3
movups xmm3, xmmword [ecx + 0xa0]
mov ecx, dword [ebx + 0x10]
movaps xmmword [ebp - 0x10], xmm2
movaps xmmword [ebp - 0x50], xmm3
cmp ecx, 4
jb 0x1030437b
mov edi, edx
mov esi, ecx
sub edi, eax
shr esi, 2
jmp 0x1030425c
movaps xmm0, xmmword [ebp - 0x70]
movaps xmm1, xmmword [ebp - 0x60]
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 - 0x60]
aesdec xmm1, xmmword [ebp - 0x10]
aesdec xmm1, xmmword [ebp - 0x20]
aesdec xmm1, xmmword [ebp - 0x30]
aesdec xmm2, xmmword [ebp - 0x40]
aesdeclast xmm3, xmmword [ebp - 0x50]
aesdec xmm1, xmmword [ebp - 0x40]
aesdeclast xmm2, xmmword [ebp - 0x50]
aesdeclast xmm1, xmmword [ebp - 0x50]
pxor xmm0, xmm4
aesdec xmm0, xmm5
aesdec xmm0, xmm6
aesdec xmm0, xmm7
aesdec xmm0, xmmword [ebp - 0x70]
aesdec xmm0, xmmword [ebp - 0x60]
aesdec xmm0, xmmword [ebp - 0x10]
aesdec xmm0, xmmword [ebp - 0x20]
aesdec xmm0, xmmword [ebp - 0x30]
aesdec xmm0, xmmword [ebp - 0x40]
aesdeclast xmm0, xmmword [ebp - 0x50]
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 0x10304250
test ecx, ecx
je 0x103043db
movaps xmm1, xmmword [ebp - 0x70]
sub edx, eax
movaps xmm2, xmmword [ebp - 0x60]
movaps xmm3, xmmword [ebp - 0x10]
nop dword [eax]
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]
aesdeclast xmm0, xmmword [ebp - 0x50]
movups xmmword [edx + eax - 0x10], xmm0
sub ecx, 1
jne 0x10304390
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc