Function at 0x100cc900
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
push edi
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, edx
shr eax, 4
xor eax, ecx
and eax, 0xf0f0f0f
xor ecx, eax
shl eax, 4
xor edx, eax
mov eax, ecx
shr eax, 0x10
xor eax, edx
and eax, 0xffff
xor edx, eax
shl eax, 0x10
xor ecx, eax
mov eax, edx
shr eax, 2
xor eax, ecx
and eax, 0x33333333
xor ecx, eax
shl eax, 2
xor edx, eax
mov eax, ecx
shr eax, 8
xor eax, edx
and eax, 0xff00ff
xor edx, eax
shl eax, 8
xor ecx, eax
mov eax, edx
shr eax, 1
mov ebp, dword [esp + 0x18]
xor eax, ecx
and eax, 0x55555555
mov ebx, eax
lea edi, [eax + eax]
xor ebx, ecx
ror ebx, 0x1d
xor edi, edx
ror edi, 0x1d
cmp dword [esp + 0x1c], 0
je 0x100cca9c
add ebp, 8
mov dword [esp + 0x18], 8
lea ecx, [ecx]
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 8]
xor edx, ebx
ror edx, 4
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
mov eax, edx
mov ecx, dword [ecx*4 + 0x101b13a0]
shr eax, 0xa
and eax, 0x3f
xor esi, ebx
xor ecx, dword [eax*4 + 0x101b11a0]
mov eax, edx
shr eax, 2
and eax, 0x3f
shr edx, 0x1a
xor ecx, dword [eax*4 + 0x101b0fa0]
mov eax, esi
shr eax, 0x12
and eax, 0x3f
lea ebp, [ebp + 0x10]
xor ecx, dword [eax*4 + 0x101b12a0]
mov eax, esi
shr eax, 0xa
and eax, 0x3f
xor ecx, dword [eax*4 + 0x101b10a0]
mov eax, esi
shr eax, 2
and eax, 0x3f
shr esi, 0x1a
xor ecx, dword [eax*4 + 0x101b0ea0]
xor ecx, dword [edx*4 + 0x101b15a0]
mov edx, dword [ebp - 0xc]
xor ecx, dword [esi*4 + 0x101b14a0]
mov esi, dword [ebp - 0x10]
xor edi, ecx
xor edx, edi
ror edx, 4
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
mov eax, edx
mov ecx, dword [ecx*4 + 0x101b13a0]
shr eax, 0xa
and eax, 0x3f
xor esi, edi
xor ecx, dword [eax*4 + 0x101b11a0]
mov eax, edx
shr eax, 2
and eax, 0x3f
shr edx, 0x1a
xor ecx, dword [eax*4 + 0x101b0fa0]
mov eax, esi
shr eax, 0x12
and eax, 0x3f
xor ecx, dword [eax*4 + 0x101b12a0]
mov eax, esi
shr eax, 0xa
and eax, 0x3f
xor ecx, dword [eax*4 + 0x101b10a0]
mov eax, esi
shr eax, 2
and eax, 0x3f
shr esi, 0x1a
xor ecx, dword [eax*4 + 0x101b0ea0]
xor ecx, dword [edx*4 + 0x101b15a0]
xor ecx, dword [esi*4 + 0x101b14a0]
xor ebx, ecx
dec dword [esp + 0x18]
jne 0x100cc990
jmp 0x100ccbae
add ebp, 0x70
mov dword [esp + 0x18], 8
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor edx, ebx
ror edx, 4
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
mov eax, edx
mov ecx, dword [ecx*4 + 0x101b13a0]
shr eax, 0xa
and eax, 0x3f
xor esi, ebx
xor ecx, dword [eax*4 + 0x101b11a0]
mov eax, edx
shr eax, 2
and eax, 0x3f
shr edx, 0x1a
xor ecx, dword [eax*4 + 0x101b0fa0]
mov eax, esi
shr eax, 0x12
and eax, 0x3f
lea ebp, [ebp - 0x10]
xor ecx, dword [eax*4 + 0x101b12a0]
mov eax, esi
shr eax, 0xa
and eax, 0x3f
xor ecx, dword [eax*4 + 0x101b10a0]
mov eax, esi
shr eax, 2
and eax, 0x3f
shr esi, 0x1a
xor ecx, dword [eax*4 + 0x101b0ea0]
xor ecx, dword [edx*4 + 0x101b15a0]
mov edx, dword [ebp + 0x14]
xor ecx, dword [esi*4 + 0x101b14a0]
mov esi, dword [ebp + 0x10]
xor edi, ecx
xor edx, edi
ror edx, 4
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
mov eax, edx
mov ecx, dword [ecx*4 + 0x101b13a0]
shr eax, 0xa
and eax, 0x3f
xor esi, edi
xor ecx, dword [eax*4 + 0x101b11a0]
mov eax, edx
shr eax, 2
and eax, 0x3f
shr edx, 0x1a
xor ecx, dword [eax*4 + 0x101b0fa0]
mov eax, esi
shr eax, 0x12
and eax, 0x3f
xor ecx, dword [eax*4 + 0x101b12a0]
mov eax, esi
shr eax, 0xa
and eax, 0x3f
xor ecx, dword [eax*4 + 0x101b10a0]
mov eax, esi
shr eax, 2
and eax, 0x3f
shr esi, 0x1a
xor ecx, dword [eax*4 + 0x101b0ea0]
xor ecx, dword [edx*4 + 0x101b15a0]
xor ecx, dword [esi*4 + 0x101b14a0]
xor ebx, ecx
dec dword [esp + 0x18]
jne 0x100ccaa7
ror ebx, 3
mov eax, ebx
shr eax, 1
ror edi, 3
xor eax, edi
and eax, 0x55555555
xor edi, eax
add eax, eax
xor ebx, eax
mov eax, edi
shr eax, 8
xor eax, ebx
and eax, 0xff00ff
xor ebx, eax
shl eax, 8
xor edi, eax
mov eax, ebx
shr eax, 2
xor eax, edi
and eax, 0x33333333
xor edi, eax
shl eax, 2
xor ebx, eax
mov edx, dword [esp + 0x14]
mov eax, edi
shr eax, 0x10
xor eax, ebx
and eax, 0xffff
xor ebx, eax
shl eax, 0x10
xor edi, eax
mov ecx, ebx
shr ecx, 4
xor ecx, edi
and ecx, 0xf0f0f0f
mov eax, ecx
xor eax, edi
pop edi
pop esi
shl ecx, 4
xor ecx, ebx
pop ebp
mov dword [edx], eax
mov dword [edx + 4], ecx
pop ebx
ret