Function at 0x4c4e40
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebx
push ebp
push esi
push edi
push edx
push ecx
sub esp, 0xc
mov eax, dword [esp + 0x30]
and eax, 0xfffffff0
je 0x4c50c1
mov ebx, dword [ecx + 0x1d0]
mov dword [esp + 4], ebx
mov esi, dword [esp + 0x2c]
add eax, esi
mov dword [esp + 8], eax
mov ecx, dword [edx]
mov edi, dword [edx + 4]
mov eax, dword [edx + 8]
mov ebp, dword [edx + 0xc]
mov esi, dword [esp + 0x28]
xor ecx, dword [esi]
mov ebx, dword [esi + 4]
xor ebx, edi
mov edx, dword [esi + 8]
xor edx, eax
mov eax, ecx
xor ebp, dword [esi + 0xc]
add esi, 0x10
mov dword [esp + 0x28], esi
mov ecx, dword [esp + 0xc]
xor eax, dword [ecx]
xor ebx, dword [ecx + 4]
xor edx, dword [ecx + 8]
xor ebp, dword [ecx + 0xc]
lea ecx, [ecx + 0x10]
mov dword [esp], ecx
lea esp, [esp]
jmp 0x4c4eb4
push ebp
movzx ecx, al
mov ecx, dword [ecx*4 + 0x4dd000]
movzx esi, ah
shr eax, 0x10
mov ebp, dword [esi*4 + 0x4dd400]
movzx edi, ah
mov edi, dword [edi*4 + 0x4ddc00]
movzx eax, al
mov eax, dword [eax*4 + 0x4dd800]
movzx esi, bl
xor edi, dword [esi*4 + 0x4dd000]
movzx esi, bh
shr ebx, 0x10
xor ecx, dword [esi*4 + 0x4dd400]
movzx esi, bl
xor ebp, dword [esi*4 + 0x4dd800]
movzx ebx, bh
xor eax, dword [ebx*4 + 0x4ddc00]
pop ebx
movzx esi, dl
xor eax, dword [esi*4 + 0x4dd000]
movzx esi, dh
xor edi, dword [esi*4 + 0x4dd400]
shr edx, 0x10
movzx esi, dl
xor ecx, dword [esi*4 + 0x4dd800]
movzx edx, dh
xor ebp, dword [edx*4 + 0x4ddc00]
mov esi, dword [esp]
movzx edx, bl
xor ebp, dword [edx*4 + 0x4dd000]
movzx edx, bh
xor eax, dword [edx*4 + 0x4dd400]
shr ebx, 0x10
movzx edx, bl
xor edi, dword [edx*4 + 0x4dd800]
movzx ebx, bh
xor ecx, dword [ebx*4 + 0x4ddc00]
mov edx, dword [esi + 8]
xor edx, eax
mov eax, dword [esi]
xor eax, ecx
xor ebp, dword [esi + 0xc]
mov ebx, dword [esi + 4]
xor ebx, edi
add esi, 0x10
cmp esi, dword [esp + 4]
mov dword [esp], esi
jb 0x4c4eb4
push ebp
movzx ecx, al
movzx ecx, byte [ecx*4 + 0x4dd001]
movzx esi, ah
shr eax, 0x10
movzx ebp, byte [esi*4 + 0x4dd001]
movzx edi, ah
shl ebp, 8
movzx edi, byte [edi*4 + 0x4dd001]
movzx eax, al
shl edi, 0x18
movzx eax, byte [eax*4 + 0x4dd001]
shl eax, 0x10
movzx esi, bl
movzx esi, byte [esi*4 + 0x4dd001]
or edi, esi
movzx esi, bh
shr ebx, 0x10
movzx esi, byte [esi*4 + 0x4dd001]
shl esi, 8
or ecx, esi
movzx esi, bl
movzx esi, byte [esi*4 + 0x4dd001]
movzx ebx, bh
shl esi, 0x10
movzx ebx, byte [ebx*4 + 0x4dd001]
or ebp, esi
shl ebx, 0x18
or eax, ebx
movzx esi, dl
movzx esi, byte [esi*4 + 0x4dd001]
movzx ebx, dh
shr edx, 0x10
movzx ebx, byte [ebx*4 + 0x4dd001]
or eax, esi
shl ebx, 8
movzx esi, dl
movzx esi, byte [esi*4 + 0x4dd001]
or edi, ebx
pop ebx
movzx edx, dh
movzx edx, byte [edx*4 + 0x4dd001]
shl esi, 0x10
or ecx, esi
shl edx, 0x18
or ebp, edx
movzx esi, bl
movzx esi, byte [esi*4 + 0x4dd001]
movzx edx, bh
shr ebx, 0x10
movzx edx, byte [edx*4 + 0x4dd001]
or ebp, esi
shl edx, 8
or eax, edx
mov edx, dword [esp]
movzx esi, bl
movzx esi, byte [esi*4 + 0x4dd001]
movzx ebx, bh
movzx ebx, byte [ebx*4 + 0x4dd001]
shl esi, 0x10
shl ebx, 0x18
or edi, esi
mov esi, dword [esp + 0x2c]
or ecx, ebx
xor ecx, dword [edx]
xor edi, dword [edx + 4]
xor eax, dword [edx + 8]
xor ebp, dword [edx + 0xc]
mov dword [esi], ecx
mov dword [esi + 4], edi
mov dword [esi + 8], eax
mov dword [esi + 0xc], ebp
add esi, 0x10
cmp esi, dword [esp + 8]
mov dword [esp + 0x2c], esi
jb 0x4c4e77
mov edx, dword [esp + 0x10]
mov dword [edx], ecx
mov dword [edx + 4], edi
mov dword [edx + 8], eax
mov dword [edx + 0xc], ebp
mov dword [esp - 8], esp
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
ret 0xc