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

Disassembly:
test ecx, ecx
not eax
je 0x4c6380
push ebp
push edi
push esi
push ebx
sub esp, 4
jmp 0x4c5f92
add edx, 1
movzx ebx, byte [edx - 1]
xor ebx, eax
shr eax, 8
movzx ebx, bl
xor eax, dword [ebx*4 + 0xc87020]
sub ecx, 1
je 0x4c6370
test dl, 3
jne 0x4c5f73
cmp ecx, 0x1f
jbe 0x4c615a
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 + 0xc87c20]
shr ebx, 0x10
xor esi, dword [ebp*4 + 0xc87020]
movzx eax, ah
movzx edi, bl
xor esi, dword [edx + 4]
xor esi, dword [eax*4 + 0xc87820]
mov eax, dword [edi*4 + 0xc87420]
xor eax, esi
mov ebp, eax
movzx esi, al
mov ebx, eax
shr ebp, 0x18
mov esi, dword [esi*4 + 0xc87c20]
shr ebx, 0x10
xor esi, dword [ebp*4 + 0xc87020]
movzx eax, ah
movzx edi, bl
xor esi, dword [edx + 8]
xor esi, dword [eax*4 + 0xc87820]
mov eax, dword [edi*4 + 0xc87420]
xor eax, esi
mov ebp, eax
movzx esi, al
mov ebx, eax
shr ebp, 0x18
mov esi, dword [esi*4 + 0xc87c20]
shr ebx, 0x10
xor esi, dword [ebp*4 + 0xc87020]
movzx eax, ah
movzx edi, bl
xor esi, dword [edx + 0xc]
xor esi, dword [eax*4 + 0xc87820]
mov eax, dword [edi*4 + 0xc87420]
xor eax, esi
mov ebp, eax
movzx esi, al
mov ebx, eax
shr ebp, 0x18
mov esi, dword [esi*4 + 0xc87c20]
shr ebx, 0x10
xor esi, dword [ebp*4 + 0xc87020]
movzx eax, ah
movzx edi, bl
xor esi, dword [edx + 0x10]
xor esi, dword [eax*4 + 0xc87820]
mov eax, dword [edi*4 + 0xc87420]
xor eax, esi
mov ebp, eax
movzx esi, al
mov ebx, eax
shr ebp, 0x18
mov esi, dword [esi*4 + 0xc87c20]
shr ebx, 0x10
xor esi, dword [ebp*4 + 0xc87020]
movzx eax, ah
movzx edi, bl
xor esi, dword [edx + 0x14]
xor esi, dword [eax*4 + 0xc87820]
mov eax, dword [edi*4 + 0xc87420]
xor eax, esi
mov ebx, eax
mov ebp, eax
movzx edi, al
shr ebx, 0x10
shr ebp, 0x18
mov edi, dword [edi*4 + 0xc87c20]
xor edi, dword [ebp*4 + 0xc87020]
movzx eax, ah
movzx esi, bl
xor edi, dword [edx + 0x18]
add edx, 0x20
xor edi, dword [eax*4 + 0xc87820]
xor edi, dword [esi*4 + 0xc87420]
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 + 0xc87c20]
xor eax, dword [ebp*4 + 0xc87020]
xor eax, dword [edx - 4]
xor eax, dword [edi*4 + 0xc87820]
xor eax, dword [esi*4 + 0xc87420]
mov ebx, eax
shr eax, 0x10
mov ebp, ebx
movzx edi, al
movzx eax, bl
shr ebp, 0x18
mov eax, dword [eax*4 + 0xc87c20]
movzx esi, bh
xor eax, dword [ebp*4 + 0xc87020]
xor eax, dword [esi*4 + 0xc87820]
xor eax, dword [edi*4 + 0xc87420]
cmp edx, dword [esp]
jne 0x4c5fb0
and ecx, 0x1f
cmp ecx, 3
jbe 0x4c632a
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 + 0xc87020]
xor esi, dword [ebx*4 + 0xc87c20]
movzx ebx, ah
mov eax, dword [ebx*4 + 0xc87820]
xor eax, esi
xor eax, dword [edi*4 + 0xc87420]
lea edi, [ecx - 4]
cmp edi, 3
mov dword [esp], edi
jbe 0x4c631d
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 + 0xc87020]
xor ebp, dword [esi*4 + 0xc87c20]
movzx esi, ah
mov eax, dword [esi*4 + 0xc87820]
mov ebx, edi
lea esi, [ecx - 8]
movzx edi, bl
xor eax, ebp
xor eax, dword [edi*4 + 0xc87420]
cmp esi, 3
jbe 0x4c631d
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 + 0xc87020]
xor ebp, dword [esi*4 + 0xc87c20]
movzx esi, ah
mov eax, dword [esi*4 + 0xc87820]
mov ebx, edi
lea esi, [ecx - 0xc]
movzx edi, bl
xor eax, ebp
xor eax, dword [edi*4 + 0xc87420]
cmp esi, 3
jbe 0x4c631d
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 + 0xc87020]
xor ebp, dword [esi*4 + 0xc87c20]
movzx esi, ah
mov eax, dword [esi*4 + 0xc87820]
mov ebx, edi
lea esi, [ecx - 0x10]
movzx edi, bl
xor eax, ebp
xor eax, dword [edi*4 + 0xc87420]
cmp esi, 3
jbe 0x4c631d
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 + 0xc87020]
xor ebp, dword [esi*4 + 0xc87c20]
movzx esi, ah
mov eax, dword [esi*4 + 0xc87820]
mov ebx, edi
lea esi, [ecx - 0x14]
movzx edi, bl
xor eax, ebp
xor eax, dword [edi*4 + 0xc87420]
cmp esi, 3
jbe 0x4c631d
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 + 0xc87020]
xor ebp, dword [esi*4 + 0xc87c20]
movzx esi, ah
mov eax, dword [esi*4 + 0xc87820]
mov ebx, edi
lea esi, [ecx - 0x18]
movzx edi, bl
xor eax, ebp
xor eax, dword [edi*4 + 0xc87420]
cmp esi, 3
jbe 0x4c631d
xor eax, dword [edx + 0x18]
mov esi, eax
movzx ebp, al
mov edi, eax
shr esi, 0x18
mov ebp, dword [ebp*4 + 0xc87c20]
shr edi, 0x10
xor ebp, dword [esi*4 + 0xc87020]
movzx esi, ah
mov ebx, edi
mov eax, dword [esi*4 + 0xc87820]
movzx edi, bl
xor eax, ebp
xor eax, dword [edi*4 + 0xc87420]
mov ebx, dword [esp]
and ecx, 3
shr ebx, 2
lea edx, [edx + ebx*4 + 4]
test ecx, ecx
je 0x4c6370
movzx ebx, byte [edx]
xor ebx, eax
shr eax, 8
movzx ebx, bl
xor eax, dword [ebx*4 + 0xc87020]
cmp ecx, 1
je 0x4c6370
movzx ebx, byte [edx + 1]
xor ebx, eax
shr eax, 8
movzx ebx, bl
xor eax, dword [ebx*4 + 0xc87020]
cmp ecx, 2
je 0x4c6370
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx edx, cl
xor eax, dword [edx*4 + 0xc87020]
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 0x4c65b5
jmp 0x4c5f60
xor eax, eax
ret