Function at 0x140039970
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push r14
sub rsp, 0x38
mov rax, qword [0x14015ad80]
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 0x140039c31
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 0x140039ac5
movabs rax, 0x1fffffffffffffff
cmp rsi, rax
ja 0x140039c2b
lea rsi, [rsi*8]
test rsi, rsi
jne 0x140039a18
xor edi, edi
jmp 0x140039a55
cmp rsi, 0x1000
jb 0x140039a4a
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x140039c2b
call fcn.1400e6bb0
test rax, rax
je 0x140039abe
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140039a55
mov rcx, rsi
call fcn.1400e6bb0
mov rdi, rax
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x28]
sub rax, rcx
sar rax, 3
test rax, rax
je 0x140039a97
lea rdx, [rax*8]
cmp rdx, 0x1000
jb 0x140039a92
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140039abe
mov rcx, r8
call fcn.1400e6bec
lea rax, [rsi + rdi]
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
cmp rdi, rax
je 0x140039acf
nop dword [rax]
mov qword [rdi], rbx
add rdi, 8
cmp rdi, rax
jne 0x140039ab0
jmp 0x140039acf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea r8, [rsp + 0x20]
call fcn.14001f980
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 0x140039be1
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 0x140039b60
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140039bd5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x140039b9d
mov r10, qword [rdx]
cmp r10, rax
je 0x140039b97
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 0x140039bd5
cmp r9, rdx
je 0x140039bb1
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140039c05
cmp r9, rdx
jne 0x140039ba2
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 0x140039b10
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.1400e6d00
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 0x140039bd5
call fcn.14000cb50
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 0x14003b975
cvtsi2ss xmm0, rdx
jmp 0x14003b98a
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 [0x14012f56c]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x14003b9b8
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x14003b9b8
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 0x14003b9ea
cmp rbx, 0x200
jae 0x14003b9e7
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14003b9ea
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140039970