Function at 0x4dc3e5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
je 0x4dc629
mov esi, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [ebp + 0x1c], esi
movzx eax, byte [esi + 1]
movzx ebx, byte [esi]
movzx edx, byte [esi + 4]
shl eax, 8
or ebx, eax
movzx eax, byte [esi + 2]
shl eax, 0x10
or ebx, eax
movzx eax, byte [esi + 3]
shl eax, 0x18
or ebx, eax
movzx eax, byte [esi + 5]
shl eax, 8
or edx, eax
movzx eax, byte [esi + 6]
shl eax, 0x10
or edx, eax
movzx eax, byte [esi + 7]
shl eax, 0x18
or edx, eax
add ecx, 0xfffffff8
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
js 0x4dc516
mov esi, dword [ebp + 8]
lea eax, [ecx + 8]
shr eax, 3
mov dword [ebp + 0x10], eax
imul eax, eax, 0xfffffff8
add ecx, eax
mov dword [ebp - 8], ecx
movzx eax, byte [esi + 1]
movzx edx, byte [esi]
movzx ecx, byte [esi + 4]
shl eax, 8
or edx, eax
movzx eax, byte [esi + 2]
shl eax, 0x10
push dword [ebp + 0x14]
or edx, eax
movzx eax, byte [esi + 3]
shl eax, 0x18
or edx, eax
movzx eax, byte [esi + 5]
shl eax, 8
xor edx, ebx
or ecx, eax
mov dword [ebp - 0x1c], edx
movzx eax, byte [esi + 6]
shl eax, 0x10
or ecx, eax
movzx eax, byte [esi + 7]
shl eax, 0x18
add esi, 8
or ecx, eax
lea eax, [ebp - 0x1c]
xor ecx, dword [ebp - 0xc]
push eax
mov dword [ebp - 0x18], ecx
call fcn.004dccc8
mov ebx, dword [ebp - 0x1c]
mov eax, ebx
mov edx, dword [ebp - 0x18]
shr eax, 8
mov byte [edi], bl
mov byte [edi + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [edi + 2], al
mov eax, ebx
shr eax, 0x18
mov byte [edi + 3], al
mov eax, edx
shr eax, 8
mov byte [edi + 4], dl
mov byte [edi + 5], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 6], al
mov eax, edx
shr eax, 0x18
mov byte [edi + 7], al
add edi, 8
sub dword [ebp + 0x10], 1
pop ecx
pop ecx
mov dword [ebp - 0xc], edx
jne 0x4dc464
mov ecx, dword [ebp - 8]
mov dword [ebp + 0x10], esi
mov esi, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x10]
jmp 0x4dc519
mov eax, dword [ebp + 8]
cmp ecx, 0xfffffff8
je 0x4dc5f3
mov edx, dword [ebp - 8]
add eax, 8
add edx, 7
add ecx, eax
xor eax, eax
mov dword [ebp - 8], edx
cmp edx, 7
mov dword [ebp + 0x10], eax
mov edx, dword [ebp - 0xc]
mov dword [ebp - 4], eax
ja case.default.0x4dc543
mov esi, dword [ebp - 8]
jmp dword [esi*4 + 0x4dc889]
dec ecx
movzx eax, byte [ecx]
shl eax, 0x18
mov dword [ebp + 0x10], eax
dec ecx
movzx eax, byte [ecx]
shl eax, 0x10
or dword [ebp + 0x10], eax
dec ecx
movzx eax, byte [ecx]
shl eax, 8
or dword [ebp + 0x10], eax
dec ecx
movzx eax, byte [ecx]
or dword [ebp + 0x10], eax
dec ecx
movzx eax, byte [ecx]
shl eax, 0x18
mov dword [ebp - 4], eax
dec ecx
movzx eax, byte [ecx]
shl eax, 0x10
or dword [ebp - 4], eax
dec ecx
movzx eax, byte [ecx]
shl eax, 8
or dword [ebp - 4], eax
movzx eax, byte [ecx - 1]
mov ecx, dword [ebp - 4]
or ecx, eax
mov eax, dword [ebp + 0x10]
jmp 0x4dc59d
mov ecx, eax
push dword [ebp + 0x14]
xor eax, edx
xor ecx, ebx
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], ecx
call fcn.004dccc8
mov ebx, dword [ebp - 0x1c]
mov eax, ebx
mov edx, dword [ebp - 0x18]
shr eax, 8
mov byte [edi], bl
mov byte [edi + 1], al
mov eax, ebx
mov esi, dword [ebp + 0x1c]
shr eax, 0x10
mov byte [edi + 2], al
mov eax, ebx
shr eax, 0x18
mov byte [edi + 3], al
mov eax, edx
shr eax, 8
mov byte [edi + 4], dl
mov byte [edi + 5], al
mov eax, edx
shr eax, 0x10
mov byte [edi + 6], al
mov eax, edx
pop ecx
shr eax, 0x18
pop ecx
mov byte [edi + 7], al
mov byte [esi], bl
mov eax, ebx
shr eax, 8
mov byte [esi + 1], al
mov eax, ebx
shr eax, 0x10
mov byte [esi + 2], al
mov eax, edx
shr ebx, 0x18
mov byte [esi + 3], bl
shr eax, 8
mov byte [esi + 4], dl
mov byte [esi + 5], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [esi + 6], al
mov byte [esi + 7], dl
jmp 0x4dc880
mov ebx, dword [ebp + 0x18]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x10], ebx
movzx eax, byte [ebx + 1]
movzx ecx, byte [ebx]
movzx edx, byte [ebx + 4]
shl eax, 8
or ecx, eax
movzx eax, byte [ebx + 2]
shl eax, 0x10
or ecx, eax
movzx eax, byte [ebx + 3]
shl eax, 0x18
or ecx, eax
movzx eax, byte [ebx + 5]
shl eax, 8
or edx, eax
mov dword [ebp - 0xc], ecx
movzx eax, byte [ebx + 6]
shl eax, 0x10
or edx, eax
movzx eax, byte [ebx + 7]
shl eax, 0x18
or edx, eax
add edi, 0xfffffff8
mov dword [ebp + 0x1c], edx
js 0x4dc767
mov ebx, dword [ebp + 8]
lea eax, [edi + 8]
shr eax, 3
mov dword [ebp - 8], eax
imul eax, eax, 0xfffffff8
add edi, eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14], edi
mov dword [ebp + 0x10], eax
movzx eax, byte [ebx + 1]
movzx edi, byte [ebx]
movzx esi, byte [ebx + 4]
shl eax, 8
or edi, eax
movzx eax, byte [ebx + 2]
shl eax, 0x10
push dword [ebp + 0x14]
or edi, eax
movzx eax, byte [ebx + 3]
shl eax, 0x18
or edi, eax
movzx eax, byte [ebx + 5]
shl eax, 8
or esi, eax
mov dword [ebp - 0x1c], edi
movzx eax, byte [ebx + 6]
shl eax, 0x10
or esi, eax
movzx eax, byte [ebx + 7]
shl eax, 0x18
add ebx, 8
or esi, eax
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], esi
push eax
call fcn.004dc8c9
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp - 0x18]
xor edx, dword [ebp + 0x1c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, dword [ebp - 0xc]
mov byte [eax], cl
inc eax
mov dword [ebp + 0x10], eax
mov eax, ecx
mov ebx, dword [ebp + 0x10]
shr eax, 8
inc dword [ebp + 0x10]
mov dword [ebp + 0x1c], esi
mov byte [ebx], al
mov eax, ecx
mov ebx, dword [ebp + 0x10]
shr eax, 0x10
shr ecx, 0x18
mov byte [ebx], al
mov eax, ebx
mov ebx, dword [ebp - 4]
inc eax
mov dword [ebp + 0x10], eax
mov byte [eax], cl
mov ecx, eax
mov eax, edx
shr eax, 8
mov byte [ecx + 1], dl
mov byte [ecx + 2], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 3], al
shr edx, 0x18
mov byte [ecx + 4], dl
add ecx, 5
sub dword [ebp - 8], 1
mov dword [ebp + 0x10], ecx
mov ecx, edi
mov dword [ebp - 0xc], ecx
jne 0x4dc698
mov ebx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 0x14]
jmp 0x4dc773
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0x1c]
mov dword [ebp + 0x10], eax
cmp edi, 0xfffffff8
je 0x4dc84c
movzx eax, byte [edx + 1]
movzx ecx, byte [edx]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 3]
push dword [ebp + 0x14]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], ecx
movzx ecx, byte [edx + 4]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 6]
mov dword [ebp - 8], ecx
movzx ecx, byte [edx + 7]
shl ecx, 8
or ecx, eax
mov eax, dword [ebp - 8]
shl ecx, 0x10
or eax, ecx
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004dc8c9
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
xor edx, dword [ebp - 0xc]
xor eax, esi
pop ecx
pop ecx
mov ecx, dword [ebp + 0x10]
add ecx, 8
mov dword [ebp + 0x1c], eax
add ecx, edi
add edi, 7
cmp edi, 7
ja case.default.0x4dc7f7
jmp dword [edi*4 + 0x4dc8a9]
mov esi, dword [ebp + 0x1c]
dec ecx
mov eax, esi
shr eax, 0x18
mov byte [ecx], al
jmp 0x4dc80e
mov esi, dword [ebp + 0x1c]
dec ecx
mov eax, esi
shr eax, 0x10
mov byte [ecx], al
jmp 0x4dc81b
mov esi, dword [ebp + 0x1c]
dec ecx
mov eax, esi
shr eax, 8
mov byte [ecx], al
mov eax, dword [ebp + 0x1c]
dec ecx
mov byte [ecx], al
dec ecx
mov eax, edx
shr eax, 0x18
mov byte [ecx], al
dec ecx
mov eax, edx
shr eax, 0x10
mov byte [ecx], al
dec ecx
mov eax, edx
shr eax, 8
mov byte [ecx], al
mov byte [ecx - 1], dl
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
jmp 0x4dc84f
mov edx, dword [ebp + 0x1c]
mov byte [ebx], cl
mov eax, ecx
shr eax, 8
mov byte [ebx + 1], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 2], al
mov eax, edx
shr ecx, 0x18
mov byte [ebx + 3], cl
shr eax, 8
mov byte [ebx + 4], dl
mov byte [ebx + 5], al
mov eax, edx
shr eax, 0x10
shr edx, 0x18
mov byte [ebx + 6], al
mov byte [ebx + 7], dl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret