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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd8
push ebx
push esi
push edi
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x208]
push ecx
mov ecx, 0x78
rep movsd dword es:[edi], dword [esi]
pop ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov ebx, 0x499008
lea edi, [ebp - 0x228]
mov eax, dword [ebp - 8]
shr eax, 5
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.004794c8
sub eax, 0x80
shr eax, 5
add eax, 0xa
mov dword [ebp - 0x1c], eax
mov edx, dword [esi]
mov eax, dword [ebp - 0x1c]
shl eax, 2
lea ecx, [ebp + eax*8 - 0x208]
xor edx, dword [ecx]
mov dword [edi], edx
lea edx, [esi + 8]
mov edx, dword [edx]
lea ecx, [ebp + eax*8 - 0x200]
xor edx, dword [ecx]
lea ecx, [edi + 4]
mov dword [ecx], edx
lea edx, [esi + 0x10]
mov edx, dword [edx]
lea ecx, [ebp + eax*8 - 0x1f8]
xor edx, dword [ecx]
lea ecx, [edi + 8]
mov dword [ecx], edx
lea edx, [esi + 0x18]
mov edx, dword [edx]
lea eax, [ebp + eax*8 - 0x1f0]
xor edx, dword [eax]
lea eax, [edi + 0xc]
mov dword [eax], edx
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x28], esi
mov eax, dword [ebp - 0x18]
dec eax
test eax, eax
jl 0x47a19a
inc eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x10]
add edx, 4
sub edx, dword [ebp - 0xc]
and edx, 0x80000003
jns 0x47a182
dec edx
or edx, 0xfffffffc
inc edx
mov ecx, dword [ebp - 0x24]
movzx edx, byte [ecx + edx]
mov dl, byte [edx + 0x498a90]
mov byte [eax], dl
inc dword [ebp - 0x10]
inc eax
dec dword [ebp - 0x20]
jne 0x47a16c
inc dword [ebp - 0xc]
add dword [ebp - 0x28], 8
add dword [ebp - 0x24], 4
cmp dword [ebp - 0xc], 4
jne 0x47a156
mov eax, dword [ebp - 0x1c]
dec eax
cmp eax, 1
jl 0x47a5b8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
shl eax, 2
lea eax, [ebp + eax*8 - 0x208]
mov edx, dword [esi]
mov ecx, eax
xor edx, dword [ecx]
mov dword [edi], edx
lea edx, [esi + 8]
mov edx, dword [edx]
lea ecx, [eax + 8]
xor edx, dword [ecx]
lea ecx, [edi + 4]
mov dword [ecx], edx
lea edx, [esi + 0x10]
mov edx, dword [edx]
lea ecx, [eax + 0x10]
xor edx, dword [ecx]
lea ecx, [edi + 8]
mov dword [ecx], edx
lea edx, [esi + 0x18]
mov edx, dword [edx]
lea ecx, [eax + 0x18]
xor edx, dword [ecx]
lea ecx, [edi + 0xc]
mov dword [ecx], edx
xor edx, edx
mov dl, byte [edi]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 4]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 8]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 0xc]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x498a90]
mov byte [esi], dl
xor edx, edx
mov dl, byte [edi + 1]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 5]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 9]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 0xd]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x498a90]
mov byte [esi + 1], dl
xor edx, edx
mov dl, byte [edi + 2]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 6]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 0xa]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 0xe]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x498a90]
mov byte [esi + 2], dl
xor edx, edx
mov dl, byte [edi + 3]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 7]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 0xb]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 0xf]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x498a90]
mov byte [esi + 3], dl
xor edx, edx
mov dl, byte [edi + 7]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 0xb]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 0xf]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 3]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x498a90]
mov byte [esi + 8], dl
xor edx, edx
mov dl, byte [edi + 4]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 8]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 0xc]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x498a90]
mov byte [esi + 9], dl
xor edx, edx
mov dl, byte [edi + 5]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 9]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 0xd]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 1]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x498a90]
mov byte [esi + 0xa], dl
xor edx, edx
mov dl, byte [edi + 6]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 0xa]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 0xe]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 2]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x498a90]
mov byte [esi + 0xb], dl
xor edx, edx
mov dl, byte [edi + 0xa]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 0xe]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 2]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 6]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x498a90]
mov byte [esi + 0x10], dl
xor edx, edx
mov dl, byte [edi + 0xb]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 0xf]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 3]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 7]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x498a90]
mov byte [esi + 0x11], dl
xor edx, edx
mov dl, byte [edi + 8]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 0xc]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 4]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x498a90]
mov byte [esi + 0x12], dl
xor edx, edx
mov dl, byte [edi + 9]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 0xd]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 1]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 5]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x498a90]
mov byte [esi + 0x13], dl
xor edx, edx
mov dl, byte [edi + 0xd]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 1]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 5]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 9]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x498a90]
mov byte [esi + 0x18], dl
xor edx, edx
mov dl, byte [edi + 0xe]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 2]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 6]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 0xa]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x498a90]
mov byte [esi + 0x19], dl
xor edx, edx
mov dl, byte [edi + 0xf]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi + 3]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 7]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 0xb]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x498a90]
mov byte [esi + 0x1a], dl
xor edx, edx
mov dl, byte [edi + 0xc]
mov dl, byte [ebx + edx]
xor ecx, ecx
mov cl, byte [edi]
xor dl, byte [ebx + ecx + 0x100]
xor ecx, ecx
mov cl, byte [edi + 4]
xor dl, byte [ebx + ecx + 0x200]
xor ecx, ecx
mov cl, byte [edi + 8]
xor dl, byte [ebx + ecx + 0x300]
and edx, 0xff
mov dl, byte [edx + 0x498a90]
mov byte [esi + 0x1b], dl
dec dword [ebp - 0x14]
sub eax, 0x20
cmp dword [ebp - 0x14], 0
jne 0x47a1c8
lea eax, [ebp - 0x208]
mov eax, dword [eax]
xor dword [esi], eax
lea eax, [ebp - 0x200]
mov eax, dword [eax]
lea edx, [esi + 8]
xor dword [edx], eax
lea eax, [ebp - 0x1f8]
mov eax, dword [eax]
lea edx, [esi + 0x10]
xor dword [edx], eax
lea eax, [ebp - 0x1f0]
mov eax, dword [eax]
lea edx, [esi + 0x18]
xor dword [edx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4