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

Disassembly:
push ebx
push esi
push edi
mov edi, eax
shr edi, 8
mov esi, eax
shr esi, 0x18
and edi, 0xff00
add esi, edi
mov edi, eax
and edi, 0xff00
and eax, 0xff
shl edi, 8
mov ebx, 0x5950d8
shl eax, 0x18
add esi, edi
add esi, eax
mov eax, esi
not eax
jmp 0x4affb9
movzx edi, byte [edx]
mov esi, eax
inc edx
shr esi, 0x18
xor esi, edi
shl eax, 8
mov esi, dword [ebx + esi*4 + 0x1000]
xor esi, eax
dec ecx
mov eax, esi
test ecx, ecx
je 0x4affc2
test dl, 3
jne 0x4aff9f
sub edx, 4
cmp ecx, 0x20
jb 0x4b01fa
add edx, 4
xor eax, dword [edx]
add edx, 4
mov edi, eax
mov esi, eax
shr edi, 8
and esi, 0xff
and edi, 0xff
mov esi, dword [ebx + esi*4 + 0x1000]
xor esi, dword [ebx + edi*4 + 0x1400]
mov edi, eax
shr edi, 0x10
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebx + edi*4 + 0x1800]
xor esi, dword [ebx + eax*4 + 0x1c00]
mov eax, esi
xor eax, dword [edx]
add edx, 4
mov edi, eax
mov esi, eax
shr edi, 8
and esi, 0xff
and edi, 0xff
mov esi, dword [ebx + esi*4 + 0x1000]
xor esi, dword [ebx + edi*4 + 0x1400]
mov edi, eax
shr edi, 0x10
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebx + edi*4 + 0x1800]
xor esi, dword [ebx + eax*4 + 0x1c00]
mov eax, esi
xor eax, dword [edx]
add edx, 4
mov edi, eax
mov esi, eax
shr edi, 8
and esi, 0xff
and edi, 0xff
mov esi, dword [ebx + esi*4 + 0x1000]
xor esi, dword [ebx + edi*4 + 0x1400]
mov edi, eax
shr edi, 0x10
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebx + edi*4 + 0x1800]
xor esi, dword [ebx + eax*4 + 0x1c00]
mov eax, esi
xor eax, dword [edx]
add edx, 4
mov edi, eax
mov esi, eax
shr edi, 8
and esi, 0xff
and edi, 0xff
mov esi, dword [ebx + esi*4 + 0x1000]
xor esi, dword [ebx + edi*4 + 0x1400]
mov edi, eax
shr edi, 0x10
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebx + edi*4 + 0x1800]
xor esi, dword [ebx + eax*4 + 0x1c00]
mov eax, esi
xor eax, dword [edx]
add edx, 4
mov edi, eax
mov esi, eax
shr edi, 8
and esi, 0xff
and edi, 0xff
mov esi, dword [ebx + esi*4 + 0x1000]
xor esi, dword [ebx + edi*4 + 0x1400]
mov edi, eax
shr edi, 0x10
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebx + edi*4 + 0x1800]
xor esi, dword [ebx + eax*4 + 0x1c00]
mov eax, esi
xor eax, dword [edx]
add edx, 4
mov edi, eax
mov esi, eax
shr edi, 8
and esi, 0xff
and edi, 0xff
mov esi, dword [ebx + esi*4 + 0x1000]
xor esi, dword [ebx + edi*4 + 0x1400]
mov edi, eax
shr edi, 0x10
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebx + edi*4 + 0x1800]
xor esi, dword [ebx + eax*4 + 0x1c00]
mov eax, esi
xor eax, dword [edx]
add edx, 4
mov edi, eax
mov esi, eax
shr edi, 8
and esi, 0xff
and edi, 0xff
mov esi, dword [ebx + esi*4 + 0x1000]
xor esi, dword [ebx + edi*4 + 0x1400]
mov edi, eax
shr edi, 0x10
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebx + edi*4 + 0x1800]
xor esi, dword [ebx + eax*4 + 0x1c00]
mov eax, esi
xor eax, dword [edx]
mov edi, eax
mov esi, eax
shr edi, 8
and esi, 0xff
and edi, 0xff
mov esi, dword [ebx + esi*4 + 0x1000]
xor esi, dword [ebx + edi*4 + 0x1400]
mov edi, eax
shr edi, 0x10
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebx + edi*4 + 0x1800]
xor esi, dword [ebx + eax*4 + 0x1c00]
sub ecx, 0x20
mov eax, esi
cmp ecx, 0x20
jae 0x4affce
cmp ecx, 4
jb 0x4b024b
add edx, 4
xor eax, dword [edx]
mov edi, eax
mov esi, eax
shr edi, 8
and esi, 0xff
and edi, 0xff
mov esi, dword [ebx + esi*4 + 0x1000]
xor esi, dword [ebx + edi*4 + 0x1400]
mov edi, eax
shr edi, 0x10
and edi, 0xff
shr eax, 0x18
xor esi, dword [ebx + edi*4 + 0x1800]
xor esi, dword [ebx + eax*4 + 0x1c00]
sub ecx, 4
mov eax, esi
cmp ecx, 4
jae 0x4b01ff
add edx, 4
test ecx, ecx
je 0x4b026e
movzx edi, byte [edx]
mov esi, eax
shr esi, 0x18
xor esi, edi
shl eax, 8
mov esi, dword [ebx + esi*4 + 0x1000]
xor esi, eax
inc edx
mov eax, esi
dec ecx
jne 0x4b0252
not eax
mov ecx, eax
mov edx, eax
shr ecx, 8
shr edx, 0x18
and ecx, 0xff00
add edx, ecx
mov ecx, eax
and ecx, 0xff00
and eax, 0xff
shl ecx, 8
shl eax, 0x18
add edx, ecx
add edx, eax
mov eax, edx
pop edi
pop esi
pop ebx
ret