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

Disassembly:
push ebx
push esi
push edi
push ebp
not eax
mov ebx, 0x4ab788
jmp 0x4a1df4
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 0x4a1dfd
test dl, 3
jne 0x4a1ddd
cmp ecx, 0x20
jb 0x4a2052
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 0x4a1e06
cmp ecx, 4
jb 0x4a20a7
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 0x4a2057
test ecx, ecx
je 0x4a20c4
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 0x4a20ab
not eax
pop ebp
pop edi
pop esi
pop ebx
ret