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

Disassembly:
push 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 [ebp + 8]
push edi
cmp ecx, eax
ja 0x41b8b0
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [0x5985a4]
push eax
mov dword [ebp - 0xc], eax
lea ecx, [ecx + 1]
shl esi, cl
mov ecx, 0x5985ac
lea eax, [esi + esi]
push eax
call fcn.0041a8e0
mov edi, dword [0x5985a4]
lea eax, [esi - 1]
mov dword [0x5985b8], eax
mov dword [0x5985bc], esi
mov edi, dword [edi]
mov eax, edi
mov dword [ebp - 0x10], edi
cmp edi, dword [ebp - 0xc]
je 0x41b8a8
nop dword [eax]
mov ecx, dword [edi + 0x1c]
lea edx, [edi + 8]
mov eax, dword [eax]
cmp ecx, 8
mov esi, dword [edx + 0x10]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], edx
jb 0x41b724
mov edx, dword [edx]
mov dword [ebp - 0x14], edx
add esi, esi
mov edx, 0x811c9dc5
mov dword [ebp - 0x18], esi
xor esi, esi
cmp dword [ebp - 0x18], esi
jbe 0x41b760
mov eax, dword [ebp - 0x14]
mov ecx, edx
mov edi, dword [ebp - 0x18]
nop dword [eax]
movzx edx, byte [esi + eax]
inc esi
xor edx, ecx
imul ecx, edx, 0x1000193
cmp esi, edi
jb 0x41b740
mov edi, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
and edx, dword [0x5985b8]
mov dword [ebp - 4], edx
mov esi, dword [ebp - 4]
mov edx, dword [0x5985ac]
lea edx, [edx + esi*8]
mov dword [ebp - 4], edx
cmp dword [edx], ecx
jne 0x41b786
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x41b89b
mov esi, dword [edx + 4]
cmp dword [esi + 0x1c], 8
lea ecx, [esi + 8]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], edx
jb 0x41b7a0
mov ecx, dword [ecx]
mov dword [ebp - 0x18], ecx
cmp dword [edi + 0x1c], 8
lea ecx, [edi + 8]
mov dword [ebp - 0x14], ecx
jb 0x41b7b1
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov edx, dword [ecx + 0x10]
cmp edx, dword [ebp - 0x10]
jne 0x41b804
mov ecx, dword [ebp - 0x14]
push edx
mov edx, dword [ebp - 0x18]
call fcn.0041ce50
add esp, 4
test eax, eax
mov eax, dword [ebp - 8]
jne 0x41b801
mov ecx, dword [esi]
mov dword [ebp - 0x10], ecx
cmp ecx, edi
je 0x41b7f6
mov esi, dword [edi + 4]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov dword [edx], ecx
mov ecx, dword [ecx + 4]
mov dword [ecx], edi
mov dword [eax + 4], edx
mov eax, dword [ebp - 8]
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov edx, dword [ebp - 4]
mov dword [edx + 4], edi
jmp 0x41b898
lea ecx, [edi + 8]
mov edx, dword [ebp - 4]
cmp dword [edx], esi
je 0x41b875
nop dword [eax + eax]
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
lea edx, [esi + 8]
mov eax, dword [edx + 0x10]
jb 0x41b821
mov edx, dword [edx]
cmp dword [ebp - 0x1c], 8
jb 0x41b82a
mov ecx, dword [edi + 8]
cmp dword [ebp - 0x20], eax
jne 0x41b83e
push dword [ebp - 0x20]
call fcn.0041ce50
add esp, 4
test eax, eax
je 0x41b84a
mov eax, dword [ebp - 4]
cmp dword [eax], esi
je 0x41b872
lea ecx, [edi + 8]
jmp 0x41b810
mov ecx, dword [esi]
mov esi, dword [edi + 4]
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
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 - 8]
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
jmp 0x41b898
mov eax, dword [ebp - 8]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x1c], 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 - 0x1c]
mov dword [eax + 4], edx
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 4]
mov dword [ecx], edi
mov ecx, dword [ebp - 0xc]
mov edi, eax
mov dword [ebp - 0x10], edi
cmp eax, ecx
jne 0x41b700
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
push str.invalid_hash_bucket_count
call fcn.004b8f1e
int3