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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45fd0d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4845c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x28], ebx
mov eax, 0x1fffffff
mov edi, 1
bsr ecx, eax
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x40e5ec
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.0040deb0
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 4]
mov ecx, dword [ecx]
mov edx, ecx
cmp ecx, esi
je 0x40e5a8
nop dword [eax + eax]
mov eax, dword [ecx + 0x1c]
lea edi, [ecx + 8]
mov edx, dword [edx]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x24], eax
cmp eax, 0x10
jb 0x40e38b
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x10]
mov ebx, 0x811c9dc5
xor edi, edi
mov dword [ebp - 0x18], eax
test eax, eax
je 0x40e3b8
mov esi, dword [ebp - 0x20]
mov edx, eax
movzx eax, byte [edi + esi]
inc edi
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edi, edx
jb 0x40e3a1
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
and ebx, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
lea eax, [eax + ebx*8]
mov dword [ebp - 0x1c], eax
cmp dword [eax], esi
jne 0x40e3d5
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x40e59e
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 0x10
lea ebx, [eax + 8]
mov dword [ebp - 0x10], ebx
jb 0x40e3e9
mov edi, dword [ebx]
mov dword [ebp - 0x10], edi
cmp dword [ebp - 0x24], 0x10
lea ebx, [ecx + 8]
mov dword [ebp - 0x20], ebx
jb 0x40e3fb
mov ebx, dword [ecx + 8]
mov dword [ebp - 0x20], ebx
mov esi, dword [ebp - 0x18]
cmp esi, dword [eax + 0x18]
mov esi, dword [ebp + 8]
jne 0x40e4b8
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x14], edi
sub dword [ebp - 0x14], 4
mov edi, dword [ebp - 0x10]
jb 0x40e441
nop dword [eax]
mov esi, dword [ebp - 0x10]
mov edi, dword [ebx]
cmp edi, dword [esi]
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x10]
jne 0x40e447
add ebx, 4
add edi, 4
sub dword [ebp - 0x14], 4
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], edi
jae 0x40e420
cmp dword [ebp - 0x14], 0xfffffffc
je 0x40e489
mov bl, byte [ebx]
cmp bl, byte [edi]
jne 0x40e4b8
cmp dword [ebp - 0x14], 0xfffffffd
je 0x40e489
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x10]
mov bl, byte [edi + 1]
cmp bl, byte [esi + 1]
mov esi, dword [ebp + 8]
jne 0x40e4b8
cmp dword [ebp - 0x14], 0xfffffffe
je 0x40e489
mov esi, dword [ebp - 0x10]
mov bl, byte [edi + 2]
cmp bl, byte [esi + 2]
mov esi, dword [ebp + 8]
jne 0x40e4b8
cmp dword [ebp - 0x14], 0xffffffff
je 0x40e489
mov bl, byte [edi + 3]
mov edi, dword [ebp - 0x10]
cmp bl, byte [edi + 3]
jne 0x40e4b8
mov eax, dword [eax]
cmp eax, ecx
je 0x40e4ad
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x24], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x24]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
jmp 0x40e59e
mov edi, dword [ebp - 0x1c]
cmp dword [edi], eax
je 0x40e57b
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 0x10
lea ebx, [eax + 8]
mov dword [ebp - 0x14], ebx
jb 0x40e4da
mov ebx, dword [ebx]
mov dword [ebp - 0x14], ebx
lea ebx, [eax + 8]
cmp dword [ebp - 0x24], 0x10
lea edi, [ecx + 8]
jb 0x40e4e6
mov edi, dword [ecx + 8]
mov esi, dword [ebp - 0x18]
cmp esi, dword [ebx + 0x10]
mov esi, dword [ebp + 8]
jne 0x40e570
mov ebx, dword [ebp - 0x18]
sub ebx, 4
mov dword [ebp - 0x10], ebx
jb 0x40e51e
nop dword [eax]
mov esi, dword [ebp - 0x14]
mov ebx, dword [edi]
cmp ebx, dword [esi]
mov esi, dword [ebp + 8]
jne 0x40e527
mov ebx, dword [ebp - 0x10]
add edi, 4
add dword [ebp - 0x14], 4
sub ebx, 4
mov dword [ebp - 0x10], ebx
jae 0x40e500
cmp ebx, 0xfffffffc
je 0x40e5ca
mov esi, dword [ebp - 0x14]
mov bl, byte [edi]
cmp bl, byte [esi]
mov esi, dword [ebp + 8]
jne 0x40e570
cmp dword [ebp - 0x10], 0xfffffffd
je 0x40e5ca
mov esi, dword [ebp - 0x14]
mov bl, byte [edi + 1]
cmp bl, byte [esi + 1]
mov esi, dword [ebp + 8]
jne 0x40e570
cmp dword [ebp - 0x10], 0xfffffffe
je 0x40e5ca
mov esi, dword [ebp - 0x14]
mov bl, byte [edi + 2]
cmp bl, byte [esi + 2]
mov esi, dword [ebp + 8]
jne 0x40e570
cmp dword [ebp - 0x10], 0xffffffff
je 0x40e5ca
mov bl, byte [edi + 3]
mov edi, dword [ebp - 0x14]
cmp bl, byte [edi + 3]
je 0x40e5ca
mov ebx, dword [ebp - 0x1c]
cmp dword [ebx], eax
jne 0x40e4c3
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x24], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x24]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov ecx, edx
cmp edx, esi
jne 0x40e370
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ebp - 0x24], ebx
mov dword [ebx], edx
mov ebx, dword [edx + 4]
mov dword [ebx], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], ebx
mov eax, dword [ebp - 0x24]
mov dword [edx + 4], eax
mov dword [ecx + 4], edi
jmp 0x40e59e
push str.invalid_hash_bucket_count
call fcn.0041ce7f
int3