Function at 0x4cac70
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov edi, dword [ebp]
mov ebx, dword [ebp + 4]
mov ebp, dword [esp + 0x18]
ror edi, 0x1d
ror ebx, 0x1d
cmp dword [esp + 0x1c], 0
je 0x4caeb6
add ebp, 8
mov dword [esp + 0x18], 4
mov edi, edi
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 8]
xor edx, edi
ror edx, 4
xor esi, edi
mov ecx, edx
mov eax, edx
shr eax, 0xa
and eax, 0x3f
shr ecx, 0x12
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x528f50]
xor ecx, dword [eax*4 + 0x528d50]
mov eax, edx
shr eax, 2
and eax, 0x3f
shr edx, 0x1a
xor ecx, dword [eax*4 + 0x528b50]
mov eax, esi
shr eax, 0x12
and eax, 0x3f
xor ecx, dword [eax*4 + 0x528e50]
mov eax, esi
shr eax, 0xa
and eax, 0x3f
xor ecx, dword [eax*4 + 0x528c50]
mov eax, esi
shr eax, 2
and eax, 0x3f
shr esi, 0x1a
xor ecx, dword [eax*4 + 0x528a50]
xor ecx, dword [edx*4 + 0x529150]
xor ecx, dword [esi*4 + 0x529050]
mov edx, dword [ebp + 4]
xor ebx, ecx
mov esi, dword [ebp]
xor edx, ebx
ror edx, 4
xor esi, ebx
mov ecx, edx
mov eax, edx
shr eax, 0xa
shr ecx, 0x12
and eax, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x528f50]
xor ecx, dword [eax*4 + 0x528d50]
mov eax, edx
shr eax, 2
and eax, 0x3f
shr edx, 0x1a
xor ecx, dword [eax*4 + 0x528b50]
mov eax, esi
shr eax, 0x12
and eax, 0x3f
xor ecx, dword [eax*4 + 0x528e50]
mov eax, esi
shr eax, 0xa
and eax, 0x3f
xor ecx, dword [eax*4 + 0x528c50]
mov eax, esi
shr eax, 2
and eax, 0x3f
shr esi, 0x1a
xor ecx, dword [eax*4 + 0x528a50]
xor ecx, dword [edx*4 + 0x529150]
xor ecx, dword [esi*4 + 0x529050]
mov edx, dword [ebp + 0xc]
xor edi, ecx
mov esi, dword [ebp + 8]
xor edx, edi
ror edx, 4
xor esi, edi
mov ecx, edx
mov eax, edx
shr ecx, 0x12
and ecx, 0x3f
shr eax, 0xa
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x528f50]
xor ecx, dword [eax*4 + 0x528d50]
mov eax, edx
lea ebp, [ebp + 0x20]
shr eax, 2
and eax, 0x3f
shr edx, 0x1a
xor ecx, dword [eax*4 + 0x528b50]
mov eax, esi
shr eax, 0x12
and eax, 0x3f
xor ecx, dword [eax*4 + 0x528e50]
mov eax, esi
shr eax, 0xa
and eax, 0x3f
xor ecx, dword [eax*4 + 0x528c50]
mov eax, esi
shr eax, 2
and eax, 0x3f
shr esi, 0x1a
xor ecx, dword [eax*4 + 0x528a50]
xor ecx, dword [edx*4 + 0x529150]
xor ecx, dword [esi*4 + 0x529050]
mov edx, dword [ebp - 0xc]
xor ebx, ecx
mov esi, dword [ebp - 0x10]
xor edx, ebx
ror edx, 4
xor esi, ebx
mov ecx, edx
mov eax, edx
shr eax, 0xa
shr ecx, 0x12
and eax, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x528f50]
xor ecx, dword [eax*4 + 0x528d50]
mov eax, edx
shr eax, 2
and eax, 0x3f
shr edx, 0x1a
xor ecx, dword [eax*4 + 0x528b50]
mov eax, esi
shr eax, 0x12
and eax, 0x3f
xor ecx, dword [eax*4 + 0x528e50]
mov eax, esi
shr eax, 0xa
and eax, 0x3f
xor ecx, dword [eax*4 + 0x528c50]
mov eax, esi
shr eax, 2
and eax, 0x3f
shr esi, 0x1a
xor ecx, dword [eax*4 + 0x528a50]
xor ecx, dword [edx*4 + 0x529150]
xor ecx, dword [esi*4 + 0x529050]
xor edi, ecx
dec dword [esp + 0x18]
jne 0x4caca0
mov ebp, dword [esp + 0x14]
ror ebx, 3
ror edi, 3
mov dword [ebp + 4], edi
pop edi
pop esi
mov dword [ebp], ebx
pop ebp
pop ebx
ret
add ebp, 0x70
mov dword [esp + 0x18], 4
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edx, edi
ror edx, 4
xor esi, edi
mov ecx, edx
mov eax, edx
shr eax, 0xa
and eax, 0x3f
shr ecx, 0x12
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x528f50]
xor ecx, dword [eax*4 + 0x528d50]
mov eax, edx
shr eax, 2
and eax, 0x3f
shr edx, 0x1a
xor ecx, dword [eax*4 + 0x528b50]
mov eax, esi
shr eax, 0x12
and eax, 0x3f
xor ecx, dword [eax*4 + 0x528e50]
mov eax, esi
shr eax, 0xa
and eax, 0x3f
xor ecx, dword [eax*4 + 0x528c50]
mov eax, esi
shr eax, 2
and eax, 0x3f
shr esi, 0x1a
xor ecx, dword [eax*4 + 0x528a50]
xor ecx, dword [edx*4 + 0x529150]
xor ecx, dword [esi*4 + 0x529050]
mov edx, dword [ebp + 4]
xor ebx, ecx
mov esi, dword [ebp]
xor edx, ebx
ror edx, 4
xor esi, ebx
mov ecx, edx
mov eax, edx
shr eax, 0xa
shr ecx, 0x12
and eax, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x528f50]
xor ecx, dword [eax*4 + 0x528d50]
mov eax, edx
shr eax, 2
and eax, 0x3f
shr edx, 0x1a
xor ecx, dword [eax*4 + 0x528b50]
mov eax, esi
shr eax, 0x12
and eax, 0x3f
xor ecx, dword [eax*4 + 0x528e50]
mov eax, esi
shr eax, 0xa
and eax, 0x3f
xor ecx, dword [eax*4 + 0x528c50]
mov eax, esi
shr eax, 2
and eax, 0x3f
shr esi, 0x1a
xor ecx, dword [eax*4 + 0x528a50]
xor ecx, dword [edx*4 + 0x529150]
xor ecx, dword [esi*4 + 0x529050]
mov edx, dword [ebp - 4]
xor edi, ecx
mov esi, dword [ebp - 8]
xor edx, edi
ror edx, 4
xor esi, edi
mov ecx, edx
mov eax, edx
shr ecx, 0x12
and ecx, 0x3f
shr eax, 0xa
and eax, 0x3f
mov ecx, dword [ecx*4 + 0x528f50]
xor ecx, dword [eax*4 + 0x528d50]
mov eax, edx
lea ebp, [ebp - 0x20]
shr eax, 2
and eax, 0x3f
shr edx, 0x1a
xor ecx, dword [eax*4 + 0x528b50]
mov eax, esi
shr eax, 0x12
and eax, 0x3f
xor ecx, dword [eax*4 + 0x528e50]
mov eax, esi
shr eax, 0xa
and eax, 0x3f
xor ecx, dword [eax*4 + 0x528c50]
mov eax, esi
shr eax, 2
and eax, 0x3f
shr esi, 0x1a
xor ecx, dword [eax*4 + 0x528a50]
xor ecx, dword [edx*4 + 0x529150]
xor ecx, dword [esi*4 + 0x529050]
mov edx, dword [ebp + 0x14]
xor ebx, ecx
mov esi, dword [ebp + 0x10]
xor edx, ebx
ror edx, 4
xor esi, ebx
mov ecx, edx
mov eax, edx
shr eax, 0xa
shr ecx, 0x12
and eax, 0x3f
and ecx, 0x3f
mov ecx, dword [ecx*4 + 0x528f50]
xor ecx, dword [eax*4 + 0x528d50]
mov eax, edx
shr eax, 2
and eax, 0x3f
shr edx, 0x1a
xor ecx, dword [eax*4 + 0x528b50]
mov eax, esi
shr eax, 0x12
and eax, 0x3f
xor ecx, dword [eax*4 + 0x528e50]
mov eax, esi
shr eax, 0xa
and eax, 0x3f
xor ecx, dword [eax*4 + 0x528c50]
mov eax, esi
shr eax, 2
and eax, 0x3f
shr esi, 0x1a
xor ecx, dword [eax*4 + 0x528a50]
xor ecx, dword [edx*4 + 0x529150]
xor ecx, dword [esi*4 + 0x529050]
xor edi, ecx
dec dword [esp + 0x18]
jne 0x4caec1
mov ebp, dword [esp + 0x14]
ror edi, 3
ror ebx, 3
mov dword [ebp + 4], edi
pop edi
pop esi
mov dword [ebp], ebx
pop ebp
pop ebx
ret