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

Disassembly:
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push esi
mov esi, 1
mov eax, esi
shl eax, cl
mov ecx, dword [esp + 0x18]
cmp ecx, eax
ja 0x10014257
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [0x10066ed4]
push edi
push eax
mov dword [esp + 0x10], eax
lea ecx, [ecx + 1]
shl esi, cl
mov ecx, 0x10066edc
lea eax, [esi + esi]
push eax
call fcn.10013410
mov edi, dword [0x10066ed4]
lea eax, [esi - 1]
mov ecx, dword [esp + 0xc]
mov dword [0x10066ee8], eax
mov dword [0x10066eec], esi
mov edi, dword [edi]
mov eax, edi
cmp edi, ecx
je 0x1001422f
push ebx
nop dword [eax]
cmp dword [edi + 0x1c], 0x10
lea ebx, [edi + 8]
mov eax, dword [eax]
mov edx, dword [ebx + 0x10]
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ebx
jb 0x100140f0
mov edx, dword [ebx]
mov dword [esp + 0x14], edx
xor esi, esi
mov edx, 0x811c9dc5
cmp dword [ebx + 0x10], esi
jbe 0x1001412a
mov ebx, dword [esp + 0x14]
mov ecx, edx
mov eax, dword [esp + 0x18]
movzx edx, byte [esi + ebx]
inc esi
xor edx, ecx
imul ecx, edx, 0x1000193
cmp esi, eax
jb 0x10014106
mov eax, dword [esp + 0xc]
lea ebx, [edi + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
and edx, dword [0x10066ee8]
mov dword [esp + 0x20], edx
mov esi, dword [esp + 0x20]
mov edx, dword [0x10066edc]
lea edx, [edx + esi*8]
mov esi, dword [edx]
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], esi
cmp esi, ecx
jne 0x10014159
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x10014224
mov esi, dword [edx + 4]
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
mov edx, dword [eax + 0x10]
jb 0x1001416a
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x10014174
mov ecx, dword [ebx]
push edx
mov edx, dword [ebx + 0x10]
push eax
call fcn.1000e5d0
add esp, 8
test al, al
je 0x100141b0
mov ebx, dword [esi]
mov eax, dword [esp + 0xc]
cmp ebx, edi
je 0x100141a7
mov esi, dword [edi + 4]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx + 4], edi
jmp 0x10014220
mov ecx, esi
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x14], esi
je 0x100141fa
nop dword [eax]
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
mov edx, dword [eax + 0x10]
mov dword [esp + 0x20], esi
jb 0x100141d5
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x100141df
mov ecx, dword [ebx]
push edx
mov edx, dword [ebx + 0x10]
push eax
call fcn.1000e5d0
add esp, 8
test al, al
jne 0x10014237
cmp dword [esp + 0x14], esi
jne 0x100141c0
mov ecx, dword [esp + 0x20]
mov esi, dword [edi + 4]
mov eax, dword [esp + 0xc]
mov ebx, dword [esp + 0x20]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ecx
mov ecx, dword [ecx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x18]
mov dword [ecx], edi
mov ecx, dword [esp + 0x10]
mov edi, eax
cmp eax, ecx
jne 0x100140d0
pop ebx
pop edi
pop esi
add esp, 0x10
ret 4
mov ebx, dword [esi]
mov esi, dword [edi + 4]
mov eax, dword [esp + 0xc]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
jmp 0x10014220
push str.invalid_hash_bucket_count
call fcn.1002de6e
int3