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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
movabs rax, 0xfffffffffffffff
mov r15, rcx
bsr rcx, rax
mov r8d, 1
mov eax, r8d
shl rax, cl
cmp rdx, rax
jbe 0x1400352bc
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov r12, qword [r15 + 8]
lea rax, [rdx - 1]
or rax, r8
mov rbx, r8
bsr rcx, rax
mov r8, r12
inc ecx
shl rbx, cl
lea rcx, [r15 + 0x18]
lea rdx, [rbx + rbx]
call fcn.1400127c8
mov qword [r15 + 0x38], rbx
lea rax, [rbx - 1]
mov qword [r15 + 0x30], rax
mov rcx, qword [r15 + 8]
mov rcx, qword [rcx]
cmp rcx, r12
je 0x1400354c0
mov rax, rcx
mov r9, qword [rax + 0x10]
mov rcx, qword [rcx]
mov rbx, r9
mov rdi, qword [r9 + 0x18]
mov r11, qword [r9 + 0x10]
cmp rdi, 7
jbe 0x14003531d
mov rbx, qword [r9]
lea rbp, [r11 + r11]
xor r10d, r10d
movabs r8, 0xcbf29ce484222325
test rbp, rbp
je 0x140035355
movzx edx, byte [r10 + rbx]
movabs r9, 0x100000001b3
xor r8, rdx
inc r10
imul r8, r9
cmp r10, rbp
jb 0x140035333
mov r9, qword [rax + 0x10]
mov rbx, qword [r15 + 0x30]
mov rsi, qword [r15 + 0x18]
and rbx, r8
add rbx, rbx
cmp qword [rsi + rbx*8], r12
jne 0x140035372
mov qword [rsi + rbx*8], rax
jmp 0x1400354af
mov rdx, qword [rsi + rbx*8 + 8]
mov r10, qword [rdx + 0x10]
cmp r9, r10
je 0x140035486
cmp qword [r10 + 0x18], 7
mov r8, qword [r10 + 0x10]
jbe 0x140035392
mov r10, qword [r10]
cmp rdi, 7
jbe 0x14003539b
mov r9, qword [r9]
cmp r11, r8
jne 0x1400353c2
test r11, r11
je 0x1400353bd
sub r9, r10
movzx r8d, word [r10 + r9]
cmp r8w, word [r10]
jne 0x1400353c2
add r10, 2
sub r11, 1
jne 0x1400353a8
mov r8b, 1
jmp 0x1400353c5
xor r8b, r8b
test r8b, r8b
jne 0x140035486
cmp qword [rsi + rbx*8], rdx
je 0x140035439
mov rdi, qword [rax + 0x10]
mov rdx, qword [rdx + 8]
mov r9, qword [rdx + 0x10]
cmp rdi, r9
je 0x140035460
cmp qword [r9 + 0x18], 7
mov r8, qword [r9 + 0x10]
jbe 0x1400353f3
mov r9, qword [r9]
cmp qword [rdi + 0x18], 7
mov r11, rdi
mov r10, qword [rdi + 0x10]
jbe 0x140035404
mov r11, qword [rdi]
cmp r10, r8
jne 0x14003542b
test r10, r10
je 0x140035426
sub r11, r9
movzx r8d, word [r9 + r11]
cmp r8w, word [r9]
jne 0x14003542b
add r9, 2
sub r10, 1
jne 0x140035411
mov r8b, 1
jmp 0x14003542e
xor r8b, r8b
test r8b, r8b
jne 0x140035460
cmp qword [rsi + rbx*8], rdx
jne 0x1400353d8
mov r10, qword [rax + 8]
mov qword [r10], rcx
mov r9, qword [rcx + 8]
mov qword [r9], rdx
mov r8, qword [rdx + 8]
mov qword [r8], rax
mov qword [rdx + 8], r9
mov qword [rcx + 8], r10
mov qword [rax + 8], r8
mov qword [rsi + rbx*8], rax
jmp 0x1400354b4
mov r10, qword [rdx]
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
jmp 0x1400354b4
mov r10, qword [rdx]
cmp r10, rax
je 0x1400354af
mov r9, qword [rax + 8]
mov qword [r9], rcx
mov r8, qword [rcx + 8]
mov qword [r8], r10
mov rdx, qword [r10 + 8]
mov qword [rdx], rax
mov qword [r10 + 8], r8
mov qword [rcx + 8], r9
mov qword [rax + 8], rdx
mov qword [rsi + rbx*8 + 8], rax
mov rax, rcx
cmp rcx, r12
jne 0x140035302
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret