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

Disassembly:
push ebx
push esi
push edi
push ebp
not eax
mov ebx, 0x520268
jmp 0x4ffac4
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 0x4ffacd
test dl, 3
jne 0x4ffaad
cmp ecx, 0x20
jb 0x4ffd22
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 0x4ffad6
cmp ecx, 4
jb 0x4ffd77
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 0x4ffd27
test ecx, ecx
je 0x4ffd94
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 0x4ffd7b
not eax
pop ebp
pop edi
pop esi
pop ebx
ret