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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
push esi
push edi
mov edi, ecx
mov esi, 1
bsr ecx, eax
mov eax, esi
mov dword [ebp - 0x18], edi
shl eax, cl
cmp edx, eax
ja 0x40bc1b
mov ebx, dword [edi + 4]
lea eax, [edx - 1]
or eax, esi
mov dword [ebp - 0x14], ebx
bsr ecx, eax
push ebx
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [edi + 0xc]
lea eax, [esi + esi]
push eax
call fcn.0040b8b0
lea eax, [esi - 1]
mov dword [edi + 0x1c], esi
mov dword [edi + 0x18], eax
mov edx, dword [edi + 4]
mov edx, dword [edx]
cmp edx, ebx
je 0x40bbf6
mov ecx, edx
mov ebx, dword [ecx + 0x18]
mov esi, dword [ecx + 0x1c]
mov edx, dword [edx]
mov dword [ebp + 8], ebx
lea ebx, [ecx + 8]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], esi
cmp esi, 0x10
jb 0x40ba1e
mov ebx, dword [ecx + 8]
xor esi, esi
mov edi, 0x811c9dc5
cmp dword [ebp + 8], esi
jbe 0x40ba44
mov edx, dword [ebp + 8]
nop dword [eax]
movzx eax, byte [esi + ebx]
inc esi
xor eax, edi
imul edi, eax, 0x1000193
cmp esi, edx
jb 0x40ba30
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0x14]
and edi, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
lea eax, [eax + edi*8]
mov dword [ebp - 8], eax
cmp dword [eax], esi
jne 0x40ba64
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x40bbeb
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 0x10
lea edi, [eax + 8]
mov esi, dword [edi + 0x10]
jb 0x40ba75
mov edi, dword [edi]
cmp dword [ebp - 0x10], 0x10
lea ebx, [ecx + 8]
mov dword [ebp - 0xc], ebx
jb 0x40ba87
mov ebx, dword [ecx + 8]
mov dword [ebp - 0xc], ebx
cmp dword [ebp + 8], esi
jne 0x40bb27
mov esi, dword [ebp + 8]
sub esi, 4
mov dword [ebp - 4], esi
jb 0x40baba
nop dword [eax + eax]
mov esi, dword [ebx]
cmp esi, dword [edi]
mov esi, dword [ebp - 4]
jne 0x40babf
add ebx, 4
add edi, 4
sub esi, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], esi
jae 0x40baa0
cmp esi, 0xfffffffc
je 0x40baf8
mov bl, byte [ebx]
cmp bl, byte [edi]
jne 0x40baf1
cmp esi, 0xfffffffd
je 0x40baf8
mov esi, dword [ebp - 0xc]
mov bl, byte [esi + 1]
cmp bl, byte [edi + 1]
jne 0x40baf1
cmp dword [ebp - 4], 0xfffffffe
je 0x40baf8
mov bl, byte [esi + 2]
cmp bl, byte [edi + 2]
jne 0x40baf1
cmp dword [ebp - 4], 0xffffffff
je 0x40baf8
mov bl, byte [esi + 3]
cmp bl, byte [edi + 3]
je 0x40baf8
sbb esi, esi
or esi, 1
jmp 0x40bafa
xor esi, esi
test esi, esi
jne 0x40bb27
mov ebx, dword [eax]
cmp ebx, ecx
je 0x40bb1c
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov esi, dword [edx + 4]
mov dword [esi], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ecx
mov dword [ebx + 4], esi
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 8]
mov dword [eax + 4], ecx
jmp 0x40bbeb
mov esi, dword [ebp - 8]
cmp dword [esi], eax
je 0x40bbce
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 0x10
lea esi, [eax + 8]
mov edi, dword [esi + 0x10]
jb 0x40bb43
mov esi, dword [esi]
cmp dword [ebp - 0x10], 0x10
lea ebx, [ecx + 8]
mov dword [ebp - 0xc], ebx
jb 0x40bb55
mov ebx, dword [ecx + 8]
mov dword [ebp - 0xc], ebx
cmp dword [ebp + 8], edi
jne 0x40bbc3
mov edi, dword [ebp + 8]
sub edi, 4
mov dword [ebp - 4], edi
jb 0x40bb7f
mov edi, dword [ebx]
cmp edi, dword [esi]
mov edi, dword [ebp - 4]
jne 0x40bb84
add ebx, 4
add esi, 4
sub edi, 4
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], edi
jae 0x40bb65
cmp edi, 0xfffffffc
je 0x40bbbd
mov bl, byte [ebx]
cmp bl, byte [esi]
jne 0x40bbb6
cmp edi, 0xfffffffd
je 0x40bbbd
mov edi, dword [ebp - 0xc]
mov bl, byte [edi + 1]
cmp bl, byte [esi + 1]
jne 0x40bbb6
cmp dword [ebp - 4], 0xfffffffe
je 0x40bbbd
mov bl, byte [edi + 2]
cmp bl, byte [esi + 2]
jne 0x40bbb6
cmp dword [ebp - 4], 0xffffffff
je 0x40bbbd
mov bl, byte [edi + 3]
cmp bl, byte [esi + 3]
je 0x40bbbd
sbb esi, esi
or esi, 1
jmp 0x40bbbf
xor esi, esi
test esi, esi
je 0x40bbff
mov ebx, dword [ebp - 8]
cmp dword [ebx], eax
jne 0x40bb32
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov esi, dword [eax + 4]
mov dword [esi], ecx
mov dword [eax + 4], edi
mov eax, dword [ebp - 8]
mov dword [edx + 4], ebx
mov dword [ecx + 4], esi
mov dword [eax], ecx
mov ecx, edx
cmp edx, dword [ebp - 0x14]
jne 0x40ba02
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edi, dword [ecx + 4]
mov ebx, dword [eax]
mov dword [edi], edx
mov esi, dword [edx + 4]
mov dword [esi], ebx
mov eax, dword [ebx + 4]
mov dword [eax], ecx
mov dword [ebx + 4], esi
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
jmp 0x40bbeb
push str.invalid_hash_bucket_count
call fcn.00410acb
int3