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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
movabs rax, 0x800000000000001
cmp rdx, rax
jae 0x14001834e
mov rdi, rcx
dec rdx
or rdx, 1
bsr rcx, rdx
xor ecx, 0x3f
neg cl
mov esi, 1
shl rsi, cl
lea rax, [rdi + 0x18]
mov rbx, qword [rdi + 8]
mov edx, 2
shl rdx, cl
mov rcx, rax
mov r8, rbx
call fcn.1400178a0
lea rax, [rsi - 1]
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], rsi
mov rax, qword [rdi + 8]
mov rbp, qword [rax]
cmp rbp, rbx
je 0x14001833d
mov r11, rbx
mov r10, rdi
movabs rsi, 0xcbf29ce484222325
movabs r12, 0x100000001b3
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rbx
jmp 0x140018121
mov qword [rcx + r9*8], r13
mov qword [rcx + rdx*8], r13
cmp rbp, r11
je 0x14001833d
mov r13, rbp
cmp qword [rbp + 0x28], 0x10
jb 0x140018140
mov rbx, qword [r13 + 0x10]
jmp 0x140018144
lea rbx, [r13 + 0x10]
mov r14, qword [r13 + 0x20]
mov r8, rsi
test r14, r14
je 0x1400181e7
mov eax, r14d
and eax, 3
cmp r14, 4
jae 0x140018170
xor ecx, ecx
mov rdx, rsi
jmp 0x1400181ba
mov r8, r14
and r8, 0xfffffffffffffffc
xor ecx, ecx
mov rdx, rsi
nop dword [rax]
movzx r9d, byte [rbx + rcx]
xor r9, rdx
imul r9, r12
movzx edx, byte [rbx + rcx + 1]
xor rdx, r9
imul rdx, r12
movzx r9d, byte [rbx + rcx + 2]
xor r9, rdx
imul r9, r12
movzx edx, byte [rbx + rcx + 3]
xor rdx, r9
imul rdx, r12
add rcx, 4
cmp r8, rcx
jne 0x140018180
mov r8, rdx
test rax, rax
je 0x1400181e7
add rcx, rbx
xor r9d, r9d
nop dword [rax + rax]
movzx r8d, byte [rcx + r9]
xor r8, rdx
imul r8, r12
inc r9
mov rdx, r8
cmp rax, r9
jne 0x1400181d0
and r8, qword [r10 + 0x30]
mov rbp, qword [r13]
mov rcx, qword [r10 + 0x18]
lea r9, [r8 + r8]
mov rax, r8
shl rax, 4
lea rdx, [r8 + r8]
inc rdx
mov rdi, qword [rcx + rax]
cmp rdi, r11
je 0x140018110
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x40], rdx
mov rsi, qword [rcx + rdx*8]
cmp r14, qword [rsi + 0x20]
mov r15, r9
jne 0x1400182a6
cmp qword [rsi + 0x28], 0x10
jb 0x14001823a
mov rdx, qword [rsi + 0x10]
jmp 0x14001823e
lea rdx, [rsi + 0x10]
mov rcx, rbx
mov r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov r9, r15
jne 0x1400182a6
mov rax, qword [rsi]
cmp rax, r13
je 0x140018279
mov rcx, qword [r13 + 8]
mov qword [rcx], rbp
mov rdx, qword [rbp + 8]
mov qword [rdx], rax
mov r8, qword [rax + 8]
mov qword [r8], r13
mov qword [rax + 8], rdx
mov qword [rbp + 8], rcx
mov qword [r13 + 8], r8
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x40]
mov qword [rax + rcx*8], r13
jmp 0x140018320
mov rdx, qword [rsi + 0x10]
mov rcx, rbx
mov r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov r9, r15
je 0x1400182fc
cmp rdi, rsi
je 0x1400182d0
mov rsi, qword [rsi + 8]
cmp r14, qword [rsi + 0x20]
jne 0x1400182a6
cmp qword [rsi + 0x28], 0x10
jae 0x140018290
lea rdx, [rsi + 0x10]
jmp 0x140018294
mov rax, qword [r13 + 8]
mov qword [rax], rbp
mov rcx, qword [rbp + 8]
mov qword [rcx], rdi
mov rdx, qword [rdi + 8]
mov qword [rdx], r13
mov qword [rdi + 8], rcx
mov qword [rbp + 8], rax
mov qword [r13 + 8], rdx
mov rax, qword [rsp + 0x38]
mov qword [rax + r9*8], r13
jmp 0x140018320
mov rax, qword [rsi]
mov rcx, qword [r13 + 8]
mov qword [rcx], rbp
mov rdx, qword [rbp + 8]
mov qword [rdx], rax
mov r8, qword [rax + 8]
mov qword [r8], r13
mov qword [rax + 8], rdx
mov qword [rbp + 8], rcx
mov qword [r13 + 8], r8
mov r10, qword [rsp + 0x30]
mov r11, qword [rsp + 0x28]
movabs rsi, 0xcbf29ce484222325
cmp rbp, r11
jne 0x140018121
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3