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

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, qword [rcx]
test rsi, rsi
je 0x180098c6b
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x180098c6b
mov rax, qword [rsi + 0x38]
shr rax, 3
cmp rax, rcx
jbe 0x180098bd3
mov rdx, qword [rsi + 8]
mov rcx, rsi
mov r8, rdx
mov rdx, qword [rdx]
add rsp, 0x30
pop rsi
jmp 0x18009a590
mov rcx, qword [rsi + 8]
mov qword [rsp + 0x58], r14
mov rax, qword [rcx + 8]
mov qword [rax], 0
mov r14, qword [rcx]
test r14, r14
je 0x180098c34
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rdi
nop dword [rax]
mov rdi, qword [r14]
lea rcx, [r14 + 0x30]
call fcn.18007caf0
lea rcx, [r14 + 0x10]
call fcn.18003ece0
mov edx, 0x78
mov rcx, r14
call fcn.1800b9fdc
mov r14, rdi
test rdi, rdi
jne 0x180098c00
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
mov rax, qword [rsi + 8]
lea r8, [rsp + 0x20]
mov qword [rax], rax
mov rax, qword [rsi + 8]
mov qword [rax + 8], rax
mov qword [rsi + 0x10], 0
mov rax, qword [rsi + 8]
mov rdx, qword [rsi + 0x20]
mov rcx, qword [rsi + 0x18]
mov qword [rsp + 0x20], rax
call fcn.1800414b0
mov r14, qword [rsp + 0x58]
add rsp, 0x30
pop rsi
ret
mov rax, rsp
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x40], r8
mov r14, r8
mov r13, rdx
mov r15, rcx
cmp rdx, r8
je 0x18009a6d1
cmp qword [rdx + 0x28], 0xf
lea r8, [rdx + 0x10]
mov r10, qword [rcx + 0x18]
mov r9, qword [r8 + 0x10]
mov qword [rax + 0x10], rbx
mov rbx, rdx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov qword [rax - 0x20], rdi
mov qword [rax - 0x28], r12
mov rax, qword [rcx + 8]
mov qword [rsp + 0x30], rax
mov rax, qword [rdx + 8]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], r10
jbe 0x18009a5f8
mov r8, qword [r8]
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
movabs r11, 0x100000001b3
test r9, r9
je 0x18009a634
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + rcx]
inc rcx
xor rdx, rax
imul rdx, r11
cmp rcx, r9
jb 0x18009a620
mov r12, qword [r15 + 0x30]
and r12, rdx
shl r12, 4
add r12, r10
mov rax, qword [r12]
mov qword [rsp + 0x28], rax
mov rax, qword [r12 + 8]
mov qword [rsp + 0x38], rax
nop word [rax + rax]
mov rsi, rbx
mov rbp, rbx
mov rbx, qword [rbx]
lea rcx, [rsi + 0x30]
call fcn.18007caf0
lea rcx, [rsi + 0x10]
call fcn.18003ece0
mov edx, 0x78
mov rcx, rsi
call fcn.1800b9fdc
dec qword [r15 + 0x10]
cmp rsi, qword [rsp + 0x38]
je 0x18009a6df
cmp rbx, r14
jne 0x18009a660
cmp qword [rsp + 0x28], r13
jne 0x18009a6a3
mov qword [r12], rbx
mov rax, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x98]
mov rbp, qword [rsp + 0x90]
mov r12, qword [rsp + 0x50]
mov qword [rax], rbx
mov qword [rbx + 8], rax
mov rbx, qword [rsp + 0x88]
mov rax, r14
add rsp, 0x60
pop r15
pop r14
pop r13
ret
cmp qword [rsp + 0x28], r13
jne 0x18009a6f1
mov rax, qword [rsp + 0x30]
mov qword [r12], rax
jmp 0x18009a6f6
mov rax, qword [rsp + 0x20]
mov qword [r12 + 8], rax
cmp rbx, r14
je 0x18009a6a3
cmp qword [rbx + 0x28], 0xf
lea r8, [rbx + 0x10]
mov r9, qword [r8 + 0x10]
jbe 0x18009a712
mov r8, qword [r8]
xor edx, edx
movabs rcx, 0xcbf29ce484222325
test r9, r9
je 0x18009a749
movabs r14, 0x100000001b3
nop dword [rax]
movzx eax, byte [r8 + rdx]
inc rdx
xor rcx, rax
imul rcx, r14
cmp rdx, r9
jb 0x18009a730
mov r14, qword [rsp + 0x40]
and rcx, qword [r15 + 0x30]
mov r12, qword [rsp + 0x48]
shl rcx, 4
add r12, rcx
mov r13, qword [r12 + 8]
nop
mov rsi, rbx
mov rbp, rbx
mov rbx, qword [rbx]
lea rcx, [rsi + 0x30]
call fcn.18007caf0
lea rcx, [rsi + 0x10]
call fcn.18003ece0
mov edx, 0x78
mov rcx, rsi
call fcn.1800b9fdc
dec qword [r15 + 0x10]
cmp rsi, r13
je 0x18009a79b
cmp rbx, r14
jne 0x18009a760
jmp 0x18009a69f
mov rcx, qword [rsp + 0x30]
mov qword [r12], rcx
mov qword [r12 + 8], rcx
cmp rbx, r14
jne 0x18009a700
jmp 0x18009a6a3