Function at 0x4d6c8c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xc
push 0
push 0
dec ecx
jne 0x4d6c94
push ebx
push esi
xor eax, eax
push ebp
push 0x4d6f82
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
mov edx, 6
mov eax, dword [0x56427c]
call fcn.00409024
mov eax, dword [ebp - 0x18]
mov ecx, 2
mov edx, 5
call fcn.004048b8
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
mov edx, 0x4d6f98
call fcn.004046a4
mov eax, dword [ebp - 0x10]
call fcn.0040904c
mov byte [ebp - 7], al
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x24]
mov edx, 6
mov eax, dword [0x56427c]
call fcn.00409024
mov eax, dword [ebp - 0x24]
mov ecx, 2
mov edx, 3
call fcn.004048b8
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x1c]
mov edx, 0x4d6f98
call fcn.004046a4
mov eax, dword [ebp - 0x1c]
call fcn.0040904c
mov byte [ebp - 6], al
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x30]
mov edx, 6
mov eax, dword [0x56427c]
call fcn.00409024
mov eax, dword [ebp - 0x30]
mov ecx, 2
mov edx, 1
call fcn.004048b8
mov ecx, dword [ebp - 0x2c]
lea eax, [ebp - 0x28]
mov edx, 0x4d6f98
call fcn.004046a4
mov eax, dword [ebp - 0x28]
call fcn.0040904c
mov byte [ebp - 5], al
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x3c]
movzx eax, word [0x563f72]
mov edx, 4
call fcn.00409024
mov eax, dword [ebp - 0x3c]
mov ecx, 2
mov edx, 3
call fcn.004048b8
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
mov edx, 0x4d6f98
call fcn.004046a4
mov eax, dword [ebp - 0x34]
call fcn.0040904c
mov byte [ebp - 4], al
lea eax, [ebp - 0x44]
push eax
lea ecx, [ebp - 0x48]
movzx eax, word [0x563f72]
mov edx, 4
call fcn.00409024
mov eax, dword [ebp - 0x48]
mov ecx, 2
mov edx, 1
call fcn.004048b8
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov edx, 0x4d6f98
call fcn.004046a4
mov eax, dword [ebp - 0x40]
call fcn.0040904c
mov byte [ebp - 3], al
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x54]
movzx eax, word [0x563f70]
mov edx, 4
call fcn.00409024
mov eax, dword [ebp - 0x54]
mov ecx, 2
mov edx, 3
call fcn.004048b8
mov ecx, dword [ebp - 0x50]
lea eax, [ebp - 0x4c]
mov edx, 0x4d6f98
call fcn.004046a4
mov eax, dword [ebp - 0x4c]
call fcn.0040904c
mov byte [ebp - 2], al
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x60]
movzx eax, word [0x563f70]
mov edx, 4
call fcn.00409024
mov eax, dword [ebp - 0x60]
mov ecx, 2
mov edx, 1
call fcn.004048b8
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x58]
mov edx, 0x4d6f98
call fcn.004046a4
mov eax, dword [ebp - 0x58]
call fcn.0040904c
mov byte [ebp - 1], al
mov ax, word [0x563f74]
add ax, 0x40
dec eax
test ax, ax
jbe 0x4d6f50
mov word [ebp - 0xc], ax
mov word [ebp - 0xa], 0
mov dx, 0xfff9
mov eax, 0x56082a
lea esi, [ebp - 1]
mov cl, byte [eax]
and cl, byte [esi]
and ecx, 0xff
xor word [ebp - 0xa], cx
dec esi
dec eax
inc dx
jne 0x4d6eb2
xor eax, eax
xor edx, edx
mov ecx, edx
mov bx, 1
shl bx, cl
mov ecx, ebx
mov bx, word [ebp - 0xa]
and bx, cx
cmp cx, bx
jne 0x4d6ee3
inc eax
inc edx
cmp dx, 8
jne 0x4d6ecb
movzx eax, ax
and eax, 1
cmp eax, 1
jne 0x4d6efb
or byte [ebp - 1], 1
jmp 0x4d6eff
and byte [ebp - 1], 0xfe
mov cl, byte [ebp - 1]
and cl, 1
and ecx, 0xff
mov dx, 7
lea eax, [ebp - 7]
mov bl, byte [eax]
and bl, 1
and ebx, 0xff
mov word [ebp - 0xa], bx
cmp cx, 1
jne 0x4d6f34
xor ecx, ecx
mov cl, byte [eax]
shr ecx, 1
add cl, 0x80
mov byte [eax], cl
jmp 0x4d6f3c
xor ecx, ecx
mov cl, byte [eax]
shr ecx, 1
mov byte [eax], cl
mov cx, word [ebp - 0xa]
inc eax
dec dx
jne 0x4d6f12
dec word [ebp - 0xc]
jne 0x4d6ea0
mov dx, 7
lea eax, [ebp - 7]
mov ecx, 0x564280
mov bl, byte [eax]
mov byte [ecx], bl
inc ecx
inc eax
dec dx
jne 0x4d6f5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d6f89
lea eax, [ebp - 0x60]
mov edx, 0x15
call fcn.004043bc
ret