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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov ecx, 0x710bb8
mov eax, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
not eax
jmp 0x5f9dab
xor ebx, ebx
mov bl, byte [edx]
inc edx
xor ebx, eax
and ebx, 0xff
shr eax, 8
mov ebx, dword [ecx + ebx*4]
xor ebx, eax
dec dword [ebp + 0x10]
mov eax, ebx
cmp dword [ebp + 0x10], 0
je 0x5f9db6
test dl, 3
jne 0x5f9d91
cmp dword [ebp + 0x10], 0x20
jb 0x5f9ffe
xor eax, dword [edx]
lea esi, [ecx + 0xc00]
mov ebx, eax
lea edi, [ecx + 0x800]
and ebx, 0xff
add edx, 4
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0xc00]
lea edi, [ecx + 0x800]
xor ebx, dword [ecx + eax*4]
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov ebx, eax
and ebx, 0xff
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0xc00]
lea edi, [ecx + 0x800]
xor ebx, dword [ecx + eax*4]
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov ebx, eax
and ebx, 0xff
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0xc00]
lea edi, [ecx + 0x800]
xor ebx, dword [ecx + eax*4]
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov ebx, eax
and ebx, 0xff
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0xc00]
lea edi, [ecx + 0x800]
xor ebx, dword [ecx + eax*4]
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov ebx, eax
and ebx, 0xff
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0xc00]
lea edi, [ecx + 0x800]
xor ebx, dword [ecx + eax*4]
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov ebx, eax
and ebx, 0xff
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0xc00]
lea edi, [ecx + 0x800]
xor ebx, dword [ecx + eax*4]
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov ebx, eax
and ebx, 0xff
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
lea esi, [ecx + 0xc00]
lea edi, [ecx + 0x800]
xor ebx, dword [ecx + eax*4]
mov eax, ebx
xor eax, dword [edx]
add edx, 4
mov ebx, eax
and ebx, 0xff
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
xor ebx, dword [ecx + eax*4]
sub dword [ebp + 0x10], 0x20
cmp dword [ebp + 0x10], 0x20
mov eax, ebx
jae 0x5f9dc0
cmp dword [ebp + 0x10], 4
jb 0x5fa054
xor eax, dword [edx]
lea esi, [ecx + 0xc00]
mov ebx, eax
lea edi, [ecx + 0x800]
and ebx, 0xff
add edx, 4
mov ebx, dword [esi + ebx*4]
mov esi, eax
shr esi, 8
and esi, 0xff
xor ebx, dword [edi + esi*4]
mov esi, eax
shr esi, 0x10
lea edi, [ecx + 0x400]
and esi, 0xff
shr eax, 0x18
xor ebx, dword [edi + esi*4]
xor ebx, dword [ecx + eax*4]
sub dword [ebp + 0x10], 4
cmp dword [ebp + 0x10], 4
mov eax, ebx
jae 0x5fa004
cmp dword [ebp + 0x10], 0
je 0x5fa076
xor ebx, ebx
mov bl, byte [edx]
inc edx
xor ebx, eax
and ebx, 0xff
shr eax, 8
mov ebx, dword [ecx + ebx*4]
xor ebx, eax
dec dword [ebp + 0x10]
mov eax, ebx
jne 0x5fa05a
not eax
pop edi
pop esi
pop ebx
pop ebp
ret