Function at 0x6134a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x20], 8
movzx ecx, byte [edx + 3]
movzx ebx, byte [edx + 7]
shl ecx, 8
lea eax, [esi + 0x488]
shl ebx, 8
mov dword [ebp - 0x10], eax
lea eax, [esi + 0x888]
mov dword [ebp - 0x1c], eax
lea eax, [esi + 0xc88]
mov dword [ebp - 0x14], eax
movzx eax, byte [edx + 2]
or ecx, eax
mov dword [ebp - 0x24], esi
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 [esi + 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 [esi + 0x108c]
movzx eax, byte [edx + 9]
shl ecx, 8
or ecx, eax
mov dword [ebp - 8], ebx
movzx eax, byte [edx + 8]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 0xf]
xor ecx, dword [esi + 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, [esi + 0x10a8]
xor eax, dword [esi + 0x1094]
push edi
lea edi, [esi + 0x88]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x18], edi
mov ecx, ebx
mov esi, dword [ebp - 0x14]
shr ecx, 0x10
movzx edx, cl
mov ecx, ebx
mov ebx, dword [ebp - 0x14]
shr ecx, 8
movzx ecx, cl
ror eax, 0x1f
mov ebx, dword [ebx + edx*4]
mov edx, dword [ebp - 0x1c]
xor ebx, dword [edx + ecx*4]
mov edx, dword [ebp - 8]
mov ecx, edx
shr ecx, 0x18
xor ebx, dword [edi + ecx*4]
mov edi, dword [ebp - 0x1c]
movzx ecx, dl
mov edx, dword [ebp - 0x10]
xor ebx, dword [edx + ecx*4]
mov ecx, dword [ebp - 4]
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [ebp - 4]
shr ecx, 8
movzx ecx, cl
mov edi, dword [edi + edx*4]
mov edx, dword [ebp - 0x10]
xor edi, dword [edx + ecx*4]
mov edx, dword [ebp - 4]
mov ecx, edx
shr ecx, 0x18
xor edi, dword [esi + ecx*4]
movzx ecx, dl
mov edx, dword [ebp - 0x18]
xor edi, dword [edx + ecx*4]
mov ecx, dword [ebp - 0xc]
add edi, ebx
mov esi, dword [ecx]
mov ecx, dword [ebp + 8]
add esi, edi
shl ecx, 0x1f
mov edx, esi
xor esi, dword [ebp + 8]
shl edx, 0x1f
xor edx, ecx
shr esi, 1
mov ecx, dword [ebp - 0xc]
or edx, esi
mov dword [ebp + 8], edx
mov ecx, dword [ecx + 4]
add ecx, edi
mov edi, dword [ebp - 0x1c]
add ecx, ebx
mov ebx, dword [ebp - 0x14]
xor eax, ecx
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov ebx, dword [ebx + edx*4]
mov edx, dword [ebp - 0x18]
xor ebx, dword [edi + ecx*4]
mov ecx, eax
shr ecx, 0x18
xor ebx, dword [edx + ecx*4]
mov edx, dword [ebp - 0x10]
movzx ecx, al
xor ebx, dword [edx + ecx*4]
mov ecx, dword [ebp + 8]
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [ebp + 8]
shr ecx, 8
movzx ecx, cl
mov edi, dword [edi + edx*4]
mov edx, dword [ebp - 0x10]
xor edi, dword [edx + ecx*4]
mov edx, dword [ebp + 8]
mov esi, dword [ebp - 0x14]
mov ecx, edx
shr ecx, 0x18
xor edi, dword [esi + ecx*4]
movzx ecx, dl
mov edx, dword [ebp - 0x18]
xor edi, dword [edx + ecx*4]
mov ecx, dword [ebp - 0xc]
add edi, ebx
mov esi, dword [ecx + 8]
mov ecx, dword [ebp - 4]
add esi, edi
shl ecx, 0x1f
mov edx, esi
xor esi, dword [ebp - 4]
shl edx, 0x1f
xor edx, ecx
shr esi, 1
mov ecx, dword [ebp - 8]
or edx, esi
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0xc]
ror ecx, 0x1f
mov dword [ebp - 8], ecx
mov ecx, dword [edx + 0xc]
add edx, 0x10
add ecx, edi
mov dword [ebp - 0xc], edx
mov edi, dword [ebp - 0x18]
add ecx, ebx
mov ebx, dword [ebp - 8]
xor ebx, ecx
sub dword [ebp - 0x20], 1
mov dword [ebp - 8], ebx
jne 0x613581
mov esi, dword [ebp - 0x24]
pop edi
mov edx, dword [esi + 0x109c]
mov ecx, dword [esi + 0x1098]
xor edx, eax
mov eax, dword [esi + 0x10a4]
xor eax, dword [ebp - 8]
mov ebx, dword [esi + 0x10a0]
mov esi, dword [ebp + 0xc]
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
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