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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
not eax
mov edx, dword [ebp + 0xc]
jmp 0x6fad4e
xor ebx, ebx
mov bl, byte [edx]
inc edx
xor ebx, eax
and ebx, 0xff
shr eax, 8
mov ebx, dword [ebx*4 + 0x7c7200]
xor ebx, eax
dec ecx
mov eax, ebx
test ecx, ecx
je 0x6fad57
test dl, 3
jne 0x6fad32
cmp ecx, 0x20
jb 0x6faf9c
xor eax, dword [edx]
add edx, 4
mov esi, eax
mov ebx, eax
shr esi, 8
and ebx, 0xff
and esi, 0xff
sub ecx, 0x20
mov ebx, dword [ebx*4 + 0x7c7e00]
xor ebx, dword [esi*4 + 0x7c7a00]
mov esi, eax
shr esi, 0x10
and esi, 0xff
shr eax, 0x18
xor ebx, dword [esi*4 + 0x7c7600]
mov esi, dword [eax*4 + 0x7c7200]
xor ebx, esi
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov esi, eax
mov ebx, eax
shr esi, 8
and ebx, 0xff
and esi, 0xff
mov ebx, dword [ebx*4 + 0x7c7e00]
xor ebx, dword [esi*4 + 0x7c7a00]
mov esi, eax
shr esi, 0x10
and esi, 0xff
shr eax, 0x18
xor ebx, dword [esi*4 + 0x7c7600]
mov esi, dword [eax*4 + 0x7c7200]
xor ebx, esi
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov esi, eax
mov ebx, eax
shr esi, 8
and ebx, 0xff
and esi, 0xff
mov ebx, dword [ebx*4 + 0x7c7e00]
xor ebx, dword [esi*4 + 0x7c7a00]
mov esi, eax
shr esi, 0x10
and esi, 0xff
shr eax, 0x18
xor ebx, dword [esi*4 + 0x7c7600]
mov esi, dword [eax*4 + 0x7c7200]
xor ebx, esi
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov esi, eax
mov ebx, eax
shr esi, 8
and ebx, 0xff
and esi, 0xff
mov ebx, dword [ebx*4 + 0x7c7e00]
xor ebx, dword [esi*4 + 0x7c7a00]
mov esi, eax
shr esi, 0x10
and esi, 0xff
shr eax, 0x18
xor ebx, dword [esi*4 + 0x7c7600]
mov esi, dword [eax*4 + 0x7c7200]
xor ebx, esi
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov esi, eax
mov ebx, eax
shr esi, 8
and ebx, 0xff
and esi, 0xff
mov ebx, dword [ebx*4 + 0x7c7e00]
xor ebx, dword [esi*4 + 0x7c7a00]
mov esi, eax
shr esi, 0x10
and esi, 0xff
shr eax, 0x18
xor ebx, dword [esi*4 + 0x7c7600]
mov esi, dword [eax*4 + 0x7c7200]
xor ebx, esi
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov esi, eax
mov ebx, eax
shr esi, 8
and ebx, 0xff
and esi, 0xff
mov ebx, dword [ebx*4 + 0x7c7e00]
xor ebx, dword [esi*4 + 0x7c7a00]
mov esi, eax
shr esi, 0x10
and esi, 0xff
shr eax, 0x18
xor ebx, dword [esi*4 + 0x7c7600]
mov esi, dword [eax*4 + 0x7c7200]
xor ebx, esi
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov esi, eax
mov ebx, eax
shr esi, 8
and ebx, 0xff
and esi, 0xff
mov ebx, dword [ebx*4 + 0x7c7e00]
xor ebx, dword [esi*4 + 0x7c7a00]
mov esi, eax
shr esi, 0x10
and esi, 0xff
shr eax, 0x18
xor ebx, dword [esi*4 + 0x7c7600]
mov esi, dword [eax*4 + 0x7c7200]
xor ebx, esi
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov esi, eax
mov ebx, eax
shr esi, 8
and ebx, 0xff
and esi, 0xff
mov ebx, dword [ebx*4 + 0x7c7e00]
xor ebx, dword [esi*4 + 0x7c7a00]
mov esi, eax
shr esi, 0x10
and esi, 0xff
shr eax, 0x18
xor ebx, dword [esi*4 + 0x7c7600]
mov esi, dword [eax*4 + 0x7c7200]
xor ebx, esi
cmp ecx, 0x20
mov eax, ebx
jae 0x6fad60
cmp ecx, 4
jb 0x6fafef
xor eax, dword [edx]
add edx, 4
mov esi, eax
mov ebx, eax
shr esi, 8
and ebx, 0xff
and esi, 0xff
sub ecx, 4
mov ebx, dword [ebx*4 + 0x7c7e00]
xor ebx, dword [esi*4 + 0x7c7a00]
mov esi, eax
shr esi, 0x10
and esi, 0xff
shr eax, 0x18
xor ebx, dword [esi*4 + 0x7c7600]
mov esi, dword [eax*4 + 0x7c7200]
xor ebx, esi
cmp ecx, 4
mov eax, ebx
jae 0x6fafa1
test ecx, ecx
je 0x6fb011
xor ebx, ebx
mov bl, byte [edx]
inc edx
xor ebx, eax
and ebx, 0xff
shr eax, 8
mov ebx, dword [ebx*4 + 0x7c7200]
xor ebx, eax
dec ecx
mov eax, ebx
jne 0x6faff3
not eax
pop esi
pop ebx
pop ebp
ret