Function at 0x4c2328
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x28]
mov edx, dword [ebp + 8]
cmp dword [edx - 8], 0x10
jg 0x4c23e5
mov ecx, 0xa
mov edx, 0x4d5cf8
mov dword [ebp - 4], edx
mov edx, dword [eax + 0xc]
mov ebx, edx
shr ebx, 8
and ebx, 0xff
mov esi, dword [str.cw]
movzx ebx, byte [esi + ebx]
mov esi, edx
shr esi, 0x10
and esi, 0xff
mov edi, dword [str.cw]
movzx esi, byte [edi + esi]
shl esi, 8
xor ebx, esi
mov esi, edx
shr esi, 0x18
mov edi, dword [str.cw]
movzx esi, byte [edi + esi]
shl esi, 0x10
xor ebx, esi
and edx, 0xff
mov esi, dword [str.cw]
movzx edx, byte [esi + edx]
shl edx, 0x18
xor ebx, edx
xor ebx, dword [eax]
mov edx, dword [ebp - 4]
xor ebx, dword [edx]
mov dword [eax + 0x10], ebx
mov edx, dword [eax + 4]
xor edx, dword [eax + 0x10]
mov dword [eax + 0x14], edx
mov ebx, dword [eax + 8]
xor ebx, edx
mov dword [eax + 0x18], ebx
mov edx, dword [eax + 0xc]
xor edx, ebx
mov dword [eax + 0x1c], edx
add eax, 0x10
add dword [ebp - 4], 4
dec ecx
jne 0x4c2354
jmp 0x4c25c2
mov edx, dword [ebp + 8]
cmp dword [edx - 8], 0x18
jg 0x4c24a9
xor ecx, ecx
mov edx, 0x4d5cf8
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x14]
mov ebx, edx
shr ebx, 8
and ebx, 0xff
mov esi, dword [str.cw]
movzx ebx, byte [esi + ebx]
mov esi, edx
shr esi, 0x10
and esi, 0xff
mov edi, dword [str.cw]
movzx esi, byte [edi + esi]
shl esi, 8
xor ebx, esi
mov esi, edx
shr esi, 0x18
mov edi, dword [str.cw]
movzx esi, byte [edi + esi]
shl esi, 0x10
xor ebx, esi
and edx, 0xff
mov esi, dword [str.cw]
movzx edx, byte [esi + edx]
shl edx, 0x18
xor ebx, edx
xor ebx, dword [eax]
mov edx, dword [ebp - 8]
xor ebx, dword [edx]
mov dword [eax + 0x18], ebx
mov edx, dword [eax + 4]
xor edx, dword [eax + 0x18]
mov dword [eax + 0x1c], edx
mov ebx, dword [eax + 8]
xor ebx, edx
mov dword [eax + 0x20], ebx
mov edx, dword [eax + 0xc]
xor edx, ebx
mov dword [eax + 0x24], edx
cmp ecx, 7
je 0x4c25c2
mov ebx, dword [eax + 0x10]
xor ebx, edx
mov dword [eax + 0x28], ebx
mov edx, dword [eax + 0x14]
xor edx, ebx
mov dword [eax + 0x2c], edx
add eax, 0x18
inc ecx
add dword [ebp - 8], 4
cmp ecx, 8
jne 0x4c23fc
jmp 0x4c25c2
xor ecx, ecx
mov edx, 0x4d5cf8
mov dword [ebp - 0xc], edx
mov edx, dword [eax + 0x1c]
mov ebx, edx
shr ebx, 8
and ebx, 0xff
mov esi, dword [str.cw]
movzx ebx, byte [esi + ebx]
mov esi, edx
shr esi, 0x10
and esi, 0xff
mov edi, dword [str.cw]
movzx esi, byte [edi + esi]
shl esi, 8
xor ebx, esi
mov esi, edx
shr esi, 0x18
mov edi, dword [str.cw]
movzx esi, byte [edi + esi]
shl esi, 0x10
xor ebx, esi
and edx, 0xff
mov esi, dword [str.cw]
movzx edx, byte [esi + edx]
shl edx, 0x18
xor ebx, edx
xor ebx, dword [eax]
mov edx, dword [ebp - 0xc]
xor ebx, dword [edx]
mov dword [eax + 0x20], ebx
mov edx, dword [eax + 4]
xor edx, dword [eax + 0x20]
mov dword [eax + 0x24], edx
mov ebx, dword [eax + 8]
xor ebx, edx
mov dword [eax + 0x28], ebx
mov edx, dword [eax + 0xc]
xor edx, ebx
mov dword [eax + 0x2c], edx
cmp ecx, 6
je 0x4c25c2
mov ebx, edx
and ebx, 0xff
mov esi, dword [str.cw]
movzx ebx, byte [esi + ebx]
mov esi, edx
shr esi, 8
and esi, 0xff
mov edi, dword [str.cw]
movzx esi, byte [edi + esi]
shl esi, 8
xor ebx, esi
mov esi, edx
shr esi, 0x10
and esi, 0xff
mov edi, dword [str.cw]
movzx esi, byte [edi + esi]
shl esi, 0x10
xor ebx, esi
shr edx, 0x18
mov esi, dword [str.cw]
movzx edx, byte [esi + edx]
shl edx, 0x18
xor ebx, edx
xor ebx, dword [eax + 0x10]
mov dword [eax + 0x30], ebx
mov edx, dword [eax + 0x14]
xor edx, dword [eax + 0x30]
mov dword [eax + 0x34], edx
mov ebx, dword [eax + 0x18]
xor ebx, edx
mov dword [eax + 0x38], ebx
mov edx, dword [eax + 0x1c]
xor edx, ebx
mov dword [eax + 0x3c], edx
add eax, 0x20
inc ecx
add dword [ebp - 0xc], 4
cmp ecx, 7
jne 0x4c24b3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret