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

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140093020]
xor rax, rsp
mov qword [rsp + 0x48], rax
movabs rax, 0x1fffffffffffffff
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x20], rax
mov rdi, rdx
mov rsi, rcx
call fcn.1400011a0
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x28]
call fcn.140002a20
mov ebx, 1
mov rdx, qword [rax]
mov eax, ebx
or rdx, 2
shr rdx, 1
bsr rcx, rdx
shl rax, cl
cmp rdi, rax
ja 0x140016b16
lea rax, [rdi - 1]
mov qword [rsp + 0x50], r15
or rax, rbx
xor edx, edx
bsr rcx, rax
mov rax, qword [rsi + 8]
inc ecx
mov qword [rsp + 0x40], rax
shl rbx, cl
lea rcx, [rsp + 0x40]
call fcn.140001650
mov r8, qword [rsp + 0x40]
lea r15, [rsi + 0x18]
mov rcx, r15
lea rdx, [rbx + rbx]
call fcn.140011070
mov qword [rsi + 0x38], rbx
lea rax, [rbx - 1]
mov qword [rsi + 0x30], rax
xor edx, edx
mov rax, qword [rsi + 8]
mov rcx, qword [rax]
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x38]
call fcn.140001650
mov rax, qword [rsp + 0x38]
mov rdi, rax
cmp rax, qword [rsp + 0x40]
je 0x140016ace
mov qword [rsp + 0xa0], rbp
movabs rbp, 0x100000001b3
mov qword [rsp + 0x68], r12
movabs r12, 0xcbf29ce484222325
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x58], r14
nop dword [rax]
mov rdi, qword [rdi]
lea r14, [rax + 0x10]
mov rcx, r14
call fcn.140002bf0
mov rcx, r14
mov rbx, rax
call fcn.140002c00
xor r8d, r8d
mov rcx, r12
add rbx, rbx
je 0x140016984
nop word [rax + rax]
movzx edx, byte [rax + r8]
inc r8
xor rcx, rdx
imul rcx, rbp
cmp r8, rbx
jb 0x140016970
movsxd rdx, dword [r14 + 0x20]
mov r15, qword [r15]
xor rdx, rcx
and rdx, qword [rsi + 0x30]
mov rax, qword [rsp + 0x40]
shl rdx, 4
add r15, rdx
cmp qword [r15], rax
jne 0x1400169b9
mov rax, qword [rsp + 0x38]
mov qword [r15], rax
mov rax, qword [rsp + 0x38]
mov qword [r15 + 8], rax
jmp 0x140016a87
mov rbx, qword [r15 + 8]
mov rdx, r14
lea r8, [rbx + 0x10]
call fcn.140016b30
test al, al
jne 0x140016a09
mov r9, qword [rbx]
mov r8, qword [rsp + 0x38]
cmp r9, r8
je 0x140016a00
mov rdx, qword [r8 + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r9
mov rax, qword [r9 + 8]
mov qword [rax], r8
mov qword [r9 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [r8 + 8], rax
mov r8, qword [rsp + 0x38]
mov qword [r15 + 8], r8
jmp 0x140016a87
cmp qword [r15], rbx
je 0x140016a59
nop
mov rbx, qword [rbx + 8]
mov rsi, qword [rbx + 0x20]
lea rcx, [rbx + 0x10]
call fcn.140002960
mov r12, qword [r14 + 0x10]
mov rcx, r14
mov r13, rax
call fcn.140002960
cmp r12, rsi
jne 0x140016a54
mov r8, r12
mov rdx, r13
mov rcx, rax
call fcn.1400040e0
test eax, eax
jne 0x140016a54
mov eax, dword [rbx + 0x30]
cmp dword [r14 + 0x20], eax
je 0x140016ae8
cmp qword [r15], rbx
jne 0x140016a10
mov r8, qword [rsp + 0x38]
mov rdx, qword [r8 + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rax, qword [rbx + 8]
mov qword [rax], r8
mov qword [rbx + 8], rcx
mov qword [rdi + 8], rdx
mov qword [r8 + 8], rax
mov rax, qword [rsp + 0x38]
mov qword [r15], rax
mov rax, rdi
mov rsi, qword [rsp + 0x30]
movabs rbp, 0x100000001b3
mov qword [rsp + 0x38], rax
movabs r12, 0xcbf29ce484222325
lea r15, [rsi + 0x18]
cmp rdi, qword [rsp + 0x40]
jne 0x140016940
mov r14, qword [rsp + 0x58]
mov r13, qword [rsp + 0x60]
mov r12, qword [rsp + 0x68]
mov rbp, qword [rsp + 0xa0]
mov r15, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400433a0
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
mov r9, qword [rsp + 0x38]
mov r8, qword [rbx]
mov rdx, qword [r9 + 8]
mov qword [rdx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], r9
mov qword [r8 + 8], rcx
mov qword [rdi + 8], rdx
mov qword [r9 + 8], rax
jmp 0x140016a87
lea rcx, str.invalid_hash_bucket_count
call fcn.1400426dc
int3