Function at 0x140172010
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 0x140172048
mov r8, qword [r8]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
lea r10, [rax + rax]
test r10, r10
je 0x14017207b
movzx eax, byte [rcx + r8]
xor rdx, rax
movabs rdi, 0x100000001b3
imul rdx, rdi
inc rcx
cmp rcx, r10
jb 0x14017205d
mov r8, qword [rsi + 0x30]
and r8, rdx
mov rdi, qword [rsi + 8]
add r8, r8
mov rax, qword [rsi + 0x18]
cmp rdi, qword [rax + r8*8]
je 0x140172163
mov rdi, qword [rax + r8*8 + 8]
mov rdi, qword [rdi]
cmp rdi, qword [rax + r8*8]
je 0x140172163
mov r11, rax
mov rdi, qword [rdi + 8]
lea rcx, [rdi + 0x10]
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x1401720c1
mov rax, qword [rcx]
mov rdx, r9
cmp qword [r9 + 0x18], 8
jb 0x1401720ce
mov rdx, qword [r9]
mov r10, qword [r9 + 0x10]
cmp r10, qword [rcx + 0x10]
jne 0x140172154
mov qword [rsp + 0x70], r10
test r10, r10
je 0x14017210a
sub rdx, rax
movzx ecx, word [rax + rdx]
movzx r10d, word [rax]
cmp cx, r10w
jne 0x140172101
add rax, 2
sub qword [rsp + 0x70], 1
jne 0x1401720e5
jmp 0x14017210a
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x14017210c
xor eax, eax
test eax, eax
jne 0x140172154
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.14016f558
lea rcx, [rbx + 0x10]
call fcn.1400492c0
mov rcx, rbx
call fcn.14027abd8
mov rax, qword [rsp + 0x68]
mov qword [rax], rdi
mov byte [rax + 8], 0
jmp 0x140172291
cmp rdi, qword [r11 + r8*8]
jne 0x1401720ac
mov r11, qword [rsp + 0x68]
mov qword [rsp + 0x20], rbx
mov rax, qword [rbx]
cmp rdi, rax
je 0x14017219d
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 0x1401721ba
mov qword [rdx + r8*8], rbx
mov rax, qword [rsi + 0x18]
mov qword [rax + r8*8 + 8], rbx
jmp 0x1401721e9
cmp rax, rdi
jne 0x1401721c5
mov qword [rdx + r8*8], rbx
jmp 0x1401721e9
mov rax, qword [rdx + r8*8 + 8]
mov rcx, qword [rax]
mov qword [rdx + r8*8 + 8], rcx
cmp rcx, rbx
je 0x1401721e9
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 [0x140307944]
test rax, rax
jns 0x14017220a
addss xmm0, xmm1
xorps xmm2, xmm2
cvtsi2ss xmm2, rdx
test rdx, rdx
jns 0x14017221b
addss xmm2, xmm1
divss xmm0, xmm2
comiss xmm0, dword [rsi]
jbe 0x140172286
cmp rdx, 0x200
jae 0x140172233
shl rdx, 3
jmp 0x140172245
movabs rax, 0xfffffffffffffff
cmp rdx, rax
jae 0x140172245
add rdx, rdx
mov rcx, rsi
call fcn.1400515d0
mov rax, qword [rsi + 8]
cmp qword [rax], rax
je 0x140172281
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.140172010
cmp rdi, qword [rsp + 0x70]
jne 0x14017225f
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