Function at 0x10186f70
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
mov esi, 1
mov eax, esi
shl eax, cl
mov ecx, dword [ebx + 8]
push edi
cmp ecx, eax
ja 0x10187199
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [0x1054bcc4]
push eax
mov dword [ebp - 0x10], eax
lea ecx, [ecx + 1]
shl esi, cl
mov ecx, 0x1054bccc
lea eax, [esi + esi]
push eax
call fcn.10034480
mov edi, dword [0x1054bcc4]
lea eax, [esi - 1]
mov ecx, dword [ebp - 0x10]
mov dword [0x1054bcd8], eax
mov dword [0x1054bcdc], esi
mov edi, dword [edi]
mov eax, edi
mov dword [ebp - 0x18], edi
cmp edi, ecx
je 0x10187166
mov esi, dword [edi + 0x18]
lea edx, [edi + 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], esi
mov esi, dword [edx + 0x14]
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], esi
cmp esi, 0xf
jbe 0x10187012
mov edx, dword [edx]
mov dword [ebp - 0x1c], edx
xor esi, esi
mov edx, 0x811c9dc5
cmp dword [ebp - 0xc], esi
jbe 0x10187052
mov eax, dword [ebp - 0x1c]
mov ecx, edx
mov edi, dword [ebp - 0xc]
movzx edx, byte [eax + esi]
inc esi
xor edx, ecx
imul ecx, edx, 0x1000193
cmp esi, edi
jb 0x10187026
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [edi + 0x18]
mov dword [ebp - 0xc], edx
mov edx, dword [edi + 0x1c]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 8]
and edx, dword [0x1054bcd8]
mov dword [ebp - 8], edx
mov esi, dword [ebp - 8]
mov edx, dword [0x1054bccc]
lea edx, [edx + esi*8]
mov esi, dword [edx]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
cmp esi, ecx
jne 0x1018707d
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x10187159
mov esi, dword [edx + 4]
cmp dword [esi + 0x1c], 0xf
lea edx, [esi + 8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 8], eax
jbe 0x10187091
mov edx, dword [edx]
cmp dword [ebp - 0x14], 0xf
lea ecx, [edi + 8]
jbe 0x1018709d
mov ecx, dword [edi + 8]
push dword [ebp - 8]
push edx
mov edx, dword [ebp - 0xc]
call fcn.1005c730
add esp, 8
test al, al
je 0x101870e2
mov ecx, dword [esi]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], ecx
cmp ecx, edi
je 0x101870da
mov esi, dword [edi + 4]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov dword [edx], ecx
mov ecx, dword [ecx + 4]
mov dword [ecx], edi
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 4], edi
jmp 0x10187156
mov ecx, esi
mov dword [ebp - 8], ecx
cmp dword [ebp - 0x1c], esi
je 0x10187130
nop dword [eax]
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 0xf
lea eax, [esi + 8]
mov edx, dword [eax + 0x10]
mov dword [ebp - 8], esi
jbe 0x10187104
mov eax, dword [eax]
cmp dword [ebp - 0x14], 0xf
lea ecx, [edi + 8]
mov dword [ebp - 0x24], ecx
jbe 0x10187114
mov ecx, dword [ecx]
jmp 0x10187117
mov ecx, dword [ebp - 0x24]
push edx
mov edx, dword [ebp - 0xc]
push eax
call fcn.1005c730
add esp, 8
test al, al
jne 0x10187171
cmp dword [ebp - 0x1c], esi
jne 0x101870f0
mov ecx, dword [ebp - 8]
mov esi, dword [edi + 4]
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ecx
mov ecx, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [ebp - 8]
mov dword [edi + 4], edx
mov edi, dword [ebp - 0x18]
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ecx], edi
mov ecx, dword [ebp - 0x10]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp eax, ecx
jne 0x10186ff1
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov ecx, dword [esi]
mov esi, dword [edi + 4]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], ecx
mov dword [esi], eax
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x24]
mov dword [edx], ecx
mov ecx, dword [ecx + 4]
mov dword [ecx], edi
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
jmp 0x10187156
push str.invalid_hash_bucket_count
call fcn.102fca7f
int3