Function at 0xee6b20
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, 0x78
mov eax, dword [0xb1a054]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebx + 0x24], 0
mov eax, dword [ebx + 0xc]
mov edx, dword [ebx + 0x1c]
mov ecx, dword [ebx + 0x2c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebx + 0x18]
push esi
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x54], eax
mov eax, dword [ebx + 0x28]
push edi
mov edi, dword [ebx + 0x20]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x44], ecx
ja 0xee6b81
jb 0xee6b76
cmp edi, 0xffffffff
ja 0xee6b81
cmp dword [ebx + 0x14], 0
ja 0xee6b81
cmp esi, 0xffffffff
jbe 0xee6b89
call fcn.00ee4fc0
mov edx, dword [ebp - 0x48]
lea ecx, [esi + 0xf]
shr ecx, 4
lea eax, [edi + 0xf]
shr eax, 4
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebp - 0x44]
cmp edi, 0xffffff1f
ja 0xee6d3a
cmp esi, 0xffffff1f
ja 0xee6d3a
cmp edi, eax
jb 0xee6d3a
cmp esi, dword [ebp - 0x50]
jb 0xee6d3a
mov eax, dword [ebp - 0x14]
xorps xmm0, xmm0
movaps xmmword [ebp - 0x70], xmm0
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], eax
mov eax, edi
and eax, 0xfffffff0
movq qword [ebp - 0x30], xmm0
push eax
push edx
lea eax, [ebp - 0x70]
push eax
push ecx
call fcn.00ee6d50
mov ecx, edi
add esp, 0x10
and ecx, 0xf
je 0xee6c26
mov eax, dword [ebp - 0x48]
xorps xmm0, xmm0
sub eax, ecx
movaps xmmword [ebp - 0x20], xmm0
push ecx
add eax, edi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00efdd90
push 0x10
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x44]
call fcn.00ee6d50
add esp, 0x1c
mov eax, esi
and eax, 0xfffffff0
push eax
push dword [ebp - 0x4c]
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x44]
call fcn.00ee6d50
mov ecx, esi
add esp, 0x10
and ecx, 0xf
je 0xee6c73
mov eax, dword [ebp - 0x4c]
xorps xmm0, xmm0
sub eax, ecx
movaps xmmword [ebp - 0x20], xmm0
push ecx
add eax, esi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00efdd90
push 0x10
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x44]
call fcn.00ee6d50
add esp, 0x1c
lea ecx, [esi*8]
mov dword [ebp - 0x24], 0x1000000
xor esi, esi
movd xmm3, ecx
xor edx, edx
lea eax, [edi*8]
movd xmm0, eax
mov ecx, 0xd
punpckldq xmm3, xmm0
movaps xmm0, xmmword [ebp - 0x30]
movd xmm2, edx
mov edx, dword [ebp - 0x44]
movd xmm1, esi
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
pshufb xmm3, xmmword [0xaf7de0]
lea eax, [edx + 0x10]
pxor xmm0, xmmword [edx]
lea eax, [eax + 0x10]
aesenc xmm0, xmmword [eax - 0x10]
sub ecx, 1
jne 0xee6cc4
aesenclast xmm0, xmmword [edx + 0xe0]
push 0x10
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x70]
push eax
push edx
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x30], xmm3
call fcn.00ee6d50
movaps xmm1, xmmword [ebp - 0x70]
lea eax, [ebp - 0x40]
pshufb xmm1, xmmword [0xaf7de0]
push eax
push dword [ebp - 0x54]
pxor xmm1, xmmword [ebp - 0x40]
movups xmmword [ebp - 0x40], xmm1
call fcn.00ee7be0
mov esi, eax
lea eax, [ebp - 0x40]
push 0x10
push eax
call fcn.00ee7b20
add esp, 0x20
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00ee447d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
mov ecx, dword [ebp - 4]
or eax, 0xffffffff
pop edi
xor ecx, ebp
pop esi
call fcn.00ee447d
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret