Function at 0x47e384
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, 0x4889b8
xor eax, eax
push ebp
push 0x47e7a4
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 1
mov eax, esi
call fcn.00472f24
call fcn.0047340c
mov dword [ebp - 8], eax
mov edx, 5
mov eax, esi
call fcn.00472f24
call fcn.0047340c
mov esi, eax
mov eax, esi
shr eax, 4
xor eax, dword [ebp - 8]
and eax, 0xf0f0f0f
xor dword [ebp - 8], eax
shl eax, 4
xor esi, eax
mov eax, dword [ebp - 8]
shr eax, 0x10
xor eax, esi
and eax, 0xffff
xor esi, eax
shl eax, 0x10
xor dword [ebp - 8], eax
mov eax, esi
shr eax, 2
xor eax, dword [ebp - 8]
and eax, 0x33333333
xor dword [ebp - 8], eax
shl eax, 2
xor esi, eax
mov eax, dword [ebp - 8]
shr eax, 8
xor eax, esi
and eax, 0xff00ff
xor esi, eax
shl eax, 8
xor dword [ebp - 8], eax
mov eax, esi
shr eax, 1
xor eax, dword [ebp - 8]
and eax, 0x55555555
xor dword [ebp - 8], eax
add eax, eax
xor esi, eax
mov eax, dword [ebp - 8]
shr eax, 0x1d
mov edx, dword [ebp - 8]
shl edx, 3
or eax, edx
mov dword [ebp - 8], eax
mov eax, esi
shr eax, 0x1d
shl esi, 3
or eax, esi
mov esi, eax
mov dword [ebp - 0xc], 0x1e
cmp dword [ebp - 0xc], 0
jle 0x47e6d6
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov edx, dword [eax + edx*4]
xor edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + ecx*4 + 4]
xor eax, dword [ebp - 8]
mov ecx, eax
shr ecx, 4
shl eax, 0x1c
or ecx, eax
mov eax, ecx
mov ecx, edx
shr ecx, 2
and ecx, 0x3f
xor esi, dword [ebx + ecx*4]
mov ecx, edx
shr ecx, 0xa
and ecx, 0x3f
xor esi, dword [ebx + ecx*4 + 0x200]
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
xor esi, dword [ebx + ecx*4 + 0x400]
shr edx, 0x1a
and edx, 0x3f
xor esi, dword [ebx + edx*4 + 0x600]
mov edx, eax
shr edx, 2
and edx, 0x3f
xor esi, dword [ebx + edx*4 + 0x100]
mov edx, eax
shr edx, 0xa
and edx, 0x3f
xor esi, dword [ebx + edx*4 + 0x300]
mov edx, eax
shr edx, 0x12
and edx, 0x3f
xor esi, dword [ebx + edx*4 + 0x500]
shr eax, 0x1a
and eax, 0x3f
xor esi, dword [ebx + eax*4 + 0x700]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov edx, dword [eax + edx*4 - 8]
xor edx, esi
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + ecx*4 - 4]
xor eax, esi
mov ecx, eax
shr ecx, 4
shl eax, 0x1c
or ecx, eax
mov eax, ecx
mov ecx, edx
shr ecx, 2
and ecx, 0x3f
mov ecx, dword [ebx + ecx*4]
xor ecx, dword [ebp - 8]
mov edi, edx
shr edi, 0xa
and edi, 0x3f
xor ecx, dword [ebx + edi*4 + 0x200]
mov edi, edx
shr edi, 0x12
and edi, 0x3f
xor ecx, dword [ebx + edi*4 + 0x400]
shr edx, 0x1a
and edx, 0x3f
xor ecx, dword [ebx + edx*4 + 0x600]
mov edx, eax
shr edx, 2
and edx, 0x3f
xor ecx, dword [ebx + edx*4 + 0x100]
mov edx, eax
shr edx, 0xa
and edx, 0x3f
xor ecx, dword [ebx + edx*4 + 0x300]
mov edx, eax
shr edx, 0x12
and edx, 0x3f
xor ecx, dword [ebx + edx*4 + 0x500]
shr eax, 0x1a
and eax, 0x3f
xor ecx, dword [ebx + eax*4 + 0x700]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov edx, dword [eax + edx*4 - 0x10]
xor edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + ecx*4 - 0xc]
xor eax, dword [ebp - 8]
mov ecx, eax
shr ecx, 4
shl eax, 0x1c
or ecx, eax
mov eax, ecx
mov ecx, edx
shr ecx, 2
and ecx, 0x3f
xor esi, dword [ebx + ecx*4]
mov ecx, edx
shr ecx, 0xa
and ecx, 0x3f
xor esi, dword [ebx + ecx*4 + 0x200]
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
xor esi, dword [ebx + ecx*4 + 0x400]
shr edx, 0x1a
and edx, 0x3f
xor esi, dword [ebx + edx*4 + 0x600]
mov edx, eax
shr edx, 2
and edx, 0x3f
xor esi, dword [ebx + edx*4 + 0x100]
mov edx, eax
shr edx, 0xa
and edx, 0x3f
xor esi, dword [ebx + edx*4 + 0x300]
mov edx, eax
shr edx, 0x12
and edx, 0x3f
xor esi, dword [ebx + edx*4 + 0x500]
shr eax, 0x1a
and eax, 0x3f
xor esi, dword [ebx + eax*4 + 0x700]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov edx, dword [eax + edx*4 - 0x18]
xor edx, esi
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + ecx*4 - 0x14]
xor eax, esi
mov ecx, eax
shr ecx, 4
shl eax, 0x1c
or ecx, eax
mov eax, ecx
mov ecx, edx
shr ecx, 2
and ecx, 0x3f
mov ecx, dword [ebx + ecx*4]
xor ecx, dword [ebp - 8]
mov edi, edx
shr edi, 0xa
and edi, 0x3f
xor ecx, dword [ebx + edi*4 + 0x200]
mov edi, edx
shr edi, 0x12
and edi, 0x3f
xor ecx, dword [ebx + edi*4 + 0x400]
shr edx, 0x1a
and edx, 0x3f
xor ecx, dword [ebx + edx*4 + 0x600]
mov edx, eax
shr edx, 2
and edx, 0x3f
xor ecx, dword [ebx + edx*4 + 0x100]
mov edx, eax
shr edx, 0xa
and edx, 0x3f
xor ecx, dword [ebx + edx*4 + 0x300]
mov edx, eax
shr edx, 0x12
and edx, 0x3f
xor ecx, dword [ebx + edx*4 + 0x500]
shr eax, 0x1a
and eax, 0x3f
xor ecx, dword [ebx + eax*4 + 0x700]
mov dword [ebp - 8], ecx
sub dword [ebp - 0xc], 8
cmp dword [ebp - 0xc], 0
jg 0x47e469
mov eax, dword [ebp - 8]
shr eax, 3
mov edx, dword [ebp - 8]
shl edx, 0x1d
or eax, edx
mov dword [ebp - 8], eax
mov eax, esi
shr eax, 3
shl esi, 0x1d
or eax, esi
mov esi, eax
mov eax, dword [ebp - 8]
shr eax, 1
xor eax, esi
and eax, 0x55555555
xor esi, eax
add eax, eax
xor dword [ebp - 8], eax
mov eax, esi
shr eax, 8
xor eax, dword [ebp - 8]
and eax, 0xff00ff
xor dword [ebp - 8], eax
shl eax, 8
xor esi, eax
mov eax, dword [ebp - 8]
shr eax, 2
xor eax, esi
and eax, 0x33333333
xor esi, eax
shl eax, 2
xor dword [ebp - 8], eax
mov eax, esi
shr eax, 0x10
xor eax, dword [ebp - 8]
and eax, 0xffff
xor dword [ebp - 8], eax
shl eax, 0x10
xor esi, eax
mov eax, dword [ebp - 8]
shr eax, 4
xor eax, esi
and eax, 0xf0f0f0f
xor esi, eax
shl eax, 4
xor dword [ebp - 8], eax
mov eax, dword [ebp - 8]
call fcn.0047340c
lea edx, [ebp - 0x10]
call fcn.00472eb4
mov eax, dword [ebp - 0x10]
push eax
mov eax, esi
call fcn.0047340c
lea edx, [ebp - 0x14]
call fcn.00472eb4
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
pop ecx
call fcn.00404444
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47e7ab
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040415c
ret