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

Disassembly:
sub rsp, 0x38
mov rcx, qword [0x18007b610]
test rcx, rcx
je 0x18001673f
mov rax, qword [0x18007b638]
shr rax, 3
cmp rax, rcx
jbe 0x1800166aa
mov rdx, qword [0x18007b608]
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x38
jmp 0x180016b70
mov rcx, qword [0x18007b608]
mov qword [rsp + 0x30], rdi
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov rdi, qword [rcx]
test rdi, rdi
je 0x1800166f6
mov qword [rsp + 0x40], rbx
nop
mov rbx, qword [rdi]
lea rcx, [rdi + 0x10]
call fcn.1800050f0
mov edx, 0x40
mov rcx, rdi
call fcn.18005ef14
mov rdi, rbx
test rbx, rbx
jne 0x1800166d0
mov rbx, qword [rsp + 0x40]
mov rax, qword [0x18007b608]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [0x18007b608]
mov qword [rax + 8], rax
mov rax, qword [0x18007b608]
mov rdx, qword [0x18007b620]
mov rcx, qword [0x18007b618]
mov qword [rsp + 0x20], rax
mov qword [0x18007b610], 0
call fcn.180004cb0
mov rdi, qword [rsp + 0x30]
add rsp, 0x38
ret
mov rax, rsp
push rbp
push r14
sub rsp, 0x58
mov rbp, r8
mov r14, rdx
cmp rdx, r8
je 0x180016d5c
cmp qword [rdx + 0x28], 0x10
lea r8, [rdx + 0x10]
mov r10, qword [0x18007b618]
mov r9, qword [r8 + 0x10]
mov qword [rax + 8], rbx
mov rbx, rdx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax - 0x18], r12
mov qword [rax - 0x20], r13
mov qword [rax - 0x28], r15
mov rax, qword [0x18007b608]
mov qword [rsp + 0x28], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], r10
jb 0x180016bd7
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
test r9, r9
je 0x180016c14
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + r8]
inc rdx
xor rcx, rax
imul rcx, r11
cmp rdx, r9
jb 0x180016c00
and rcx, qword [0x18007b630]
add rcx, rcx
mov r12, qword [r10 + rcx*8]
lea r15, [r10 + rcx*8]
mov r13, qword [r15 + 8]
nop word [rax + rax]
mov rdi, rbx
mov rsi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x10]
call fcn.1800050f0
mov edx, 0x40
mov rcx, rdi
call fcn.18005ef14
dec qword [0x18007b610]
cmp rdi, r13
je 0x180016c79
cmp rbx, rbp
jne 0x180016c30
cmp r12, r14
jne 0x180016c68
mov qword [r15], rbx
mov rax, qword [rsp + 0x20]
mov qword [rax], rbx
mov qword [rbx + 8], rax
jmp 0x180016d3b
mov r13, qword [rsp + 0x20]
cmp r12, r14
mov r12, qword [rsp + 0x28]
jne 0x180016c90
mov qword [r15], r12
mov rax, r12
jmp 0x180016c93
mov rax, r13
mov qword [r15 + 8], rax
cmp rbx, rbp
je 0x180016d33
cmp qword [rbx + 0x28], 0x10
lea r8, [rbx + 0x10]
mov r9, qword [r8 + 0x10]
jb 0x180016cb2
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x180016ce9
movabs r13, 0x100000001b3
nop dword [rax]
movzx eax, byte [rdx + r8]
inc rdx
xor rcx, rax
imul rcx, r13
cmp rdx, r9
jb 0x180016cd0
mov r13, qword [rsp + 0x20]
and rcx, qword [0x18007b630]
mov r14, qword [rsp + 0x30]
shl rcx, 4
add r14, rcx
mov r15, qword [r14 + 8]
mov rdi, rbx
mov rsi, rbx
mov rbx, qword [rbx]
lea rcx, [rdi + 0x10]
call fcn.1800050f0
mov edx, 0x40
mov rcx, rdi
call fcn.18005ef14
dec qword [0x18007b610]
cmp rdi, r15
je 0x180016d67
cmp rbx, rbp
jne 0x180016d00
mov qword [r14], rbx
mov qword [r13], rbx
mov qword [rbx + 8], r13
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x80]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r15, qword [rsp + 0x40]
mov rax, rbp
add rsp, 0x58
pop r14
pop rbp
ret
mov qword [r14], r12
mov qword [r14 + 8], r12
cmp rbx, rbp
jne 0x180016ca0
jmp 0x180016d33