Function at 0x4d2dd8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffff58
mov dword [esp + 4], edx
mov dword [esp], eax
lea edx, [esp + 0x18]
mov eax, dword [esp]
add eax, 0x28
mov ecx, 0x10
call fcn.004029dc
mov dword [esp + 0x14], 1
lea esi, [esp + 0x18]
mov edx, 8
mov eax, dword [esi + 0xc]
call fcn.004c4b58
mov ebx, eax
xor ebx, dword [esi]
mov ecx, dword [esp + 0x14]
dec ecx
mov eax, 1
shl eax, cl
xor ebx, eax
mov dword [esi + 0x10], ebx
mov eax, dword [esi + 4]
xor eax, ebx
mov dword [esi + 0x14], eax
mov edx, dword [esi + 8]
xor edx, eax
mov dword [esi + 0x18], edx
mov eax, dword [esi + 0xc]
xor eax, edx
mov dword [esi + 0x1c], eax
mov edi, 4
mov ebx, esi
mov ebp, dword [ebx]
mov eax, ebp
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x4e7698]
mov edx, 8
call fcn.004c4b50
and ebp, 0xff
xor eax, dword [ebp*4 + 0x4e7698]
push eax
mov eax, dword [ebx]
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x4e7698]
mov edx, 0x10
call fcn.004c4b50
pop edx
xor edx, eax
push edx
mov eax, dword [ebx]
shr eax, 0x18
mov eax, dword [eax*4 + 0x4e7698]
mov edx, 0x18
call fcn.004c4b50
pop edx
xor edx, eax
mov dword [ebx], edx
add ebx, 4
dec edi
jne 0x4d2e4a
inc dword [esp + 0x14]
add esi, 0x10
cmp dword [esp + 0x14], 9
jne 0x4d2e09
lea eax, [esp + 0x18]
mov edx, dword [esp + 4]
mov edx, dword [edx]
xor edx, dword [eax]
add eax, 4
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 4]
xor ecx, dword [eax]
add eax, 4
mov ebx, dword [esp + 4]
mov ebx, dword [ebx + 8]
xor ebx, dword [eax]
add eax, 4
mov esi, dword [esp + 4]
mov esi, dword [esi + 0xc]
xor esi, dword [eax]
add eax, 4
mov dword [esp + 0x14], 7
mov edi, edx
and edi, 0xff
mov edi, dword [edi*4 + 0x4e7a98]
mov ebp, ecx
and ebp, 0xff
xor edi, dword [ebp*4 + 0x4e7e98]
mov ebp, ebx
and ebp, 0xff
xor edi, dword [ebp*4 + 0x4e8298]
mov ebp, esi
and ebp, 0xff
xor edi, dword [ebp*4 + 0x4e8698]
xor edi, dword [eax]
mov dword [esp + 8], edi
add eax, 4
mov edi, edx
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x4e7a98]
mov ebp, ecx
shr ebp, 8
and ebp, 0xff
xor edi, dword [ebp*4 + 0x4e7e98]
mov ebp, ebx
shr ebp, 8
and ebp, 0xff
xor edi, dword [ebp*4 + 0x4e8298]
mov ebp, esi
shr ebp, 8
and ebp, 0xff
xor edi, dword [ebp*4 + 0x4e8698]
xor edi, dword [eax]
mov dword [esp + 0xc], edi
add eax, 4
mov edi, edx
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x4e7a98]
mov ebp, ecx
shr ebp, 0x10
and ebp, 0xff
xor edi, dword [ebp*4 + 0x4e7e98]
mov ebp, ebx
shr ebp, 0x10
and ebp, 0xff
xor edi, dword [ebp*4 + 0x4e8298]
mov ebp, esi
shr ebp, 0x10
and ebp, 0xff
xor edi, dword [ebp*4 + 0x4e8698]
xor edi, dword [eax]
mov dword [esp + 0x10], edi
add eax, 4
shr edx, 0x18
mov edx, dword [edx*4 + 0x4e7a98]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x4e7e98]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x4e8298]
shr esi, 0x18
xor edx, dword [esi*4 + 0x4e8698]
xor edx, dword [eax]
mov esi, edx
add eax, 4
mov edx, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov ebx, dword [esp + 0x10]
dec dword [esp + 0x14]
jne 0x4d2f02
mov edi, dword [esp]
movzx edi, byte [edi + 0x18]
mov ebp, edx
and ebp, 0xff
movzx ebp, byte [ebp + 0x4e7598]
xor edi, ebp
mov ebp, ecx
and ebp, 0xff
movzx ebp, byte [ebp + 0x4e7598]
shl ebp, 8
xor edi, ebp
mov ebp, ebx
and ebp, 0xff
movzx ebp, byte [ebp + 0x4e7598]
shl ebp, 0x10
xor edi, ebp
mov ebp, esi
and ebp, 0xff
movzx ebp, byte [ebp + 0x4e7598]
shl ebp, 0x18
xor edi, ebp
xor edi, dword [eax]
mov ebp, dword [esp]
mov dword [ebp + 0x28], edi
add eax, 4
mov edi, dword [esp]
movzx edi, byte [edi + 0x19]
mov ebp, edx
shr ebp, 8
and ebp, 0xff
movzx ebp, byte [ebp + 0x4e7598]
xor edi, ebp
mov ebp, ecx
shr ebp, 8
and ebp, 0xff
movzx ebp, byte [ebp + 0x4e7598]
shl ebp, 8
xor edi, ebp
mov ebp, ebx
shr ebp, 8
and ebp, 0xff
movzx ebp, byte [ebp + 0x4e7598]
shl ebp, 0x10
xor edi, ebp
mov ebp, esi
shr ebp, 8
and ebp, 0xff
movzx ebp, byte [ebp + 0x4e7598]
shl ebp, 0x18
xor edi, ebp
xor edi, dword [eax]
mov ebp, dword [esp]
mov dword [ebp + 0x2c], edi
add eax, 4
mov edi, dword [esp]
movzx edi, byte [edi + 0x1a]
mov ebp, edx
shr ebp, 0x10
and ebp, 0xff
movzx ebp, byte [ebp + 0x4e7598]
xor edi, ebp
mov ebp, ecx
shr ebp, 0x10
and ebp, 0xff
movzx ebp, byte [ebp + 0x4e7598]
shl ebp, 8
xor edi, ebp
mov ebp, ebx
shr ebp, 0x10
and ebp, 0xff
movzx ebp, byte [ebp + 0x4e7598]
shl ebp, 0x10
xor edi, ebp
mov ebp, esi
shr ebp, 0x10
and ebp, 0xff
movzx ebp, byte [ebp + 0x4e7598]
shl ebp, 0x18
xor edi, ebp
xor edi, dword [eax]
mov ebp, dword [esp]
mov dword [ebp + 0x30], edi
add eax, 4
mov edi, dword [esp]
movzx edi, byte [edi + 0x1b]
shr edx, 0x18
movzx edx, byte [edx + 0x4e7598]
xor edi, edx
shr ecx, 0x18
xor edx, edx
mov dl, byte [ecx + 0x4e7598]
shl edx, 8
xor edi, edx
shr ebx, 0x18
xor edx, edx
mov dl, byte [ebx + 0x4e7598]
shl edx, 0x10
xor edi, edx
shr esi, 0x18
xor edx, edx
mov dl, byte [esi + 0x4e7598]
shl edx, 0x18
xor edi, edx
xor edi, dword [eax]
mov eax, dword [esp]
mov dword [eax + 0x34], edi
add esp, 0xa8
pop ebp
pop edi
pop esi
pop ebx
ret