Function at 0x140017740
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 0x140017a21
mov rdi, rcx
add rcx, 0x18
dec rdx
or rdx, 1
lzcnt rax, rdx
neg al
mov edx, 1
shlx rsi, rdx, rax
mov rbx, qword [rdi + 8]
mov edx, 2
shlx rdx, rdx, rax
mov r8, rbx
call fcn.140016f50
lea rax, [rsi - 1]
mov qword [rdi + 0x30], rax
mov qword [rdi + 0x38], rsi
mov rax, qword [rdi + 8]
mov rbp, qword [rax]
mov qword [rsp + 0x38], rbx
cmp rbp, rbx
je 0x140017a10
movabs r12, 0x100000001b3
mov qword [rsp + 0x28], rdi
jmp 0x1400177e3
mov qword [rcx + r9*8], r13
mov qword [rcx + rdx*8], r13
cmp rbp, qword [rsp + 0x38]
je 0x140017a10
mov r13, rbp
cmp qword [rbp + 0x28], 0x10
jb 0x140017800
mov rbx, qword [r13 + 0x10]
jmp 0x140017804
lea rbx, [r13 + 0x10]
mov r14, qword [r13 + 0x20]
movabs r8, 0xcbf29ce484222325
test r14, r14
je 0x1400178c7
mov eax, r14d
and eax, 3
cmp r14, 4
jae 0x140017840
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
jmp 0x14001789a
mov r8, r14
and r8, 0xfffffffffffffffc
xor ecx, ecx
movabs rdx, 0xcbf29ce484222325
nop word cs:[rax + 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 0x140017860
mov r8, rdx
test rax, rax
je 0x1400178c7
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 0x1400178b0
and r8, qword [rdi + 0x30]
mov rbp, qword [r13]
mov rcx, qword [rdi + 0x18]
lea r9, [r8 + r8]
mov rax, r8
shl rax, 4
lea rdx, [r8 + r8]
inc rdx
mov rsi, qword [rcx + rax]
cmp rsi, qword [rsp + 0x38]
je 0x1400177d0
mov qword [rsp + 0x30], rcx
mov rdi, qword [rcx + rdx*8]
cmp r14, qword [rdi + 0x20]
mov r15, r9
jne 0x140017986
cmp qword [rdi + 0x28], 0x10
mov qword [rsp + 0x40], rdx
jb 0x14001791c
mov rdx, qword [rdi + 0x10]
jmp 0x140017920
lea rdx, [rdi + 0x10]
mov rcx, rbx
mov r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov r9, r15
mov r10, qword [rsp + 0x40]
jne 0x140017986
mov rax, qword [rdi]
cmp rax, r13
je 0x140017960
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 + 0x30]
mov qword [rax + r10*8], r13
jmp 0x140017a00
mov rdx, qword [rdi + 0x10]
mov rcx, rbx
mov r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
mov r9, r15
je 0x1400179dc
cmp rsi, rdi
je 0x1400179b0
mov rdi, qword [rdi + 8]
cmp r14, qword [rdi + 0x20]
jne 0x140017986
cmp qword [rdi + 0x28], 0x10
jae 0x140017970
lea rdx, [rdi + 0x10]
jmp 0x140017974
mov rax, qword [r13 + 8]
mov qword [rax], rbp
mov rcx, qword [rbp + 8]
mov qword [rcx], rsi
mov rdx, qword [rsi + 8]
mov qword [rdx], r13
mov qword [rsi + 8], rcx
mov qword [rbp + 8], rax
mov qword [r13 + 8], rdx
mov rax, qword [rsp + 0x30]
mov qword [rax + r9*8], r13
jmp 0x140017a00
mov rax, qword [rdi]
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 rdi, qword [rsp + 0x28]
cmp rbp, qword [rsp + 0x38]
jne 0x1400177e3
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