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

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
mov ebx, ecx
not ebx
mov ebp, 0xff
test esi, esi
je 0x101497f3
test dl, 3
je 0x101497f3
movzx eax, byte [edx]
xor eax, ebx
shr ebx, 8
and eax, ebp
xor ebx, dword [eax*4 + 0x10253980]
inc edx
dec esi
jne 0x101497d9
push edi
cmp esi, 0x20
jb 0x101499f2
mov ebp, esi
mov edi, 0xff
shr ebp, 5
xor ebx, dword [edx]
add edx, 4
mov ecx, ebx
mov dword [esp + 0x14], edx
shr ecx, 0x10
mov eax, ebx
shr eax, 8
and ecx, edi
and eax, edi
mov edi, dword [esp + 0x14]
mov edx, dword [ecx*4 + 0x10253d80]
xor edx, dword [eax*4 + 0x10254180]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x10253980]
movzx eax, bl
mov ebx, 0xff
xor edx, dword [eax*4 + 0x10254580]
xor edx, dword [edi]
mov ecx, edx
mov eax, edx
shr eax, 8
and eax, ebx
shr ecx, 0x10
and ecx, ebx
mov ebx, dword [ecx*4 + 0x10253d80]
xor ebx, dword [eax*4 + 0x10254180]
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x10253980]
movzx eax, dl
mov edx, 0xff
xor ebx, dword [eax*4 + 0x10254580]
xor ebx, dword [edi + 4]
mov ecx, ebx
mov eax, ebx
shr eax, 8
and eax, edx
shr ecx, 0x10
and ecx, edx
mov edx, dword [ecx*4 + 0x10253d80]
xor edx, dword [eax*4 + 0x10254180]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x10253980]
movzx eax, bl
mov ebx, 0xff
xor edx, dword [eax*4 + 0x10254580]
xor edx, dword [edi + 8]
mov ecx, edx
mov eax, edx
shr eax, 8
and eax, ebx
shr ecx, 0x10
and ecx, ebx
mov ebx, dword [ecx*4 + 0x10253d80]
xor ebx, dword [eax*4 + 0x10254180]
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x10253980]
movzx eax, dl
mov edx, 0xff
xor ebx, dword [eax*4 + 0x10254580]
xor ebx, dword [edi + 0xc]
mov ecx, ebx
mov eax, ebx
shr ecx, 0x10
and ecx, edx
shr eax, 8
and eax, edx
mov edx, dword [ecx*4 + 0x10253d80]
xor edx, dword [eax*4 + 0x10254180]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x10253980]
movzx eax, bl
mov ebx, 0xff
xor edx, dword [eax*4 + 0x10254580]
xor edx, dword [edi + 0x10]
mov ecx, edx
shr ecx, 0x10
and ecx, ebx
mov eax, edx
shr eax, 8
sub esi, 0x20
and eax, ebx
mov ebx, dword [ecx*4 + 0x10253d80]
xor ebx, dword [eax*4 + 0x10254180]
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x10253980]
movzx eax, dl
mov edx, 0xff
xor ebx, dword [eax*4 + 0x10254580]
xor ebx, dword [edi + 0x14]
mov ecx, ebx
mov eax, ebx
shr eax, 8
and eax, edx
shr ecx, 0x10
and ecx, edx
mov edx, dword [ecx*4 + 0x10253d80]
xor edx, dword [eax*4 + 0x10254180]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*4 + 0x10253980]
movzx eax, bl
xor edx, dword [eax*4 + 0x10254580]
xor edx, dword [edi + 0x18]
add edi, 0x1c
mov ecx, edx
mov dword [esp + 0x14], edi
shr ecx, 0x10
mov edi, 0xff
mov eax, edx
and ecx, edi
shr eax, 8
and eax, edi
mov ebx, dword [ecx*4 + 0x10253d80]
xor ebx, dword [eax*4 + 0x10254180]
mov eax, edx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x10253980]
movzx eax, dl
mov edx, dword [esp + 0x14]
xor ebx, dword [eax*4 + 0x10254580]
dec ebp
jne 0x10149807
mov ebp, edi
cmp esi, 4
jb 0x10149a3b
mov edi, esi
shr edi, 2
xor ebx, dword [edx]
sub esi, 4
mov ecx, ebx
mov eax, ebx
shr ecx, 0x10
add edx, 4
and ecx, ebp
shr eax, 8
and eax, ebp
mov ecx, dword [ecx*4 + 0x10253d80]
xor ecx, dword [eax*4 + 0x10254180]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x10253980]
movzx eax, bl
xor ecx, dword [eax*4 + 0x10254580]
mov ebx, ecx
dec edi
jne 0x101499fc
pop edi
test esi, esi
je 0x10149a55
movzx eax, byte [edx]
xor eax, ebx
shr ebx, 8
and eax, ebp
xor ebx, dword [eax*4 + 0x10253980]
inc edx
dec esi
jne 0x10149a40
pop esi
not ebx
pop ebp
mov eax, ebx
pop ebx
ret