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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x20
bsr ecx, eax
push esi
mov esi, 1
mov eax, esi
shl eax, cl
mov ecx, dword [ebx + 8]
push edi
cmp ecx, eax
jbe 0x46f2ee
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
or eax, 1
bsr ecx, eax
mov eax, dword [0x921924]
push eax
mov dword [ebp - 8], eax
lea ecx, [ecx + 1]
shl esi, cl
mov ecx, 0x92192c
lea eax, [esi + esi]
push eax
call fcn.0046e0e0
mov edi, dword [0x921924]
lea eax, [esi - 1]
mov dword [0x921938], eax
mov dword [0x92193c], esi
mov edi, dword [edi]
mov eax, edi
mov dword [ebp - 0x1c], edi
cmp edi, dword [ebp - 8]
je 0x46f4d8
mov ecx, dword [edi + 0x1c]
lea edx, [edi + 8]
mov eax, dword [eax]
cmp ecx, 8
mov esi, dword [edx + 0x10]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 8]
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x10], edx
jb 0x46f35b
mov edx, dword [edx]
mov dword [ebp - 0x10], edx
add esi, esi
mov edx, 0x811c9dc5
mov dword [ebp - 0x14], esi
xor esi, esi
cmp dword [ebp - 0x14], esi
jbe 0x46f394
mov eax, dword [ebp - 0x10]
mov ecx, edx
mov edi, dword [ebp - 0x14]
movzx edx, byte [esi + eax]
inc esi
xor edx, ecx
imul ecx, edx, 0x1000193
cmp esi, edi
jb 0x46f374
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
and edx, dword [0x921938]
mov dword [ebp - 0xc], edx
mov esi, dword [ebp - 0xc]
mov edx, dword [0x92192c]
lea edx, [edx + esi*8]
mov dword [ebp - 0xc], edx
cmp dword [edx], ecx
jne 0x46f3ba
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x46f4cb
mov esi, dword [edx + 4]
cmp dword [esi + 0x1c], 8
lea ecx, [esi + 8]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x1c], edx
jb 0x46f3d4
mov ecx, dword [ecx]
mov dword [ebp - 0x14], ecx
cmp dword [edi + 0x1c], 8
lea ecx, [edi + 8]
mov dword [ebp - 0x10], ecx
jb 0x46f3e5
mov edx, dword [ecx]
mov dword [ebp - 0x10], edx
mov edx, dword [ecx + 0x10]
cmp edx, dword [ebp - 0x1c]
jne 0x46f438
mov ecx, dword [ebp - 0x10]
push edx
mov edx, dword [ebp - 0x14]
call fcn.0046ef70
add esp, 4
test eax, eax
mov eax, dword [ebp - 4]
jne 0x46f435
mov ecx, dword [esi]
mov dword [ebp - 0x1c], ecx
cmp ecx, edi
je 0x46f42a
mov esi, dword [edi + 4]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov dword [edx], ecx
mov ecx, dword [ecx + 4]
mov dword [ecx], edi
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov edx, dword [ebp - 0xc]
mov dword [edx + 4], edi
jmp 0x46f4c8
lea ecx, [edi + 8]
mov edx, dword [ebp - 0xc]
cmp dword [edx], esi
je 0x46f4a5
nop
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
lea edx, [esi + 8]
mov eax, dword [edx + 0x10]
jb 0x46f451
mov edx, dword [edx]
cmp dword [ebp - 0x20], 8
jb 0x46f45a
mov ecx, dword [edi + 8]
cmp dword [ebp - 0x18], eax
jne 0x46f46e
push dword [ebp - 0x18]
call fcn.0046ef70
add esp, 4
test eax, eax
je 0x46f47a
mov eax, dword [ebp - 0xc]
cmp dword [eax], esi
je 0x46f4a2
lea ecx, [edi + 8]
jmp 0x46f440
mov ecx, dword [esi]
mov esi, dword [edi + 4]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], ecx
mov dword [esi], eax
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x20]
mov dword [edx], ecx
mov ecx, dword [ecx + 4]
mov dword [ecx], edi
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
jmp 0x46f4c8
mov eax, dword [ebp - 4]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x20], ecx
mov dword [ecx], eax
mov edx, dword [eax + 4]
mov dword [edx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov dword [esi + 4], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 4], edx
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ecx], edi
mov ecx, dword [ebp - 8]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp eax, ecx
jne 0x46f337
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4