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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [esp + 0x30]
cmp eax, 0x10000001
jae 0x1003bdc1
mov edi, ecx
add eax, 0xffffffff
or eax, 1
bsr ecx, eax
xor ecx, 0x1f
neg cl
mov esi, 1
shl esi, cl
lea ecx, [edi + 0xc]
mov ebx, dword [edi + 4]
lea eax, [esi + esi]
push ebx
push eax
call fcn.1003b270
lea eax, [esi - 1]
mov dword [edi + 0x18], eax
mov dword [edi + 0x1c], esi
mov eax, dword [edi + 4]
mov eax, dword [eax]
mov dword [esp + 0x10], ebx
cmp eax, ebx
je 0x1003bdb7
mov ebx, eax
mov dword [esp + 0x18], edi
jmp 0x1003bbe3
mov edi, dword [esp + 4]
mov ebp, eax
mov eax, dword [edi + 4]
mov ebx, dword [esp]
mov dword [eax], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], esi
mov edx, dword [esi + 4]
mov dword [edx], edi
mov dword [esi + 4], ecx
mov dword [ebx + 4], eax
mov dword [edi + 4], edx
mov eax, dword [esp + 0xc]
mov dword [ebp + eax*4], edi
cmp ebx, dword [esp + 0x10]
je 0x1003bdb7
mov eax, ebx
cmp dword [ebx + 0x1c], 0x10
jb 0x1003bbf0
mov ebp, dword [eax + 8]
jmp 0x1003bbf3
lea ebp, [eax + 8]
mov edi, dword [eax + 0x18]
test edi, edi
mov dword [esp + 4], eax
je 0x1003bc20
lea ecx, [edi - 1]
mov eax, edi
and eax, 3
cmp ecx, 3
jae 0x1003bc30
mov edx, 0x811c9dc5
xor ecx, ecx
jmp 0x1003bc7b
mov edx, 0x811c9dc5
jmp 0x1003bca3
mov esi, edi
and esi, 0xfffffffc
mov edx, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
movzx ebx, byte [ebp + ecx]
xor ebx, edx
imul edx, ebx, 0x1000193
movzx ebx, byte [ebp + ecx + 1]
xor ebx, edx
imul edx, ebx, 0x1000193
movzx ebx, byte [ebp + ecx + 2]
xor ebx, edx
imul edx, ebx, 0x1000193
movzx ebx, byte [ebp + ecx + 3]
xor ebx, edx
imul edx, ebx, 0x1000193
add ecx, 4
cmp esi, ecx
jne 0x1003bc40
test eax, eax
je 0x1003bca3
add ecx, ebp
xor esi, esi
nop word cs:[eax + eax]
nop dword [eax]
movzx ebx, byte [ecx + esi]
xor ebx, edx
imul edx, ebx, 0x1000193
add esi, 1
cmp eax, esi
jne 0x1003bc90
mov ebx, dword [esp + 4]
mov eax, dword [ebx]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
and edx, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
lea ecx, [edx + edx]
mov dword [esp + 0xc], ecx
lea ecx, [edx + edx]
add ecx, 1
mov esi, dword [eax + edx*8]
cmp esi, dword [esp + 0x10]
je 0x1003bcf0
mov ebx, dword [eax + ecx*4]
cmp edi, dword [ebx + 0x18]
mov dword [esp + 8], eax
jne 0x1003bd76
cmp dword [ebx + 0x1c], 0x10
mov dword [esp + 0x14], ecx
jb 0x1003bd02
mov eax, dword [ebx + 8]
jmp 0x1003bd05
mov edx, dword [esp + 0xc]
mov dword [eax + edx*4], ebx
mov dword [eax + ecx*4], ebx
mov ebx, dword [esp]
jmp 0x1003bbd9
lea eax, [ebx + 8]
push edi
push eax
push ebp
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x14]
jne 0x1003bd76
mov eax, dword [ebx]
mov edi, dword [esp + 4]
cmp eax, edi
mov ebx, dword [esp]
je 0x1003bd49
mov ebp, ebx
mov ebx, ecx
mov ecx, dword [edi + 4]
mov dword [ecx], ebp
mov edx, dword [ebp + 4]
mov dword [edx], eax
mov esi, dword [eax + 4]
mov dword [esi], edi
mov dword [eax + 4], edx
mov dword [ebp + 4], ecx
mov ecx, ebx
mov ebx, ebp
mov dword [edi + 4], esi
mov eax, dword [esp + 8]
mov dword [eax + ecx*4], edi
jmp 0x1003bbd9
mov eax, dword [ebx + 8]
push edi
push eax
push ebp
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
mov eax, dword [esp + 8]
je 0x1003bd91
cmp esi, ebx
je 0x1003bbb0
mov ebx, dword [ebx + 4]
cmp edi, dword [ebx + 0x18]
jne 0x1003bd76
cmp dword [ebx + 0x1c], 0x10
jae 0x1003bd60
lea eax, [ebx + 8]
jmp 0x1003bd63
mov eax, dword [ebx]
mov edi, dword [esp + 4]
mov ecx, dword [edi + 4]
mov ebx, dword [esp]
mov dword [ecx], ebx
mov edx, dword [ebx + 4]
mov dword [edx], eax
mov esi, dword [eax + 4]
mov dword [esi], edi
mov dword [eax + 4], edx
mov dword [ebx + 4], ecx
mov dword [edi + 4], esi
jmp 0x1003bbd9
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 4
push str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3