Function at 0x100bea70
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
mov esi, 1
mov dword [ebp - 0x1c], ebx
mov eax, esi
shl eax, cl
mov ecx, dword [ebp + 8]
push edi
cmp ecx, eax
ja 0x100bec4a
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [ebx + 4]
push eax
mov dword [ebp - 0xc], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
mov dword [ebp - 0x20], ecx
lea eax, [esi + esi]
push eax
call fcn.100bdde0
lea eax, [esi - 1]
mov dword [ebx + 0x1c], esi
mov esi, dword [ebx + 4]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp - 0xc]
mov esi, dword [esi]
mov edi, esi
cmp esi, eax
je 0x100bec25
mov ecx, dword [esi + 0x1c]
lea ebx, [esi + 8]
mov edi, dword [edi]
mov dword [ebp - 0x18], edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x14], ecx
cmp ecx, 0xf
jbe 0x100beaf3
mov ecx, dword [ebx]
mov dword [ebp - 4], ecx
mov edx, dword [ebx + 0x10]
mov ecx, 0x811c9dc5
mov dword [ebp - 0x10], edx
xor edx, edx
cmp dword [ebx + 0x10], edx
jbe 0x100beb33
mov ebx, dword [ebp - 4]
mov eax, ecx
mov edi, dword [ebp - 0x10]
nop dword [eax]
movzx ecx, byte [ebx + edx]
inc edx
xor ecx, eax
imul eax, ecx, 0x1000193
cmp edx, edi
jb 0x100beb10
mov edi, dword [ebp - 0x18]
mov dword [ebp - 8], eax
mov eax, dword [esi + 0x1c]
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
mov edx, dword [edx + 0x18]
and edx, ecx
mov ecx, dword [ebp - 0x20]
mov ecx, dword [ecx]
lea ecx, [ecx + edx*8]
mov edx, dword [ecx]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
cmp edx, eax
jne 0x100beb59
mov dword [ecx], esi
mov dword [ecx + 4], esi
jmp 0x100bec1b
mov ebx, dword [ecx + 4]
cmp dword [ebx + 0x1c], 0xf
lea ecx, [ebx + 8]
mov dword [ebp - 4], ecx
jbe 0x100beb6d
mov eax, dword [ecx]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x14], 0xf
lea edx, [esi + 8]
jbe 0x100beb79
mov edx, dword [esi + 8]
push dword [ecx + 0x10]
push dword [ebp - 4]
push dword [esi + 0x18]
push edx
call fcn.10011400
add esp, 0x10
test al, al
je 0x100bebb5
mov ebx, dword [ebx]
cmp ebx, esi
je 0x100bebad
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], esi
jmp 0x100bec18
cmp dword [ebp - 8], ebx
je 0x100bebfb
nop word [eax + eax]
mov ebx, dword [ebx + 4]
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
mov dword [ebp - 4], eax
jbe 0x100bebd4
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
cmp dword [ebp - 0x14], 0xf
lea edx, [esi + 8]
jbe 0x100bebe0
mov edx, dword [esi + 8]
push dword [eax + 0x10]
push dword [ebp - 4]
push dword [esi + 0x18]
push edx
call fcn.10011400
add esp, 0x10
test al, al
jne 0x100bec2e
cmp dword [ebp - 8], ebx
jne 0x100bebc0
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [eax], esi
mov eax, dword [ebp - 0xc]
mov esi, edi
cmp edi, eax
jne 0x100bead8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 4]
mov ebx, dword [ebx]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
jmp 0x100bec18
push str.invalid_hash_bucket_count
call fcn.101313fa
int3