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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
mov esi, 1
mov dword [ebp - 0x14], ebx
mov eax, esi
shl eax, cl
push edi
cmp edx, eax
ja 0x1007dddd
lea eax, [edx - 1]
or eax, esi
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.10052480
mov edi, dword [ebx + 4]
lea eax, [esi - 1]
mov dword [ebx + 0x18], eax
mov dword [ebx + 0x1c], esi
mov edi, dword [edi]
cmp edi, dword [ebp - 4]
je 0x1007ddb8
mov esi, edi
mov eax, dword [esi + 0x1c]
lea edx, [esi + 8]
mov edi, dword [edi]
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edx
mov dword [ebp + 8], eax
cmp eax, 0xf
jbe 0x1007dc9e
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov eax, dword [edx + 0x10]
xor ecx, ecx
mov dword [ebp - 0x10], eax
mov ebx, 0x811c9dc5
test eax, eax
je 0x1007dcd1
mov edx, dword [ebp - 8]
mov edi, eax
movzx eax, byte [edx + ecx]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, edi
jb 0x1007dcb4
mov eax, dword [esi + 0x1c]
lea edx, [esi + 8]
mov edi, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
and ecx, ebx
lea eax, [eax + ecx*8]
mov ecx, dword [eax]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
cmp ecx, dword [ebp - 4]
jne 0x1007dcf6
mov dword [eax], esi
mov dword [eax + 4], esi
jmp 0x1007ddad
mov ebx, dword [eax + 4]
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
mov dword [ebp - 8], eax
jbe 0x1007dd0a
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
cmp dword [ebp + 8], 0xf
mov ecx, edx
jbe 0x1007dd14
mov ecx, dword [edx]
push dword [eax + 0x10]
push dword [ebp - 8]
push dword [edx + 0x10]
push ecx
call fcn.1000b3b0
add esp, 0x10
test al, al
je 0x1007dd50
mov ebx, dword [ebx]
cmp ebx, esi
je 0x1007dd48
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 [ebp - 0x10]
mov dword [eax + 4], esi
jmp 0x1007ddad
cmp dword [ebp - 0xc], ebx
je 0x1007dd90
mov ebx, dword [ebx + 4]
cmp dword [ebx + 0x1c], 0xf
lea eax, [ebx + 8]
mov dword [ebp - 8], eax
jbe 0x1007dd69
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
cmp dword [ebp + 8], 0xf
lea edx, [esi + 8]
jbe 0x1007dd75
mov edx, dword [esi + 8]
push dword [eax + 0x10]
push dword [ebp - 8]
push dword [esi + 0x18]
push edx
call fcn.1000b3b0
add esp, 0x10
test al, al
jne 0x1007ddc1
cmp dword [ebp - 0xc], ebx
jne 0x1007dd55
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 [ebp - 0x10]
mov dword [eax], esi
mov esi, edi
cmp edi, dword [ebp - 4]
jne 0x1007dc83
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
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 0x1007ddad
push str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3