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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x28
bsr ecx, eax
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebx + 8]
cmp ecx, eax
ja 0x1000be1b
lea eax, [ecx - 1]
mov esi, dword [0x1003d1a4]
or eax, edi
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x1003d1ac
lea eax, [edi + edi]
push eax
call fcn.1000b3e0
mov ecx, dword [0x1003d1a4]
lea eax, [edi - 1]
mov dword [0x1003d1b8], eax
mov dword [0x1003d1bc], edi
mov ecx, dword [ecx]
mov edx, ecx
mov dword [ebp - 0x28], ecx
cmp ecx, esi
je 0x1000bde5
nop
mov esi, dword [ecx + 0x1c]
lea eax, [ecx + 8]
mov edx, dword [edx]
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], esi
cmp esi, 0xf
jbe 0x1000bb4e
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x24]
mov eax, 0x811c9dc5
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], edi
test edi, edi
je 0x1000bb9e
mov esi, dword [ebp - 0x1c]
mov edx, eax
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + esi]
inc esi
xor eax, edx
imul edx, eax, 0x1000193
cmp esi, edi
jb 0x1000bb72
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], edi
and eax, dword [0x1003d1b8]
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
mov eax, dword [0x1003d1ac]
lea eax, [eax + esi*8]
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
cmp dword [eax], esi
jne 0x1000bbc6
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x1000bdd8
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 0xf
lea esi, [eax + 8]
mov dword [ebp - 8], esi
jbe 0x1000bbda
mov esi, dword [esi]
mov dword [ebp - 8], esi
cmp dword [ebp - 0x24], 0xf
lea esi, [ecx + 8]
mov dword [ebp - 4], esi
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x10], edi
jbe 0x1000bc01
mov esi, dword [ecx + 8]
mov dword [ebp - 4], esi
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0xc]
cmp edi, dword [eax + 0x18]
jne 0x1000bcdb
sub edi, 4
mov dword [ebp - 0x20], edi
jb 0x1000bc34
mov esi, dword [ebp - 4]
mov edi, dword [esi]
mov esi, dword [ebp - 8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x20]
jne 0x1000bc39
add dword [ebp - 4], 4
add dword [ebp - 8], 4
sub edi, 4
mov dword [ebp - 0x20], edi
jae 0x1000bc12
cmp edi, 0xfffffffc
je 0x1000bc9a
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov dl, byte [edx]
cmp dl, byte [esi]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0xc]
jne 0x1000bc93
cmp edi, 0xfffffffd
je 0x1000bc9a
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov dl, byte [edx + 1]
cmp dl, byte [esi + 1]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0xc]
jne 0x1000bc93
cmp edi, 0xfffffffe
je 0x1000bc9a
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov dl, byte [edx + 2]
cmp dl, byte [esi + 2]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0xc]
jne 0x1000bc93
cmp edi, 0xffffffff
je 0x1000bc9a
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov dl, byte [edx + 3]
cmp dl, byte [edi + 3]
mov edx, dword [ebp - 0x18]
je 0x1000bc9a
sbb edi, edi
or edi, 1
jmp 0x1000bc9c
xor edi, edi
test edi, edi
jne 0x1000bcdb
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp eax, ecx
je 0x1000bcd0
mov eax, dword [ecx + 4]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov edi, dword [edx + 4]
mov eax, dword [ebp - 0x14]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
jmp 0x1000bdd8
mov edi, dword [ebp - 0x1c]
cmp dword [edi], eax
je 0x1000bdac
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 0xf
lea edi, [eax + 8]
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x14], esi
jbe 0x1000bcfa
mov edi, dword [edi]
cmp dword [ebp - 0x24], 0xf
lea esi, [ecx + 8]
mov dword [ebp - 8], esi
jbe 0x1000bd0c
mov esi, dword [ecx + 8]
mov dword [ebp - 8], esi
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
jne 0x1000bda1
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
sub dword [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
jb 0x1000bd46
nop word [eax + eax]
mov esi, dword [ebp - 8]
mov esi, dword [esi]
cmp esi, dword [edi]
jne 0x1000bd4c
add dword [ebp - 8], 4
add edi, 4
sub dword [ebp - 4], 4
jae 0x1000bd30
cmp dword [ebp - 4], 0xfffffffc
je 0x1000bd9b
mov edx, dword [ebp - 8]
mov dl, byte [edx]
cmp dl, byte [edi]
mov edx, dword [ebp - 0x18]
jne 0x1000bd94
cmp dword [ebp - 4], 0xfffffffd
je 0x1000bd9b
mov edx, dword [ebp - 8]
mov dl, byte [edx + 1]
cmp dl, byte [edi + 1]
mov edx, dword [ebp - 0x18]
jne 0x1000bd94
cmp dword [ebp - 4], 0xfffffffe
je 0x1000bd9b
mov edx, dword [ebp - 8]
mov dl, byte [edx + 2]
cmp dl, byte [edi + 2]
mov edx, dword [ebp - 0x18]
jne 0x1000bd94
cmp dword [ebp - 4], 0xffffffff
je 0x1000bd9b
mov edx, dword [ebp - 8]
mov dl, byte [edx + 3]
cmp dl, byte [edi + 3]
mov edx, dword [ebp - 0x18]
je 0x1000bd9b
sbb edi, edi
or edi, 1
jmp 0x1000bd9d
xor edi, edi
test edi, edi
je 0x1000bdf0
mov edi, dword [ebp - 0x1c]
cmp dword [edi], eax
jne 0x1000bce6
mov esi, dword [ecx + 4]
mov dword [ebp - 0x10], esi
mov dword [esi], edx
mov edi, dword [edx + 4]
mov dword [ebp - 0x14], edi
mov esi, dword [ebp - 0x14]
mov dword [edi], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov esi, dword [ebp - 0xc]
mov ecx, edx
mov dword [ebp - 0x28], ecx
cmp edx, esi
jne 0x1000bb30
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 4]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov edi, dword [edx + 4]
mov eax, dword [ebp - 0x14]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x10]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
jmp 0x1000bdd5
push str.invalid_hash_bucket_count
call fcn.100101fb
int3