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

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x14]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
mov esi, 1
mov dword [esp + 0x14], ebx
mov eax, esi
shl eax, cl
cmp edx, eax
ja 0x1013e189
lea eax, [edx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [ebx + 4]
push edi
push eax
mov dword [esp + 0x24], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.10108ae0
lea eax, [esi - 1]
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x18], eax
mov esi, dword [ebx + 4]
mov eax, dword [esp + 0x20]
mov esi, dword [esi]
mov edi, esi
cmp esi, eax
je 0x1013e164
push ebp
mov ecx, dword [esi + 0x1c]
lea ebp, [esi + 8]
mov edi, dword [edi]
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ecx
cmp ecx, 0xf
jbe 0x1013e047
mov ecx, dword [ebp]
mov dword [esp + 0x10], ecx
xor edx, edx
mov ebx, 0x811c9dc5
cmp dword [ebp + 0x10], edx
jbe 0x1013e080
mov eax, dword [ebp + 0x10]
mov edi, dword [esp + 0x10]
nop word [eax + eax]
movzx ecx, byte [edi + edx]
inc edx
xor ecx, ebx
imul ebx, ecx, 0x1000193
cmp edx, eax
jb 0x1013e060
mov eax, dword [ebp + 0x14]
mov edi, dword [esp + 0x18]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0xc]
and edx, ebx
lea ecx, [ecx + edx*8]
mov edx, dword [ecx]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
cmp edx, eax
jne 0x1013e0a7
mov dword [ecx], esi
mov dword [ecx + 4], esi
jmp 0x1013e159
mov ebx, dword [ecx + 4]
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
mov edx, dword [eax + 0x10]
jbe 0x1013e0b8
mov eax, dword [eax]
cmp dword [ebp + 0x14], 0xf
mov ecx, ebp
jbe 0x1013e0c3
mov ecx, dword [ebp]
push edx
push eax
push dword [ebp + 0x10]
push ecx
call fcn.100ed0f0
add esp, 0x10
test al, al
je 0x1013e0fc
mov ebx, dword [ebx]
cmp ebx, esi
je 0x1013e0f3
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 [esp + 0x18]
mov dword [eax + 4], esi
jmp 0x1013e155
cmp dword [esp + 0x10], ebx
je 0x1013e137
mov ebx, dword [ebx + 4]
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
mov edx, dword [eax + 0x10]
jbe 0x1013e113
mov eax, dword [eax]
cmp dword [esp + 0x14], 0xf
mov ecx, ebp
jbe 0x1013e11f
mov ecx, dword [ebp]
push edx
push eax
push dword [ebp + 0x10]
push ecx
call fcn.100ed0f0
add esp, 0x10
test al, al
jne 0x1013e16d
cmp dword [esp + 0x10], ebx
jne 0x1013e102
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 [esp + 0x18]
mov dword [eax], esi
mov eax, dword [esp + 0x24]
mov esi, edi
cmp edi, eax
jne 0x1013e027
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10
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 0x1013e155
push str.invalid_hash_bucket_count
call fcn.101e0a10
int3