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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
mov esi, 1
mov dword [ebp - 0x20], ebx
mov eax, esi
shl eax, cl
push edi
cmp edx, eax
jbe 0x1000dd41
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [edx - 1]
or eax, 1
bsr ecx, eax
mov eax, dword [ebx + 4]
push eax
mov dword [ebp - 4], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.100085e0
lea eax, [esi - 1]
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x18], eax
mov edi, dword [ebx + 4]
mov eax, dword [ebp - 4]
mov edi, dword [edi]
mov ecx, edi
cmp edi, eax
je 0x1000dee6
nop dword [eax]
cmp dword [edi + 0x1c], 8
lea edx, [edi + 8]
mov ecx, dword [ecx]
mov esi, dword [edx + 0x10]
mov dword [ebp + 8], ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], edx
jb 0x1000dd9c
mov ebx, dword [edx]
mov dword [ebp - 8], ebx
add esi, esi
mov ebx, 0x811c9dc5
mov dword [ebp - 0xc], esi
xor esi, esi
cmp dword [ebp - 0xc], esi
jbe 0x1000ddcd
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
movzx edx, byte [esi + eax]
inc esi
xor edx, ebx
imul ebx, edx, 0x1000193
cmp esi, ecx
jb 0x1000ddb3
mov ecx, dword [ebp + 8]
lea edx, [edi + 8]
mov eax, dword [ebp - 4]
mov edx, dword [edx + 0x18]
mov esi, edx
mov dword [ebp - 0x14], edx
xor esi, ebx
mov edx, dword [ebp - 0x20]
and esi, dword [edx + 0x18]
mov edx, dword [edx + 0xc]
mov ebx, dword [edx + esi*8]
lea edx, [edx + esi*8]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ebx
cmp ebx, eax
jne 0x1000ddfa
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x1000dedc
mov esi, dword [edx + 4]
cmp dword [esi + 0x1c], 8
lea ebx, [esi + 8]
mov dword [ebp - 0xc], ebx
jb 0x1000de0e
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
cmp dword [edi + 0x1c], 8
lea eax, [edi + 8]
mov dword [ebp - 8], eax
jb 0x1000de1f
mov edx, dword [eax]
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x10]
cmp edx, dword [ebx + 0x10]
jne 0x1000de71
mov ecx, dword [ebp - 8]
push edx
mov edx, dword [ebp - 0xc]
call fcn.10009320
add esp, 4
test eax, eax
jne 0x1000de6b
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebx + 0x18]
jne 0x1000de6b
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
cmp eax, edi
je 0x1000de63
mov ebx, dword [edi + 4]
mov dword [ebx], ecx
mov esi, dword [ecx + 4]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], edi
mov dword [eax + 4], esi
mov dword [ecx + 4], ebx
mov dword [edi + 4], edx
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], edi
jmp 0x1000ded9
mov ecx, dword [ebp + 8]
lea eax, [edi + 8]
cmp dword [ebp - 0x18], esi
je 0x1000debc
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
lea edx, [esi + 8]
jb 0x1000de85
mov edx, dword [esi + 8]
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x1000de8f
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
cmp eax, dword [esi + 0x18]
lea eax, [edi + 8]
jne 0x1000deb4
push dword [ebp - 0x10]
call fcn.10009320
add esp, 4
test eax, eax
jne 0x1000deb1
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x20]
je 0x1000deef
lea eax, [edi + 8]
cmp dword [ebp - 0x18], esi
jne 0x1000de76
mov ecx, dword [ebp + 8]
mov ebx, dword [edi + 4]
mov dword [ebx], ecx
mov edx, dword [ecx + 4]
mov dword [edx], esi
mov eax, dword [esi + 4]
mov dword [eax], edi
mov dword [esi + 4], edx
mov dword [ecx + 4], ebx
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], edi
mov eax, dword [ebp - 4]
mov edi, ecx
cmp ecx, eax
jne 0x1000dd80
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [esi]
mov esi, dword [edi + 4]
mov ecx, dword [ebp + 8]
mov dword [esi], ecx
mov edx, dword [ecx + 4]
mov dword [edx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], edi
mov dword [ebx + 4], edx
mov dword [ecx + 4], esi
mov dword [edi + 4], eax
jmp 0x1000ded9