Function at 0x10186af0
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 0x10186d19
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [0x1054bc84]
push eax
mov dword [ebp - 0x10], eax
lea ecx, [ecx + 1]
shl esi, cl
mov ecx, 0x1054bc8c
lea eax, [esi + esi]
push eax
call fcn.10034480
mov edi, dword [0x1054bc84]
lea eax, [esi - 1]
mov ecx, dword [ebp - 0x10]
mov dword [0x1054bc98], eax
mov dword [0x1054bc9c], esi
mov edi, dword [edi]
mov eax, edi
mov dword [ebp - 0x18], edi
cmp edi, ecx
je 0x10186ce6
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 0x10186b92
mov edx, dword [edx]
mov dword [ebp - 0x1c], edx
xor esi, esi
mov edx, 0x811c9dc5
cmp dword [ebp - 0xc], esi
jbe 0x10186bd2
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 0x10186ba6
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 [0x1054bc98]
mov dword [ebp - 8], edx
mov esi, dword [ebp - 8]
mov edx, dword [0x1054bc8c]
lea edx, [edx + esi*8]
mov esi, dword [edx]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
cmp esi, ecx
jne 0x10186bfd
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x10186cd9
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 0x10186c11
mov edx, dword [edx]
cmp dword [ebp - 0x14], 0xf
lea ecx, [edi + 8]
jbe 0x10186c1d
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 0x10186c62
mov ecx, dword [esi]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], ecx
cmp ecx, edi
je 0x10186c5a
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 0x10186cd6
mov ecx, esi
mov dword [ebp - 8], ecx
cmp dword [ebp - 0x1c], esi
je 0x10186cb0
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 0x10186c84
mov eax, dword [eax]
cmp dword [ebp - 0x14], 0xf
lea ecx, [edi + 8]
mov dword [ebp - 0x24], ecx
jbe 0x10186c94
mov ecx, dword [ecx]
jmp 0x10186c97
mov ecx, dword [ebp - 0x24]
push edx
mov edx, dword [ebp - 0xc]
push eax
call fcn.1005c730
add esp, 8
test al, al
jne 0x10186cf1
cmp dword [ebp - 0x1c], esi
jne 0x10186c70
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 0x10186b71
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 0x10186cd6
push str.invalid_hash_bucket_count
call fcn.102fca7f
int3