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

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
mov edx, 0xff
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0x10]
not ebx
test edi, edi
mov dword [ebp + 0xc], ecx
je 0x4e9444
test cl, 3
je 0x4e9444
movzx eax, byte [ecx]
xor eax, ebx
shr ebx, 8
and eax, edx
xor ebx, dword [eax*4 + 0x5095a8]
inc ecx
dec edi
jmp 0x4e9425
cmp edi, 0x20
jb 0x4e9645
mov eax, edi
shr eax, 5
mov dword [ebp + 8], eax
jmp 0x4e945f
mov ecx, dword [ebp + 0xc]
mov edx, 0xff
xor ebx, dword [ecx]
add ecx, 4
mov dword [ebp + 0xc], ecx
mov eax, ebx
shr eax, 8
mov ecx, ebx
and eax, edx
mov esi, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, edx
mov edx, dword [ecx*4 + 0x5099a8]
xor edx, dword [eax*4 + 0x509da8]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x5095a8]
movzx eax, bl
mov ebx, 0xff
xor edx, dword [eax*4 + 0x50a1a8]
xor edx, dword [esi]
mov ecx, edx
mov eax, edx
shr eax, 8
and eax, ebx
shr ecx, 0x10
and ecx, ebx
mov ebx, dword [ecx*4 + 0x5099a8]
xor ebx, dword [eax*4 + 0x509da8]
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x5095a8]
movzx eax, dl
mov edx, 0xff
xor ebx, dword [eax*4 + 0x50a1a8]
xor ebx, dword [esi + 4]
mov ecx, ebx
mov eax, ebx
shr eax, 8
and eax, edx
shr ecx, 0x10
and ecx, edx
mov edx, dword [ecx*4 + 0x5099a8]
xor edx, dword [eax*4 + 0x509da8]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x5095a8]
movzx eax, bl
mov ebx, 0xff
xor edx, dword [eax*4 + 0x50a1a8]
xor edx, dword [esi + 8]
mov ecx, edx
mov eax, edx
shr eax, 8
and eax, ebx
shr ecx, 0x10
and ecx, ebx
mov ebx, dword [ecx*4 + 0x5099a8]
xor ebx, dword [eax*4 + 0x509da8]
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x5095a8]
movzx eax, dl
mov edx, 0xff
xor ebx, dword [eax*4 + 0x50a1a8]
xor ebx, dword [esi + 0xc]
mov ecx, ebx
mov eax, ebx
shr ecx, 0x10
and ecx, edx
shr eax, 8
and eax, edx
mov edx, dword [ecx*4 + 0x5099a8]
xor edx, dword [eax*4 + 0x509da8]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x5095a8]
movzx eax, bl
mov ebx, 0xff
xor edx, dword [eax*4 + 0x50a1a8]
xor edx, dword [esi + 0x10]
mov ecx, edx
shr ecx, 0x10
and ecx, ebx
mov eax, edx
shr eax, 8
sub edi, 0x20
and eax, ebx
mov ebx, dword [ecx*4 + 0x5099a8]
xor ebx, dword [eax*4 + 0x509da8]
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x5095a8]
movzx eax, dl
mov edx, 0xff
xor ebx, dword [eax*4 + 0x50a1a8]
xor ebx, dword [esi + 0x14]
mov ecx, ebx
mov eax, ebx
shr eax, 8
and eax, edx
shr ecx, 0x10
and ecx, edx
mov edx, dword [ecx*4 + 0x5099a8]
xor edx, dword [eax*4 + 0x509da8]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x5095a8]
movzx eax, bl
mov ebx, 0xff
xor edx, dword [eax*4 + 0x50a1a8]
xor edx, dword [esi + 0x18]
add esi, 0x1c
mov ecx, edx
mov dword [ebp + 0xc], esi
shr ecx, 0x10
mov eax, edx
and ecx, ebx
shr eax, 8
and eax, ebx
mov ebx, dword [ecx*4 + 0x5099a8]
xor ebx, dword [eax*4 + 0x509da8]
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x5095a8]
movzx eax, dl
xor ebx, dword [eax*4 + 0x50a1a8]
dec dword [ebp + 8]
jne 0x4e9457
jmp 0x4e9648
mov esi, dword [ebp + 0xc]
cmp edi, 4
jb 0x4e9698
mov edx, edi
shr edx, 2
xor ebx, dword [esi]
sub edi, 4
mov ecx, ebx
mov eax, ebx
shr ecx, 0x10
add esi, 4
and ecx, 0xff
shr eax, 8
and eax, 0xff
mov ecx, dword [ecx*4 + 0x5099a8]
xor ecx, dword [eax*4 + 0x509da8]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5095a8]
movzx eax, bl
xor ecx, dword [eax*4 + 0x50a1a8]
mov ebx, ecx
dec edx
jne 0x4e9652
test edi, edi
je 0x4e96b4
movzx eax, byte [esi]
xor eax, ebx
shr ebx, 8
and eax, 0xff
xor ebx, dword [eax*4 + 0x5095a8]
inc esi
dec edi
jne 0x4e969c
pop edi
not ebx
pop esi
mov eax, ebx
pop ebx
pop ebp
ret