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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
mov eax, 0x4cf134
mov dword [ebp - 0xc], eax
push ebp
call fcn.0047e664
pop ecx
jmp 0x47e887
mov eax, dword [ebp + 8]
add eax, 0xffffffdc
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax*4 - 0x40]
shr eax, 8
and eax, 0xff
mov al, byte [eax + 0x4cc0cc]
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 - 4]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax*4 - 0x40]
shr eax, 0x10
and eax, 0xff
mov al, byte [eax + 0x4cc0cc]
mov edx, dword [ebp - 0x10]
xor byte [edx], al
inc dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax*4 - 0x40]
shr eax, 0x18
mov al, byte [eax + 0x4cc0cc]
mov edx, dword [ebp - 0x10]
xor byte [edx], al
inc dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp + 8]
mov eax, dword [edx + eax*4 - 0x40]
and eax, 0xff
mov al, byte [eax + 0x4cc0cc]
mov edx, dword [ebp - 0x10]
xor byte [edx], al
inc dword [ebp - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 0x40], 0xe
jne 0x47e85a
mov dword [ebp - 0x14], 7
mov eax, dword [ebp + 8]
lea ebx, [eax - 0x24]
mov eax, dword [ebx]
xor dword [ebx + 4], eax
add ebx, 4
dec dword [ebp - 0x14]
jne 0x47e7c3
mov eax, dword [ebp + 8]
add eax, 0xffffffec
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
and eax, 0xff
mov al, byte [eax + 0x4cc0cc]
mov edx, dword [ebp - 0x10]
xor byte [edx], al
inc dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
shr eax, 8
and eax, 0xff
mov al, byte [eax + 0x4cc0cc]
mov edx, dword [ebp - 0x10]
xor byte [edx], al
inc dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
shr eax, 0x10
and eax, 0xff
mov al, byte [eax + 0x4cc0cc]
mov edx, dword [ebp - 0x10]
xor byte [edx], al
inc dword [ebp - 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0x18]
shr eax, 0x18
mov al, byte [eax + 0x4cc0cc]
mov edx, dword [ebp - 0x10]
xor byte [edx], al
mov dword [ebp - 0x14], 3
mov eax, dword [ebp + 8]
lea esi, [eax - 0x14]
mov eax, dword [esi]
xor dword [esi + 4], eax
add esi, 4
dec dword [ebp - 0x14]
jne 0x47e84b
jmp 0x47e880
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x40]
sub eax, 7
test eax, eax
jle 0x47e880
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
lea edi, [eax - 0x24]
mov eax, dword [edi]
xor dword [edi + 4], eax
add edi, 4
dec dword [ebp - 0x18]
jne 0x47e873
push ebp
call fcn.0047e664
pop ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x40]
cmp eax, dword [ebp - 4]
jge 0x47e703
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret