Function at 0x4d6720
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, ecx
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
shl ecx, 5
mov edx, dword [eax + ecx + 0x1c]
xor edx, dword [ebx + 0xc]
lea eax, [eax + ecx + 0x10]
mov ecx, dword [eax + 8]
xor ecx, dword [ebx + 8]
push esi
mov esi, dword [eax + 4]
xor esi, dword [ebx + 4]
push edi
mov edi, dword [eax]
xor edi, dword [ebx]
mov dword [ebp - 0x1c], edx
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xff
shr edx, 8
and edx, 0xff
mov edx, dword [edx*4 + 0x58d1e8]
xor edx, dword [ebx*4 + 0x58d5e8]
mov dword [ebp - 0x28], edi
mov ebx, esi
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x58d9e8]
mov ebx, edi
and ebx, 0xff
xor edx, dword [ebx*4 + 0x58cde8]
mov ebx, dword [ebp - 0x1c]
shr edi, 8
shr ebx, 0x10
and edi, 0xff
and ebx, 0xff
mov dword [ebp - 8], edi
mov edi, dword [ebx*4 + 0x58d5e8]
mov ebx, dword [ebp - 8]
xor edi, dword [ebx*4 + 0x58d1e8]
mov ebx, ecx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x58d9e8]
mov ebx, esi
and ebx, 0xff
xor edi, dword [ebx*4 + 0x58cde8]
mov ebx, dword [ebp - 0x28]
xor edi, dword [eax - 0xc]
sub eax, 0x20
mov dword [ebp - 0x14], edi
mov edi, esi
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x58d1e8]
shr ebx, 0x10
xor edx, dword [eax + 0x10]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x58d5e8]
mov ebx, dword [ebp - 0x1c]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x58d9e8]
mov ebx, ecx
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x58d1e8]
shr esi, 0x10
and esi, 0xff
xor ecx, dword [esi*4 + 0x58d5e8]
mov esi, dword [ebp - 0x28]
shr esi, 0x18
xor ecx, dword [esi*4 + 0x58d9e8]
mov esi, dword [ebp - 0x1c]
and esi, 0xff
xor ecx, dword [esi*4 + 0x58cde8]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x58cde8]
xor ecx, dword [eax + 0x1c]
xor edi, dword [eax + 0x18]
dec dword [ebp - 4]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0xc], ecx
je 0x4d6aa2
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov esi, ecx
shr esi, 8
and esi, 0xff
mov esi, dword [esi*4 + 0x58d1e8]
xor esi, dword [ebx*4 + 0x58d5e8]
mov ebx, dword [ebp - 0x14]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x58d9e8]
mov ebx, edx
and ebx, 0xff
xor esi, dword [ebx*4 + 0x58cde8]
mov ebx, edx
shr ebx, 8
and ebx, 0xff
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x58d5e8]
xor ecx, dword [ebx*4 + 0x58d1e8]
mov ebx, edi
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x58d9e8]
mov ebx, dword [ebp - 0x14]
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x58cde8]
mov ebx, dword [ebp - 0x14]
shr ebx, 8
and ebx, 0xff
shr edx, 0x10
and edx, 0xff
mov dword [ebp - 8], edx
mov edx, dword [ebx*4 + 0x58d1e8]
mov ebx, dword [ebp - 8]
xor edx, dword [ebx*4 + 0x58d5e8]
mov ebx, dword [ebp - 0xc]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x58d9e8]
mov ebx, edi
and ebx, 0xff
xor edx, dword [ebx*4 + 0x58cde8]
mov ebx, dword [ebp - 0x14]
shr edi, 8
xor edx, dword [eax + 8]
and edi, 0xff
mov edi, dword [edi*4 + 0x58d1e8]
shr ebx, 0x10
and ebx, 0xff
xor edi, dword [ebx*4 + 0x58d5e8]
mov ebx, dword [ebp - 0x18]
xor ecx, dword [eax + 4]
xor esi, dword [eax]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x58d9e8]
mov ebx, dword [ebp - 0xc]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x58cde8]
mov ebx, edx
xor edi, dword [eax + 0xc]
shr ebx, 0x10
mov dword [ebp - 0x1c], edi
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x58d1e8]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x58d5e8]
mov ebx, ecx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x58d9e8]
mov ebx, esi
and ebx, 0xff
xor edi, dword [ebx*4 + 0x58cde8]
sub eax, 0x20
xor edi, dword [eax + 0x10]
mov ebx, esi
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x1c]
shr edi, 0x10
and edi, 0xff
shr ebx, 8
mov edi, dword [edi*4 + 0x58d5e8]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x58d1e8]
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x58d9e8]
mov ebx, ecx
and ebx, 0xff
xor edi, dword [ebx*4 + 0x58cde8]
mov ebx, esi
xor edi, dword [eax + 0x14]
shr ebx, 0x10
mov dword [ebp - 0x14], edi
mov edi, ecx
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x58d1e8]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x58d5e8]
mov ebx, dword [ebp - 0x1c]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x58d9e8]
mov ebx, edx
shr edx, 8
and edx, 0xff
mov edx, dword [edx*4 + 0x58d1e8]
shr ecx, 0x10
and ecx, 0xff
xor edx, dword [ecx*4 + 0x58d5e8]
mov ecx, dword [ebp - 0x1c]
shr esi, 0x18
xor edx, dword [esi*4 + 0x58d9e8]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x58cde8]
and ebx, 0xff
xor edx, dword [eax + 0x1c]
xor edi, dword [ebx*4 + 0x58cde8]
mov ecx, edx
xor edi, dword [eax + 0x18]
dec dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0xc], ecx
jne 0x4d6874
mov ebx, dword [ebp - 0x14]
shr ebx, 0x18
movzx ebx, byte [ebx + 0x58dde8]
shl ebx, 8
mov esi, edi
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x58dde8]
or esi, ebx
shl esi, 8
mov ebx, ecx
shr ebx, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x58dde8]
or esi, ebx
shl esi, 8
mov ebx, edx
and ebx, 0xff
movzx ebx, byte [ebx + 0x58dde8]
or esi, ebx
xor esi, dword [eax]
mov ebx, dword [ebp + 8]
mov dword [ebx], esi
mov ebx, edi
shr ebx, 0x18
movzx ebx, byte [ebx + 0x58dde8]
shl ebx, 8
mov esi, ecx
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x58dde8]
or esi, ebx
shl esi, 8
mov ebx, edx
shr ebx, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x58dde8]
or esi, ebx
mov ebx, dword [ebp - 0x14]
shl esi, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x58dde8]
or esi, ebx
xor esi, dword [eax + 4]
mov ebx, dword [ebp + 8]
mov dword [ebx + 4], esi
mov esi, edx
shr esi, 0x10
and esi, 0xff
movzx esi, byte [esi + 0x58dde8]
mov ebx, ecx
shr ebx, 0x18
movzx ebx, byte [ebx + 0x58dde8]
shl ebx, 8
or esi, ebx
mov ebx, dword [ebp - 0x14]
shr ebx, 8
shl esi, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x58dde8]
or esi, ebx
shl esi, 8
mov ebx, edi
and ebx, 0xff
movzx ebx, byte [ebx + 0x58dde8]
or esi, ebx
xor esi, dword [eax + 8]
mov ebx, dword [ebp + 8]
mov dword [ebx + 8], esi
mov esi, dword [ebp - 0x14]
shr esi, 0x10
shr edx, 0x18
movzx edx, byte [edx + 0x58dde8]
and esi, 0xff
movzx esi, byte [esi + 0x58dde8]
shl edx, 8
or esi, edx
shr edi, 8
shl esi, 8
and edi, 0xff
movzx edx, byte [edi + 0x58dde8]
or esi, edx
and ecx, 0xff
movzx ecx, byte [ecx + 0x58dde8]
shl esi, 8
or esi, ecx
xor esi, dword [eax + 0xc]
pop edi
mov dword [ebx + 0xc], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret