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

Disassembly:
sub esp, 0x18
mov edx, dword [esp + 0x1c]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push edi
mov edi, 1
mov dword [esp + 0x1c], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x100a0263
lea eax, [edx - 1]
or eax, edi
bsr ecx, eax
push esi
mov esi, dword [ebx + 4]
push esi
mov dword [esp + 0x20], esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.1006cf50
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x100a023e
push ebp
mov ebx, dword [ecx + 0x18]
lea ebp, [ecx + 8]
mov edx, dword [edx]
mov dword [esp + 0x2c], ebx
mov ebx, dword [ecx + 0x1c]
mov dword [esp + 0x1c], ebx
cmp ebx, 0x10
jb 0x100a006e
mov ebp, dword [ecx + 8]
xor edi, edi
mov ebx, 0x811c9dc5
cmp dword [esp + 0x2c], edi
jbe 0x100a0095
mov esi, dword [esp + 0x2c]
nop
movzx eax, byte [edi + ebp]
inc edi
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edi, esi
jb 0x100a0080
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov edi, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
and edi, ebx
lea eax, [eax + edi*8]
mov dword [esp + 0x14], eax
cmp dword [eax], esi
jne 0x100a00b6
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x100a0233
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 0x10
lea ebp, [eax + 8]
mov edi, dword [ebp + 0x10]
jb 0x100a00c8
mov ebp, dword [ebp]
cmp dword [esp + 0x1c], 0x10
lea ebx, [ecx + 8]
mov dword [esp + 0x18], ebx
jb 0x100a00dd
mov ebx, dword [ecx + 8]
mov dword [esp + 0x18], ebx
cmp dword [esp + 0x2c], edi
jne 0x100a0178
mov edi, dword [esp + 0x2c]
sub edi, 4
mov dword [esp + 0x10], edi
jb 0x100a0112
mov edi, dword [ebx]
cmp edi, dword [ebp]
mov edi, dword [esp + 0x10]
jne 0x100a0117
add ebx, 4
add ebp, 4
sub edi, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], edi
jae 0x100a00f4
cmp edi, 0xfffffffc
je 0x100a014d
mov bl, byte [ebx]
cmp bl, byte [ebp]
jne 0x100a0178
cmp edi, 0xfffffffd
je 0x100a014d
mov edi, dword [esp + 0x18]
mov bl, byte [edi + 1]
cmp bl, byte [ebp + 1]
jne 0x100a0178
cmp dword [esp + 0x10], 0xfffffffe
je 0x100a014d
mov bl, byte [edi + 2]
cmp bl, byte [ebp + 2]
jne 0x100a0178
cmp dword [esp + 0x10], 0xffffffff
je 0x100a014d
mov bl, byte [edi + 3]
cmp bl, byte [ebp + 3]
jne 0x100a0178
mov eax, dword [eax]
cmp eax, ecx
je 0x100a016c
mov ebp, dword [ecx + 4]
mov dword [ebp], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov dword [edx + 4], ebp
mov dword [ecx + 4], edi
mov eax, dword [esp + 0x14]
mov dword [eax + 4], ecx
jmp 0x100a0233
mov edi, dword [esp + 0x14]
cmp dword [edi], eax
je 0x100a0214
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 0x10
lea edi, [eax + 8]
mov ebx, dword [edi + 0x10]
jb 0x100a0195
mov edi, dword [edi]
cmp dword [esp + 0x1c], 0x10
lea ebp, [ecx + 8]
jb 0x100a01a2
mov ebp, dword [ecx + 8]
cmp dword [esp + 0x2c], ebx
jne 0x100a0208
mov ebx, dword [esp + 0x2c]
sub ebx, 4
mov dword [esp + 0x10], ebx
jb 0x100a01cf
mov ebx, dword [ebp]
cmp ebx, dword [edi]
jne 0x100a01d4
mov ebx, dword [esp + 0x10]
add ebp, 4
add edi, 4
sub ebx, 4
mov dword [esp + 0x10], ebx
jae 0x100a01b5
cmp ebx, 0xfffffffc
je 0x100a0247
mov bl, byte [ebp]
cmp bl, byte [edi]
jne 0x100a0208
cmp dword [esp + 0x10], 0xfffffffd
je 0x100a0247
mov bl, byte [ebp + 1]
cmp bl, byte [edi + 1]
jne 0x100a0208
cmp dword [esp + 0x10], 0xfffffffe
je 0x100a0247
mov bl, byte [ebp + 2]
cmp bl, byte [edi + 2]
jne 0x100a0208
cmp dword [esp + 0x10], 0xffffffff
je 0x100a0247
mov bl, byte [ebp + 3]
cmp bl, byte [edi + 3]
je 0x100a0247
mov ebx, dword [esp + 0x14]
cmp dword [ebx], eax
jne 0x100a0184
mov ebp, dword [ecx + 4]
mov dword [ebp], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x14]
mov dword [edx + 4], ebp
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ecx, edx
cmp edx, esi
jne 0x100a0053
pop ebp
pop esi
pop edi
pop ebx
add esp, 0x18
ret 4
mov ebx, dword [ecx + 4]
mov ebp, dword [eax]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], ebp
mov eax, dword [ebp + 4]
mov dword [eax], ecx
mov dword [ebp + 4], edi
mov dword [edx + 4], ebx
mov dword [ecx + 4], eax
jmp 0x100a0233
push str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3