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

Disassembly:
sub esp, 0x20
push ebx
mov ebx, edx
mov dword [esp + 4], ebx
test ebx, ebx
jne 0x7152f5
xor eax, eax
pop ebx
add esp, 0x20
ret
push edi
mov edi, dword [esp + 0x2c]
not ecx
cmp edi, 0x17
jb 0x71560b
test bl, 3
je 0x715322
movzx eax, byte [ebx]
inc ebx
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x800ba8]
sub edi, 1
jne 0x715305
mov eax, 0xcccccccd
mov dword [esp + 8], ebx
mul edi
push ebp
mov ebp, edx
shr ebp, 4
imul eax, ebp, 0xffffffec
push esi
xor esi, esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
add edi, eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x34], edi
sub ebp, 1
je 0x7154d6
xor edi, edi
mov esi, dword [esp + 0x10]
mov ebx, dword [ebx]
xor ebx, ecx
mov eax, dword [esi + 4]
xor eax, edi
mov edx, dword [esi + 8]
xor edx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
mov ecx, dword [esi + 0xc]
xor ecx, dword [esp + 0x18]
movzx eax, al
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x10]
add esi, 0x14
xor ecx, dword [esp + 0x1c]
mov edi, dword [eax*4 + 0x801428]
movzx eax, dl
mov dword [esp + 0x24], ecx
mov dword [esp + 0x2c], edx
movzx ecx, bl
mov eax, dword [eax*4 + 0x801428]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
movzx eax, al
mov ecx, dword [ecx*4 + 0x801428]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x28]
mov eax, dword [eax*4 + 0x801428]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
movzx eax, al
mov eax, dword [eax*4 + 0x801428]
mov dword [esp + 0x1c], eax
mov eax, ebx
shr eax, 0x10
movzx edx, al
mov eax, ebx
shr eax, 8
movzx eax, al
shr ebx, 0x18
mov edx, dword [edx*4 + 0x801c28]
xor edx, dword [eax*4 + 0x801828]
mov eax, esi
xor edx, dword [ebx*4 + 0x802028]
shr eax, 0x10
xor ecx, edx
movzx edx, al
mov eax, esi
shr eax, 8
movzx eax, al
mov ebx, dword [esp + 0x20]
mov edx, dword [edx*4 + 0x801c28]
shr esi, 0x18
xor edx, dword [eax*4 + 0x801828]
xor edx, dword [esi*4 + 0x802028]
mov esi, dword [esp + 0x2c]
xor edi, edx
mov eax, esi
shr eax, 0x10
movzx edx, al
mov eax, esi
shr eax, 8
movzx eax, al
shr esi, 0x18
mov edx, dword [edx*4 + 0x801c28]
xor edx, dword [eax*4 + 0x801828]
mov eax, ebx
xor edx, dword [esi*4 + 0x802028]
xor dword [esp + 0x14], edx
shr eax, 0x10
movzx edx, al
mov eax, ebx
shr eax, 8
movzx eax, al
shr ebx, 0x18
mov edx, dword [edx*4 + 0x801c28]
xor edx, dword [eax*4 + 0x801828]
xor edx, dword [ebx*4 + 0x802028]
mov ebx, dword [esp + 0x24]
mov eax, ebx
xor dword [esp + 0x18], edx
shr eax, 0x10
movzx edx, al
mov eax, ebx
shr eax, 8
movzx eax, al
shr ebx, 0x18
mov edx, dword [edx*4 + 0x801c28]
xor edx, dword [eax*4 + 0x801828]
xor edx, dword [ebx*4 + 0x802028]
xor dword [esp + 0x1c], edx
mov ebx, dword [esp + 0x10]
sub ebp, 1
jne 0x715356
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x2c]
mov edx, dword [ebx]
xor edx, ecx
mov ecx, dword [ebx + 4]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x800ba8]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x800ba8]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x800ba8]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x800ba8]
xor ecx, edx
mov edx, dword [ebx + 8]
xor ecx, esi
mov ebx, dword [ebx + 0xc]
movzx eax, cl
shr ecx, 8
mov esi, dword [esp + 0x10]
xor ecx, dword [eax*4 + 0x800ba8]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x800ba8]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x800ba8]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x800ba8]
xor edx, ecx
mov ecx, dword [esi + 0x10]
xor edx, dword [esp + 0x14]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x800ba8]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x800ba8]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x800ba8]
movzx eax, dl
shr edx, 8
xor edx, dword [eax*4 + 0x800ba8]
xor ebx, edx
xor ebx, dword [esp + 0x18]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x800ba8]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x800ba8]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x800ba8]
movzx eax, bl
shr ebx, 8
xor ebx, dword [eax*4 + 0x800ba8]
xor ecx, ebx
mov ebx, esi
xor ecx, dword [esp + 0x1c]
movzx eax, cl
shr ecx, 8
pop esi
pop ebp
xor ecx, dword [eax*4 + 0x800ba8]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x800ba8]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x800ba8]
movzx eax, cl
shr ecx, 8
xor ecx, dword [eax*4 + 0x800ba8]
add ebx, 0x14
cmp edi, 8
jb 0x7156c6
mov edx, edi
shr edx, 3
lea esp, [esp]
movzx eax, byte [ebx]
sub edi, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x800ba8]
movzx eax, byte [ebx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x800ba8]
movzx eax, byte [ebx + 2]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x800ba8]
movzx eax, byte [ebx + 3]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x800ba8]
movzx eax, byte [ebx + 4]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x800ba8]
movzx eax, byte [ebx + 5]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x800ba8]
movzx eax, byte [ebx + 6]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x800ba8]
movzx eax, byte [ebx + 7]
add ebx, 8
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x800ba8]
sub edx, 1
jne 0x715620
test edi, edi
je 0x7156ea
lea ebx, [ebx]
movzx eax, byte [ebx]
lea ebx, [ebx + 1]
xor eax, ecx
shr ecx, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x800ba8]
sub edi, 1
jne 0x7156d0
not ecx
pop edi
mov eax, ecx
pop ebx
add esp, 0x20
ret