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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
mov esi, 1
mov dword [ebp - 0x20], ebx
mov eax, esi
shl eax, cl
push edi
cmp edx, eax
ja 0x4120a8
lea eax, [edx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [ebx + 4]
push eax
mov dword [ebp - 4], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
lea eax, [esi + esi]
push eax
call fcn.004031b0
lea eax, [esi - 1]
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x18], eax
mov edi, dword [ebx + 4]
mov eax, dword [ebp - 4]
mov edi, dword [edi]
mov ecx, edi
cmp edi, eax
je 0x412080
cmp dword [edi + 0x1c], 8
lea edx, [edi + 8]
mov ecx, dword [ecx]
mov esi, dword [edx + 0x10]
mov dword [ebp + 8], ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 8], edx
jb 0x411f31
mov ebx, dword [edx]
mov dword [ebp - 8], ebx
add esi, esi
mov ebx, 0x811c9dc5
mov dword [ebp - 0xc], esi
xor esi, esi
cmp dword [ebp - 0xc], esi
jbe 0x411f62
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
movzx edx, byte [esi + eax]
inc esi
xor edx, ebx
imul ebx, edx, 0x1000193
cmp esi, ecx
jb 0x411f48
mov ecx, dword [ebp + 8]
lea edx, [edi + 8]
mov eax, dword [ebp - 4]
mov edx, dword [edx + 0x18]
mov esi, edx
mov dword [ebp - 0x14], edx
xor esi, ebx
mov edx, dword [ebp - 0x20]
and esi, dword [edx + 0x18]
mov edx, dword [edx + 0xc]
mov ebx, dword [edx + esi*8]
lea edx, [edx + esi*8]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ebx
cmp ebx, eax
jne 0x411f8f
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x412076
mov esi, dword [edx + 4]
cmp dword [esi + 0x1c], 8
lea ebx, [esi + 8]
mov dword [ebp - 0xc], ebx
jb 0x411fa3
mov eax, dword [ebx]
mov dword [ebp - 0xc], eax
cmp dword [edi + 0x1c], 8
lea eax, [edi + 8]
mov dword [ebp - 8], eax
jb 0x411fb4
mov edx, dword [eax]
mov dword [ebp - 8], edx
mov edx, dword [eax + 0x10]
cmp edx, dword [ebx + 0x10]
jne 0x412006
mov ecx, dword [ebp - 8]
push edx
mov edx, dword [ebp - 0xc]
call fcn.0040aff0
add esp, 4
test eax, eax
jne 0x412000
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebx + 0x18]
jne 0x412000
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
cmp eax, edi
je 0x411ff8
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 - 0x1c]
mov dword [eax + 4], edi
jmp 0x412073
mov ecx, dword [ebp + 8]
lea eax, [edi + 8]
cmp dword [ebp - 0x18], esi
je 0x412056
nop dword [eax + eax]
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
lea edx, [esi + 8]
jb 0x41201f
mov edx, dword [esi + 8]
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x412029
mov ecx, dword [eax]
mov eax, dword [ebp - 0x10]
cmp eax, dword [esi + 0x18]
lea eax, [edi + 8]
jne 0x41204e
push dword [ebp - 0x10]
call fcn.0040aff0
add esp, 4
test eax, eax
jne 0x41204b
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x20]
je 0x412089
lea eax, [edi + 8]
cmp dword [ebp - 0x18], esi
jne 0x412010
mov ecx, dword [ebp + 8]
mov ebx, dword [edi + 4]
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 - 0x1c]
mov dword [eax], edi
mov eax, dword [ebp - 4]
mov edi, ecx
cmp ecx, eax
jne 0x411f15
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [esi]
mov esi, dword [edi + 4]
mov ecx, dword [ebp + 8]
mov dword [esi], ecx
mov edx, dword [ecx + 4]
mov dword [edx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], edi
mov dword [ebx + 4], edx
mov dword [ecx + 4], esi
mov dword [edi + 4], eax
jmp 0x412073
push str.invalid_hash_bucket_count
call fcn.0046b26b
int3