Function at 0x140031240
Capabilities:
Hash data using fnv

Disassembly:
push rbp
push r14
sub rsp, 0x38
mov rax, qword [0x140149e68]
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 0x140031501
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 0x140031395
movabs rax, 0x1fffffffffffffff
cmp rsi, rax
ja 0x1400314fb
lea rsi, [rsi*8]
cmp rsi, 0x1000
jb 0x140031311
lea rcx, [rsi + 0x27]
cmp rcx, rsi
jbe 0x1400314fb
call fcn.1400f807c
test rax, rax
je 0x14003138e
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x140031325
test rsi, rsi
je 0x140031323
mov rcx, rsi
call fcn.1400f807c
mov rdi, rax
jmp 0x140031325
xor edi, edi
mov rcx, qword [rbp + 0x18]
mov rax, qword [rbp + 0x28]
sub rax, rcx
sar rax, 3
test rax, rax
je 0x140031367
lea rdx, [rax*8]
cmp rdx, 0x1000
jb 0x140031362
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003138e
mov rcx, r8
call fcn.1400f80b8
lea rax, [rsi + rdi]
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
cmp rdi, rax
je 0x14003139f
nop dword [rax]
mov qword [rdi], rbx
add rdi, 8
cmp rdi, rax
jne 0x140031380
jmp 0x14003139f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea r8, [rsp + 0x20]
call fcn.14001b110
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 0x1400314b1
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 0x140031430
mov qword [r11], rax
mov qword [r11 + 8], rax
jmp 0x1400314a5
mov rdx, qword [r11 + 8]
mov r8d, dword [rax + 0x10]
cmp r8d, dword [rdx + 0x10]
jne 0x14003146d
mov r10, qword [rdx]
cmp r10, rax
je 0x140031467
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 0x1400314a5
cmp r9, rdx
je 0x140031481
mov rdx, qword [rdx + 8]
cmp r8d, dword [rdx + 0x10]
je 0x1400314d5
cmp r9, rdx
jne 0x140031472
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 0x1400313e0
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.1400f81d0
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 0x1400314a5
call fcn.140003d80
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 0x140033275
cvtsi2ss xmm0, rdx
jmp 0x14003328a
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 [0x140116aa0]
xor ecx, ecx
comiss xmm0, xmm1
jb 0x1400332b8
subss xmm0, xmm1
comiss xmm0, xmm1
jae 0x1400332b8
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 0x1400332ea
cmp rbx, 0x200
jae 0x1400332e7
lea rbx, [rbx*8]
cmp rbx, rcx
jae 0x1400332ea
mov rbx, rcx
mov rdx, rbx
mov rcx, rdi
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp 0x140031240