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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10059b2d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x10072f40]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov eax, 0x1fffffff
mov esi, 1
bsr ecx, eax
mov eax, esi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x10031929
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [ebx + 4]
push eax
mov dword [ebp - 0x10], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.10030cc0
lea eax, [esi - 1]
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], 0
mov edi, dword [ebx + 4]
mov eax, dword [ebp - 0x10]
mov edi, dword [edi]
mov ecx, edi
cmp edi, eax
je 0x100318e8
nop
cmp dword [edi + 0x1c], 8
lea edx, [edi + 8]
mov ecx, dword [ecx]
mov dword [ebp + 8], ecx
mov dword [ebp - 0x14], edx
jb 0x10031806
mov esi, dword [edx]
mov dword [ebp - 0x14], esi
mov edx, dword [edx + 0x10]
mov ebx, 0x811c9dc5
add edx, edx
mov dword [ebp - 0x18], edx
mov edx, 0
je 0x10031837
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
movzx esi, byte [edx + ecx]
inc edx
xor esi, ebx
imul ebx, esi, 0x1000193
cmp edx, eax
jb 0x10031820
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
and ebx, dword [edx + 0x18]
mov edx, dword [edx + 0xc]
lea edx, [edx + ebx*8]
mov dword [ebp - 0x14], edx
cmp dword [edx], eax
jne 0x10031854
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x100318de
mov esi, dword [edx + 4]
lea ebx, [edi + 8]
lea eax, [esi + 8]
push eax
push ebx
call fcn.10008a80
add esp, 8
test al, al
je 0x10031894
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
cmp eax, edi
je 0x1003188c
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 - 0x14]
mov dword [eax + 4], edi
jmp 0x100318db
mov eax, dword [ebp - 0x14]
cmp dword [eax], esi
je 0x100318bb
nop dword [eax + eax]
mov esi, dword [esi + 4]
lea eax, [esi + 8]
push eax
push ebx
call fcn.10008a80
add esp, 8
test al, al
jne 0x1003190a
mov eax, dword [ebp - 0x14]
cmp dword [eax], esi
jne 0x100318a0
mov ebx, dword [edi + 4]
mov ecx, dword [ebp + 8]
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 - 0x14]
mov dword [eax], edi
mov eax, dword [ebp - 0x10]
mov edi, ecx
cmp ecx, eax
jne 0x100317f0
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [edi + 4]
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
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
jmp 0x100318db
push str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
int3