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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov eax, 0x1fffffff
mov edx, 1
push edi
mov edi, ecx
bsr ecx, eax
mov eax, edx
mov dword [ebp - 4], edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x1001dcf0
lea eax, [ecx - 1]
mov esi, dword [edi + 4]
or eax, edx
mov dword [ebp - 8], esi
bsr ecx, eax
mov dword [ebp - 0xc], esi
lea ecx, [ecx + 1]
shl edx, cl
mov dword [ebp - 0x14], edx
lea ecx, [edx + edx]
mov edx, dword [edi + 0x10]
mov eax, edx
mov dword [ebp - 0x10], ecx
sub eax, dword [edi + 0xc]
sar eax, 2
mov dword [ebp + 8], eax
cmp eax, ecx
jae 0x1001dbec
cmp ecx, 0x3fffffff
ja 0x1001dcfa
lea eax, [ecx*4]
cmp eax, 0x1000
jb 0x1001daff
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x1001dcfa
push ecx
call fcn.100483d3
add esp, 4
test eax, eax
je 0x1001dbe6
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x1001db12
test eax, eax
je 0x1001db10
push eax
call fcn.100483d3
add esp, 4
mov edi, eax
jmp 0x1001db12
xor edi, edi
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1001db4a
mov eax, dword [ebp - 4]
shl ecx, 2
mov eax, dword [eax + 0xc]
cmp ecx, 0x1000
jb 0x1001db40
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001dbe6
mov eax, edx
push ecx
push eax
call fcn.10048403
add esp, 8
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
lea eax, [edi + eax*4]
mov dword [ecx + 0xc], edi
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
cmp edi, eax
je 0x1001db69
mov dword [edi], esi
add edi, 4
cmp edi, eax
jne 0x1001db60
mov edi, ecx
mov ecx, dword [ebp - 0x14]
mov dword [edi + 0x1c], ecx
lea eax, [ecx - 1]
mov dword [edi + 0x18], eax
mov edi, dword [edi + 4]
mov edi, dword [edi]
cmp edi, esi
je 0x1001dcc0
mov eax, dword [ebp - 8]
mov esi, edi
nop dword [eax]
mov edi, dword [edi]
xor edx, edx
mov ecx, 0x811c9dc5
mov dword [ebp - 0x10], edi
cmp dword [esi + 0xc], edx
jbe 0x1001dbc4
mov edi, dword [esi + 8]
mov eax, ecx
movzx ecx, byte [edi + edx]
inc edx
xor ecx, eax
imul eax, ecx, 0x1000193
cmp edx, dword [esi + 0xc]
jb 0x1001dba6
mov edi, dword [ebp - 0x10]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov edx, dword [edx + 0x18]
and edx, ecx
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 0xc]
lea ecx, [ecx + edx*8]
mov dword [ebp - 0xc], ecx
cmp dword [ecx], eax
jne 0x1001dc01
mov dword [ecx], esi
mov dword [ecx + 4], esi
jmp 0x1001dcaf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea eax, [ebp - 0xc]
push eax
push edx
push dword [edi + 0xc]
call fcn.1000fc60
add esp, 0xc
jmp 0x1001db6b
mov eax, dword [ecx + 4]
mov dword [ebp + 8], eax
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [esi + 8]
push dword [esi + 0xc]
push eax
call fcn.1000f6d0
add esp, 0x10
test al, al
mov eax, dword [ebp + 8]
je 0x1001dc52
mov eax, dword [eax]
mov dword [ebp + 8], eax
cmp eax, esi
je 0x1001dc4a
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov edi, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [eax + 4]
mov dword [eax], esi
mov dword [edi + 4], ecx
mov edi, dword [ebp - 0x10]
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], esi
jmp 0x1001dcac
mov ecx, dword [ebp - 0xc]
cmp dword [ecx], eax
je 0x1001dc89
nop dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
push dword [eax + 0xc]
push dword [eax + 8]
mov eax, dword [esi + 8]
push dword [esi + 0xc]
push eax
call fcn.1000f6d0
add esp, 0x10
test al, al
mov eax, dword [ebp + 8]
jne 0x1001dcc8
mov ecx, dword [ebp - 0xc]
cmp dword [ecx], eax
jne 0x1001dc60
mov ecx, dword [esi + 4]
mov dword [ebp + 8], ecx
mov dword [ecx], edi
mov edx, dword [edi + 4]
mov dword [edx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], ecx
mov dword [eax], esi
mov eax, dword [ebp - 8]
mov esi, edi
cmp edi, eax
jne 0x1001db90
nop dword [eax]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 4]
mov eax, dword [eax]
mov dword [ebp + 8], eax
mov dword [ebp - 0x14], edx
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov edx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, dword [eax + 4]
mov dword [eax], esi
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edi + 4], edx
mov dword [esi + 4], eax
jmp 0x1001dcac
push str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
call fcn.1000acc0
int3