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

Disassembly:
push ebp
push edi
not eax
push esi
push ebx
sub esp, 4
test ecx, ecx
mov dword [esp], ecx
jne 0x4dc4d4
jmp 0x4dc745
add edx, 1
mov ebx, eax
shr eax, 8
xor bl, byte [edx - 1]
movzx ebx, bl
xor eax, dword [ebx*4 + 0x514b80]
sub dword [esp], 1
je 0x4dc745
test dl, 3
jne 0x4dc4b5
mov ebx, dword [esp]
cmp ebx, 0x1f
jbe 0x4dc74f
sub ebx, 0x20
and ebx, 0xffffffe0
lea ebx, [edx + ebx + 0x20]
nop
xor eax, dword [edx]
mov ebp, eax
mov edi, eax
movzx esi, al
shr ebp, 0x18
shr edi, 0x10
mov esi, dword [esi*4 + 0x515780]
xor esi, dword [ebp*4 + 0x514b80]
mov ecx, edi
movzx eax, ah
xor esi, dword [edx + 4]
movzx edi, cl
xor esi, dword [eax*4 + 0x515380]
mov eax, dword [edi*4 + 0x514f80]
xor eax, esi
mov ebp, eax
mov edi, eax
movzx esi, al
shr ebp, 0x18
shr edi, 0x10
mov esi, dword [esi*4 + 0x515780]
xor esi, dword [ebp*4 + 0x514b80]
mov ecx, edi
movzx eax, ah
xor esi, dword [edx + 8]
movzx edi, cl
xor esi, dword [eax*4 + 0x515380]
mov eax, dword [edi*4 + 0x514f80]
xor eax, esi
mov ebp, eax
mov edi, eax
movzx esi, al
shr ebp, 0x18
shr edi, 0x10
mov esi, dword [esi*4 + 0x515780]
xor esi, dword [ebp*4 + 0x514b80]
mov ecx, edi
movzx eax, ah
xor esi, dword [edx + 0xc]
movzx edi, cl
xor esi, dword [eax*4 + 0x515380]
mov eax, dword [edi*4 + 0x514f80]
xor eax, esi
mov ebp, eax
mov edi, eax
movzx esi, al
shr ebp, 0x18
shr edi, 0x10
mov esi, dword [esi*4 + 0x515780]
xor esi, dword [ebp*4 + 0x514b80]
mov ecx, edi
movzx eax, ah
xor esi, dword [edx + 0x10]
movzx edi, cl
xor esi, dword [eax*4 + 0x515380]
mov eax, dword [edi*4 + 0x514f80]
xor eax, esi
mov ebp, eax
mov edi, eax
movzx esi, al
shr ebp, 0x18
shr edi, 0x10
mov esi, dword [esi*4 + 0x515780]
xor esi, dword [ebp*4 + 0x514b80]
mov ecx, edi
movzx eax, ah
xor esi, dword [edx + 0x14]
movzx edi, cl
xor esi, dword [eax*4 + 0x515380]
mov eax, dword [edi*4 + 0x514f80]
xor eax, esi
mov esi, eax
mov ebp, eax
movzx edi, al
shr esi, 0x10
shr ebp, 0x18
mov edi, dword [edi*4 + 0x515780]
xor edi, dword [ebp*4 + 0x514b80]
mov ecx, esi
movzx eax, ah
xor edi, dword [edx + 0x18]
movzx esi, cl
add edx, 0x20
xor edi, dword [eax*4 + 0x515380]
xor edi, dword [esi*4 + 0x514f80]
mov eax, edi
mov ebp, edi
mov ecx, edi
shr eax, 0x10
shr ebp, 0x18
movzx esi, al
mov eax, edi
movzx edi, ch
movzx eax, al
mov eax, dword [eax*4 + 0x515780]
xor eax, dword [ebp*4 + 0x514b80]
xor eax, dword [edx - 4]
xor eax, dword [edi*4 + 0x515380]
xor eax, dword [esi*4 + 0x514f80]
mov esi, eax
shr eax, 0x10
movzx edi, al
mov ebp, esi
mov eax, esi
shr ebp, 0x18
movzx eax, al
mov ecx, esi
mov eax, dword [eax*4 + 0x515780]
movzx esi, ch
xor eax, dword [ebp*4 + 0x514b80]
xor eax, dword [esi*4 + 0x515380]
xor eax, dword [edi*4 + 0x514f80]
cmp edx, ebx
jne 0x4dc4f0
and dword [esp], 0x1f
mov ecx, dword [esp]
cmp ecx, 3
jbe 0x4dc756
lea edx, [ecx - 4]
shr edx, 2
lea esi, [ebx + edx*4 + 4]
add ebx, 4
xor eax, dword [ebx - 4]
mov edx, eax
shr eax, 0x10
mov ebp, edx
movzx edi, al
movzx eax, dl
shr ebp, 0x18
mov eax, dword [eax*4 + 0x515780]
movzx edx, dh
xor eax, dword [ebp*4 + 0x514b80]
xor eax, dword [edx*4 + 0x515380]
xor eax, dword [edi*4 + 0x514f80]
cmp ebx, esi
jne 0x4dc6c2
and dword [esp], 3
mov ebx, dword [esp]
test ebx, ebx
je 0x4dc745
mov edx, eax
xor dl, byte [esi]
shr eax, 8
movzx edx, dl
xor eax, dword [edx*4 + 0x514b80]
cmp ebx, 1
je 0x4dc745
mov edx, eax
xor dl, byte [esi + 1]
shr eax, 8
movzx edx, dl
xor eax, dword [edx*4 + 0x514b80]
cmp ebx, 2
je 0x4dc745
mov edx, eax
xor dl, byte [esi + 2]
shr eax, 8
movzx edx, dl
xor eax, dword [edx*4 + 0x514b80]
add esp, 4
not eax
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, edx
jmp 0x4dc6ac
mov esi, ebx
mov ebx, ecx
jmp 0x4dc702
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
test edx, edx
je 0x4dc915
jmp 0x4dc4a0
xor eax, eax
ret