Function at 0x4f7340
Capabilities:
Encode data using xor
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, 0x128
push esi
push edi
lea eax, [ebp - 0xc0]
mov edi, edx
push eax
lea eax, [ebp - 0xd0]
mov esi, ecx
push eax
lea eax, [ebp - 0xe0]
push eax
lea eax, [ebp - 0xf0]
push eax
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [edi + 0x20]
lea edx, [ebp - 0x10]
call fcn.004f6c20
movups xmm0, xmmword [edi + 0x40]
lea eax, [esi + 0x20]
movaps xmm1, xmmword [ebp - 0xc0]
add esp, 0x24
movaps xmm2, xmmword [ebp - 0xd0]
mov ecx, 0x800
movaps xmm3, xmmword [ebp - 0xe0]
movaps xmm4, xmmword [ebp - 0xf0]
movaps xmm5, xmmword [ebp - 0x100]
movaps xmm6, xmmword [ebp - 0x110]
movaps xmm7, xmmword [ebp - 0x120]
movaps xmmword [ebp - 0x40], xmm0
movups xmm0, xmmword [edi + 0x50]
movaps xmmword [ebp - 0x50], xmm0
movups xmm0, xmmword [edi + 0x60]
movaps xmmword [ebp - 0x60], xmm0
movups xmm0, xmmword [edi + 0x70]
movaps xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [edi + 0x80]
movaps xmmword [ebp - 0x80], xmm0
movups xmm0, xmmword [edi + 0x90]
movaps xmmword [ebp - 0x90], xmm0
movups xmm0, xmmword [edi + 0xa0]
movaps xmmword [ebp - 0xa0], xmm0
movups xmm0, xmmword [edi + 0xb0]
movaps xmmword [ebp - 0xb0], xmm0
nop word [eax + eax]
movups xmm0, xmmword [eax - 0x20]
pxor xmm0, xmmword [ebp - 0x40]
aesenc xmm0, xmmword [ebp - 0x10]
aesenc xmm0, xmmword [ebp - 0x20]
aesenc xmm0, xmmword [ebp - 0x30]
aesenc xmm0, xmm7
aesenc xmm0, xmm6
aesenc xmm0, xmm5
aesenc xmm0, xmm4
aesenc xmm0, xmm3
aesenc xmm0, xmm2
aesenc xmm0, xmm1
movaps xmmword [ebp - 0x40], xmm0
movups xmm0, xmmword [eax - 0x10]
pxor xmm0, xmmword [ebp - 0x50]
aesenc xmm0, xmmword [ebp - 0x10]
aesenc xmm0, xmmword [ebp - 0x20]
aesenc xmm0, xmmword [ebp - 0x30]
aesenc xmm0, xmm7
aesenc xmm0, xmm6
aesenc xmm0, xmm5
aesenc xmm0, xmm4
aesenc xmm0, xmm3
aesenc xmm0, xmm2
aesenc xmm0, xmm1
movaps xmmword [ebp - 0x50], xmm0
movups xmm0, xmmword [eax]
pxor xmm0, xmmword [ebp - 0x60]
aesenc xmm0, xmmword [ebp - 0x10]
aesenc xmm0, xmmword [ebp - 0x20]
aesenc xmm0, xmmword [ebp - 0x30]
aesenc xmm0, xmm7
aesenc xmm0, xmm6
aesenc xmm0, xmm5
aesenc xmm0, xmm4
aesenc xmm0, xmm3
aesenc xmm0, xmm2
aesenc xmm0, xmm1
movaps xmmword [ebp - 0x60], xmm0
movups xmm0, xmmword [eax + 0x10]
pxor xmm0, xmmword [ebp - 0x70]
aesenc xmm0, xmmword [ebp - 0x10]
aesenc xmm0, xmmword [ebp - 0x20]
aesenc xmm0, xmmword [ebp - 0x30]
aesenc xmm0, xmm7
aesenc xmm0, xmm6
aesenc xmm0, xmm5
aesenc xmm0, xmm4
aesenc xmm0, xmm3
aesenc xmm0, xmm2
aesenc xmm0, xmm1
movaps xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [eax + 0x20]
pxor xmm0, xmmword [ebp - 0x80]
aesenc xmm0, xmmword [ebp - 0x10]
aesenc xmm0, xmmword [ebp - 0x20]
aesenc xmm0, xmmword [ebp - 0x30]
aesenc xmm0, xmm7
aesenc xmm0, xmm6
aesenc xmm0, xmm5
aesenc xmm0, xmm4
aesenc xmm0, xmm3
aesenc xmm0, xmm2
aesenc xmm0, xmm1
movaps xmmword [ebp - 0x80], xmm0
movups xmm0, xmmword [eax + 0x30]
pxor xmm0, xmmword [ebp - 0x90]
aesenc xmm0, xmmword [ebp - 0x10]
aesenc xmm0, xmmword [ebp - 0x20]
aesenc xmm0, xmmword [ebp - 0x30]
aesenc xmm0, xmm7
aesenc xmm0, xmm6
aesenc xmm0, xmm5
aesenc xmm0, xmm4
aesenc xmm0, xmm3
aesenc xmm0, xmm2
aesenc xmm0, xmm1
movaps xmmword [ebp - 0x90], xmm0
movups xmm0, xmmword [eax + 0x40]
pxor xmm0, xmmword [ebp - 0xa0]
aesenc xmm0, xmmword [ebp - 0x10]
lea eax, [eax + 0x80]
aesenc xmm0, xmmword [ebp - 0x20]
aesenc xmm0, xmmword [ebp - 0x30]
aesenc xmm0, xmm7
aesenc xmm0, xmm6
aesenc xmm0, xmm5
aesenc xmm0, xmm4
aesenc xmm0, xmm3
aesenc xmm0, xmm2
aesenc xmm0, xmm1
movaps xmmword [ebp - 0xa0], xmm0
movups xmm0, xmmword [eax - 0x30]
pxor xmm0, xmmword [ebp - 0xb0]
aesenc xmm0, xmmword [ebp - 0x10]
aesenc xmm0, xmmword [ebp - 0x20]
aesenc xmm0, xmmword [ebp - 0x30]
aesenc xmm0, xmm7
aesenc xmm0, xmm6
aesenc xmm0, xmm5
aesenc xmm0, xmm4
aesenc xmm0, xmm3
aesenc xmm0, xmm2
aesenc xmm0, xmm1
movaps xmmword [ebp - 0xb0], xmm0
sub ecx, 1
jne 0x4f7440
movaps xmm0, xmmword [ebp - 0x40]
movups xmmword [edi + 0x40], xmm0
movaps xmm0, xmmword [ebp - 0x50]
movups xmmword [edi + 0x50], xmm0
movaps xmm0, xmmword [ebp - 0x60]
movups xmmword [edi + 0x60], xmm0
movaps xmm0, xmmword [ebp - 0x70]
movups xmmword [edi + 0x70], xmm0
movaps xmm0, xmmword [ebp - 0x80]
movups xmmword [edi + 0x80], xmm0
movaps xmm0, xmmword [ebp - 0x90]
movups xmmword [edi + 0x90], xmm0
movaps xmm0, xmmword [ebp - 0xa0]
movups xmmword [edi + 0xa0], xmm0
movaps xmm0, xmmword [ebp - 0xb0]
movups xmmword [edi + 0xb0], xmm0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret