Function at 0x4d34c0
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 - 0xb0]
mov edi, edx
push eax
lea eax, [ebp - 0xc0]
mov esi, ecx
push eax
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [edi + 0x20]
lea edx, [ebp - 0x10]
call fcn.004d0c50
movups xmm0, xmmword [edi + 0x70]
add esp, 0x24
movups xmm1, xmmword [edi + 0x40]
add esi, 0x20
movups xmm2, xmmword [edi + 0x50]
mov eax, esi
movups xmm3, xmmword [edi + 0x60]
mov ecx, 0x8000
movaps xmmword [ebp - 0xd0], xmm0
movups xmm0, xmmword [edi + 0x80]
movaps xmmword [ebp - 0xe0], xmm0
movups xmm0, xmmword [edi + 0x90]
movaps xmmword [ebp - 0xf0], xmm0
movups xmm0, xmmword [edi + 0xa0]
movaps xmmword [ebp - 0x100], xmm0
movups xmm0, xmmword [edi + 0xb0]
movaps xmmword [ebp - 0x80], xmm0
jmp 0x4d3587
movaps xmm1, xmmword [ebp - 0x110]
movups xmm7, xmmword [eax - 0x20]
movups xmm6, xmmword [eax - 0x10]
pxor xmm7, xmm1
aesenc xmm7, xmmword [ebp - 0x10]
aesenc xmm7, xmmword [ebp - 0x20]
aesenc xmm7, xmmword [ebp - 0x30]
aesenc xmm7, xmmword [ebp - 0x40]
aesenc xmm7, xmmword [ebp - 0x50]
movaps xmm5, xmmword [ebp - 0x60]
pxor xmm6, xmm2
aesenc xmm6, xmmword [ebp - 0x10]
aesenc xmm6, xmmword [ebp - 0x20]
aesenc xmm6, xmmword [ebp - 0x30]
aesenc xmm6, xmmword [ebp - 0x40]
aesenc xmm6, xmmword [ebp - 0x50]
movaps xmm2, xmmword [ebp - 0x70]
movaps xmm4, xmmword [ebp - 0x90]
aesenc xmm7, xmm5
aesenc xmm7, xmmword [ebp - 0x70]
aesenc xmm6, xmm5
movups xmm5, xmmword [eax]
pxor xmm5, xmm3
movaps xmm1, xmmword [ebp - 0xc0]
aesenc xmm5, xmmword [ebp - 0x10]
aesenc xmm5, xmmword [ebp - 0x20]
aesenc xmm5, xmmword [ebp - 0x30]
aesenc xmm5, xmmword [ebp - 0x40]
aesenc xmm5, xmmword [ebp - 0x50]
aesenc xmm5, xmmword [ebp - 0x60]
movups xmm3, xmmword [eax + 0x20]
pxor xmm3, xmmword [ebp - 0xe0]
aesenc xmm3, xmmword [ebp - 0x10]
aesenc xmm3, xmmword [ebp - 0x20]
aesenc xmm3, xmmword [ebp - 0x30]
aesenc xmm3, xmmword [ebp - 0x40]
aesenc xmm3, xmmword [ebp - 0x50]
aesenc xmm3, xmmword [ebp - 0x60]
aesenc xmm5, xmm2
aesenc xmm6, xmm2
aesenc xmm5, xmm4
aesenc xmm7, xmm4
aesenc xmm6, xmm4
movups xmm4, xmmword [eax + 0x10]
pxor xmm4, xmmword [ebp - 0xd0]
aesenc xmm4, xmmword [ebp - 0x10]
aesenc xmm4, xmmword [ebp - 0x20]
aesenc xmm4, xmmword [ebp - 0x30]
aesenc xmm4, xmmword [ebp - 0x40]
aesenc xmm4, xmmword [ebp - 0x50]
aesenc xmm4, xmmword [ebp - 0x60]
movaps xmm0, xmmword [ebp - 0xb0]
aesenc xmm4, xmm2
aesenc xmm3, xmm2
movups xmm2, xmmword [eax + 0x30]
pxor xmm2, xmmword [ebp - 0xf0]
aesenc xmm2, xmmword [ebp - 0x10]
aesenc xmm2, xmmword [ebp - 0x20]
aesenc xmm2, xmmword [ebp - 0x30]
aesenc xmm2, xmmword [ebp - 0x40]
aesenc xmm2, xmmword [ebp - 0x50]
aesenc xmm2, xmmword [ebp - 0x60]
aesenc xmm2, xmmword [ebp - 0x70]
aesenc xmm5, xmm1
aesenc xmm5, xmm0
movaps xmmword [ebp - 0xa0], xmm5
movaps xmm5, xmmword [ebp - 0x90]
aesenc xmm4, xmm5
aesenc xmm3, xmm5
aesenc xmm2, xmm5
aesenc xmm7, xmm1
aesenc xmm6, xmm1
aesenc xmm4, xmm1
aesenc xmm3, xmm1
aesenc xmm2, xmm1
movups xmm1, xmmword [eax + 0x40]
pxor xmm1, xmmword [ebp - 0x100]
aesenc xmm7, xmm0
aesenc xmm6, xmm0
aesenc xmm4, xmm0
aesenc xmm3, xmm0
aesenc xmm2, xmm0
lea eax, [eax + 0x80]
aesenc xmm1, xmmword [ebp - 0x10]
aesenc xmm1, xmmword [ebp - 0x20]
aesenc xmm1, xmmword [ebp - 0x30]
aesenc xmm1, xmmword [ebp - 0x40]
aesenc xmm1, xmmword [ebp - 0x50]
aesenc xmm1, xmmword [ebp - 0x60]
aesenc xmm1, xmmword [ebp - 0x70]
aesenc xmm1, xmm5
movaps xmm5, xmm6
pxor xmm5, xmm7
movaps xmmword [ebp - 0x110], xmm5
movaps xmm5, xmm3
pxor xmm5, xmm4
movaps xmmword [ebp - 0xd0], xmm5
aesenc xmm1, xmmword [ebp - 0xc0]
aesenc xmm1, xmm0
movups xmm0, xmmword [eax - 0x30]
pxor xmm0, xmmword [ebp - 0x80]
movaps xmmword [ebp - 0x80], xmm7
movaps xmm7, xmmword [ebp - 0xa0]
pxor xmm7, xmm6
movaps xmm6, xmm4
pxor xmm6, xmmword [ebp - 0xa0]
movaps xmm4, xmm2
movaps xmmword [ebp - 0x120], xmm7
pxor xmm4, xmm3
movaps xmmword [ebp - 0xa0], xmm6
movaps xmm3, xmm1
movaps xmmword [ebp - 0xe0], xmm4
pxor xmm3, xmm2
movaps xmmword [ebp - 0xf0], xmm3
movaps xmm3, xmmword [ebp - 0xa0]
aesenc xmm0, xmmword [ebp - 0x10]
aesenc xmm0, xmmword [ebp - 0x20]
aesenc xmm0, xmmword [ebp - 0x30]
aesenc xmm0, xmmword [ebp - 0x40]
aesenc xmm0, xmmword [ebp - 0x50]
aesenc xmm0, xmmword [ebp - 0x60]
aesenc xmm0, xmmword [ebp - 0x70]
aesenc xmm0, xmmword [ebp - 0x90]
aesenc xmm0, xmmword [ebp - 0xc0]
aesenc xmm0, xmmword [ebp - 0xb0]
movaps xmm2, xmm0
pxor xmm2, xmm1
movaps xmm1, xmmword [ebp - 0x80]
movaps xmmword [ebp - 0x100], xmm2
pxor xmm1, xmm0
movaps xmm2, xmmword [ebp - 0x120]
movaps xmmword [ebp - 0x80], xmm1
sub ecx, 1
jne 0x4d3580
mov eax, 0x8000
movups xmm7, xmmword [esi - 0x20]
pxor xmm7, xmmword [ebp - 0x110]
aesenc xmm7, xmmword [ebp - 0x10]
aesenc xmm7, xmmword [ebp - 0x20]
movups xmm6, xmmword [esi - 0x10]
pxor xmm6, xmmword [ebp - 0x120]
aesenc xmm6, xmmword [ebp - 0x10]
aesenc xmm6, xmmword [ebp - 0x20]
movups xmm5, xmmword [esi]
pxor xmm5, xmmword [ebp - 0xa0]
aesenc xmm5, xmmword [ebp - 0x10]
aesenc xmm5, xmmword [ebp - 0x20]
aesenc xmm5, xmmword [ebp - 0x30]
aesenc xmm7, xmmword [ebp - 0x30]
aesenc xmm6, xmmword [ebp - 0x30]
aesenc xmm5, xmmword [ebp - 0x40]
aesenc xmm7, xmmword [ebp - 0x40]
aesenc xmm6, xmmword [ebp - 0x40]
aesenc xmm5, xmmword [ebp - 0x50]
aesenc xmm7, xmmword [ebp - 0x50]
aesenc xmm6, xmmword [ebp - 0x50]
aesenc xmm5, xmmword [ebp - 0x60]
aesenc xmm7, xmmword [ebp - 0x60]
movaps xmm4, xmmword [ebp - 0x70]
aesenc xmm6, xmmword [ebp - 0x60]
movups xmm3, xmmword [esi + 0x20]
pxor xmm3, xmmword [ebp - 0xe0]
aesenc xmm3, xmmword [ebp - 0x10]
aesenc xmm3, xmmword [ebp - 0x20]
movaps xmm1, xmmword [ebp - 0xc0]
movaps xmm2, xmmword [ebp - 0x90]
aesenc xmm3, xmmword [ebp - 0x30]
movaps xmm0, xmmword [ebp - 0xb0]
aesenc xmm3, xmmword [ebp - 0x40]
aesenc xmm3, xmmword [ebp - 0x50]
aesenc xmm3, xmmword [ebp - 0x60]
aesenc xmm5, xmm4
aesenc xmm7, xmm4
aesenc xmm6, xmm4
movups xmm4, xmmword [esi + 0x10]
pxor xmm4, xmmword [ebp - 0xd0]
aesenc xmm4, xmmword [ebp - 0x10]
aesenc xmm4, xmmword [ebp - 0x20]
aesenc xmm4, xmmword [ebp - 0x30]
aesenc xmm4, xmmword [ebp - 0x40]
aesenc xmm4, xmmword [ebp - 0x50]
aesenc xmm4, xmmword [ebp - 0x60]
aesenc xmm5, xmm2
aesenc xmm7, xmmword [ebp - 0x90]
aesenc xmm6, xmm2
aesenc xmm5, xmm1
aesenc xmm5, xmm0
movaps xmmword [ebp - 0xa0], xmm5
movaps xmm5, xmmword [ebp - 0x70]
aesenc xmm4, xmm5
aesenc xmm4, xmm2
aesenc xmm3, xmm5
aesenc xmm3, xmm2
movups xmm2, xmmword [esi + 0x30]
pxor xmm2, xmmword [ebp - 0xf0]
aesenc xmm2, xmmword [ebp - 0x10]
aesenc xmm2, xmmword [ebp - 0x20]
aesenc xmm2, xmmword [ebp - 0x30]
aesenc xmm2, xmmword [ebp - 0x40]
aesenc xmm2, xmmword [ebp - 0x50]
aesenc xmm2, xmmword [ebp - 0x60]
aesenc xmm2, xmm5
aesenc xmm2, xmmword [ebp - 0x90]
aesenc xmm7, xmm1
aesenc xmm6, xmm1
aesenc xmm4, xmm1
aesenc xmm3, xmm1
aesenc xmm2, xmm1
movups xmm1, xmmword [esi + 0x40]
pxor xmm1, xmmword [ebp - 0x100]
aesenc xmm1, xmmword [ebp - 0x10]
aesenc xmm7, xmm0
aesenc xmm6, xmm0
aesenc xmm4, xmm0
aesenc xmm3, xmm0
aesenc xmm2, xmm0
lea esi, [esi + 0x80]
movaps xmm5, xmm6
pxor xmm5, xmm7
movaps xmmword [ebp - 0x110], xmm5
movaps xmm5, xmm3
pxor xmm5, xmm4
movaps xmmword [ebp - 0xd0], xmm5
aesenc xmm1, xmmword [ebp - 0x20]
aesenc xmm1, xmmword [ebp - 0x30]
aesenc xmm1, xmmword [ebp - 0x40]
aesenc xmm1, xmmword [ebp - 0x50]
aesenc xmm1, xmmword [ebp - 0x60]
aesenc xmm1, xmmword [ebp - 0x70]
aesenc xmm1, xmmword [ebp - 0x90]
aesenc xmm1, xmmword [ebp - 0xc0]
aesenc xmm1, xmm0
movups xmm0, xmmword [esi - 0x30]
pxor xmm0, xmmword [ebp - 0x80]
movaps xmmword [ebp - 0x80], xmm7
movaps xmm7, xmmword [ebp - 0xa0]
pxor xmm7, xmm6
movaps xmm6, xmm4
pxor xmm6, xmmword [ebp - 0xa0]
movaps xmm4, xmm2
movaps xmmword [ebp - 0x120], xmm7
pxor xmm4, xmm3
movaps xmmword [ebp - 0xa0], xmm6
movaps xmm3, xmm1
movaps xmmword [ebp - 0xe0], xmm4
pxor xmm3, xmm2
movaps xmmword [ebp - 0xf0], xmm3
aesenc xmm0, xmmword [ebp - 0x10]
aesenc xmm0, xmmword [ebp - 0x20]
aesenc xmm0, xmmword [ebp - 0x30]
aesenc xmm0, xmmword [ebp - 0x40]
aesenc xmm0, xmmword [ebp - 0x50]
aesenc xmm0, xmmword [ebp - 0x60]
aesenc xmm0, xmmword [ebp - 0x70]
aesenc xmm0, xmmword [ebp - 0x90]
aesenc xmm0, xmmword [ebp - 0xc0]
aesenc xmm0, xmmword [ebp - 0xb0]
movaps xmm2, xmm0
pxor xmm2, xmm1
movaps xmm1, xmmword [ebp - 0x80]
movaps xmmword [ebp - 0x100], xmm2
pxor xmm1, xmm0
movaps xmmword [ebp - 0x80], xmm1
sub eax, 1
jne 0x4d3870
mov eax, 0x10
nop dword [eax]
movaps xmm0, xmmword [ebp - 0xa0]
aesenc xmm0, xmmword [ebp - 0x10]
aesenc xmm0, xmmword [ebp - 0x20]
aesenc xmm0, xmmword [ebp - 0x30]
aesenc xmm0, xmmword [ebp - 0x40]
aesenc xmm0, xmmword [ebp - 0x50]
movaps xmm5, xmmword [ebp - 0x60]
aesenc xmm0, xmm5
movaps xmm4, xmmword [ebp - 0x70]
aesenc xmm0, xmm4
movaps xmm7, xmmword [ebp - 0x110]
aesenc xmm7, xmmword [ebp - 0x10]
aesenc xmm7, xmmword [ebp - 0x20]
aesenc xmm7, xmmword [ebp - 0x30]
movaps xmm3, xmmword [ebp - 0x90]
aesenc xmm0, xmm3
movaps xmm6, xmmword [ebp - 0x120]
aesenc xmm6, xmmword [ebp - 0x10]
aesenc xmm6, xmmword [ebp - 0x20]
aesenc xmm6, xmmword [ebp - 0x30]
movaps xmm2, xmmword [ebp - 0xc0]
aesenc xmm0, xmm2
aesenc xmm7, xmmword [ebp - 0x40]
aesenc xmm6, xmmword [ebp - 0x40]
movaps xmm1, xmmword [ebp - 0xb0]
aesenc xmm0, xmm1
aesenc xmm7, xmmword [ebp - 0x50]
aesenc xmm6, xmmword [ebp - 0x50]
aesenc xmm7, xmm5
aesenc xmm6, xmm5
movaps xmm5, xmm0
movaps xmm0, xmmword [ebp - 0xd0]
aesenc xmm0, xmmword [ebp - 0x10]
aesenc xmm0, xmmword [ebp - 0x20]
aesenc xmm0, xmmword [ebp - 0x30]
aesenc xmm0, xmmword [ebp - 0x40]
aesenc xmm0, xmmword [ebp - 0x50]
aesenc xmm0, xmmword [ebp - 0x60]
aesenc xmm0, xmm4
aesenc xmm0, xmm3
aesenc xmm0, xmm2
aesenc xmm0, xmm1
aesenc xmm7, xmm4
aesenc xmm6, xmm4
movaps xmm4, xmm0
movaps xmmword [ebp - 0xa0], xmm5
movaps xmm0, xmmword [ebp - 0xe0]
aesenc xmm0, xmmword [ebp - 0x10]
aesenc xmm0, xmmword [ebp - 0x20]
aesenc xmm0, xmmword [ebp - 0x30]
aesenc xmm0, xmmword [ebp - 0x40]
aesenc xmm0, xmmword [ebp - 0x50]
aesenc xmm0, xmmword [ebp - 0x60]
aesenc xmm0, xmmword [ebp - 0x70]
aesenc xmm0, xmm3
aesenc xmm0, xmm2
aesenc xmm0, xmm1
aesenc xmm7, xmm3
aesenc xmm6, xmm3
movaps xmm3, xmm0
movaps xmm0, xmmword [ebp - 0xf0]
aesenc xmm0, xmmword [ebp - 0x10]
aesenc xmm0, xmmword [ebp - 0x20]
aesenc xmm0, xmmword [ebp - 0x30]
aesenc xmm0, xmmword [ebp - 0x40]
aesenc xmm0, xmmword [ebp - 0x50]
aesenc xmm0, xmmword [ebp - 0x60]
aesenc xmm0, xmmword [ebp - 0x70]
aesenc xmm0, xmmword [ebp - 0x90]
aesenc xmm0, xmm2
aesenc xmm0, xmm1
aesenc xmm7, xmm2
aesenc xmm6, xmm2
movaps xmm2, xmm0
movaps xmm0, xmmword [ebp - 0x100]
aesenc xmm0, xmmword [ebp - 0x10]
aesenc xmm0, xmmword [ebp - 0x20]
aesenc xmm0, xmmword [ebp - 0x30]
aesenc xmm0, xmmword [ebp - 0x40]
aesenc xmm7, xmm1
aesenc xmm6, xmm1
movaps xmm5, xmm6
pxor xmm5, xmm7
movaps xmmword [ebp - 0x110], xmm5
movaps xmm5, xmm3
pxor xmm5, xmm4
movaps xmmword [ebp - 0xd0], xmm5
aesenc xmm0, xmmword [ebp - 0x50]
aesenc xmm0, xmmword [ebp - 0x60]
aesenc xmm0, xmmword [ebp - 0x70]
aesenc xmm0, xmmword [ebp - 0x90]
aesenc xmm0, xmmword [ebp - 0xc0]
aesenc xmm0, xmm1
movaps xmm1, xmm0
movaps xmm0, xmmword [ebp - 0x80]
movaps xmmword [ebp - 0x80], xmm7
movaps xmm7, xmmword [ebp - 0xa0]
pxor xmm7, xmm6
movaps xmm6, xmm4
pxor xmm6, xmmword [ebp - 0xa0]
movaps xmm4, xmm2
movaps xmmword [ebp - 0x120], xmm7
pxor xmm4, xmm3
movaps xmmword [ebp - 0xa0], xmm6
movaps xmm3, xmm1
movaps xmmword [ebp - 0xe0], xmm4
pxor xmm3, xmm2
movaps xmmword [ebp - 0xf0], xmm3
aesenc xmm0, xmmword [ebp - 0x10]
aesenc xmm0, xmmword [ebp - 0x20]
aesenc xmm0, xmmword [ebp - 0x30]
aesenc xmm0, xmmword [ebp - 0x40]
aesenc xmm0, xmmword [ebp - 0x50]
aesenc xmm0, xmmword [ebp - 0x60]
aesenc xmm0, xmmword [ebp - 0x70]
aesenc xmm0, xmmword [ebp - 0x90]
aesenc xmm0, xmmword [ebp - 0xc0]
aesenc xmm0, xmmword [ebp - 0xb0]
movaps xmm2, xmm0
pxor xmm2, xmm1
movaps xmm1, xmmword [ebp - 0x80]
movaps xmmword [ebp - 0x100], xmm2
pxor xmm1, xmm0
movaps xmmword [ebp - 0x80], xmm1
sub eax, 1
jne 0x4d3b60
movaps xmm0, xmmword [ebp - 0x110]
movups xmmword [edi + 0x40], xmm0
movups xmmword [edi + 0x50], xmm7
movups xmmword [edi + 0x60], xmm6
movups xmmword [edi + 0x70], xmm5
movups xmmword [edi + 0x80], xmm4
movups xmmword [edi + 0x90], xmm3
movups xmmword [edi + 0xa0], xmm2
movups xmmword [edi + 0xb0], xmm1
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret