Function at 0x1000aa20
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 0x1000ad8b
lea eax, [ecx - 1]
mov esi, dword [0x1002c934]
or eax, edi
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x1002c93c
lea eax, [edi + edi]
push eax
call fcn.1000a0c0
mov ecx, dword [0x1002c934]
lea eax, [edi - 1]
mov dword [0x1002c948], eax
mov dword [0x1002c94c], edi
mov ecx, dword [ecx]
mov edx, ecx
mov dword [ebp - 0x28], ecx
cmp ecx, esi
je 0x1000ad55
nop
mov esi, dword [ecx + 0x1c]
lea eax, [ecx + 8]
mov edx, dword [edx]
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x24], esi
cmp esi, 0xf
jbe 0x1000aabe
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x24]
mov eax, 0x811c9dc5
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], edi
test edi, edi
je 0x1000ab0e
mov esi, dword [ebp - 0x1c]
mov edx, eax
mov ecx, dword [ebp - 0x10]
movzx eax, byte [ecx + esi]
inc esi
xor eax, edx
imul edx, eax, 0x1000193
cmp esi, edi
jb 0x1000aae2
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x1c]
mov edi, dword [ecx + 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x20], edi
and eax, dword [0x1002c948]
mov dword [ebp - 4], eax
mov esi, dword [ebp - 4]
mov eax, dword [0x1002c93c]
lea eax, [eax + esi*8]
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
cmp dword [eax], esi
jne 0x1000ab36
mov dword [eax], ecx
mov dword [eax + 4], ecx
jmp 0x1000ad48
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 0xf
lea esi, [eax + 8]
mov dword [ebp - 8], esi
jbe 0x1000ab4a
mov esi, dword [esi]
mov dword [ebp - 8], esi
cmp dword [ebp - 0x24], 0xf
lea esi, [ecx + 8]
mov dword [ebp - 4], esi
mov esi, dword [ebp - 0xc]
mov dword [ebp - 0x10], edi
jbe 0x1000ab71
mov esi, dword [ecx + 8]
mov dword [ebp - 4], esi
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0xc]
cmp edi, dword [eax + 0x18]
jne 0x1000ac4b
sub edi, 4
mov dword [ebp - 0x20], edi
jb 0x1000aba4
mov esi, dword [ebp - 4]
mov edi, dword [esi]
mov esi, dword [ebp - 8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0xc]
mov edi, dword [ebp - 0x20]
jne 0x1000aba9
add dword [ebp - 4], 4
add dword [ebp - 8], 4
sub edi, 4
mov dword [ebp - 0x20], edi
jae 0x1000ab82
cmp edi, 0xfffffffc
je 0x1000ac0a
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov dl, byte [edx]
cmp dl, byte [esi]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0xc]
jne 0x1000ac03
cmp edi, 0xfffffffd
je 0x1000ac0a
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov dl, byte [edx + 1]
cmp dl, byte [esi + 1]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0xc]
jne 0x1000ac03
cmp edi, 0xfffffffe
je 0x1000ac0a
mov edx, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov dl, byte [edx + 2]
cmp dl, byte [esi + 2]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp - 0xc]
jne 0x1000ac03
cmp edi, 0xffffffff
je 0x1000ac0a
mov edx, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov dl, byte [edx + 3]
cmp dl, byte [edi + 3]
mov edx, dword [ebp - 0x18]
je 0x1000ac0a
sbb edi, edi
or edi, 1
jmp 0x1000ac0c
xor edi, edi
test edi, edi
jne 0x1000ac4b
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
cmp eax, ecx
je 0x1000ac40
mov eax, dword [ecx + 4]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov edi, dword [edx + 4]
mov eax, dword [ebp - 0x14]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0xc]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax + 4], ecx
jmp 0x1000ad48
mov edi, dword [ebp - 0x1c]
cmp dword [edi], eax
je 0x1000ad1c
mov eax, dword [eax + 4]
cmp dword [eax + 0x1c], 0xf
lea edi, [eax + 8]
mov esi, dword [edi + 0x10]
mov dword [ebp - 0x14], esi
jbe 0x1000ac6a
mov edi, dword [edi]
cmp dword [ebp - 0x24], 0xf
lea esi, [ecx + 8]
mov dword [ebp - 8], esi
jbe 0x1000ac7c
mov esi, dword [ecx + 8]
mov dword [ebp - 8], esi
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x28]
jne 0x1000ad11
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
sub dword [ebp - 4], 4
mov ecx, dword [ebp - 0x28]
jb 0x1000acb6
nop word [eax + eax]
mov esi, dword [ebp - 8]
mov esi, dword [esi]
cmp esi, dword [edi]
jne 0x1000acbc
add dword [ebp - 8], 4
add edi, 4
sub dword [ebp - 4], 4
jae 0x1000aca0
cmp dword [ebp - 4], 0xfffffffc
je 0x1000ad0b
mov edx, dword [ebp - 8]
mov dl, byte [edx]
cmp dl, byte [edi]
mov edx, dword [ebp - 0x18]
jne 0x1000ad04
cmp dword [ebp - 4], 0xfffffffd
je 0x1000ad0b
mov edx, dword [ebp - 8]
mov dl, byte [edx + 1]
cmp dl, byte [edi + 1]
mov edx, dword [ebp - 0x18]
jne 0x1000ad04
cmp dword [ebp - 4], 0xfffffffe
je 0x1000ad0b
mov edx, dword [ebp - 8]
mov dl, byte [edx + 2]
cmp dl, byte [edi + 2]
mov edx, dword [ebp - 0x18]
jne 0x1000ad04
cmp dword [ebp - 4], 0xffffffff
je 0x1000ad0b
mov edx, dword [ebp - 8]
mov dl, byte [edx + 3]
cmp dl, byte [edi + 3]
mov edx, dword [ebp - 0x18]
je 0x1000ad0b
sbb edi, edi
or edi, 1
jmp 0x1000ad0d
xor edi, edi
test edi, edi
je 0x1000ad60
mov edi, dword [ebp - 0x1c]
cmp dword [edi], eax
jne 0x1000ac56
mov esi, dword [ecx + 4]
mov dword [ebp - 0x10], esi
mov dword [esi], edx
mov edi, dword [edx + 4]
mov dword [ebp - 0x14], edi
mov esi, dword [ebp - 0x14]
mov dword [edi], eax
mov edi, dword [eax + 4]
mov dword [edi], ecx
mov dword [eax + 4], esi
mov eax, dword [ebp - 0x10]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ecx + 4], edi
mov dword [eax], ecx
mov esi, dword [ebp - 0xc]
mov ecx, edx
mov dword [ebp - 0x28], ecx
cmp edx, esi
jne 0x1000aaa0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 4]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov dword [eax], edx
mov edi, dword [edx + 4]
mov eax, dword [ebp - 0x14]
mov dword [edi], eax
mov eax, dword [eax + 4]
mov dword [eax], ecx
mov dword [esi + 4], edi
mov edi, dword [ebp - 0x10]
mov dword [edx + 4], edi
mov dword [ecx + 4], eax
jmp 0x1000ad45
push str.invalid_hash_bucket_count
call fcn.1000da68
int3