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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x40
mov qword [rax - 0x30], 0xfffffffffffffffe
mov rbx, r9
mov r9, r8
mov r11, rdx
mov rsi, rcx
mov rax, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 8
jb 0x14018bc4c
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
lea r10, [rax + rax]
test r10, r10
je 0x14018bc7f
movzx eax, byte [rcx + r8]
xor rdx, rax
movabs rdi, 0x100000001b3
imul rdx, rdi
inc rcx
cmp rcx, r10
jb 0x14018bc61
mov r8, qword [rsi + 0x30]
and r8, rdx
mov rdi, qword [rsi + 8]
add r8, r8
mov r10, qword [rsi + 0x18]
cmp rdi, qword [r10 + r8*8]
je 0x14018bd5d
mov rdi, qword [r10 + r8*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [r10 + r8*8]
je 0x14018bd5d
mov rdi, qword [rdi + 8]
lea rax, [rdi + 0x10]
mov rcx, rax
cmp qword [rax + 0x18], 8
jb 0x14018bcc2
mov rcx, qword [rax]
mov rdx, r9
cmp qword [r9 + 0x18], 8
jb 0x14018bccf
mov rdx, qword [r9]
mov r11, qword [r9 + 0x10]
cmp r11, qword [rax + 0x10]
jne 0x14018bd4e
mov qword [rsp + 0x70], r11
test r11, r11
je 0x14018bd04
sub rdx, rcx
movzx eax, word [rcx + rdx]
movzx r11d, word [rcx]
cmp ax, r11w
jne 0x14018bdb4
add rcx, 2
sub qword [rsp + 0x70], 1
jne 0x14018bce6
xor eax, eax
test eax, eax
jne 0x14018bd4e
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
mov qword [rcx], rax
mov rcx, qword [rbx]
mov rax, qword [rbx + 8]
mov qword [rcx + 8], rax
dec qword [rsi + 0x10]
lea rcx, [rbx + 0x30]
call fcn.1401892c8
lea rcx, [rbx + 0x10]
call fcn.14004e0f0
mov rcx, rbx
call fcn.1402e0278
mov rax, qword [rsp + 0x68]
mov qword [rax], rdi
mov byte [rax + 8], 0
jmp 0x14018be97
cmp rdi, qword [r10 + r8*8]
jne 0x14018bcad
mov r11, qword [rsp + 0x68]
mov qword [rsp + 0x20], rbx
mov rax, qword [rbx]
cmp rdi, rax
je 0x14018bd97
mov rcx, qword [rbx + 8]
mov qword [rcx], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rdi
mov rcx, qword [rdi + 8]
mov qword [rcx], rbx
mov rdx, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov qword [rdi + 8], rcx
mov rcx, qword [rbx + 8]
mov qword [rax + 8], rcx
mov qword [rbx + 8], rdx
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8]
cmp rax, qword [rsi + 8]
jne 0x14018bdc0
mov qword [rdx + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x14018bdef
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x14018bd06
cmp rax, rdi
jne 0x14018bdcb
mov qword [rdx + r8*8], rbx
jmp 0x14018bdef
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x14018bdef
mov rdx, qword [rsi + 0x18]
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax + 8]
mov qword [rdx + r8*8 + 8], rcx
mov rax, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x38]
xorps xmm0, xmm0
cvtsi2ss xmm0, rax
movss xmm1, dword [0x14038ac0c]
test rax, rax
jns 0x14018be10
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x14018be21
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x14018be8c
cmp rdx, 0x200
jae 0x14018be39
shl rdx, 3
jmp 0x14018be4b
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x14018be4b
add rdx, rdx
mov rcx, rsi
call fcn.1400591e0
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x14018be87
mov rax, qword [rax + 8]
mov qword [rsp + 0x70], rax
mov rdi, qword [rsi + 8]
mov rdi, qword [rdi]
lea r8, [rdi + 0x10]
mov r9, rdi
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.14018bc14
cmp rdi, qword [rsp + 0x70]
jne 0x14018be65
mov r11, qword [rsp + 0x68]
mov qword [r11], rbx
mov byte [r11 + 8], 1
mov rax, r11
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret