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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r15, rcx
movabs rax, 0xfffffffffffffff
bsr rcx, rax
mov eax, 1
shl rax, cl
cmp rdx, rax
ja 0x140045ab0
lea rax, [rdx - 1]
or rax, 1
bsr rcx, rax
inc ecx
mov esi, 1
shl rsi, cl
mov rbp, qword [r15 + 8]
mov qword [rsp + 0x68], rbp
lea rdi, [rsi + rsi]
mov rax, qword [r15 + 0x20]
sub rax, qword [r15 + 0x18]
sar rax, 3
cmp rax, rdi
jae 0x1400458a5
movabs rax, 0x1fffffffffffffff
cmp rdi, rax
ja 0x140045abd
lea rcx, [rdi*8]
cmp rcx, 0x1000
jb 0x140045826
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140045aaa
mov rcx, rax
call fcn.1401f0dd4
test rax, rax
je 0x14004581f
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140045837
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140045835
call fcn.1401f0dd4
mov rbx, rax
jmp 0x140045837
xor ebx, ebx
mov rax, qword [r15 + 0x28]
sub rax, qword [r15 + 0x18]
sar rax, 3
test rax, rax
je 0x14004587a
mov rcx, qword [r15 + 0x18]
lea rdx, [rax*8]
cmp rdx, 0x1000
jb 0x140045875
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14004589e
mov rcx, r8
call fcn.140096c70
mov qword [r15 + 0x18], rbx
lea rax, [rbx + rdi*8]
mov qword [r15 + 0x20], rax
mov qword [r15 + 0x28], rax
cmp rbx, rax
je 0x1400458b7
nop
mov qword [rbx], rbp
add rbx, 8
cmp rbx, rax
jne 0x140045890
jmp 0x1400458b7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea r8, [rsp + 0x68]
mov rdx, qword [r15 + 0x20]
mov rcx, qword [r15 + 0x18]
call fcn.140040500
lea rax, [rsi - 1]
mov qword [r15 + 0x30], rax
mov qword [r15 + 0x38], rsi
mov qword [rsp + 0x68], r15
mov rdi, qword [r15 + 8]
mov rdi, qword [rdi]
mov rsi, rdi
cmp rdi, rbp
je 0x140045a66
movabs rax, 0xcbf29ce484222325
movabs r10, 0x100000001b3
nop
mov rsi, qword [rsi]
mov r9, qword [rdi + 0x20]
lea r8, [rdi + 0x10]
cmp qword [rdi + 0x28], 0x10
jb 0x140045906
mov r8, qword [rdi + 0x10]
mov rdx, rax
xor ecx, ecx
test r9, r9
je 0x140045924
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r10
inc rcx
cmp rcx, r9
jb 0x140045910
mov rcx, qword [r15 + 0x30]
and rcx, rdx
mov r12, rcx
shl r12, 4
add r12, qword [r15 + 0x18]
add rcx, rcx
mov rax, qword [r15 + 0x18]
lea r15, [rax + rcx*8]
cmp qword [r12], rbp
jne 0x140045954
mov qword [r12], rdi
mov qword [r15 + 8], rdi
jmp 0x140045a4b
mov rbx, qword [r15 + 8]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14004596a
mov rdx, qword [rdx]
mov r8, r9
lea rcx, [rdi + 0x10]
cmp qword [rdi + 0x28], 0x10
jb 0x14004597c
mov rcx, qword [rdi + 0x10]
cmp r8, rax
jne 0x140045991
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140045991
mov eax, 1
jmp 0x140045993
xor eax, eax
test al, al
je 0x1400459c6
mov rax, qword [rbx]
cmp rax, rdi
je 0x1400459c0
mov r8, qword [rdi + 8]
mov qword [r8], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], rax
mov rdx, qword [rax + 8]
mov qword [rdx], rdi
mov qword [rax + 8], rcx
mov qword [rsi + 8], r8
mov qword [rdi + 8], rdx
mov qword [r15 + 8], rdi
jmp 0x140045a41
cmp qword [r12], rbx
je 0x140045a1c
mov r15, qword [rdi + 0x20]
mov r13, qword [r12]
mov rbx, qword [rbx + 8]
lea rdx, [rbx + 0x10]
mov rax, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x1400459ea
mov rdx, qword [rdx]
lea rcx, [rdi + 0x10]
cmp qword [rdi + 0x28], 0x10
jb 0x1400459f9
mov rcx, qword [rdi + 0x10]
cmp r15, rax
jne 0x140045a11
mov r8, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140045a11
mov eax, 1
jmp 0x140045a13
xor eax, eax
test al, al
jne 0x140045a84
cmp r13, rbx
jne 0x1400459d4
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rax, qword [rsi + 8]
mov qword [rax], rbx
mov rcx, qword [rbx + 8]
mov qword [rcx], rdi
mov qword [rbx + 8], rax
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rcx
mov qword [r12], rdi
movabs r10, 0x100000001b3
mov rdi, rsi
cmp rsi, rbp
mov r15, qword [rsp + 0x60]
movabs rax, 0xcbf29ce484222325
jne 0x1400458f0
mov qword [rsp + 0x68], 0
mov rbx, qword [rsp + 0x70]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbx]
mov r8, qword [rdi + 8]
mov qword [r8], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], rax
mov rdx, qword [rax + 8]
mov qword [rdx], rdi
mov qword [rax + 8], rcx
mov qword [rsi + 8], r8
mov qword [rdi + 8], rdx
jmp 0x140045a41
call fcn.14002d510
int3
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
call fcn.14002d510
int3