Function at 0x4beff0
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
ja 0x4bf217
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [0x74cf64]
push eax
mov dword [ebp - 4], eax
lea ecx, [ecx + 1]
shl esi, cl
mov ecx, 0x74cf6c
lea eax, [esi + esi]
push eax
call fcn.004299f0
lea eax, [esi - 1]
mov dword [0x74cf7c], esi
mov esi, dword [0x74cf64]
mov dword [0x74cf78], eax
mov esi, dword [esi]
mov edi, esi
mov dword [ebp - 0x18], esi
cmp esi, dword [ebp - 4]
je 0x4bf1e4
nop
mov edx, dword [esi + 0x18]
lea ecx, [esi + 8]
mov edi, dword [edi]
mov dword [ebp - 0xc], edx
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], edx
cmp edx, 0xf
jbe 0x4bf091
mov ecx, dword [ecx]
mov dword [ebp - 0x10], ecx
xor edx, edx
mov ecx, 0x811c9dc5
cmp dword [ebp - 0xc], edx
jbe 0x4bf0d2
mov edi, dword [ebp - 0x10]
mov eax, ecx
mov esi, dword [ebp - 0xc]
movzx ecx, byte [edi + edx]
inc edx
xor ecx, eax
imul eax, ecx, 0x1000193
cmp edx, esi
jb 0x4bf0a5
mov esi, dword [ebp - 0x18]
mov ecx, dword [esi + 0x18]
lea edx, [esi + 8]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0xc], ecx
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x14], ecx
mov ecx, eax
mov dword [ebp - 8], eax
jmp 0x4bf0d5
lea edx, [esi + 8]
and ecx, dword [0x74cf78]
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [0x74cf6c]
lea ecx, [ecx + eax*8]
mov eax, dword [ecx]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
cmp dword [ecx], eax
jne 0x4bf103
mov dword [ecx], esi
mov dword [ecx + 4], esi
jmp 0x4bf1d7
mov eax, dword [ecx + 4]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 8], eax
add eax, 8
mov dword [ebp - 0x1c], ecx
cmp dword [eax + 0x14], 0xf
jbe 0x4bf11a
mov eax, dword [eax]
cmp dword [edx + 0x14], 0xf
mov ecx, edx
jbe 0x4bf124
mov ecx, dword [edx]
push dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
push eax
call fcn.004108e0
add esp, 8
test al, al
mov eax, dword [ebp - 8]
je 0x4bf16c
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
cmp eax, esi
je 0x4bf164
mov edx, dword [esi + 4]
mov dword [ebp - 0x14], edx
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [eax + 4]
mov dword [eax], esi
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x14]
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], esi
jmp 0x4bf1d4
cmp dword [ebp - 0x10], eax
je 0x4bf1b1
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
add eax, 8
cmp dword [eax + 0x14], 0xf
mov edx, dword [eax + 0x10]
jbe 0x4bf185
mov eax, dword [eax]
cmp dword [ebp - 0x14], 0xf
lea ecx, [esi + 8]
mov dword [ebp - 0x1c], ecx
jbe 0x4bf195
mov ecx, dword [ecx]
jmp 0x4bf198
mov ecx, dword [ebp - 0x1c]
push edx
mov edx, dword [ebp - 0xc]
push eax
call fcn.004108e0
add esp, 8
test al, al
mov eax, dword [ebp - 8]
jne 0x4bf1ef
cmp dword [ebp - 0x10], eax
jne 0x4bf171
mov ecx, dword [esi + 4]
mov dword [ebp - 0x1c], ecx
mov dword [ecx], edi
mov edx, dword [edi + 4]
mov dword [edx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x1c]
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], ecx
mov dword [eax], esi
mov eax, dword [ebp - 4]
mov esi, edi
mov dword [ebp - 0x18], esi
cmp edi, eax
jne 0x4bf070
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov edx, dword [esi + 4]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], edx
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov eax, dword [eax + 4]
mov dword [eax], esi
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x18]
mov dword [edi + 4], edx
mov dword [esi + 4], eax
jmp 0x4bf1d4
push str.invalid_hash_bucket_count
call fcn.005acb94
int3