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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, edx
mov edx, ecx
push edi
mov edi, dword [ebp + 8]
not edx
test edi, edi
je 0x10004f21
test bl, 3
je 0x10004f21
movzx eax, byte [ebx]
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x10031fc0]
inc ebx
sub edi, 1
jne 0x10004f04
push esi
cmp edi, 0x20
jb 0x10005132
mov eax, edi
shr eax, 5
mov dword [ebp - 8], eax
xor edx, dword [ebx]
mov dword [ebp - 4], edx
mov edx, dword [ebx + 4]
add ebx, 8
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 8
movzx eax, al
mov dword [ebp + 8], ebx
mov ebx, dword [ecx*4 + 0x100323c0]
mov ecx, dword [ebp - 4]
xor ebx, dword [eax*4 + 0x100327c0]
mov eax, ecx
shr eax, 0x18
mov esi, dword [ebp + 8]
xor ebx, dword [eax*4 + 0x10031fc0]
movzx eax, cl
xor ebx, dword [eax*4 + 0x10032bc0]
xor ebx, edx
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x100323c0]
xor ecx, dword [eax*4 + 0x100327c0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10031fc0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x10032bc0]
xor ecx, dword [esi]
mov eax, ecx
mov dword [ebp + 8], ecx
mov ebx, dword [ebp + 8]
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x100323c0]
xor ecx, dword [eax*4 + 0x100327c0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10031fc0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x10032bc0]
xor ecx, dword [esi + 4]
mov eax, ecx
mov dword [ebp + 8], ecx
mov ebx, dword [ebp + 8]
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x100323c0]
xor ecx, dword [eax*4 + 0x100327c0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10031fc0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x10032bc0]
xor ecx, dword [esi + 8]
mov eax, ecx
mov dword [ebp + 8], ecx
mov ebx, dword [ebp + 8]
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x100323c0]
xor ecx, dword [eax*4 + 0x100327c0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10031fc0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x10032bc0]
sub edi, 0x20
xor ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [ebp + 8], ecx
mov ebx, dword [ebp + 8]
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [esi + 0x14]
mov ecx, dword [ecx*4 + 0x100323c0]
xor ecx, dword [eax*4 + 0x100327c0]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10031fc0]
movzx eax, bl
xor ecx, dword [eax*4 + 0x10032bc0]
xor ecx, dword [esi + 0x10]
add esi, 0x18
mov eax, ecx
mov dword [ebp - 4], ecx
shr eax, 0x10
movzx ecx, al
mov eax, dword [ebp - 4]
shr eax, 8
movzx eax, al
mov ebx, dword [ecx*4 + 0x100323c0]
mov ecx, dword [ebp - 4]
mov dword [ebp + 8], esi
xor ebx, dword [eax*4 + 0x100327c0]
mov eax, ecx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x10031fc0]
movzx eax, cl
xor ebx, dword [eax*4 + 0x10032bc0]
xor ebx, edx
mov eax, ebx
shr eax, 0x10
movzx ecx, al
mov eax, ebx
shr eax, 8
movzx eax, al
mov edx, dword [ecx*4 + 0x100323c0]
xor edx, dword [eax*4 + 0x100327c0]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x10031fc0]
movzx eax, bl
mov ebx, esi
xor edx, dword [eax*4 + 0x10032bc0]
sub dword [ebp - 8], 1
jne 0x10004f33
cmp edi, 4
jb 0x10005181
mov esi, edi
shr esi, 2
mov eax, dword [ebx]
sub edi, 4
xor edx, eax
add ebx, 4
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x100323c0]
xor ecx, dword [eax*4 + 0x100327c0]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10031fc0]
movzx eax, dl
xor ecx, dword [eax*4 + 0x10032bc0]
mov edx, ecx
sub esi, 1
jne 0x1000513c
pop esi
test edi, edi
je 0x1000519e
movzx eax, byte [ebx]
xor eax, edx
shr edx, 8
movzx eax, al
xor edx, dword [eax*4 + 0x10031fc0]
inc ebx
sub edi, 1
jne 0x10005186
not edx
pop edi
mov eax, edx
pop ebx
leave
ret