Function at 0x47ea8a
Capabilities:
Decrypt data using aes via x86 extensions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [ebp + 0x10]
movaps xmm6, xmmword [0x4e2da0]
mov dword [esp + 0x24], edx
mov dword [esp + 0xc], ecx
push esi
push edi
cmp eax, 0x80
jae 0x47eac2
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push edx
mov edx, ecx
jmp 0x47eedd
movups xmm5, xmmword [edx]
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
movaps xmm2, xmm5
mov dword [esp + 0x10], eax
psrld xmm2, 0x1c
mov dword [esp + 8], edi
movaps xmm1, xmm2
pslldq xmm2, 4
psrldq xmm1, 0xc
movaps xmm3, xmm1
movaps xmm0, xmm1
pslld xmm0, 2
pslld xmm3, 7
pxor xmm3, xmm0
movaps xmm0, xmm1
pslld xmm0, 1
pxor xmm3, xmm0
movaps xmm0, xmm5
pslld xmm0, 4
pxor xmm3, xmm1
pxor xmm0, xmm2
pxor xmm3, xmm0
movaps xmm0, xmm5
movaps xmmword [esp + 0xd0], xmm3
psrad xmm0, 0x1f
lea esi, [edi + 0x40]
lea eax, [edi + 0x10]
mov dword [esp + 0x18], esi
pshufd xmm7, xmm0, 0x93
lea ecx, [edi + 0x20]
movaps xmm0, xmm5
mov esi, dword [esp + 8]
pslld xmm0, 1
lea edx, [edi + 0x30]
pand xmm7, xmm6
movaps xmmword [esp + 0xc0], xmm5
pxor xmm7, xmm0
movaps xmm0, xmm3
psrad xmm0, 0x1f
movaps xmmword [esp + 0xe0], xmm7
pshufd xmm1, xmm0, 0x93
movaps xmm0, xmm3
pslld xmm0, 1
pand xmm1, xmm6
pxor xmm1, xmm0
movaps xmm0, xmm7
psrad xmm0, 0x1f
movaps xmmword [esp + 0xb0], xmm1
pshufd xmm2, xmm0, 0x93
movaps xmm0, xmm7
pslld xmm0, 1
pand xmm2, xmm6
pxor xmm2, xmm0
movaps xmm0, xmm1
psrad xmm0, 0x1f
movaps xmmword [esp + 0x90], xmm2
pshufd xmm4, xmm0, 0x93
movaps xmm0, xmm1
pslld xmm0, 1
pand xmm4, xmm6
pxor xmm4, xmm0
movaps xmm0, xmm2
psrad xmm0, 0x1f
movaps xmmword [esp + 0x60], xmm4
pshufd xmm1, xmm0, 0x93
movaps xmm0, xmm2
pslld xmm0, 1
pand xmm1, xmm6
pxor xmm1, xmm0
movaps xmm0, xmm4
psrad xmm0, 0x1f
movaps xmmword [esp + 0xa0], xmm1
pshufd xmm4, xmm0, 0x93
movaps xmm0, xmmword [esp + 0x60]
pand xmm4, xmm6
pslld xmm0, 1
pxor xmm4, xmm0
movups xmm0, xmmword [edi]
add edi, 0x50
movaps xmmword [esp + 0xf0], xmm4
mov dword [esp + 0x1c], edi
pxor xmm0, xmm5
lea edi, [esi + 0x60]
mov dword [esp + 0x20], edi
lea edi, [esi + 0x70]
mov dword [esp + 0x24], edi
sub esi, 0xffffff80
mov edi, dword [esp + 0x14]
mov dword [esp + 8], esi
mov esi, dword [edi + 0x1d0]
mov dword [esp + 0xc], esi
mov esi, dword [edi + 0x1d4]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x28], esi
movups xmm1, xmmword [edi]
add edi, 0x10
mov dword [esp + 0xc], edi
movaps xmm2, xmm1
pxor xmm2, xmm0
movaps xmmword [esp + 0x30], xmm2
movups xmm2, xmmword [eax]
pxor xmm2, xmm7
pxor xmm2, xmm1
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
movups xmm6, xmmword [ecx]
mov ecx, dword [esp + 0x28]
movups xmm0, xmmword [esi]
movups xmm7, xmmword [edx]
pxor xmm0, xmm3
pxor xmm6, xmmword [esp + 0x90]
pxor xmm0, xmm1
pxor xmm7, xmmword [esp + 0xa0]
movaps xmmword [esp + 0x80], xmm0
pxor xmm6, xmm1
movups xmm0, xmmword [edi]
pxor xmm7, xmm1
pxor xmm0, xmmword [esp + 0xb0]
pxor xmm0, xmm1
movaps xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x24]
pxor xmm0, xmmword [esp + 0x60]
pxor xmm0, xmm1
movaps xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0xc]
pxor xmm0, xmm4
pxor xmm0, xmm1
movaps xmm1, xmmword [esp + 0x80]
movaps xmmword [esp + 0x70], xmm0
cmp eax, ecx
jae 0x47ed75
movaps xmm4, xmmword [esp + 0x40]
movaps xmm5, xmmword [esp + 0x50]
movups xmm0, xmmword [eax]
add eax, 0x10
movaps xmm3, xmmword [esp + 0x30]
aesdec xmm3, xmm0
movaps xmmword [esp + 0x30], xmm3
movaps xmm3, xmmword [esp + 0x70]
aesdec xmm3, xmm0
movaps xmmword [esp + 0x70], xmm3
aesdec xmm2, xmm0
aesdec xmm6, xmm0
aesdec xmm7, xmm0
aesdec xmm1, xmm0
aesdec xmm4, xmm0
aesdec xmm5, xmm0
cmp eax, ecx
jb 0x47ed15
movaps xmm3, xmmword [esp + 0xd0]
movaps xmmword [esp + 0x50], xmm5
movaps xmm5, xmmword [esp + 0xc0]
movaps xmmword [esp + 0x40], xmm4
movups xmm0, xmmword [eax]
mov eax, dword [esp + 0x10]
mov edx, 0x80
movaps xmm4, xmmword [esp + 0x30]
mov ecx, dword [ebp + 0x10]
aesdeclast xmm1, xmm0
aesdeclast xmm4, xmm0
pxor xmm4, xmm5
pxor xmm1, xmm3
movaps xmmword [esp + 0x30], xmm4
sub ecx, edx
movaps xmm5, xmmword [esp + 0x30]
movaps xmm4, xmmword [esp + 0xf0]
movups xmmword [eax], xmm5
aesdeclast xmm2, xmm0
pxor xmm2, xmmword [esp + 0xe0]
movups xmmword [eax + 0x10], xmm2
aesdeclast xmm6, xmm0
pxor xmm6, xmmword [esp + 0x90]
movups xmmword [eax + 0x20], xmm6
aesdeclast xmm7, xmm0
pxor xmm7, xmmword [esp + 0xa0]
movups xmmword [eax + 0x30], xmm7
mov dword [ebp + 0x10], ecx
movups xmmword [eax + 0x40], xmm1
movaps xmm1, xmmword [esp + 0x40]
aesdeclast xmm1, xmm0
pxor xmm1, xmmword [esp + 0xb0]
movups xmmword [eax + 0x50], xmm1
movaps xmm1, xmmword [esp + 0x50]
aesdeclast xmm1, xmm0
pxor xmm1, xmmword [esp + 0x60]
movups xmmword [eax + 0x60], xmm1
movaps xmm1, xmmword [esp + 0x70]
aesdeclast xmm1, xmm0
pxor xmm1, xmm4
movups xmmword [eax + 0x70], xmm1
add eax, edx
mov dword [esp + 0x10], eax
cmp ecx, edx
jb 0x47eea9
movaps xmm6, xmmword [0x4e2da0]
movaps xmm0, xmm4
mov edi, dword [esp + 8]
movaps xmm2, xmm4
psrad xmm0, 0x1f
psrld xmm2, 0x1b
pshufd xmm5, xmm0, 0x93
movaps xmm0, xmm4
pslld xmm0, 1
movaps xmm1, xmm2
psrldq xmm1, 0xc
pand xmm5, xmm6
pxor xmm5, xmm0
pslld xmm4, 5
movaps xmm3, xmm1
pslldq xmm2, 4
pslld xmm3, 7
movaps xmm0, xmm1
pslld xmm0, 2
pxor xmm2, xmm4
pxor xmm3, xmm0
movaps xmm0, xmm1
pslld xmm0, 1
pxor xmm3, xmm0
pxor xmm3, xmm1
pxor xmm3, xmm2
jmp 0x47eb1c
test ecx, ecx
je 0x47eee2
mov edx, dword [esp + 0x2c]
movaps xmm0, xmm4
psrad xmm0, 0x1f
push ecx
pshufd xmm0, xmm0, 0x93
pand xmm0, xmmword [0x4e2da0]
push eax
push dword [esp + 0x10]
pslld xmm4, 1
push edx
pxor xmm0, xmm4
movups xmmword [edx], xmm0
mov edx, dword [esp + 0x24]
call fcn.0047d05c
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc