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

Disassembly:
push ebx
push esi
push edi
push ebp
not eax
mov ebx, 0x4c94d4
jmp 0x49166c
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ebx + esi*4]
xor esi, eax
dec ecx
mov eax, esi
test ecx, ecx
je 0x491675
test dl, 3
jne 0x491655
cmp ecx, 0x20
jb 0x4918ca
xor eax, dword [edx]
lea edi, [ebx + 0xc00]
mov esi, eax
lea ebp, [ebx + 0x800]
and esi, 0xff
add edx, 4
sub ecx, 0x20
mov esi, dword [edi + esi*4]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebp + edi*4]
mov edi, eax
shr edi, 0x10
lea ebp, [ebx + 0x400]
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebp + edi*4]
lea edi, [ebx + 0xc00]
lea ebp, [ebx + 0x800]
xor esi, dword [ebx + eax*4]
mov eax, esi
xor eax, dword [edx]
add edx, 4
mov esi, eax
and esi, 0xff
mov esi, dword [edi + esi*4]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebp + edi*4]
mov edi, eax
shr edi, 0x10
lea ebp, [ebx + 0x400]
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebp + edi*4]
lea edi, [ebx + 0xc00]
lea ebp, [ebx + 0x800]
xor esi, dword [ebx + eax*4]
mov eax, esi
xor eax, dword [edx]
add edx, 4
mov esi, eax
and esi, 0xff
mov esi, dword [edi + esi*4]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebp + edi*4]
mov edi, eax
shr edi, 0x10
lea ebp, [ebx + 0x400]
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebp + edi*4]
lea edi, [ebx + 0xc00]
lea ebp, [ebx + 0x800]
xor esi, dword [ebx + eax*4]
mov eax, esi
xor eax, dword [edx]
add edx, 4
mov esi, eax
and esi, 0xff
mov esi, dword [edi + esi*4]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebp + edi*4]
mov edi, eax
shr edi, 0x10
lea ebp, [ebx + 0x400]
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebp + edi*4]
lea edi, [ebx + 0xc00]
lea ebp, [ebx + 0x800]
xor esi, dword [ebx + eax*4]
mov eax, esi
xor eax, dword [edx]
add edx, 4
mov esi, eax
and esi, 0xff
mov esi, dword [edi + esi*4]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebp + edi*4]
mov edi, eax
shr edi, 0x10
lea ebp, [ebx + 0x400]
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebp + edi*4]
lea edi, [ebx + 0xc00]
lea ebp, [ebx + 0x800]
xor esi, dword [ebx + eax*4]
mov eax, esi
xor eax, dword [edx]
add edx, 4
mov esi, eax
and esi, 0xff
mov esi, dword [edi + esi*4]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebp + edi*4]
mov edi, eax
shr edi, 0x10
lea ebp, [ebx + 0x400]
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebp + edi*4]
lea edi, [ebx + 0xc00]
lea ebp, [ebx + 0x800]
xor esi, dword [ebx + eax*4]
mov eax, esi
xor eax, dword [edx]
add edx, 4
mov esi, eax
and esi, 0xff
mov esi, dword [edi + esi*4]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebp + edi*4]
mov edi, eax
shr edi, 0x10
lea ebp, [ebx + 0x400]
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebp + edi*4]
lea edi, [ebx + 0xc00]
lea ebp, [ebx + 0x800]
xor esi, dword [ebx + eax*4]
mov eax, esi
xor eax, dword [edx]
add edx, 4
mov esi, eax
and esi, 0xff
mov esi, dword [edi + esi*4]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebp + edi*4]
mov edi, eax
shr edi, 0x10
lea ebp, [ebx + 0x400]
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebp + edi*4]
xor esi, dword [ebx + eax*4]
cmp ecx, 0x20
mov eax, esi
jae 0x49167e
cmp ecx, 4
jb 0x49191f
xor eax, dword [edx]
lea edi, [ebx + 0xc00]
mov esi, eax
lea ebp, [ebx + 0x800]
and esi, 0xff
add edx, 4
sub ecx, 4
mov esi, dword [edi + esi*4]
mov edi, eax
shr edi, 8
and edi, 0xff
xor esi, dword [ebp + edi*4]
mov edi, eax
shr edi, 0x10
lea ebp, [ebx + 0x400]
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebp + edi*4]
xor esi, dword [ebx + eax*4]
cmp ecx, 4
mov eax, esi
jae 0x4918cf
test ecx, ecx
je 0x49193c
movzx esi, byte [edx]
xor esi, eax
inc edx
and esi, 0xff
shr eax, 8
mov esi, dword [ebx + esi*4]
xor esi, eax
dec ecx
mov eax, esi
jne 0x491923
not eax
pop ebp
pop edi
pop esi
pop ebx
ret