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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x461a2d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
mov esi, 1
mov dword [ebp - 0x20], ebx
mov eax, esi
shl eax, cl
mov ecx, dword [ebp + 8]
push edi
cmp ecx, eax
ja 0x40f6bb
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [ebx + 4]
push eax
mov dword [ebp - 0x10], eax
lea ecx, [ecx + 1]
shl esi, cl
lea ecx, [ebx + 0xc]
mov dword [ebp - 0x24], ecx
lea eax, [esi + esi]
push eax
call fcn.0040f050
lea eax, [esi - 1]
mov dword [ebx + 0x1c], esi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], 0
mov edi, dword [ebx + 4]
mov eax, dword [ebp - 0x10]
mov edi, dword [edi]
mov ecx, edi
cmp edi, eax
je 0x40f67b
cmp dword [edi + 0x1c], 0x10
lea ebx, [edi + 8]
mov ecx, dword [ecx]
mov dword [ebp + 8], ecx
mov dword [ebp - 0x18], ebx
jb 0x40f54d
mov edx, dword [ebx]
mov dword [ebp - 0x18], edx
xor esi, esi
mov edx, 0x811c9dc5
cmp dword [ebx + 0x10], esi
jbe 0x40f57e
mov ecx, dword [ebp - 0x18]
mov eax, edx
nop
movzx edx, byte [esi + ecx]
inc esi
xor edx, eax
imul eax, edx, 0x1000193
cmp esi, dword [ebx + 0x10]
jb 0x40f560
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x20]
mov esi, dword [esi + 0x18]
and esi, edx
mov edx, dword [ebp - 0x24]
mov edx, dword [edx]
lea edx, [edx + esi*8]
mov dword [ebp - 0x14], edx
cmp dword [edx], eax
jne 0x40f59f
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x40f671
mov esi, dword [edx + 4]
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
mov dword [ebp - 0x18], eax
jb 0x40f5b3
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x1c], ebx
jb 0x40f5c1
mov eax, dword [ebx]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x10]
cmp eax, dword [esi + 0x18]
jne 0x40f608
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
call fcn.00437a0d
mov ecx, dword [ebp + 8]
add esp, 0xc
test eax, eax
jne 0x40f605
mov eax, dword [esi]
cmp eax, edi
je 0x40f5fd
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 - 0x14]
mov dword [eax + 4], edi
jmp 0x40f66e
mov edx, dword [ebp - 0x14]
cmp dword [edx], esi
je 0x40f651
nop dword [eax]
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
mov dword [ebp - 0x1c], eax
jb 0x40f624
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
cmp dword [ebx + 0x14], 0x10
mov ecx, ebx
jb 0x40f62e
mov ecx, dword [ebx]
mov edx, dword [ebx + 0x10]
cmp edx, dword [eax + 0x10]
jne 0x40f647
push edx
push dword [ebp - 0x1c]
push ecx
call fcn.00437a0d
add esp, 0xc
test eax, eax
je 0x40f69c
mov eax, dword [ebp - 0x14]
cmp dword [eax], esi
jne 0x40f610
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 - 0x14]
mov dword [eax], edi
mov eax, dword [ebp - 0x10]
mov edi, ecx
cmp ecx, eax
jne 0x40f537
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [edi + 4]
mov eax, dword [esi]
mov ecx, dword [ebp + 8]
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
jmp 0x40f66e
push str.invalid_hash_bucket_count
call fcn.0041e7d1
int3