Function at 0x1008a8b0
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 0x1008a8c6
xor eax, eax
jmp 0x1008aae5
mov eax, 1
test eax, eax
je 0x1008a915
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 4]
and ecx, 0xff
test ecx, ecx
je 0x1008a8fc
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1008aaf0
add esp, 0xc
jmp 0x1008aae5
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1008af00
add esp, 0xc
jmp 0x1008aae5
mov edx, dword [ebp + 8]
xor edx, 0xffffffff
mov dword [ebp + 8], edx
cmp dword [ebp + 0x10], 8
jb 0x1008aa9e
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 + 0x100a4734]
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 + 0x100a4734]
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 + 0x100a4734]
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 + 0x100a4734]
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 + 0x100a4734]
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 + 0x100a4734]
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 + 0x100a4734]
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 + 0x100a4734]
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 0x1008a91e
cmp dword [ebp + 0x10], 0
je 0x1008aadf
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 + 0x100a4734]
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 0x1008aaa4
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret