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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
cmp dword [ebp + 0xc], 0
jne 0x1008a826
xor eax, eax
jmp 0x1008aa45
mov eax, 1
test eax, eax
je 0x1008a875
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 4]
and ecx, 0xff
test ecx, ecx
je 0x1008a85c
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1008aa50
add esp, 0xc
jmp 0x1008aa45
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1008ae60
add esp, 0xc
jmp 0x1008aa45
mov edx, dword [ebp + 8]
xor edx, 0xffffffff
mov dword [ebp + 8], edx
cmp dword [ebp + 0x10], 8
jb 0x1008a9fe
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp + 8]
xor edx, ecx
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, dword [edx*4 + 0x100a470c]
xor ecx, eax
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp + 8]
xor edx, ecx
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, dword [edx*4 + 0x100a470c]
xor ecx, eax
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp + 8]
xor edx, ecx
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, dword [edx*4 + 0x100a470c]
xor ecx, eax
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp + 8]
xor edx, ecx
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, dword [edx*4 + 0x100a470c]
xor ecx, eax
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp + 8]
xor edx, ecx
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, dword [edx*4 + 0x100a470c]
xor ecx, eax
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp + 8]
xor edx, ecx
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, dword [edx*4 + 0x100a470c]
xor ecx, eax
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp + 8]
xor edx, ecx
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, dword [edx*4 + 0x100a470c]
xor ecx, eax
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp + 8]
xor edx, ecx
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, dword [edx*4 + 0x100a470c]
xor ecx, eax
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x1008a87e
cmp dword [ebp + 0x10], 0
je 0x1008aa3f
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x100a470c]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
cmp dword [ebp + 0x10], 0
jne 0x1008aa04
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret