Function at 0x140014700
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 0x14001473b
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 0x140014859
movabs rax, 0x1fffffffffffffff
cmp rbx, rax
ja 0x140014a81
lea rbx, [rbx*8]
xor r12d, r12d
cmp rbx, 0x1000
jb 0x1400147d8
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x140014a81
call fcn.140017a28
test rax, rax
je 0x140014852
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400147ed
test rbx, rbx
je 0x1400147ea
mov rcx, rbx
call fcn.140017a28
mov rdi, rax
jmp 0x1400147ed
mov rdi, r12
mov rcx, qword [r13 + 0x18]
mov rax, qword [r13 + 0x28]
sub rax, rcx
sar rax, 3
test rax, rax
je 0x14001482f
lea rdx, [rax*8]
cmp rdx, 0x1000
jb 0x14001482a
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140014852
mov rcx, r8
call fcn.140017a20
lea rax, [rbx + rdi]
mov qword [r13 + 0x18], rdi
mov qword [r13 + 0x20], rax
mov qword [r13 + 0x28], rax
cmp rdi, rax
je 0x140014876
mov qword [rdi], rbp
add rdi, 8
cmp rdi, rax
jne 0x140014844
jmp 0x140014876
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 0x140014876
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 0x140014a3c
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 0x1400148d9
mov rdi, qword [rbx + 0x10]
mov rdx, rax
mov rcx, r12
test r15, r15
je 0x140014903
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rcx + rdi]
inc rcx
xor rdx, rax
imul rdx, r9
cmp rcx, r15
jb 0x1400148f0
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 0x14001492b
mov qword [r13], rbx
mov qword [r13 + 8], rbx
jmp 0x140014a11
mov rdi, qword [r13 + 8]
cmp qword [rdi + 0x28], 0xf
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
jbe 0x140014941
mov rdx, qword [rdx]
lea rcx, [rbx + 0x10]
cmp r8, 0xf
jbe 0x14001494f
mov rcx, qword [rbx + 0x10]
cmp r15, rax
jne 0x140014993
mov r8, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14001498f
mov rdi, qword [rdi]
cmp rdi, rbx
je 0x140014989
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 0x140014a07
mov r8, qword [rbx + 0x28]
cmp r12, rdi
je 0x1400149e2
nop dword [rax + rax]
mov rdi, qword [rdi + 8]
cmp qword [rdi + 0x28], 0xf
lea rdx, [rdi + 0x10]
mov rax, qword [rdx + 0x10]
jbe 0x1400149b6
mov rdx, qword [rdx]
lea rcx, [rbx + 0x10]
cmp r8, 0xf
jbe 0x1400149c4
mov rcx, qword [rbx + 0x10]
cmp r15, rax
jne 0x1400149dd
mov r8, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140014a5b
mov r8, qword [rbx + 0x28]
cmp r12, rdi
jne 0x1400149a0
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 0x1400148c0
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 0x140014a07
call fcn.140001350
int3