Function at 0x140021820
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push r14
sub rsp, 0x38
mov rax, qword [0x14012fe80]
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 0x140021ae1
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 0x140021975
movabs rax, 0x1fffffffffffffff
cmp rsi, rax
ja 0x140021adb
lea rsi, [rsi*8]
test rsi, rsi
jne 0x1400218c8
xor edi, edi
jmp 0x140021905
cmp rsi, 0x1000
jb 0x1400218fa
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x140021adb
call fcn.1400e7fd8
test rax, rax
je 0x14002196e
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140021905
mov rcx, rsi
call fcn.1400e7fd8
mov rdi, rax
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x28]
sub rax, rcx
sar rax, 3
test rax, rax
je 0x140021947
lea rdx, [rax*8]
cmp rdx, 0x1000
jb 0x140021942
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002196e
mov rcx, r8
call fcn.1400e8014
lea rax, [rsi + rdi]
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
cmp rdi, rax
je 0x14002197f
nop dword [rax]
mov qword [rdi], rbx
add rdi, 8
cmp rdi, rax
jne 0x140021960
jmp 0x14002197f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea r8, [rsp + 0x20]
call fcn.140011070
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 0x140021a91
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 0x140021a10
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x140021a85
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x140021a4d
mov r10, qword [rdx]
cmp r10, rax
je 0x140021a47
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 0x140021a85
cmp r9, rdx
je 0x140021a61
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x140021ab5
cmp r9, rdx
jne 0x140021a52
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 0x1400219c0
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.1400e8130
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 0x140021a85
call fcn.140003270
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 0x140023515
cvtsi2ss xmm0, rdx
jmp 0x14002352a
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 [0x1400fa720]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x140023558
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x140023558
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 0x14002358a
cmp rbx, 0x200
jae 0x140023587
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x14002358a
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140021820