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

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov r15, r8
mov rdi, rcx
mov rbx, qword [r8 + 0x10]
cmp qword [r8 + 0x18], 0x10
mov r14, r8
jb 0x180016fc4
mov r14, qword [r15]
test rbx, rbx
mov qword [rbp - 8], rdx
movabs r12, 0xcbf29ce484222325
je 0x180017042
xor eax, eax
movabs rcx, 0x118020b7080026ff
movabs rdx, 0xee7fdf48f7ffd900
movabs r8, 0x100000001b3
nop word [rax + rax]
movzx r9d, byte [r14 + rax]
mov r10, r9
not r10
mov r11d, r10d
and r11d, 0x56
mov esi, r9d
and esi, 0xffffffa9
or esi, r11d
xor esi, r12d
xor esi, 0xa9
or rsi, r10
and rsi, rcx
not r12
or r12, r9
xor r12, rdx
xor r12, rsi
imul r12, r8
inc rax
cmp rbx, rax
jne 0x180017000
mov rax, qword [rdi + 0x18]
mov rcx, qword [rdi + 0x30]
movabs r8, 0x97fca31cfb44adc7
mov rdx, rcx
and rdx, r8
movabs r13, 0x68035ce304bb5238
and rcx, r13
movabs r8, 0x7f88118080480c2
or rcx, r8
xor rcx, rdx
mov rdx, r12
xor rdx, r8
mov qword [rbp - 0x30], rdx
xor rdx, rcx
movabs r8, 0x78077ee7f7fb7f3d
xor rcx, r8
or rcx, rdx
not rcx
mov rdx, rcx
shl rdx, 4
mov rsi, qword [rax + rdx + 8]
cmp rsi, qword [rdi + 8]
je 0x1800170ff
mov qword [rbp - 0x28], r15
add rcx, rcx
mov r15, qword [rax + rcx*8]
cmp rbx, qword [rsi + 0x20]
jne 0x1800170e7
nop word [rax + rax]
cmp qword [rsi + 0x28], 0x10
jb 0x1800170d0
mov rdx, qword [rsi + 0x10]
jmp 0x1800170d4
lea rdx, [rsi + 0x10]
mov rcx, r14
mov r8, rbx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800172b4
cmp rsi, r15
je 0x1800170f8
mov rsi, qword [rsi + 8]
cmp rbx, qword [rsi + 0x20]
je 0x1800170c0
jmp 0x1800170e7
mov rsi, r15
mov r15, qword [rbp - 0x28]
movabs rax, 0x333333333333333
cmp qword [rdi + 0x10], rax
je 0x18001734d
lea rax, [rdi + 8]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x10], 0
mov ecx, 0x50
call fcn.180035cbc
mov rbx, rax
mov qword [rbp - 0x18], rax
mov r14, rax
add r14, 0x10
mov qword [rbp - 0x10], rax
mov rcx, r14
mov rdx, r15
call fcn.1800174d0
mov rax, qword [rdi + 0x10]
inc rax
js 0x18001715a
cvtsi2ss xmm0, rax
jmp 0x18001716f
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
movss xmm1, dword [rdi]
mov r15, qword [rdi + 0x38]
test r15, r15
js 0x180017183
cvtsi2ss xmm2, r15
jmp 0x18001719b
mov rax, r15
shr rax, 1
mov ecx, r15d
and ecx, 1
or rcx, rax
cvtsi2ss xmm2, rcx
addss xmm2, xmm2
movaps xmm3, xmm0
divss xmm3, xmm2
ucomiss xmm3, xmm1
jbe 0x1800172c9
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
cvttss2si rax, xmm0
mov rcx, rax
subss xmm0, dword [0x18003a5e0]
cvttss2si rdx, xmm0
sar rcx, 0x3f
and rdx, rcx
or rdx, rax
cmp rdx, 9
mov eax, 8
cmovae rax, rdx
cmp r15, rax
jae 0x180017202
lea rcx, [r15*8]
cmp rcx, rax
cmovb rcx, rax
cmp r15, 0x200
cmovae rcx, rax
mov r15, rcx
mov rcx, rdi
mov rdx, r15
call fcn.1800177b0
mov rax, qword [rdi + 0x18]
mov rcx, qword [rdi + 0x30]
movabs rdx, 0x97fca31cfb44adc7
and rdx, rcx
and r13, rcx
movabs rcx, 0x7f88118080480c2
or r13, rcx
xor r13, rdx
mov rcx, qword [rbp - 0x30]
xor rcx, r13
movabs rdx, 0x78077ee7f7fb7f3d
xor r13, rdx
or r13, rcx
not r13
mov rcx, r13
shl rcx, 4
mov rsi, qword [rax + rcx + 8]
cmp rsi, qword [rdi + 8]
je 0x1800172c9
add r13, r13
cmp qword [rbx + 0x28], 0x10
jb 0x18001726f
mov r14, qword [rbx + 0x10]
mov r13, qword [rax + r13*8]
mov r15, qword [rbx + 0x20]
cmp r15, qword [rsi + 0x20]
jne 0x1800172a3
nop dword [rax]
cmp qword [rsi + 0x28], 0x10
jb 0x180017290
mov rdx, qword [rsi + 0x10]
jmp 0x180017294
lea rdx, [rsi + 0x10]
mov rcx, r14
mov r8, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1800172c6
cmp rsi, r13
je 0x1800172c1
mov rsi, qword [rsi + 8]
cmp r15, qword [rsi + 0x20]
je 0x180017280
jmp 0x1800172a3
mov rdi, qword [rbp - 8]
mov qword [rdi], rsi
mov byte [rdi + 8], 0
jmp 0x180017339
mov rsi, r13
jmp 0x1800172c9
mov rsi, qword [rsi]
mov qword [rbp - 0x18], 0
mov rax, qword [rsi + 8]
inc qword [rdi + 0x10]
mov qword [rbx], rsi
mov qword [rbx + 8], rax
mov qword [rax], rbx
mov qword [rsi + 8], rbx
mov r8, qword [rdi + 0x18]
and r12, qword [rdi + 0x30]
shl r12, 4
lea rcx, [r8 + r12]
lea rdx, [r8 + r12]
add rdx, 8
mov r8, qword [r8 + r12]
cmp r8, qword [rdi + 8]
je 0x18001731c
cmp r8, rsi
mov rdi, qword [rbp - 8]
je 0x180017326
mov rcx, rdx
cmp qword [rdx], rax
jne 0x180017329
jmp 0x180017326
mov qword [rcx], rbx
mov rcx, rdx
mov rdi, qword [rbp - 8]
mov qword [rcx], rbx
mov qword [rdi], rbx
mov byte [rdi + 8], 1
lea rcx, [rbp - 0x20]
call fcn.1800173f0
mov rax, rdi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
movabs rcx, 0xcf0fad2b83cf3f02
add rcx, qword [0x180046750]
call fcn.1800318d0
lea rcx, [0x180047ba6]
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3