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

Disassembly:
test ecx, ecx
not eax
je 0x4f7ad0
push ebp
push edi
push esi
push ebx
sub esp, 4
jmp 0x4f76e2
add edx, 1
movzx ebx, byte [edx - 1]
xor ebx, eax
shr eax, 8
movzx ebx, bl
xor eax, dword [ebx*4 + 0x5fbfa0]
sub ecx, 1
je 0x4f7ac0
test dl, 3
jne 0x4f76c3
cmp ecx, 0x1f
jbe 0x4f78aa
lea ebx, [ecx - 0x20]
and ebx, 0xffffffe0
lea edi, [edx + ebx + 0x20]
mov dword [esp], edi
lea esi, [esi]
xor eax, dword [edx]
mov ebp, eax
movzx esi, al
mov ebx, eax
shr ebp, 0x18
mov esi, dword [esi*4 + 0x5fcba0]
shr ebx, 0x10
xor esi, dword [ebp*4 + 0x5fbfa0]
movzx eax, ah
movzx edi, bl
xor esi, dword [edx + 4]
xor esi, dword [eax*4 + 0x5fc7a0]
mov eax, dword [edi*4 + 0x5fc3a0]
xor eax, esi
mov ebp, eax
movzx esi, al
mov ebx, eax
shr ebp, 0x18
mov esi, dword [esi*4 + 0x5fcba0]
shr ebx, 0x10
xor esi, dword [ebp*4 + 0x5fbfa0]
movzx eax, ah
movzx edi, bl
xor esi, dword [edx + 8]
xor esi, dword [eax*4 + 0x5fc7a0]
mov eax, dword [edi*4 + 0x5fc3a0]
xor eax, esi
mov ebp, eax
movzx esi, al
mov ebx, eax
shr ebp, 0x18
mov esi, dword [esi*4 + 0x5fcba0]
shr ebx, 0x10
xor esi, dword [ebp*4 + 0x5fbfa0]
movzx eax, ah
movzx edi, bl
xor esi, dword [edx + 0xc]
xor esi, dword [eax*4 + 0x5fc7a0]
mov eax, dword [edi*4 + 0x5fc3a0]
xor eax, esi
mov ebp, eax
movzx esi, al
mov ebx, eax
shr ebp, 0x18
mov esi, dword [esi*4 + 0x5fcba0]
shr ebx, 0x10
xor esi, dword [ebp*4 + 0x5fbfa0]
movzx eax, ah
movzx edi, bl
xor esi, dword [edx + 0x10]
xor esi, dword [eax*4 + 0x5fc7a0]
mov eax, dword [edi*4 + 0x5fc3a0]
xor eax, esi
mov ebp, eax
movzx esi, al
mov ebx, eax
shr ebp, 0x18
mov esi, dword [esi*4 + 0x5fcba0]
shr ebx, 0x10
xor esi, dword [ebp*4 + 0x5fbfa0]
movzx eax, ah
movzx edi, bl
xor esi, dword [edx + 0x14]
xor esi, dword [eax*4 + 0x5fc7a0]
mov eax, dword [edi*4 + 0x5fc3a0]
xor eax, esi
mov ebx, eax
mov ebp, eax
movzx edi, al
shr ebx, 0x10
shr ebp, 0x18
mov edi, dword [edi*4 + 0x5fcba0]
xor edi, dword [ebp*4 + 0x5fbfa0]
movzx eax, ah
movzx esi, bl
xor edi, dword [edx + 0x18]
add edx, 0x20
xor edi, dword [eax*4 + 0x5fc7a0]
xor edi, dword [esi*4 + 0x5fc3a0]
mov eax, edi
mov ebx, edi
mov ebp, edi
shr eax, 0x10
shr ebp, 0x18
movzx edi, bh
movzx esi, al
movzx eax, bl
mov eax, dword [eax*4 + 0x5fcba0]
xor eax, dword [ebp*4 + 0x5fbfa0]
xor eax, dword [edx - 4]
xor eax, dword [edi*4 + 0x5fc7a0]
xor eax, dword [esi*4 + 0x5fc3a0]
mov ebx, eax
shr eax, 0x10
mov ebp, ebx
movzx edi, al
movzx eax, bl
shr ebp, 0x18
mov eax, dword [eax*4 + 0x5fcba0]
movzx esi, bh
xor eax, dword [ebp*4 + 0x5fbfa0]
xor eax, dword [esi*4 + 0x5fc7a0]
xor eax, dword [edi*4 + 0x5fc3a0]
cmp edx, dword [esp]
jne 0x4f7700
and ecx, 0x1f
cmp ecx, 3
jbe 0x4f7a7a
xor eax, dword [edx]
mov ebx, eax
mov esi, eax
shr ebx, 0x10
shr esi, 0x18
movzx edi, bl
movzx ebx, al
mov esi, dword [esi*4 + 0x5fbfa0]
xor esi, dword [ebx*4 + 0x5fcba0]
movzx ebx, ah
mov eax, dword [ebx*4 + 0x5fc7a0]
xor eax, esi
xor eax, dword [edi*4 + 0x5fc3a0]
lea edi, [ecx - 4]
cmp edi, 3
mov dword [esp], edi
jbe 0x4f7a6d
xor eax, dword [edx + 4]
mov ebp, eax
movzx esi, al
mov edi, eax
shr ebp, 0x18
shr edi, 0x10
mov ebp, dword [ebp*4 + 0x5fbfa0]
xor ebp, dword [esi*4 + 0x5fcba0]
movzx esi, ah
mov eax, dword [esi*4 + 0x5fc7a0]
mov ebx, edi
lea esi, [ecx - 8]
movzx edi, bl
xor eax, ebp
xor eax, dword [edi*4 + 0x5fc3a0]
cmp esi, 3
jbe 0x4f7a6d
xor eax, dword [edx + 8]
mov ebp, eax
movzx esi, al
mov edi, eax
shr ebp, 0x18
shr edi, 0x10
mov ebp, dword [ebp*4 + 0x5fbfa0]
xor ebp, dword [esi*4 + 0x5fcba0]
movzx esi, ah
mov eax, dword [esi*4 + 0x5fc7a0]
mov ebx, edi
lea esi, [ecx - 0xc]
movzx edi, bl
xor eax, ebp
xor eax, dword [edi*4 + 0x5fc3a0]
cmp esi, 3
jbe 0x4f7a6d
xor eax, dword [edx + 0xc]
mov ebp, eax
movzx esi, al
mov edi, eax
shr ebp, 0x18
shr edi, 0x10
mov ebp, dword [ebp*4 + 0x5fbfa0]
xor ebp, dword [esi*4 + 0x5fcba0]
movzx esi, ah
mov eax, dword [esi*4 + 0x5fc7a0]
mov ebx, edi
lea esi, [ecx - 0x10]
movzx edi, bl
xor eax, ebp
xor eax, dword [edi*4 + 0x5fc3a0]
cmp esi, 3
jbe 0x4f7a6d
xor eax, dword [edx + 0x10]
mov ebp, eax
movzx esi, al
mov edi, eax
shr ebp, 0x18
shr edi, 0x10
mov ebp, dword [ebp*4 + 0x5fbfa0]
xor ebp, dword [esi*4 + 0x5fcba0]
movzx esi, ah
mov eax, dword [esi*4 + 0x5fc7a0]
mov ebx, edi
lea esi, [ecx - 0x14]
movzx edi, bl
xor eax, ebp
xor eax, dword [edi*4 + 0x5fc3a0]
cmp esi, 3
jbe 0x4f7a6d
xor eax, dword [edx + 0x14]
mov ebp, eax
movzx esi, al
mov edi, eax
shr ebp, 0x18
shr edi, 0x10
mov ebp, dword [ebp*4 + 0x5fbfa0]
xor ebp, dword [esi*4 + 0x5fcba0]
movzx esi, ah
mov eax, dword [esi*4 + 0x5fc7a0]
mov ebx, edi
lea esi, [ecx - 0x18]
movzx edi, bl
xor eax, ebp
xor eax, dword [edi*4 + 0x5fc3a0]
cmp esi, 3
jbe 0x4f7a6d
xor eax, dword [edx + 0x18]
mov esi, eax
movzx ebp, al
mov edi, eax
shr esi, 0x18
mov ebp, dword [ebp*4 + 0x5fcba0]
shr edi, 0x10
xor ebp, dword [esi*4 + 0x5fbfa0]
movzx esi, ah
mov ebx, edi
mov eax, dword [esi*4 + 0x5fc7a0]
movzx edi, bl
xor eax, ebp
xor eax, dword [edi*4 + 0x5fc3a0]
mov ebx, dword [esp]
and ecx, 3
shr ebx, 2
lea edx, [edx + ebx*4 + 4]
test ecx, ecx
je 0x4f7ac0
movzx ebx, byte [edx]
xor ebx, eax
shr eax, 8
movzx ebx, bl
xor eax, dword [ebx*4 + 0x5fbfa0]
cmp ecx, 1
je 0x4f7ac0
movzx ebx, byte [edx + 1]
xor ebx, eax
shr eax, 8
movzx ebx, bl
xor eax, dword [ebx*4 + 0x5fbfa0]
cmp ecx, 2
je 0x4f7ac0
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx edx, cl
xor eax, dword [edx*4 + 0x5fbfa0]
add esp, 4
not eax
pop ebx
pop esi
pop edi
pop ebp
ret
not eax
ret
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
test edx, edx
je 0x4f7ca5
jmp 0x4f76b0
xor eax, eax
ret