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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
or dword [ebp - 4], 0xffffffff
push ebx
push esi
mov esi, ecx
lea ecx, [ebp - 4]
push edi
push 4
mov dword [ebp - 8], esi
lea edx, [esi + 4]
call fcn.1004de24
push 4
lea edx, [esi + 8]
lea ecx, [ebp - 4]
call fcn.1004de24
mov edx, dword [ebp - 4]
pop ecx
pop ecx
push 0xc
pop edi
add esi, edi
cmp edi, 7
ja case.default.0x100512b7
jmp dword [edi*4 + 0x100514d1]
mov eax, esi
and eax, 3
sub edi, eax
sub eax, 1
je 0x100512fa
sub eax, 1
je 0x100512e7
sub eax, 1
jne 0x1005130d
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100a7248]
inc esi
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100a7248]
inc esi
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100a7248]
inc esi
mov ebx, edi
sar ebx, 3
test ebx, ebx
je 0x1005138f
xor edx, dword [esi]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x100a7248]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x100a7248]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x100a7248]
mov ecx, edx
movzx eax, cl
shr ecx, 8
mov edx, dword [eax*4 + 0x100a7248]
xor edx, dword [esi + 4]
add esi, 8
xor edx, ecx
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x100a7248]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x100a7248]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x100a7248]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x100a7248]
sub ebx, 1
jne 0x10051316
and edi, 7
jmp 0x100512b2
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100a7248]
inc esi
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100a7248]
inc esi
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100a7248]
inc esi
xor edx, dword [esi]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x100a7248]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x100a7248]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x100a7248]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x100a7248]
jmp case.0x100512b7.0
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100a7248]
inc esi
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100a7248]
inc esi
movzx ecx, byte [esi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x100a7248]
mov ebx, dword [ebp - 8]
lea ecx, [ebp - 4]
push 4
mov dword [ebp - 4], edx
pop esi
push esi
lea edx, [ebx + 0x18]
call fcn.1004de24
push esi
lea edx, [ebx + 0x1c]
lea ecx, [ebp - 4]
call fcn.1004de24
push esi
lea edx, [ebx + 0x20]
lea ecx, [ebp - 4]
call fcn.1004de24
push esi
lea edx, [ebx + 0x24]
lea ecx, [ebp - 4]
call fcn.1004de24
push 1
lea edx, [ebx + 0x28]
lea ecx, [ebp - 4]
call fcn.1004de24
push esi
lea edx, [ebx + 0x2c]
lea ecx, [ebp - 4]
call fcn.1004de24
push esi
lea edx, [ebx + 0x30]
lea ecx, [ebp - 4]
call fcn.1004de24
push esi
lea edx, [ebx + 0x34]
lea ecx, [ebp - 4]
call fcn.1004de24
push 2
lea edx, [ebx + 0x38]
lea ecx, [ebp - 4]
call fcn.1004de24
push 2
lea edx, [ebx + 0x3a]
lea ecx, [ebp - 4]
call fcn.1004de24
mov eax, dword [ebp - 4]
add esp, 0x28
not eax
pop edi
pop esi
pop ebx
leave
ret