Function at 0x140035840
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push r14
sub rsp, 0x38
mov rax, qword [0x1400fd780]
xor rax, rsp
mov qword [rsp + 0x28], rax
movabs rax, 0xfffffffffffffff
mov rbp, rcx
bsr rcx, rax
mov r14d, 1
mov eax, r14d
shl rax, cl
cmp rdx, rax
ja 0x140035b01
mov qword [rsp + 0x60], rbx
lea rax, [rdx - 1]
mov rdx, qword [rbp + 0x20]
or rax, r14
mov rbx, qword [rbp + 8]
bsr rcx, rax
mov qword [rsp + 0x68], rsi
mov rax, rdx
inc ecx
mov qword [rsp + 0x30], rdi
shl r14, cl
mov rcx, qword [rbp + 0x18]
sub rax, rcx
mov qword [rsp + 0x20], rbx
sar rax, 3
lea rsi, [r14 + r14]
cmp rax, rsi
jae 0x140035995
movabs rax, 0x1fffffffffffffff
cmp rsi, rax
ja 0x140035afb
lea rsi, [rsi*8]
cmp rsi, 0x1000
jb 0x140035911
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x140035afb
call fcn.1400ab3fc
test rax, rax
je 0x14003598e
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140035925
test rsi, rsi
je 0x140035923
mov rcx, rsi
call fcn.1400ab3fc
mov rdi, rax
jmp 0x140035925
xor edi, edi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x28]
sub rax, rcx
sar rax, 3
test rax, rax
je 0x140035967
lea rdx, [rax*8]
cmp rdx, 0x1000
jb 0x140035962
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003598e
mov rcx, r8
call fcn.1400ab438
lea rax, [rsi + rdi]
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
cmp rdi, rax
je 0x14003599f
nop dword [rax]
mov qword [rdi], rbx
add rdi, 8
cmp rdi, rax
jne 0x140035980
jmp 0x14003599f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea r8, [rsp + 0x20]
call fcn.14001d660
lea rax, [r14 - 1]
mov qword [rbp + 0x38], r14
mov qword [rbp + 0x30], rax
mov rax, qword [rbp + 8]
mov rax, qword [rax]
mov rcx, rax
cmp rax, rbx
je 0x140035ab1
movabs rsi, 0xcbf29ce484222325
movabs rdi, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [rax + 0x11]
movzx r9d, byte [rax + 0x10]
mov r11, qword [rbp + 0x30]
xor r9, rsi
mov rcx, qword [rcx]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x12]
imul r9, rdi
xor r9, rdx
movzx edx, byte [rax + 0x13]
imul r9, rdi
xor r9, rdx
imul r9, rdi
and r11, r9
shl r11, 4
add r11, qword [rbp + 0x18]
mov r9, qword [r11]
cmp r9, rbx
jne 0x140035a30
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140035aa5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x140035a6d
mov r10, qword [rdx]
cmp r10, rax
je 0x140035a67
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 [r11 + 8], rax
jmp 0x140035aa5
cmp r9, rdx
je 0x140035a81
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140035ad5
cmp r9, rdx
jne 0x140035a72
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 [r11], rax
mov rax, rcx
cmp rcx, rbx
jne 0x1400359e0
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400ab550
add rsp, 0x38
pop r14
pop rbp
ret
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 0x140035aa5
call fcn.140009c70
int3
lea rcx, str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rdi, rcx
add rdx, 1
mov rbx, qword [rcx + 0x38]
xorps xmm0, xmm0
js 0x1400379d5
cvtsi2ss xmm0, rdx
jmp 0x1400379ea
mov rax, rdx
and edx, 1
shr rax, 1
or rax, rdx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rcx]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
movss xmm1, dword [0x1400db380]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x140037a18
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140037a18
movabs rax, 0x8000000000000000
mov rcx, rax
cvttss2si rax, xmm0
add rax, rcx
mov ecx, 8
cmp rax, rcx
cmova rcx, rax
cmp rbx, rcx
jae 0x140037a4a
cmp rbx, 0x200
jae 0x140037a47
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x140037a4a
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140035840