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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
not eax
mov edx, 0xff
je 0x5c9a6c
test cl, 3
je 0x5c9a6c
xor ebx, ebx
mov bl, byte [ecx]
xor ebx, eax
and ebx, edx
mov esi, dword [ebx*4 + 0x5f9ee8]
shr eax, 8
xor eax, esi
inc ecx
dec dword [ebp + 8]
jne 0x5c9a4d
cmp dword [ebp + 8], 0x20
push 4
mov esi, ecx
pop edi
jb 0x5c9c19
mov ecx, dword [ebp + 8]
shr ecx, 5
mov dword [ebp - 8], ecx
xor eax, dword [esi]
add esi, edi
mov dword [ebp - 4], eax
movzx ecx, byte [ebp - 2]
mov ecx, dword [ecx*4 + 0x5fa2e8]
movzx ebx, ah
xor ecx, dword [ebx*4 + 0x5fa6e8]
mov ebx, eax
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x5f9ee8]
and eax, edx
xor ecx, dword [eax*4 + 0x5faae8]
xor ecx, dword [esi]
add esi, edi
mov dword [ebp - 4], ecx
movzx eax, byte [ebp - 2]
mov eax, dword [eax*4 + 0x5fa2e8]
movzx ebx, ch
xor eax, dword [ebx*4 + 0x5fa6e8]
mov ebx, ecx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x5f9ee8]
and ecx, edx
xor eax, dword [ecx*4 + 0x5faae8]
xor eax, dword [esi]
add esi, edi
mov dword [ebp - 4], eax
movzx ecx, byte [ebp - 2]
mov ecx, dword [ecx*4 + 0x5fa2e8]
movzx ebx, ah
xor ecx, dword [ebx*4 + 0x5fa6e8]
mov ebx, eax
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x5f9ee8]
and eax, edx
xor ecx, dword [eax*4 + 0x5faae8]
xor ecx, dword [esi]
add esi, edi
mov dword [ebp - 4], ecx
movzx eax, byte [ebp - 2]
mov eax, dword [eax*4 + 0x5fa2e8]
movzx ebx, ch
xor eax, dword [ebx*4 + 0x5fa6e8]
mov ebx, ecx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x5f9ee8]
and ecx, edx
xor eax, dword [ecx*4 + 0x5faae8]
xor eax, dword [esi]
add esi, edi
mov dword [ebp - 4], eax
movzx ecx, byte [ebp - 2]
mov ecx, dword [ecx*4 + 0x5fa2e8]
movzx ebx, ah
xor ecx, dword [ebx*4 + 0x5fa6e8]
mov ebx, eax
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x5f9ee8]
and eax, edx
xor ecx, dword [eax*4 + 0x5faae8]
xor ecx, dword [esi]
add esi, edi
mov dword [ebp - 4], ecx
movzx eax, byte [ebp - 2]
mov eax, dword [eax*4 + 0x5fa2e8]
movzx ebx, ch
xor eax, dword [ebx*4 + 0x5fa6e8]
mov ebx, ecx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x5f9ee8]
and ecx, edx
xor eax, dword [ecx*4 + 0x5faae8]
xor eax, dword [esi]
add esi, edi
mov dword [ebp - 4], eax
movzx ecx, byte [ebp - 2]
mov ecx, dword [ecx*4 + 0x5fa2e8]
movzx ebx, ah
xor ecx, dword [ebx*4 + 0x5fa6e8]
mov ebx, eax
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x5f9ee8]
sub dword [ebp + 8], 0x20
and eax, edx
xor ecx, dword [eax*4 + 0x5faae8]
xor ecx, dword [esi]
add esi, edi
mov dword [ebp - 4], ecx
movzx eax, byte [ebp - 2]
mov eax, dword [eax*4 + 0x5fa2e8]
movzx ebx, ch
xor eax, dword [ebx*4 + 0x5fa6e8]
mov ebx, ecx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x5f9ee8]
and ecx, edx
xor eax, dword [ecx*4 + 0x5faae8]
dec dword [ebp - 8]
jne 0x5c9a84
cmp dword [ebp + 8], edi
jb 0x5c9c62
mov ecx, dword [ebp + 8]
shr ecx, 2
mov dword [ebp - 8], ecx
xor eax, dword [esi]
sub dword [ebp + 8], edi
mov dword [ebp - 4], eax
movzx ecx, byte [ebp - 2]
mov ecx, dword [ecx*4 + 0x5fa2e8]
movzx ebx, ah
xor ecx, dword [ebx*4 + 0x5fa6e8]
mov ebx, eax
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x5f9ee8]
and eax, edx
xor ecx, dword [eax*4 + 0x5faae8]
add esi, edi
dec dword [ebp - 8]
mov eax, ecx
jne 0x5c9c27
cmp dword [ebp + 8], 0
je 0x5c9c82
xor ecx, ecx
mov cl, byte [esi]
xor ecx, eax
and ecx, edx
mov ecx, dword [ecx*4 + 0x5f9ee8]
shr eax, 8
xor eax, ecx
inc esi
dec dword [ebp + 8]
jne 0x5c9c68
pop edi
pop esi
not eax
pop ebx
leave
ret