Function at 0x4d9a40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
movzx ebx, byte [edx + 7]
movzx ecx, byte [edx + 3]
shl ecx, 8
shl ebx, 8
lea eax, [edi + 0x88]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x10], eax
lea esi, [edi + 0xc88]
lea eax, [edi + 0x488]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0xc], eax
lea eax, [edi + 0x888]
mov dword [ebp - 8], eax
movzx eax, byte [edx + 2]
or ecx, eax
mov dword [ebp - 0x1c], 8
movzx eax, byte [edx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 6]
xor ecx, dword [edi + 0x1088]
or ebx, eax
movzx eax, byte [edx + 5]
mov dword [ebp - 4], ecx
movzx ecx, byte [edx + 0xb]
shl ebx, 8
or ebx, eax
shl ecx, 8
movzx eax, byte [edx + 4]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 0xa]
or ecx, eax
xor ebx, dword [edi + 0x108c]
movzx eax, byte [edx + 9]
shl ecx, 8
or ecx, eax
mov dword [ebp - 0x18], ebx
movzx eax, byte [edx + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xf]
xor ecx, dword [edi + 0x1090]
shl eax, 8
mov dword [ebp + 8], ecx
movzx ecx, byte [edx + 0xe]
or eax, ecx
movzx ecx, byte [edx + 0xd]
shl eax, 8
or eax, ecx
movzx ecx, byte [edx + 0xc]
shl eax, 8
or eax, ecx
lea ecx, [edi + 0x10a8]
xor eax, dword [edi + 0x1094]
mov edi, ecx
mov ecx, ebx
rol eax, 1
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
shr ecx, 8
movzx ecx, cl
mov esi, dword [esi + edx*4]
mov edx, dword [ebp - 8]
xor esi, dword [edx + ecx*4]
mov ecx, ebx
shr ecx, 0x18
mov edx, dword [ebp - 0x10]
xor esi, dword [edx + ecx*4]
movzx ecx, bl
mov ebx, dword [ebp - 0xc]
xor esi, dword [ebx + ecx*4]
mov ecx, dword [ebp - 4]
mov edx, ecx
mov ebx, dword [ebp - 0x14]
shr ecx, 0x10
movzx ecx, cl
shr edx, 0x18
mov edx, dword [ebx + edx*4]
mov ebx, dword [ebp - 8]
xor edx, dword [ebx + ecx*4]
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
shr ecx, 8
movzx ecx, cl
xor edx, dword [ebx + ecx*4]
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0x10]
movzx ecx, cl
xor edx, dword [ebx + ecx*4]
mov ecx, dword [edi]
add edx, esi
add ecx, edx
mov ebx, dword [ebp - 0x14]
xor ecx, dword [ebp + 8]
ror ecx, 1
mov dword [ebp + 8], ecx
mov ecx, dword [edi + 4]
add ecx, edx
add ecx, esi
xor eax, ecx
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov esi, dword [ebx + edx*4]
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 0xc]
xor esi, dword [edx + ecx*4]
mov ecx, eax
mov edx, dword [ebp - 0x10]
shr ecx, 0x18
xor esi, dword [edx + ecx*4]
movzx ecx, al
xor esi, dword [ebx + ecx*4]
mov ecx, dword [ebp + 8]
mov edx, ecx
mov ebx, dword [ebp - 0x14]
shr edx, 0x18
shr ecx, 0x10
movzx ecx, cl
mov edx, dword [ebx + edx*4]
mov ebx, dword [ebp - 8]
xor edx, dword [ebx + ecx*4]
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0xc]
shr ecx, 8
movzx ecx, cl
xor edx, dword [ebx + ecx*4]
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp - 0x10]
movzx ecx, cl
xor edx, dword [ebx + ecx*4]
add edx, esi
mov ecx, dword [edi + 8]
lea edi, [edi + 0x10]
mov ebx, dword [ebp - 0x18]
add ecx, edx
xor ecx, dword [ebp - 4]
ror ecx, 1
mov dword [ebp - 4], ecx
mov ecx, dword [edi - 4]
add ecx, edx
rol ebx, 1
add ecx, esi
mov esi, dword [ebp - 0x14]
xor ebx, ecx
sub dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], ebx
jne 0x4d9b20
mov edi, dword [ebp - 0x24]
mov esi, dword [ebp + 0xc]
mov edx, dword [edi + 0x109c]
mov ecx, dword [edi + 0x1098]
xor edx, eax
mov eax, dword [edi + 0x10a4]
xor eax, dword [ebp - 0x18]
mov ebx, dword [edi + 0x10a0]
xor ecx, dword [ebp + 8]
mov dword [ebp + 8], eax
mov eax, ecx
shr eax, 0x18
mov byte [esi + 3], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 2], al
mov eax, ecx
xor ebx, dword [ebp - 4]
shr eax, 8
mov byte [esi + 1], al
mov eax, edx
shr eax, 0x18
mov byte [esi + 7], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 6], al
mov eax, edx
shr eax, 8
mov byte [esi + 5], al
mov eax, ebx
shr eax, 0x18
mov byte [esi + 0xb], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 0xa], al
mov eax, ebx
shr eax, 8
mov byte [esi + 9], al
mov byte [esi], cl
mov ecx, dword [ebp + 8]
mov eax, ecx
shr eax, 0x18
mov byte [esi + 0xf], al
mov eax, ecx
shr eax, 0x10
mov byte [esi + 0xe], al
mov eax, ecx
shr eax, 8
pop edi
mov byte [esi + 8], bl
mov byte [esi + 4], dl
mov byte [esi + 0xd], al
mov byte [esi + 0xc], cl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8