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

Disassembly:
push rsi
push r13
sub rsp, 0x58
movabs rax, 0xfffffffffffffff
mov qword [rsp + 0x20], rcx
mov r13, rcx
mov esi, 1
bsr rcx, rax
mov eax, esi
shl rax, cl
cmp rdx, rax
jbe 0x14006f5fb
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x80], rbx
lea rax, [rdx - 1]
mov rdx, qword [r13 + 0x20]
or rax, rsi
bsr rcx, rax
mov qword [rsp + 0x50], rbp
mov rbp, qword [r13 + 8]
inc ecx
shl rsi, cl
mov rcx, rdx
mov qword [rsp + 0x48], rdi
mov rdi, qword [r13 + 0x18]
sub rcx, rdi
mov qword [rsp + 0x40], r12
mov rax, rcx
lea rbx, [rsi + rsi]
sar rax, 3
cmp rax, rbx
jae 0x14006f719
movabs rax, 0x1fffffffffffffff
cmp rbx, rax
ja 0x14006f941
lea rbx, [rbx*8]
xor r12d, r12d
cmp rbx, 0x1000
jb 0x14006f698
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x14006f941
call fcn.140072a48
test rax, rax
je 0x14006f712
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14006f6ad
test rbx, rbx
je 0x14006f6aa
mov rcx, rbx
call fcn.140072a48
mov rdi, rax
jmp 0x14006f6ad
mov rdi, r12
mov rcx, qword [r13 + 0x18]
mov rax, qword [r13 + 0x28]
sub rax, rcx
sar rax, 3
test rax, rax
je 0x14006f6ef
lea rdx, [rax*8]
cmp rdx, 0x1000
jb 0x14006f6ea
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14006f712
mov rcx, r8
call fcn.140072800
lea rax, [rbx + rdi]
mov qword [r13 + 0x18], rdi
mov qword [r13 + 0x20], rax
mov qword [r13 + 0x28], rax
cmp rdi, rax
je 0x14006f736
mov qword [rdi], rbp
add rdi, 8
cmp rdi, rax
jne 0x14006f704
jmp 0x14006f736
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
add rcx, 7
xor r12d, r12d
shr rcx, 3
cmp rdi, rdx
cmova rcx, r12
test rcx, rcx
je 0x14006f736
mov rax, rbp
rep stosq qword [rdi], rax
mov qword [r13 + 0x38], rsi
lea rax, [rsi - 1]
mov qword [r13 + 0x30], rax
mov rbx, qword [r13 + 8]
mov rbx, qword [rbx]
mov rsi, rbx
cmp rbx, rbp
je 0x14006f8fc
mov qword [rsp + 0x38], r14
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x30], r15
movabs r9, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
mov r8, qword [rbx + 0x28]
lea rdi, [rbx + 0x10]
mov rsi, qword [rsi]
mov r15, qword [rbx + 0x20]
cmp r8, 0xf
jbe 0x14006f799
mov rdi, qword [rbx + 0x10]
mov rdx, rax
mov rcx, r12
test r15, r15
je 0x14006f7c3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdi + rcx]
inc rcx
xor rdx, rax
imul rdx, r9
cmp rcx, r15
jb 0x14006f7b0
mov rcx, qword [r13 + 0x30]
mov r13, qword [r13 + 0x18]
and rcx, rdx
shl rcx, 4
add r13, rcx
mov r12, qword [r13]
cmp r12, rbp
jne 0x14006f7eb
mov qword [r13], rbx
mov qword [r13 + 8], rbx
jmp 0x14006f8d1
mov rdi, qword [r13 + 8]
cmp qword [rdi + 0x28], 0xf
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
jbe 0x14006f801
mov rdx, qword [rdx]
lea rcx, [rbx + 0x10]
cmp r8, 0xf
jbe 0x14006f80f
mov rcx, qword [rbx + 0x10]
cmp r15, rax
jne 0x14006f853
mov r8, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14006f84f
mov rdi, qword [rdi]
cmp rdi, rbx
je 0x14006f849
mov rdx, qword [rbx + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], rdi
mov rax, qword [rdi + 8]
mov qword [rax], rbx
mov qword [rdi + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r13 + 8], rbx
jmp 0x14006f8c7
mov r8, qword [rbx + 0x28]
cmp r12, rdi
je 0x14006f8a2
nop dword [rax + rax]
mov rdi, qword [rdi + 8]
cmp qword [rdi + 0x28], 0xf
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
jbe 0x14006f876
mov rdx, qword [rdx]
lea rcx, [rbx + 0x10]
cmp r8, 0xf
jbe 0x14006f884
mov rcx, qword [rbx + 0x10]
cmp r15, rax
jne 0x14006f89d
mov r8, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14006f91b
mov r8, qword [rbx + 0x28]
cmp r12, rdi
jne 0x14006f860
mov rdx, qword [rbx + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], rdi
mov rax, qword [rdi + 8]
mov qword [rax], rbx
mov qword [rdi + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rbx + 8], rax
mov qword [r13], rbx
movabs r9, 0x100000001b3
mov r13, qword [rsp + 0x20]
mov rbx, rsi
movabs rax, 0xcbf29ce484222325
mov r12d, 0
cmp rsi, rbp
jne 0x14006f780
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x80]
mov r12, qword [rsp + 0x40]
add rsp, 0x58
pop r13
pop rsi
ret
mov rdi, qword [rdi]
mov rdx, qword [rbx + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], rdi
mov rax, qword [rdi + 8]
mov qword [rax], rbx
mov qword [rdi + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rbx + 8], rax
jmp 0x14006f8c7
call fcn.140042530
int3