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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x108
movaps xmm3, xmmword [0x4bdf20]
push esi
mov esi, dword [ebp + 0x10]
mov dword [esp + 0x18], edx
push edi
cmp esi, 0x80
jae 0x47d322
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
jmp 0x47d6cc
movups xmm4, xmmword [edx]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
movaps xmm2, xmm4
movaps xmm0, xmm4
psrld xmm2, 0x1c
pslld xmm0, 4
movaps xmm1, xmm2
pslldq xmm1, 4
pxor xmm1, xmm0
psrldq xmm2, 0xc
lea edi, [ecx + 0x10]
movaps xmm0, xmm2
movaps xmmword [esp + 0xd0], xmm4
pslld xmm0, 2
movaps xmm5, xmm2
pslld xmm5, 7
pxor xmm5, xmm0
movaps xmm0, xmm2
pslld xmm0, 1
pxor xmm5, xmm0
movaps xmm0, xmm4
psrad xmm0, 0x1f
pxor xmm5, xmm2
pxor xmm5, xmm1
pshufd xmm2, xmm0, 0x93
movaps xmm0, xmm4
pslld xmm0, 1
pand xmm2, xmm3
movaps xmmword [esp + 0xe0], xmm5
pxor xmm2, xmm0
movaps xmm0, xmm5
psrad xmm0, 0x1f
movaps xmmword [esp + 0xf0], xmm2
pshufd xmm6, xmm0, 0x93
movaps xmm0, xmm5
pslld xmm0, 1
pand xmm6, xmm3
pxor xmm6, xmm0
movaps xmm0, xmm2
psrad xmm0, 0x1f
movaps xmmword [esp + 0xb0], xmm6
pshufd xmm7, xmm0, 0x93
movaps xmm0, xmm2
pslld xmm0, 1
pand xmm7, xmm3
pxor xmm7, xmm0
movaps xmm0, xmm6
psrad xmm0, 0x1f
movaps xmmword [esp + 0x100], xmm7
pshufd xmm1, xmm0, 0x93
movaps xmm0, xmm6
pslld xmm0, 1
pand xmm1, xmm3
pxor xmm1, xmm0
movaps xmm0, xmm7
psrad xmm0, 0x1f
movaps xmmword [esp + 0x70], xmm1
pshufd xmm0, xmm0, 0x93
pand xmm0, xmm3
movaps xmmword [esp + 0x40], xmm0
movaps xmm0, xmm7
movaps xmm6, xmmword [esp + 0x40]
pslld xmm0, 1
pxor xmm6, xmm0
movaps xmm0, xmm1
psrad xmm0, 0x1f
movaps xmmword [esp + 0x40], xmm6
movups xmm6, xmmword [edx + 0x60]
pshufd xmm1, xmm0, 0x93
movaps xmm0, xmmword [esp + 0x70]
pand xmm1, xmm3
movups xmm3, xmmword [edx + 0x30]
pxor xmm6, xmmword [esp + 0x70]
pxor xmm3, xmmword [esp + 0x40]
pslld xmm0, 1
pxor xmm1, xmm0
movups xmm0, xmmword [edx]
movaps xmmword [esp + 0xc0], xmm1
movups xmm1, xmmword [edx + 0x10]
pxor xmm0, xmm4
movups xmm4, xmmword [edx + 0x40]
pxor xmm1, xmm2
movaps xmmword [esp + 0x60], xmm0
movups xmm2, xmmword [edx + 0x20]
pxor xmm4, xmm5
movaps xmmword [esp + 0x50], xmm1
movups xmm5, xmmword [edx + 0x50]
pxor xmm2, xmm7
pxor xmm5, xmmword [esp + 0xb0]
movups xmm7, xmmword [edx + 0x70]
movups xmm0, xmmword [ecx]
sub edx, 0xffffff80
pxor xmm7, xmmword [esp + 0xc0]
movaps xmmword [esp + 0x20], xmm0
movaps xmm1, xmm0
pxor xmm1, xmmword [esp + 0x60]
movaps xmm0, xmmword [esp + 0x20]
pxor xmm0, xmmword [esp + 0x50]
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0x80], xmm1
movaps xmm1, xmmword [esp + 0x20]
movaps xmm0, xmm1
mov dword [esp + 0x14], edx
mov edx, dword [ecx + 0x1d0]
pxor xmm0, xmm2
movaps xmm2, xmmword [esp + 0x80]
cmp edi, edx
movaps xmmword [esp + 0xa0], xmm0
movaps xmm0, xmm1
pxor xmm0, xmm3
mov dword [esp + 0x18], edx
mov edx, dword [esp + 0x14]
movaps xmm3, xmmword [esp + 0x90]
movaps xmmword [esp + 0x50], xmm0
movaps xmm0, xmm1
pxor xmm0, xmm4
movaps xmm4, xmmword [esp + 0xa0]
movaps xmmword [esp + 0x60], xmm0
movaps xmm0, xmm1
pxor xmm0, xmm5
movaps xmm5, xmmword [esp + 0x50]
movaps xmmword [esp + 0x30], xmm0
movaps xmm0, xmm1
pxor xmm0, xmm6
pxor xmm1, xmm7
movaps xmm6, xmmword [esp + 0x60]
movaps xmmword [esp + 0x20], xmm0
movaps xmm7, xmmword [esp + 0x30]
movups xmm0, xmmword [edi]
jae 0x47d5b9
aesenc xmm7, xmm0
movaps xmmword [esp + 0x30], xmm7
add edi, 0x10
movaps xmm7, xmmword [esp + 0x20]
cmp edi, dword [esp + 0x18]
aesenc xmm7, xmm0
aesenc xmm2, xmm0
aesenc xmm3, xmm0
aesenc xmm4, xmm0
aesenc xmm5, xmm0
aesenc xmm6, xmm0
movaps xmmword [esp + 0x20], xmm7
aesenc xmm1, xmm0
jmp 0x47d56f
aesenclast xmm2, xmm0
pxor xmm2, xmmword [esp + 0xd0]
mov edi, 0x80
movups xmmword [eax], xmm2
sub esi, edi
movaps xmm2, xmmword [esp + 0x20]
aesenclast xmm3, xmm0
pxor xmm3, xmmword [esp + 0xf0]
movups xmmword [eax + 0x10], xmm3
aesenclast xmm4, xmm0
pxor xmm4, xmmword [esp + 0x100]
movaps xmm3, xmmword [esp + 0xc0]
movups xmmword [eax + 0x20], xmm4
aesenclast xmm5, xmm0
pxor xmm5, xmmword [esp + 0x40]
movups xmmword [eax + 0x30], xmm5
aesenclast xmm6, xmm0
pxor xmm6, xmmword [esp + 0xe0]
movups xmmword [eax + 0x40], xmm6
aesenclast xmm7, xmm0
pxor xmm7, xmmword [esp + 0xb0]
aesenclast xmm2, xmm0
pxor xmm2, xmmword [esp + 0x70]
movups xmmword [eax + 0x50], xmm7
aesenclast xmm1, xmm0
movups xmmword [eax + 0x60], xmm2
pxor xmm1, xmm3
movups xmmword [eax + 0x70], xmm1
add eax, edi
cmp esi, edi
jb 0x47d69d
movaps xmm0, xmm3
movaps xmm2, xmm3
psrad xmm0, 0x1f
psrld xmm2, 0x1b
pshufd xmm4, xmm0, 0x93
movaps xmm0, xmm3
pand xmm4, xmmword [0x4bdf20]
movaps xmm1, xmm2
pslld xmm3, 5
pslld xmm0, 1
pslldq xmm1, 4
pxor xmm1, xmm3
pxor xmm4, xmm0
movaps xmm3, xmmword [0x4bdf20]
jmp 0x47d347
mov edx, dword [esp + 0x1c]
test esi, esi
je 0x47d6d4
movaps xmm0, xmm3
pslld xmm3, 1
psrad xmm0, 0x1f
push esi
pshufd xmm0, xmm0, 0x93
pand xmm0, xmmword [0x4bdf20]
pxor xmm0, xmm3
push eax
push dword [esp + 0x1c]
movups xmmword [edx], xmm0
push edx
mov edx, ecx
call fcn.0047bd8c
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc