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

Disassembly:
sub esp, 0x20
mov edx, dword [esp + 0x24]
mov eax, 0x1fffffff
push ebp
mov ebp, ecx
bsr ecx, eax
push esi
mov esi, 1
mov dword [esp + 0x20], ebp
mov eax, esi
shl eax, cl
cmp edx, eax
ja 0x48b35f
lea eax, [edx - 1]
or eax, esi
bsr ecx, eax
push ebx
mov ebx, dword [ebp + 4]
push ebx
mov dword [esp + 0x24], ebx
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebp + 0xc]
lea eax, [esi + esi]
push eax
call fcn.00417480
lea eax, [esi - 1]
mov dword [ebp + 0x1c], esi
mov dword [ebp + 0x18], eax
mov eax, dword [ebp + 4]
mov eax, dword [eax]
cmp eax, ebx
je 0x48b336
push edi
mov edi, eax
mov edx, dword [edi + 0x1c]
lea ebx, [edi + 8]
mov eax, dword [eax]
mov ebp, ebx
mov ecx, dword [ebx + 0x10]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x34], edx
cmp edx, 7
jbe 0x48b1d3
mov ebp, dword [ebx]
lea edx, [ecx + ecx]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov esi, 0x811c9dc5
mov dword [esp + 0x14], edx
xor edx, edx
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x14], edx
jbe 0x48b220
mov ebx, dword [esp + 0x14]
movzx ecx, byte [edx + ebp]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, ebx
jb 0x48b1f7
mov ebx, dword [esp + 0x20]
mov ecx, dword [ebx + 0x14]
mov ebp, dword [ebx + 0x10]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ecx
jmp 0x48b223
mov ebp, dword [ebx + 0x10]
mov ecx, dword [esp + 0x28]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0xc]
and edx, esi
lea ecx, [ecx + edx*8]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x14], ecx
cmp dword [ecx], edx
jne 0x48b248
mov dword [ecx], edi
mov dword [ecx + 4], edi
jmp 0x48b329
mov esi, dword [ecx + 4]
cmp dword [esi + 0x1c], 7
lea edx, [esi + 8]
mov ecx, dword [edx + 0x10]
mov dword [esp + 0x2c], ecx
jbe 0x48b25d
mov edx, dword [edx]
cmp dword [esp + 0x34], 7
mov dword [esp + 0x20], ebx
jbe 0x48b27a
mov ecx, dword [ebx]
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx + 0x10]
cmp ecx, dword [esp + 0x2c]
jne 0x48b2c0
push ecx
push edx
push dword [esp + 0x28]
call fcn.0041af50
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x48b2c0
mov ebx, dword [esi]
cmp ebx, edi
je 0x48b2b7
mov esi, dword [edi + 4]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x14]
mov dword [ecx + 4], edi
jmp 0x48b329
mov ecx, dword [esp + 0x14]
cmp dword [ecx], esi
je 0x48b30b
jmp 0x48b2d0
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 7
lea eax, [esi + 8]
mov edx, dword [eax + 0x10]
jbe 0x48b2e1
mov eax, dword [eax]
cmp dword [esp + 0x34], 7
mov ecx, ebx
jbe 0x48b2ec
mov ecx, dword [ebx]
cmp ebp, edx
jne 0x48b2ff
push ebp
push eax
push ecx
call fcn.0041af50
add esp, 0xc
test eax, eax
je 0x48b33f
mov eax, dword [esp + 0x14]
cmp dword [eax], esi
jne 0x48b2d0
mov eax, dword [esp + 0x10]
mov ebx, dword [edi + 4]
mov dword [ebx], 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 dword [eax + 4], ebx
mov dword [edi + 4], ecx
mov ecx, dword [esp + 0x14]
mov dword [ecx], edi
mov edi, eax
cmp eax, dword [esp + 0x24]
jne 0x48b1b3
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x20
ret 4
mov ebx, dword [esi]
mov esi, dword [edi + 4]
mov eax, dword [esp + 0x10]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], edi
mov dword [ebx + 4], edx
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
jmp 0x48b329
push str.invalid_hash_bucket_count
call fcn.0048f815
int3