Function at 0x940630
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
push ebx
push edi
call fcn.00948ef0
add esp, 8
test eax, eax
mov dword [ebp + 0x1e4], eax
jne 0x940669
push ebp
push ebx
push edi
push esi
call fcn.00940610
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
pop esi
pop edi
pop ebx
pop ebp
jmp 0x9492b0
push esi
cmp dword [esp + 0xc], 0x10
mov eax, 0x20001
jne 0x949551
mov ecx, dword [esp + 0x10]
cmp ecx, 0xa
je 0x9492d2
test ecx, ecx
jne 0x949551
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 8]
mov dword [edx + 0x1e4], 1
mov dword [edx + 0x1e0], ecx
lea eax, [edx + 0xf]
movdqu xmm0, xmmword [esi]
and eax, 0xfffffff0
movdqa xmm2, xmm0
aeskeygenassist xmm1, xmm0, 1
movdqa xmmword [eax], xmm0
pslldq xmm2, 4
pshufd xmm1, xmm1, 0xff
pxor xmm2, xmm0
movdqa xmm0, xmm2
pslldq xmm0, 4
pxor xmm0, xmm2
movdqa xmm2, xmm0
pslldq xmm2, 4
pxor xmm2, xmm1
pxor xmm2, xmm0
movdqa xmm1, xmm2
aeskeygenassist xmm0, xmm2, 2
movdqa xmmword [eax + 0x10], xmm2
pslldq xmm1, 4
pshufd xmm0, xmm0, 0xff
pxor xmm1, xmm2
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
pxor xmm1, xmm0
pxor xmm1, xmm2
movdqa xmm2, xmm1
aeskeygenassist xmm0, xmm1, 4
movdqa xmmword [eax + 0x20], xmm1
pslldq xmm2, 4
pshufd xmm0, xmm0, 0xff
pxor xmm2, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
pxor xmm1, xmm2
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm0
pxor xmm2, xmm1
movdqa xmm1, xmm2
aeskeygenassist xmm0, xmm2, 8
movdqa xmmword [eax + 0x30], xmm2
pslldq xmm1, 4
pshufd xmm0, xmm0, 0xff
pxor xmm1, xmm2
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
pxor xmm1, xmm0
pxor xmm1, xmm2
movdqa xmm2, xmm1
aeskeygenassist xmm0, xmm1, 0x10
movdqa xmmword [eax + 0x40], xmm1
pslldq xmm2, 4
pshufd xmm0, xmm0, 0xff
pxor xmm2, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
pxor xmm1, xmm2
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm0
pxor xmm2, xmm1
movdqa xmm1, xmm2
aeskeygenassist xmm0, xmm2, 0x20
movdqa xmmword [eax + 0x50], xmm2
pslldq xmm1, 4
pshufd xmm0, xmm0, 0xff
pxor xmm1, xmm2
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
pxor xmm1, xmm0
pxor xmm1, xmm2
movdqa xmm2, xmm1
aeskeygenassist xmm0, xmm1, 0x40
movdqa xmmword [eax + 0x60], xmm1
pslldq xmm2, 4
pshufd xmm0, xmm0, 0xff
pxor xmm2, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
pxor xmm1, xmm2
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm0
pxor xmm2, xmm1
movdqa xmm1, xmm2
aeskeygenassist xmm0, xmm2, 0x80
movdqa xmmword [eax + 0x70], xmm2
pslldq xmm1, 4
pshufd xmm0, xmm0, 0xff
pxor xmm1, xmm2
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
pxor xmm1, xmm0
pxor xmm1, xmm2
movdqa xmm2, xmm1
aeskeygenassist xmm0, xmm1, 0x1b
movdqa xmmword [eax + 0x80], xmm1
pslldq xmm2, 4
pshufd xmm0, xmm0, 0xff
pxor xmm2, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
pxor xmm1, xmm2
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm0
pxor xmm2, xmm1
movdqa xmm1, xmm2
aeskeygenassist xmm0, xmm2, 0x36
movdqa xmmword [eax + 0x90], xmm2
pslldq xmm1, 4
pshufd xmm0, xmm0, 0xff
pxor xmm1, xmm2
movdqa xmm2, xmm1
pslldq xmm2, 4
pxor xmm2, xmm1
movdqa xmm1, xmm2
pslldq xmm1, 4
pxor xmm1, xmm0
pxor xmm1, xmm2
movdqa xmmword [eax + 0xa0], xmm1
xor eax, eax
pop esi
ret