Function at 0x64aaa0
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, 0x6a52e0
mov dword [ebp - 0xc], eax
push ebp
call fcn.0064a9fc
pop ecx
jmp 0x64ac6c
mov eax, dword [ebp + 8]
add eax, 0xffffffe0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x4c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax*4 - 0x3c]
shr eax, 8
and eax, 0xff
mov al, byte [eax + 0x6a2cd5]
mov edx, dword [ebp - 0x10]
xor al, byte [edx]
mov edx, dword [ebp - 0xc]
xor al, byte [edx]
mov edx, dword [ebp - 0x10]
mov byte [edx], al
inc dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x4c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax*4 - 0x3c]
shr eax, 0x10
and eax, 0xff
mov al, byte [eax + 0x6a2cd5]
mov edx, dword [ebp - 0x10]
xor byte [edx], al
inc dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x4c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax*4 - 0x3c]
shr eax, 0x18
mov al, byte [eax + 0x6a2cd5]
mov edx, dword [ebp - 0x10]
xor byte [edx], al
inc dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x4c]
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax*4 - 0x3c]
and eax, 0xff
mov al, byte [eax + 0x6a2cd5]
mov edx, dword [ebp - 0x10]
xor byte [edx], al
inc dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
cmp dword [eax + 0x4c], 0xe
jne 0x64ac2f
mov dword [ebp - 0x14], 1
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*4 - 0x24]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
xor dword [edx + ecx*4 - 0x20], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 4
jne 0x64ab7e
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
and eax, 0xff
mov al, byte [eax + 0x6a2cd5]
mov edx, dword [ebp - 0x10]
xor byte [edx], al
inc dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
shr eax, 8
and eax, 0xff
mov al, byte [eax + 0x6a2cd5]
mov edx, dword [ebp - 0x10]
xor byte [edx], al
inc dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
shr eax, 0x10
and eax, 0xff
mov al, byte [eax + 0x6a2cd5]
mov edx, dword [ebp - 0x10]
xor byte [edx], al
inc dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x14]
shr eax, 0x18
mov al, byte [eax + 0x6a2cd5]
mov edx, dword [ebp - 0x10]
xor byte [edx], al
mov dword [ebp - 0x14], 5
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*4 - 0x24]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
xor dword [edx + ecx*4 - 0x20], eax
inc dword [ebp - 0x14]
cmp dword [ebp - 0x14], 8
jne 0x64ac10
jmp 0x64ac65
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x4c]
sub eax, 7
test eax, eax
jle 0x64ac65
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 1
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*4 - 0x24]
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x14]
xor dword [edx + ecx*4 - 0x20], eax
inc dword [ebp - 0x14]
dec dword [ebp - 0x18]
jne 0x64ac49
push ebp
call fcn.0064a9fc
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x24]
mov eax, dword [eax + 0x4c]
cmp eax, dword [ebp - 4]
jge 0x64aac4
mov esp, ebp
pop ebp
ret