Function at 0x5018f4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, 0xa92c40
mov eax, edx
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
add eax, 4
mov ecx, dword [eax]
mov eax, ecx
shr eax, 4
xor eax, dword [ebp - 8]
and eax, 0xf0f0f0f
xor dword [ebp - 8], eax
shl eax, 4
xor ecx, eax
mov eax, dword [ebp - 8]
shr eax, 0x10
xor eax, ecx
and eax, 0xffff
xor ecx, eax
shl eax, 0x10
xor dword [ebp - 8], eax
mov eax, ecx
shr eax, 2
xor eax, dword [ebp - 8]
and eax, 0x33333333
xor dword [ebp - 8], eax
shl eax, 2
xor ecx, eax
mov eax, dword [ebp - 8]
shr eax, 8
xor eax, ecx
and eax, 0xff00ff
xor ecx, eax
shl eax, 8
xor dword [ebp - 8], eax
mov eax, ecx
shr eax, 1
xor eax, dword [ebp - 8]
and eax, 0x55555555
xor dword [ebp - 8], eax
add eax, eax
xor ecx, 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, ecx
shr eax, 0x1d
shl ecx, 3
or eax, ecx
mov ecx, eax
mov dword [ebp - 0xc], 0x1e
cmp dword [ebp - 0xc], 0
jle 0x501c13
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov edx, dword [eax + edx*4]
xor edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0xc]
mov eax, dword [eax + esi*4 + 4]
xor eax, dword [ebp - 8]
mov esi, eax
shr esi, 4
shl eax, 0x1c
or esi, eax
mov eax, esi
mov esi, edx
shr esi, 2
and esi, 0x3f
xor ecx, dword [ebx + esi*4]
mov esi, edx
shr esi, 0xa
and esi, 0x3f
xor ecx, dword [ebx + esi*4 + 0x200]
mov esi, edx
shr esi, 0x12
and esi, 0x3f
xor ecx, dword [ebx + esi*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 eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov edx, dword [eax + edx*4 - 8]
xor edx, ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0xc]
mov eax, dword [eax + esi*4 - 4]
xor eax, ecx
mov esi, eax
shr esi, 4
shl eax, 0x1c
or esi, eax
mov eax, esi
mov esi, edx
shr esi, 2
and esi, 0x3f
mov esi, dword [ebx + esi*4]
xor esi, dword [ebp - 8]
mov edi, edx
shr edi, 0xa
and edi, 0x3f
xor esi, dword [ebx + edi*4 + 0x200]
mov edi, edx
shr edi, 0x12
and edi, 0x3f
xor esi, dword [ebx + edi*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 dword [ebp - 8], esi
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov edx, dword [eax + edx*4 - 0x10]
xor edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0xc]
mov eax, dword [eax + esi*4 - 0xc]
xor eax, dword [ebp - 8]
mov esi, eax
shr esi, 4
shl eax, 0x1c
or esi, eax
mov eax, esi
mov esi, edx
shr esi, 2
and esi, 0x3f
xor ecx, dword [ebx + esi*4]
mov esi, edx
shr esi, 0xa
and esi, 0x3f
xor ecx, dword [ebx + esi*4 + 0x200]
mov esi, edx
shr esi, 0x12
and esi, 0x3f
xor ecx, dword [ebx + esi*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 eax, dword [ebp + 8]
mov edx, dword [ebp - 0xc]
mov edx, dword [eax + edx*4 - 0x18]
xor edx, ecx
mov eax, dword [ebp + 8]
mov esi, dword [ebp - 0xc]
mov eax, dword [eax + esi*4 - 0x14]
xor eax, ecx
mov esi, eax
shr esi, 4
shl eax, 0x1c
or esi, eax
mov eax, esi
mov esi, edx
shr esi, 2
and esi, 0x3f
mov esi, dword [ebx + esi*4]
xor esi, dword [ebp - 8]
mov edi, edx
shr edi, 0xa
and edi, 0x3f
xor esi, dword [ebx + edi*4 + 0x200]
mov edi, edx
shr edi, 0x12
and edi, 0x3f
xor esi, dword [ebx + edi*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 dword [ebp - 8], esi
sub dword [ebp - 0xc], 8
cmp dword [ebp - 0xc], 0
jg 0x5019a6
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, ecx
shr eax, 3
shl ecx, 0x1d
or eax, ecx
mov ecx, eax
mov eax, dword [ebp - 8]
shr eax, 1
xor eax, ecx
and eax, 0x55555555
xor ecx, eax
add eax, eax
xor dword [ebp - 8], eax
mov eax, ecx
shr eax, 8
xor eax, dword [ebp - 8]
and eax, 0xff00ff
xor dword [ebp - 8], eax
shl eax, 8
xor ecx, eax
mov eax, dword [ebp - 8]
shr eax, 2
xor eax, ecx
and eax, 0x33333333
xor ecx, eax
shl eax, 2
xor dword [ebp - 8], eax
mov eax, ecx
shr eax, 0x10
xor eax, dword [ebp - 8]
and eax, 0xffff
xor dword [ebp - 8], eax
shl eax, 0x10
xor ecx, eax
mov eax, dword [ebp - 8]
shr eax, 4
xor eax, ecx
and eax, 0xf0f0f0f
xor ecx, eax
shl eax, 4
xor dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
add eax, 4
mov edx, dword [ebp - 8]
mov dword [eax], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4