Function at 0x1400035f0
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 0x14000362b
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 0x140003749
movabs rax, 0x1fffffffffffffff
cmp rbx, rax
ja 0x14000396f
lea rbx, [rbx*8]
xor r12d, r12d
cmp rbx, 0x1000
jb 0x1400036c8
lea rcx, [rbx + 0x27]
cmp rcx, rbx
jbe 0x14000396f
call fcn.140003f90
test rax, rax
je 0x140003742
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400036dd
test rbx, rbx
je 0x1400036da
mov rcx, rbx
call fcn.140003f90
mov rdi, rax
jmp 0x1400036dd
mov rdi, r12
mov rcx, qword [r13 + 0x18]
mov rax, qword [r13 + 0x28]
sub rax, rcx
sar rax, 3
test rax, rax
je 0x14000371f
lea rdx, [rax*8]
cmp rdx, 0x1000
jb 0x14000371a
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140003742
mov rcx, r8
call fcn.14000420c
lea rax, [rbx + rdi]
mov qword [r13 + 0x18], rdi
mov qword [r13 + 0x20], rax
mov qword [r13 + 0x28], rax
cmp rdi, rax
je 0x140003766
mov qword [rdi], rbp
add rdi, 8
cmp rdi, rax
jne 0x140003734
jmp 0x140003766
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 0x140003766
mov rax, rbp
rep stosq qword [rdi], rax
mov rbx, qword [r13 + 8]
lea rax, [rsi - 1]
mov qword [r13 + 0x38], rsi
mov qword [r13 + 0x30], rax
mov rbx, qword [rbx]
mov rsi, rbx
cmp rbx, rbp
je 0x14000392a
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]
cmp r8, 0xf
jbe 0x1400037c5
mov rdi, qword [rbx + 0x10]
mov r15, qword [rbx + 0x20]
mov rcx, rax
mov rdx, r12
test r15, r15
je 0x1400037f3
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rdi + rdx]
inc rdx
xor rcx, rax
imul rcx, r9
cmp rdx, r15
jb 0x1400037e0
and rcx, qword [r13 + 0x30]
mov r13, qword [r13 + 0x18]
shl rcx, 4
add r13, rcx
mov r12, qword [r13]
cmp r12, rbp
jne 0x140003818
mov qword [r13], rbx
mov qword [r13 + 8], rbx
jmp 0x1400038ff
mov rdi, qword [r13 + 8]
cmp qword [rdi + 0x28], 0xf
lea rdx, [rdi + 0x10]
jbe 0x14000382b
mov rdx, qword [rdi + 0x10]
lea rcx, [rbx + 0x10]
cmp r8, 0xf
jbe 0x140003839
mov rcx, qword [rbx + 0x10]
cmp r15, qword [rdi + 0x20]
jne 0x14000387e
mov r8, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000387a
mov rdi, qword [rdi]
cmp rdi, rbx
je 0x140003874
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 0x1400038f5
mov r8, qword [rbx + 0x28]
cmp r12, rdi
je 0x1400038d0
nop dword [rax]
nop word [rax + rax]
mov rdi, qword [rdi + 8]
cmp qword [rdi + 0x28], 0xf
lea rdx, [rdi + 0x10]
jbe 0x1400038a3
mov rdx, qword [rdi + 0x10]
lea rcx, [rbx + 0x10]
cmp r8, 0xf
jbe 0x1400038b1
mov rcx, qword [rbx + 0x10]
cmp r15, qword [rdi + 0x20]
jne 0x1400038cb
mov r8, r15
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140003949
mov r8, qword [rbx + 0x28]
cmp r12, rdi
jne 0x140003890
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 0x1400037b0
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 0x1400038f5
call fcn.140001230
int3