Function at 0x140021960
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
sub rsp, 0x50
mov rbx, qword [0x140157940]
mov rbp, rbx
cmp qword [rbx + 0x1d68], 0
jne 0x14002199f
mov r8d, 0x249d
lea rdx, str.E:ReposSimHapticlibsimguiimgui.cpp
lea rcx, str.g.NavWindowingTarget___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x140157940]
movss xmm0, dword [0x140134b54]
comiss xmm0, dword [rbp + 0x1d80]
ja 0x140021c75
cmp qword [rbp + 0x1d78], 0
mov qword [rsp + 0x68], rsi
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
jne 0x140021a25
mov r10d, 0xffffffff
lea r8, [0x14011c159]
mov ecx, r10d
lea r11, [0x14011c520]
mov r9b, 0x23
cmp r9b, 0x23
jne 0x1400219fa
cmp byte [r8], r9b
jne 0x1400219fa
cmp byte [r8 + 1], r9b
cmove ecx, r10d
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
inc r8
xor ecx, dword [r11 + rdx*4]
test r9b, r9b
jne 0x1400219e7
not ecx
call fcn.1400153d0
mov qword [rbp + 0x1d78], rax
movss xmm2, dword [rbp + 0x14]
lea rcx, [rbx + 0x1bc8]
movss xmm3, dword [rbp + 0x10]
lea rdx, [rsp + 0x20]
or dword [rbx + 0x1b30], 0x10
xor eax, eax
movss xmm1, dword [0x140134fc8]
mulss xmm2, dword [0x140134b64]
movaps xmm0, xmm1
mulss xmm3, dword [0x140134b64]
unpcklps xmm0, xmm1
movaps xmm1, xmm0
shufps xmm0, xmm0, 0x55
movss dword [rbx + 0x1b6c], xmm3
movss dword [rbx + 0x1b70], xmm2
movss dword [rbx + 0x1b74], xmm1
movsd qword [rsp + 0x60], xmm1
movss dword [rbx + 0x1b78], xmm0
mov qword [rbx + 0x1b80], rax
mov qword [rbx + 0x1b88], rax
movss xmm1, dword [rbp + 0x14]
movss xmm2, dword [rbp + 0x10]
or dword [rbx + 0x1b30], 1
mulss xmm1, dword [0x140134bbc]
mov dword [rbx + 0x1b48], 0x3f000000
mulss xmm2, dword [0x140134bbc]
mov dword [rbx + 0x1b4c], 0x3f000000
movss dword [rbx + 0x1b44], xmm1
mov dword [rbx + 0x1b34], 1
movss dword [rbx + 0x1b40], xmm2
movss xmm7, dword [rbp + 0x1564]
movss xmm6, dword [rbp + 0x1568]
addss xmm7, xmm7
movss xmm1, dword [rbx + 0x1564]
addss xmm6, xmm6
movss xmm0, dword [rbx + 0x1568]
movss dword [rsp + 0x24], xmm1
movss dword [rsp + 0x28], xmm0
mov dword [rsp + 0x20], 1
call fcn.140023570
xor edx, edx
movss dword [rbx + 0x1564], xmm7
mov r8d, 0xc1347
movss dword [rbx + 0x1568], xmm6
lea rcx, str.NavWindowingList
call fcn.140017ab0
mov ebx, dword [rbp + 0x1a40]
movaps xmm7, xmmword [rsp + 0x30]
sub ebx, 1
movaps xmm6, xmmword [rsp + 0x40]
movsxd rsi, ebx
js 0x140021c61
mov qword [rsp + 0x70], rdi
cmp ebx, dword [rbp + 0x1a40]
jl 0x140021b94
mov r8d, 0x57e
lea rdx, str.E:ReposSimHapticlibsimguiimgui.h
lea rcx, [0x14011c2a8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbp + 0x1a48]
mov rdi, qword [rax + rsi*8]
cmp byte [rdi + 0x87], 0
je 0x140021c50
cmp rdi, qword [rdi + 0x380]
jne 0x140021c50
test dword [rdi + 0xc], 0x80000
jne 0x140021c50
mov r10, qword [rdi]
mov rcx, r10
cmp r10, 0xffffffffffffffff
jae 0x140021bf4
movzx edx, byte [rcx]
test dl, dl
je 0x140021bef
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x140021be6
cmp byte [rax], dl
je 0x140021bef
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x140021bd2
cmp r10, rcx
jne 0x140021c2d
mov eax, dword [rdi + 0xc]
bt eax, 0x1a
jae 0x140021c06
lea r10, str._Popup_
jmp 0x140021c2d
bt eax, 0xa
jae 0x140021c26
lea rdx, str.MainMenuBar
mov rcx, r10
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
lea r10, str._Main_menu_bar_
test eax, eax
je 0x140021c2d
lea r10, str._Untitled_
cmp qword [rbp + 0x1d68], rdi
lea r9, [rsp + 0x60]
mov rcx, r10
mov qword [rsp + 0x60], 0
sete dl
xor r8d, r8d
call fcn.140043c50
dec ebx
sub rsi, 1
jns 0x140021b72
mov rdi, qword [rsp + 0x70]
call fcn.140019fe0
mov ecx, 1
call fcn.14000e9f0
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret