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

Disassembly:
mov ecx, dword [esp + 4]
sub esp, 0x1c
not ecx
push esi
push edi
mov edi, dword [esp + 0x30]
cmp edi, 0x17
jb 0x4c0fc6
push ebx
mov ebx, dword [esp + 0x30]
push ebp
mov dword [esp + 0x30], ebx
test bl, 3
je 0x4c0cdf
movzx eax, byte [ebx]
inc ebx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x594ca0]
sub edi, 1
jne 0x4c0cc2
mov eax, 0xcccccccd
mov dword [esp + 0x30], ebx
mul edi
xor esi, esi
mov ebp, edx
mov dword [esp + 0x10], esi
shr ebp, 4
imul eax, ebp, 0xffffffec
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
add edi, eax
mov dword [esp + 0x38], edi
sub ebp, 1
je 0x4c0e91
xor edi, edi
mov esi, dword [esp + 0x30]
mov ebx, dword [ebx]
xor ebx, ecx
mov eax, dword [esi + 4]
xor eax, edi
mov edx, dword [esi + 8]
xor edx, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov ecx, dword [esi + 0xc]
xor ecx, dword [esp + 0x14]
movzx eax, al
mov dword [esp + 0x1c], ecx
mov ecx, dword [esi + 0x10]
add esi, 0x14
xor ecx, dword [esp + 0x18]
mov edi, dword [eax*4 + 0x5954a0]
movzx eax, dl
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edx
movzx ecx, bl
mov eax, dword [eax*4 + 0x5954a0]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
movzx eax, al
mov ecx, dword [ecx*4 + 0x5954a0]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x24]
mov eax, dword [eax*4 + 0x5954a0]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
movzx eax, al
mov eax, dword [eax*4 + 0x5954a0]
mov dword [esp + 0x18], eax
mov eax, ebx
shr eax, 0x10
movzx edx, al
mov eax, ebx
shr eax, 8
movzx eax, al
shr ebx, 0x18
mov edx, dword [edx*4 + 0x595ca0]
xor edx, dword [eax*4 + 0x5958a0]
mov eax, esi
xor edx, dword [ebx*4 + 0x5960a0]
shr eax, 0x10
xor ecx, edx
movzx edx, al
mov eax, esi
shr eax, 8
movzx eax, al
mov ebx, dword [esp + 0x1c]
mov edx, dword [edx*4 + 0x595ca0]
shr esi, 0x18
xor edx, dword [eax*4 + 0x5958a0]
xor edx, dword [esi*4 + 0x5960a0]
mov esi, dword [esp + 0x28]
xor edi, edx
mov eax, esi
shr eax, 0x10
movzx edx, al
mov eax, esi
shr eax, 8
movzx eax, al
shr esi, 0x18
mov edx, dword [edx*4 + 0x595ca0]
xor edx, dword [eax*4 + 0x5958a0]
mov eax, ebx
xor edx, dword [esi*4 + 0x5960a0]
xor dword [esp + 0x10], edx
shr eax, 0x10
movzx edx, al
mov eax, ebx
shr eax, 8
movzx eax, al
shr ebx, 0x18
mov edx, dword [edx*4 + 0x595ca0]
xor edx, dword [eax*4 + 0x5958a0]
xor edx, dword [ebx*4 + 0x5960a0]
mov ebx, dword [esp + 0x20]
mov eax, ebx
xor dword [esp + 0x14], edx
shr eax, 0x10
movzx edx, al
mov eax, ebx
shr eax, 8
movzx eax, al
shr ebx, 0x18
mov edx, dword [edx*4 + 0x595ca0]
xor edx, dword [eax*4 + 0x5958a0]
xor edx, dword [ebx*4 + 0x5960a0]
xor dword [esp + 0x18], edx
mov ebx, dword [esp + 0x30]
sub ebp, 1
jne 0x4c0d11
mov dword [esp + 0x28], edi
mov edi, dword [esp + 0x38]
mov esi, dword [esp + 0x28]
mov edx, dword [ebx]
xor edx, ecx
mov ecx, dword [ebx + 4]
movzx eax, dl
shr edx, 8
pop ebp
xor edx, dword [eax*4 + 0x594ca0]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x594ca0]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x594ca0]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x594ca0]
xor ecx, edx
mov edx, dword [ebx + 8]
xor ecx, esi
mov ebx, dword [ebx + 0xc]
movzx eax, cl
shr ecx, 8
mov esi, dword [esp + 0x2c]
xor ecx, dword [eax*4 + 0x594ca0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x594ca0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x594ca0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x594ca0]
xor edx, ecx
mov ecx, dword [esi + 0x10]
xor edx, dword [esp + 0xc]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x594ca0]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x594ca0]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x594ca0]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x594ca0]
xor ebx, edx
lea edx, [esi + 0x14]
xor ebx, dword [esp + 0x10]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x594ca0]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x594ca0]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x594ca0]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x594ca0]
xor ecx, ebx
xor ecx, dword [esp + 0x14]
movzx eax, cl
shr ecx, 8
pop ebx
xor ecx, dword [eax*4 + 0x594ca0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x594ca0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x594ca0]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x594ca0]
jmp 0x4c0fca
mov edx, dword [esp + 0x2c]
cmp edi, 8
jb 0x4c107e
mov esi, edi
shr esi, 3
movzx eax, byte [edx]
sub edi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x594ca0]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x594ca0]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x594ca0]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x594ca0]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x594ca0]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x594ca0]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x594ca0]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x594ca0]
sub esi, 1
jne 0x4c0fd8
test edi, edi
je 0x4c109c
movzx eax, byte [edx]
lea edx, [edx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x594ca0]
sub edi, 1
jne 0x4c1082
not ecx
pop edi
mov eax, ecx
pop esi
add esp, 0x1c
ret