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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x28
bsr ecx, eax
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebx + 8]
cmp ecx, eax
ja 0x100cedc6
lea eax, [ecx - 1]
mov esi, dword [0x1024f274]
or eax, edi
mov dword [ebp - 0x10], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x1024f27c
lea eax, [edi + edi]
push eax
call fcn.1007a9e0
mov ecx, dword [0x1024f274]
lea eax, [edi - 1]
mov dword [0x1024f288], eax
mov dword [0x1024f28c], edi
mov ecx, dword [ecx]
mov edx, ecx
mov dword [ebp - 0x24], ecx
cmp ecx, esi
je 0x100ced90
nop
mov edi, dword [ecx + 0x18]
lea eax, [ecx + 8]
mov edx, dword [edx]
mov dword [ebp - 0x20], edi
mov edi, dword [eax + 0x14]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], edi
cmp edi, 0x10
jb 0x100ceb21
mov eax, dword [eax]
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x10]
xor edi, edi
mov eax, 0x811c9dc5
cmp dword [ebp - 0x20], edi
jbe 0x100ceb58
mov edx, dword [ebp - 0x18]
mov esi, eax
mov ecx, dword [ebp - 0x20]
movzx eax, byte [edi + edx]
inc edi
xor eax, esi
imul esi, eax, 0x1000193
cmp edi, ecx
jb 0x100ceb38
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 4], esi
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
and eax, dword [0x1024f288]
mov dword [ebp - 4], eax
mov eax, dword [0x1024f27c]
mov edi, dword [ebp - 4]
lea eax, [eax + edi*8]
mov dword [ebp - 0x18], eax
cmp dword [eax], esi
jne 0x100ceb7d
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x100ced80
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 0x10
lea edi, [eax + 8]
mov esi, dword [edi + 0x10]
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0x10]
mov dword [ebp - 0xc], edi
jb 0x100ceb9a
mov edi, dword [edi]
mov dword [ebp - 0xc], edi
cmp dword [ebp - 0x1c], 0x10
lea edi, [ecx + 8]
mov dword [ebp - 4], edi
jb 0x100cebac
mov edi, dword [ecx + 8]
mov dword [ebp - 4], edi
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 8]
mov ecx, dword [ebp - 0x24]
jne 0x100cec89
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 8], ecx
sub dword [ebp - 8], 4
mov ecx, dword [ebp - 0x24]
jae 0x100cec27
mov edi, dword [ebp - 8]
cmp edi, 0xfffffffc
je 0x100cec48
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
mov dl, byte [edx]
cmp dl, byte [edi]
mov edx, dword [ebp - 0x14]
jne 0x100cec1d
cmp dword [ebp - 8], 0xfffffffd
je 0x100cec48
mov edx, dword [ebp - 4]
mov dl, byte [edx + 1]
cmp dl, byte [edi + 1]
mov edx, dword [ebp - 0x14]
jne 0x100cec1d
cmp dword [ebp - 8], 0xfffffffe
je 0x100cec48
mov edx, dword [ebp - 4]
mov dl, byte [edx + 2]
cmp dl, byte [edi + 2]
mov edx, dword [ebp - 0x14]
jne 0x100cec1d
cmp dword [ebp - 8], 0xffffffff
je 0x100cec48
mov edx, dword [ebp - 4]
mov dl, byte [edx + 3]
cmp dl, byte [edi + 3]
mov edx, dword [ebp - 0x14]
je 0x100cec48
sbb edi, edi
or edi, 1
jmp 0x100cec4a
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 0xc]
mov edi, dword [edi]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x10]
jne 0x100cebd2
mov edi, dword [ebp - 8]
add dword [ebp - 4], 4
add dword [ebp - 0xc], 4
sub edi, 4
mov dword [ebp - 8], edi
jae 0x100cec24
jmp 0x100cebcd
xor edi, edi
test edi, edi
jne 0x100cec89
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
cmp eax, ecx
je 0x100cec7e
mov eax, dword [ecx + 4]
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov dword [eax], edx
mov edi, dword [edx + 4]
mov eax, dword [ebp - 0xc]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x10]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [eax + 4], ecx
jmp 0x100ced80
mov edi, dword [ebp - 0x18]
cmp dword [edi], eax
je 0x100ced54
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 0x10
lea edi, [eax + 8]
mov esi, dword [edi + 0x10]
mov dword [ebp - 0xc], esi
jb 0x100ceca8
mov edi, dword [edi]
cmp dword [ebp - 0x1c], 0x10
lea esi, [ecx + 8]
mov dword [ebp - 8], esi
jb 0x100cecba
mov esi, dword [ecx + 8]
mov dword [ebp - 8], esi
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x24]
jne 0x100ced49
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 4], ecx
sub dword [ebp - 4], 4
mov ecx, dword [ebp - 0x24]
jb 0x100cecee
mov esi, dword [ebp - 8]
mov esi, dword [esi]
cmp esi, dword [edi]
jne 0x100cecf4
add dword [ebp - 8], 4
add edi, 4
sub dword [ebp - 4], 4
jae 0x100cecd8
cmp dword [ebp - 4], 0xfffffffc
je 0x100ced43
mov edx, dword [ebp - 8]
mov dl, byte [edx]
cmp dl, byte [edi]
mov edx, dword [ebp - 0x14]
jne 0x100ced3c
cmp dword [ebp - 4], 0xfffffffd
je 0x100ced43
mov edx, dword [ebp - 8]
mov dl, byte [edx + 1]
cmp dl, byte [edi + 1]
mov edx, dword [ebp - 0x14]
jne 0x100ced3c
cmp dword [ebp - 4], 0xfffffffe
je 0x100ced43
mov edx, dword [ebp - 8]
mov dl, byte [edx + 2]
cmp dl, byte [edi + 2]
mov edx, dword [ebp - 0x14]
jne 0x100ced3c
cmp dword [ebp - 4], 0xffffffff
je 0x100ced43
mov edx, dword [ebp - 8]
mov dl, byte [edx + 3]
cmp dl, byte [edi + 3]
mov edx, dword [ebp - 0x14]
je 0x100ced43
sbb edi, edi
or edi, 1
jmp 0x100ced45
xor edi, edi
test edi, edi
je 0x100ced9b
mov edi, dword [ebp - 0x18]
cmp dword [edi], eax
jne 0x100cec94
mov esi, dword [ecx + 4]
mov dword [ebp - 0xc], esi
mov dword [esi], edx
mov edi, dword [edx + 4]
mov dword [ebp - 0x1c], edi
mov esi, dword [ebp - 0x1c]
mov dword [edi], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], esi
mov eax, dword [ebp - 0xc]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov esi, dword [ebp - 0x10]
mov ecx, edx
mov dword [ebp - 0x24], ecx
cmp edx, esi
jne 0x100ceb00
nop dword [eax]
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 4]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov dword [eax], edx
mov edi, dword [edx + 4]
mov eax, dword [ebp - 0x1c]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x18]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
jmp 0x100ced7d
push str.invalid_hash_bucket_count
call fcn.1007a9e0
int3