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

Disassembly:
test ecx, ecx
not eax
je 0x4c54b0
push ebp
push edi
push esi
push ebx
sub esp, 4
jmp 0x4c50c2
add edx, 1
movzx ebx, byte [edx - 1]
xor ebx, eax
shr eax, 8
movzx ebx, bl
xor eax, dword [ebx*4 + 0xc85e00]
sub ecx, 1
je 0x4c54a0
test dl, 3
jne 0x4c50a3
cmp ecx, 0x1f
jbe 0x4c528a
lea ebx, [ecx - 0x20]
and ebx, 0xffffffe0
lea edi, [edx + ebx + 0x20]
mov dword [esp], edi
lea esi, [esi]
xor eax, dword [edx]
mov ebp, eax
movzx esi, al
mov ebx, eax
shr ebp, 0x18
mov esi, dword [esi*4 + 0xc86a00]
shr ebx, 0x10
xor esi, dword [ebp*4 + 0xc85e00]
movzx eax, ah
movzx edi, bl
xor esi, dword [edx + 4]
xor esi, dword [eax*4 + 0xc86600]
mov eax, dword [edi*4 + 0xc86200]
xor eax, esi
mov ebp, eax
movzx esi, al
mov ebx, eax
shr ebp, 0x18
mov esi, dword [esi*4 + 0xc86a00]
shr ebx, 0x10
xor esi, dword [ebp*4 + 0xc85e00]
movzx eax, ah
movzx edi, bl
xor esi, dword [edx + 8]
xor esi, dword [eax*4 + 0xc86600]
mov eax, dword [edi*4 + 0xc86200]
xor eax, esi
mov ebp, eax
movzx esi, al
mov ebx, eax
shr ebp, 0x18
mov esi, dword [esi*4 + 0xc86a00]
shr ebx, 0x10
xor esi, dword [ebp*4 + 0xc85e00]
movzx eax, ah
movzx edi, bl
xor esi, dword [edx + 0xc]
xor esi, dword [eax*4 + 0xc86600]
mov eax, dword [edi*4 + 0xc86200]
xor eax, esi
mov ebp, eax
movzx esi, al
mov ebx, eax
shr ebp, 0x18
mov esi, dword [esi*4 + 0xc86a00]
shr ebx, 0x10
xor esi, dword [ebp*4 + 0xc85e00]
movzx eax, ah
movzx edi, bl
xor esi, dword [edx + 0x10]
xor esi, dword [eax*4 + 0xc86600]
mov eax, dword [edi*4 + 0xc86200]
xor eax, esi
mov ebp, eax
movzx esi, al
mov ebx, eax
shr ebp, 0x18
mov esi, dword [esi*4 + 0xc86a00]
shr ebx, 0x10
xor esi, dword [ebp*4 + 0xc85e00]
movzx eax, ah
movzx edi, bl
xor esi, dword [edx + 0x14]
xor esi, dword [eax*4 + 0xc86600]
mov eax, dword [edi*4 + 0xc86200]
xor eax, esi
mov ebx, eax
mov ebp, eax
movzx edi, al
shr ebx, 0x10
shr ebp, 0x18
mov edi, dword [edi*4 + 0xc86a00]
xor edi, dword [ebp*4 + 0xc85e00]
movzx eax, ah
movzx esi, bl
xor edi, dword [edx + 0x18]
add edx, 0x20
xor edi, dword [eax*4 + 0xc86600]
xor edi, dword [esi*4 + 0xc86200]
mov eax, edi
mov ebx, edi
mov ebp, edi
shr eax, 0x10
shr ebp, 0x18
movzx edi, bh
movzx esi, al
movzx eax, bl
mov eax, dword [eax*4 + 0xc86a00]
xor eax, dword [ebp*4 + 0xc85e00]
xor eax, dword [edx - 4]
xor eax, dword [edi*4 + 0xc86600]
xor eax, dword [esi*4 + 0xc86200]
mov ebx, eax
shr eax, 0x10
mov ebp, ebx
movzx edi, al
movzx eax, bl
shr ebp, 0x18
mov eax, dword [eax*4 + 0xc86a00]
movzx esi, bh
xor eax, dword [ebp*4 + 0xc85e00]
xor eax, dword [esi*4 + 0xc86600]
xor eax, dword [edi*4 + 0xc86200]
cmp edx, dword [esp]
jne 0x4c50e0
and ecx, 0x1f
cmp ecx, 3
jbe 0x4c545a
xor eax, dword [edx]
mov ebx, eax
mov esi, eax
shr ebx, 0x10
shr esi, 0x18
movzx edi, bl
movzx ebx, al
mov esi, dword [esi*4 + 0xc85e00]
xor esi, dword [ebx*4 + 0xc86a00]
movzx ebx, ah
mov eax, dword [ebx*4 + 0xc86600]
xor eax, esi
xor eax, dword [edi*4 + 0xc86200]
lea edi, [ecx - 4]
cmp edi, 3
mov dword [esp], edi
jbe 0x4c544d
xor eax, dword [edx + 4]
mov ebp, eax
movzx esi, al
mov edi, eax
shr ebp, 0x18
shr edi, 0x10
mov ebp, dword [ebp*4 + 0xc85e00]
xor ebp, dword [esi*4 + 0xc86a00]
movzx esi, ah
mov eax, dword [esi*4 + 0xc86600]
mov ebx, edi
lea esi, [ecx - 8]
movzx edi, bl
xor eax, ebp
xor eax, dword [edi*4 + 0xc86200]
cmp esi, 3
jbe 0x4c544d
xor eax, dword [edx + 8]
mov ebp, eax
movzx esi, al
mov edi, eax
shr ebp, 0x18
shr edi, 0x10
mov ebp, dword [ebp*4 + 0xc85e00]
xor ebp, dword [esi*4 + 0xc86a00]
movzx esi, ah
mov eax, dword [esi*4 + 0xc86600]
mov ebx, edi
lea esi, [ecx - 0xc]
movzx edi, bl
xor eax, ebp
xor eax, dword [edi*4 + 0xc86200]
cmp esi, 3
jbe 0x4c544d
xor eax, dword [edx + 0xc]
mov ebp, eax
movzx esi, al
mov edi, eax
shr ebp, 0x18
shr edi, 0x10
mov ebp, dword [ebp*4 + 0xc85e00]
xor ebp, dword [esi*4 + 0xc86a00]
movzx esi, ah
mov eax, dword [esi*4 + 0xc86600]
mov ebx, edi
lea esi, [ecx - 0x10]
movzx edi, bl
xor eax, ebp
xor eax, dword [edi*4 + 0xc86200]
cmp esi, 3
jbe 0x4c544d
xor eax, dword [edx + 0x10]
mov ebp, eax
movzx esi, al
mov edi, eax
shr ebp, 0x18
shr edi, 0x10
mov ebp, dword [ebp*4 + 0xc85e00]
xor ebp, dword [esi*4 + 0xc86a00]
movzx esi, ah
mov eax, dword [esi*4 + 0xc86600]
mov ebx, edi
lea esi, [ecx - 0x14]
movzx edi, bl
xor eax, ebp
xor eax, dword [edi*4 + 0xc86200]
cmp esi, 3
jbe 0x4c544d
xor eax, dword [edx + 0x14]
mov ebp, eax
movzx esi, al
mov edi, eax
shr ebp, 0x18
shr edi, 0x10
mov ebp, dword [ebp*4 + 0xc85e00]
xor ebp, dword [esi*4 + 0xc86a00]
movzx esi, ah
mov eax, dword [esi*4 + 0xc86600]
mov ebx, edi
lea esi, [ecx - 0x18]
movzx edi, bl
xor eax, ebp
xor eax, dword [edi*4 + 0xc86200]
cmp esi, 3
jbe 0x4c544d
xor eax, dword [edx + 0x18]
mov esi, eax
movzx ebp, al
mov edi, eax
shr esi, 0x18
mov ebp, dword [ebp*4 + 0xc86a00]
shr edi, 0x10
xor ebp, dword [esi*4 + 0xc85e00]
movzx esi, ah
mov ebx, edi
mov eax, dword [esi*4 + 0xc86600]
movzx edi, bl
xor eax, ebp
xor eax, dword [edi*4 + 0xc86200]
mov ebx, dword [esp]
and ecx, 3
shr ebx, 2
lea edx, [edx + ebx*4 + 4]
test ecx, ecx
je 0x4c54a0
movzx ebx, byte [edx]
xor ebx, eax
shr eax, 8
movzx ebx, bl
xor eax, dword [ebx*4 + 0xc85e00]
cmp ecx, 1
je 0x4c54a0
movzx ebx, byte [edx + 1]
xor ebx, eax
shr eax, 8
movzx ebx, bl
xor eax, dword [ebx*4 + 0xc85e00]
cmp ecx, 2
je 0x4c54a0
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx edx, cl
xor eax, dword [edx*4 + 0xc85e00]
add esp, 4
not eax
pop ebx
pop esi
pop edi
pop ebp
ret
not eax
ret
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
test edx, edx
je 0x4c56e5
jmp 0x4c5090
xor eax, eax
ret