Function at 0x4d6870
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x10
mov eax, dword [0x5894dc]
xor eax, esp
mov dword [esp + 0xc], eax
mov eax, ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 8], edx
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
push esi
push edi
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
xor edi, edi
mov ecx, dword [eax + 0x18]
and ecx, 0xfffd
or ecx, 2
mov esi, ecx
mov edx, dword [eax + 0x10]
xor esi, 1
imul esi, ecx
movzx ecx, byte [esp + edi + 0x10]
sar esi, 8
xor esi, ecx
xor esi, edx
and esi, 0xff
mov ecx, dword [esi*4 + 0x588be0]
shr edx, 8
xor ecx, edx
mov dword [eax + 0x10], ecx
movzx ecx, cl
add ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
imul ecx, ecx, 0x8088405
add ecx, 1
mov dword [eax + 0x14], ecx
shr ecx, 0x18
xor ecx, edx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x588be0]
shr edx, 8
xor ecx, edx
mov dword [eax + 0x18], ecx
and ecx, 0xfffd
or ecx, 2
mov esi, ecx
mov edx, dword [eax + 0x10]
xor esi, 1
imul esi, ecx
movzx ecx, byte [esp + edi + 0x11]
sar esi, 8
xor esi, ecx
xor esi, edx
and esi, 0xff
mov ecx, dword [esi*4 + 0x588be0]
shr edx, 8
xor ecx, edx
mov dword [eax + 0x10], ecx
movzx ecx, cl
add ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
imul ecx, ecx, 0x8088405
add ecx, 1
mov dword [eax + 0x14], ecx
shr ecx, 0x18
xor ecx, edx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x588be0]
shr edx, 8
xor ecx, edx
mov dword [eax + 0x18], ecx
mov edx, dword [eax + 0x10]
and ecx, 0xfffd
or ecx, 2
mov esi, ecx
xor esi, 1
imul esi, ecx
movzx ecx, byte [esp + edi + 0x12]
sar esi, 8
xor esi, ecx
xor esi, edx
and esi, 0xff
mov ecx, dword [esi*4 + 0x588be0]
shr edx, 8
xor ecx, edx
mov edx, dword [eax + 0x18]
mov dword [eax + 0x10], ecx
movzx ecx, cl
add ecx, dword [eax + 0x14]
imul ecx, ecx, 0x8088405
add ecx, 1
mov dword [eax + 0x14], ecx
shr ecx, 0x18
xor ecx, edx
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x588be0]
shr edx, 8
xor ecx, edx
mov dword [eax + 0x18], ecx
mov esi, dword [eax + 0x10]
and ecx, 0xfffd
or ecx, 2
mov edx, ecx
xor ecx, 1
imul ecx, edx
sar ecx, 8
xor cl, byte [esp + edi + 0x13]
add edi, 4
movzx edx, cl
xor edx, esi
and edx, 0xff
mov edx, dword [edx*4 + 0x588be0]
shr esi, 8
xor edx, esi
mov esi, dword [eax + 0x18]
mov dword [eax + 0x10], edx
movzx edx, dl
add edx, dword [eax + 0x14]
imul edx, edx, 0x8088405
add edx, 1
mov dword [eax + 0x14], edx
shr edx, 0x18
xor edx, esi
and edx, 0xff
shr esi, 8
xor esi, dword [edx*4 + 0x588be0]
cmp edi, 0xc
mov dword [eax + 0x18], esi
jl 0x4d68a2
mov al, byte [esp + 0x30]
test al, al
mov esi, dword [esp + 0x2c]
je 0x4d6a54
mov edx, dword [esp + 0x28]
shr edx, 8
jmp 0x4d6a59
mov edx, esi
shr edx, 0x18
cmp dl, cl
sete bl
test bl, bl
jne 0x4d6a98
mov edx, dword [ebp]
mov edx, dword [edx + 0x2c]
movzx eax, al
push eax
push str.isDataDescriptor
mov ecx, ebp
call edx
mov eax, dword [ebp]
mov edx, dword [eax + 0x34]
push esi
push str.crc32
mov ecx, ebp
call edx
push 0xc
lea eax, [esp + 0x14]
push eax
push str.PwdProtectData
mov ecx, ebp
call fcn.00424300
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
xor ecx, esp
call fcn.004ec47e
add esp, 0x10
ret 0x14