Function at 0x53c0f0
Capabilities:
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, 0xac
push esi
mov eax, dword [ebx + 0xc]
shr eax, 2
add eax, 6
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0x579570
mov ecx, dword [ebx + 0xc]
mov edx, dword [ebx + 8]
movups xmm0, xmmword [edx + ecx - 0x10]
movaps xmmword [ebp - 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x40]
movaps xmmword [ebp - 0x20], xmm0
mov eax, dword [ebx + 0xc]
push eax
mov ecx, dword [ebx + 8]
push ecx
mov edx, dword [ebx + 0x10]
push edx
call fcn.00542020
add esp, 0xc
mov eax, dword [ebp - 0x24]
lea ecx, [eax*4 + 4]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebx + 0x10]
lea ecx, [eax + edx*4]
mov dword [ebp - 0x30], ecx
mov edx, 1
test edx, edx
je 0x53c403
aeskeygenassist xmm0, xmmword [ebp - 0x20], 0
movaps xmmword [ebp - 0x50], xmm0
movaps xmm0, xmmword [ebp - 0x50]
pextrd eax, xmm0, 3
mov ecx, 4
imul edx, ecx, 0
mov ecx, dword [ebx + 0x10]
xor eax, dword [ecx + edx]
mov edx, dword [ebp - 4]
xor eax, dword [edx]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebx + 0xc]
shr ecx, 2
mov edx, dword [ebx + 0x10]
mov eax, dword [ebp - 0x2c]
mov dword [edx + ecx*4], eax
mov ecx, 4
shl ecx, 0
mov edx, dword [ebx + 0xc]
shr edx, 2
mov eax, dword [ebx + 0x10]
mov esi, dword [ebx + 0x10]
mov ecx, dword [eax + ecx]
xor ecx, dword [esi + edx*4]
mov edx, dword [ebx + 0xc]
shr edx, 2
mov eax, dword [ebx + 0x10]
mov dword [eax + edx*4 + 4], ecx
mov ecx, 4
shl ecx, 1
mov edx, dword [ebx + 0xc]
shr edx, 2
mov eax, dword [ebx + 0x10]
mov esi, dword [ebx + 0x10]
mov ecx, dword [eax + ecx]
xor ecx, dword [esi + edx*4 + 4]
mov edx, dword [ebx + 0xc]
shr edx, 2
mov eax, dword [ebx + 0x10]
mov dword [eax + edx*4 + 8], ecx
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [ebx + 0xc]
shr eax, 2
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x10]
mov edx, dword [ecx + edx]
xor edx, dword [esi + eax*4 + 8]
mov eax, dword [ebx + 0xc]
shr eax, 2
mov ecx, dword [ebx + 0x10]
mov dword [ecx + eax*4 + 0xc], edx
mov edx, dword [ebx + 0xc]
shr edx, 2
mov eax, dword [ebx + 0x10]
lea ecx, [eax + edx*4 + 0x10]
cmp ecx, dword [ebp - 0x30]
jne 0x53c241
jmp 0x53c403
cmp dword [ebx + 0xc], 0x18
jne 0x53c2c2
mov edx, 4
shl edx, 2
mov eax, 4
imul ecx, eax, 9
mov eax, dword [ebx + 0x10]
mov esi, dword [ebx + 0x10]
mov edx, dword [eax + edx]
xor edx, dword [esi + ecx]
mov eax, 4
imul ecx, eax, 0xa
mov eax, dword [ebx + 0x10]
mov dword [eax + ecx], edx
mov ecx, 4
imul edx, ecx, 5
mov eax, 4
imul ecx, eax, 0xa
mov eax, dword [ebx + 0x10]
mov esi, dword [ebx + 0x10]
mov edx, dword [eax + edx]
xor edx, dword [esi + ecx]
mov eax, 4
imul ecx, eax, 0xb
mov eax, dword [ebx + 0x10]
mov dword [eax + ecx], edx
mov ecx, 4
imul edx, ecx, 0xb
mov eax, dword [ebx + 0x10]
movaps xmm0, xmmword [ebp - 0x20]
pinsrd xmm0, dword [eax + edx], 3
movaps xmmword [ebp - 0x60], xmm0
movaps xmm0, xmmword [ebp - 0x60]
movaps xmmword [ebp - 0x20], xmm0
jmp 0x53c3ef
cmp dword [ebx + 0xc], 0x20
jne 0x53c3c7
mov ecx, 4
imul edx, ecx, 0xb
mov eax, dword [ebx + 0x10]
movaps xmm0, xmmword [ebp - 0x20]
pinsrd xmm0, dword [eax + edx], 3
movaps xmmword [ebp - 0x70], xmm0
movaps xmm0, xmmword [ebp - 0x70]
movaps xmmword [ebp - 0x20], xmm0
aeskeygenassist xmm0, xmmword [ebp - 0x20], 0
movaps xmmword [ebp - 0x80], xmm0
movaps xmm0, xmmword [ebp - 0x80]
pextrd ecx, xmm0, 2
mov edx, 4
shl edx, 2
mov eax, dword [ebx + 0x10]
xor ecx, dword [eax + edx]
mov edx, 4
imul eax, edx, 0xc
mov edx, dword [ebx + 0x10]
mov dword [edx + eax], ecx
mov eax, 4
imul ecx, eax, 5
mov edx, 4
imul eax, edx, 0xc
mov edx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x10]
mov ecx, dword [edx + ecx]
xor ecx, dword [esi + eax]
mov edx, 4
imul eax, edx, 0xd
mov edx, dword [ebx + 0x10]
mov dword [edx + eax], ecx
mov eax, 4
imul ecx, eax, 6
mov edx, 4
imul eax, edx, 0xd
mov edx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x10]
mov ecx, dword [edx + ecx]
xor ecx, dword [esi + eax]
mov edx, 4
imul eax, edx, 0xe
mov edx, dword [ebx + 0x10]
mov dword [edx + eax], ecx
mov eax, 4
imul ecx, eax, 7
mov edx, 4
imul eax, edx, 0xe
mov edx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x10]
mov ecx, dword [edx + ecx]
xor ecx, dword [esi + eax]
mov edx, 4
imul eax, edx, 0xf
mov edx, dword [ebx + 0x10]
mov dword [edx + eax], ecx
mov eax, 4
imul ecx, eax, 0xf
mov edx, dword [ebx + 0x10]
movaps xmm0, xmmword [ebp - 0x20]
pinsrd xmm0, dword [edx + ecx], 3
movaps xmmword [ebp - 0x90], xmm0
movaps xmm0, xmmword [ebp - 0x90]
movaps xmmword [ebp - 0x20], xmm0
jmp 0x53c3ef
mov eax, 4
imul ecx, eax, 7
mov edx, dword [ebx + 0x10]
movaps xmm0, xmmword [ebp - 0x20]
pinsrd xmm0, dword [edx + ecx], 3
movaps xmmword [ebp - 0xa0], xmm0
movaps xmm0, xmmword [ebp - 0xa0]
movaps xmmword [ebp - 0x20], xmm0
mov eax, dword [ebx + 0xc]
shr eax, 2
mov ecx, dword [ebx + 0x10]
lea edx, [ecx + eax*4]
mov dword [ebx + 0x10], edx
jmp 0x53c164
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret