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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp byte [edx + 0x2c], 0
je 0x1000af0b
mov eax, dword [edx + 0x34]
cmp eax, dword [edx + 0x30]
jne 0x1000b002
add edx, 0x30
xor ebx, ebx
jmp 0x1000b16d
mov edi, dword [ebp + 0x10]
cmp dword [ebp + 0x14], 0
lea eax, [edx + 0x28]
mov dword [ebp - 0x2c], eax
je 0x1000b019
mov edi, dword [edx + 8]
mov ecx, dword [edx + 0xc]
lea eax, [edx + 0x18]
mov dword [ebp - 0x30], eax
nop word [eax + eax]
mov ebx, dword [edx]
cmp edi, ecx
mov esi, edi
jb 0x1000af88
mov eax, dword [edx + 4]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], eax
push 0
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x30]
lea eax, [ebp - 0x28]
push eax
mov edi, edx
call sym.__LT_std..io..Take_LT_T_GT__u20_as_u20_std..io..Read_GT_::read_buf::h2e9869954da1fcc2
add esp, 0x10
cmp byte [ebp - 0x28], 4
jne 0x1000b116
movq xmm0, qword [ebp - 0x18]
xor esi, esi
mov edx, edi
mov dword [edi + 8], 0
movd ecx, xmm0
movq qword [edi + 0xc], xmm0
mov eax, ecx
mov dword [ebp - 0x38], ecx
mov ecx, dword [edx + 0x28]
mov dword [ebp - 0x34], esi
add ebx, esi
sub eax, esi
mov esi, dword [ecx + 8]
mov ecx, dword [ecx + 0x18]
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x10], ecx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push ebx
push dword [ebp - 0x2c]
mov esi, edx
call sym.bzip2::mem::Decompress::decompress::h5e3269dd4cdaf5d3
add esp, 0x14
mov ebx, dword [esi + 0x28]
mov ecx, dword [esi + 0xc]
mov edi, dword [ebx + 8]
mov ebx, dword [ebx + 0x18]
sub edi, dword [ebp - 0x3c]
add edi, dword [esi + 8]
cmp edi, ecx
cmovae edi, ecx
test al, 1
mov dword [esi + 8], edi
jne 0x1000b0ba
cmp dl, 4
je 0x1000b0e9
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp + 0xc]
cmp dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x10]
je 0x1000b107
cmp ebx, eax
je 0x1000af30
jmp 0x1000b107
push 0x10
push 0x101278b7
push 0x27
push esi
call sym.std::io::error::Error::new::h9b144b71a129f823
add esp, 0x10
jmp 0x1000b175
mov ecx, dword [edx + 8]
mov eax, dword [edx + 0xc]
mov ebx, dword [edx]
cmp ecx, eax
jb 0x1000b079
mov ecx, dword [edx + 4]
mov dword [ebp - 0x20], ebx
mov edi, edx
lea eax, [edx + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x28]
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x20]
push 0
push ecx
push eax
push edx
call sym.__LT_std..io..Take_LT_T_GT__u20_as_u20_std..io..Read_GT_::read_buf::h2e9869954da1fcc2
add esp, 0x10
cmp byte [ebp - 0x28], 4
jne 0x1000b10e
movq xmm0, qword [ebp - 0x18]
mov dword [edi + 8], 0
mov edx, edi
xor ecx, ecx
movq qword [edi + 0xc], xmm0
mov edi, dword [ebp + 0x10]
movd eax, xmm0
add ebx, ecx
sub eax, ecx
mov ecx, dword [edx + 0x28]
mov esi, ebx
mov ebx, dword [ecx + 8]
mov ecx, dword [ecx + 0x18]
mov dword [ebp - 0x10], ecx
push 0
push edi
push eax
push esi
push dword [ebp - 0x2c]
mov esi, edx
call sym.bzip2::mem::Decompress::decompress::h5e3269dd4cdaf5d3
add esp, 0x14
mov ecx, dword [esi + 0x28]
mov edi, dword [ecx + 8]
sub edi, ebx
mov ebx, dword [esi + 0xc]
add edi, dword [esi + 8]
cmp edi, ebx
cmovae edi, ebx
mov ebx, dword [ecx + 0x18]
test al, 1
mov dword [esi + 8], edi
je 0x1000b0f1
movzx eax, dl
lea ecx, [ebp - 0x20]
push eax
push 0x14
push ecx
call sym.std::io::error::Error::new::he7135ad24322c955
add esp, 0xc
movzx eax, byte [ebp - 0x20]
mov ah, byte [ebp - 0x1f]
movzx ecx, word [ebp - 0x1e]
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
cmp al, 4
je 0x1000b12a
jmp 0x1000b17f
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
jmp 0x1000b0fc
cmp dl, 4
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x10]
jne 0x1000b107
mov esi, dword [ebp + 8]
sub ebx, eax
mov byte [edx + 0x2c], 1
jmp 0x1000b12a
mov esi, dword [ebp + 8]
sub ebx, eax
jmp 0x1000b12a
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
jmp 0x1000b11f
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x24]
mov esi, dword [ebp + 8]
mov ecx, eax
mov edx, edi
shr ecx, 0x10
cmp al, 4
jne 0x1000b17f
mov eax, dword [ebp + 0x14]
test ebx, ebx
je 0x1000aef5
cmp ebx, eax
ja 0x1000b196
add edx, 0x30
mov edi, dword [ebp + 0x10]
xor ecx, ecx
mov eax, dword [edx]
mov dword [ebp - 0x10], edx
not eax
nop dword [eax + eax]
movzx edx, byte [edi + ecx]
inc ecx
xor dl, al
shr eax, 8
movzx edx, dl
xor eax, dword [edx*4 + 0x10127458]
cmp ebx, ecx
jne 0x1000b150
mov edx, dword [ebp - 0x10]
not eax
mov dword [esi + 4], ebx
mov dword [edx], eax
mov byte [esi], 4
mov eax, esi
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
movzx edx, ah
shl ecx, 0x10
movzx eax, al
mov dword [esi + 4], ebx
shl edx, 8
or edx, ecx
or eax, edx
mov dword [esi], eax
jmp 0x1000b175
push 0x101278c8
push eax
push ebx
call sym.core::slice::index::slice_end_index_len_fail::hb7bcdcb5c84f7e98
nop word cs:[eax + eax]
nop dword [eax]