Function at 0x140018e60
Capabilities:
Hash data with crc32

Disassembly:
push rbx
push r15
sub rsp, 0x58
mov rbx, qword [0x1400c25e0]
mov r15, rbx
cmp qword [rbx + 0x4250], 0
jne 0x140018e9d
mov r8d, 0x2b3f
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobiaimgui.cpp
lea rcx, str.g.NavWindowingTarget___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1400c25e0]
movss xmm0, dword [0x1400550ac]
comiss xmm0, dword [r15 + 0x4268]
ja 0x1400191f2
cmp qword [r15 + 0x4260], 0
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rdi
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
jne 0x140018f2f
mov r10d, 0xffffffff
lea r8, [0x14004d961]
mov ecx, r10d
lea r11, [0x14004e0e0]
mov r9b, 0x23
cmp r9b, 0x23
jne 0x140018f04
cmp byte [r8], r9b
jne 0x140018f04
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 0x140018ef1
not ecx
call fcn.14000b720
mov qword [r15 + 0x4260], rax
lea rdi, [rbx + 0x40d8]
cmp dword [rdi], 0
jg 0x140018f5c
mov r8d, 0x708
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobiaimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1400c25e0]
mov rax, qword [rdi + 8]
xor edx, edx
mov dword [rsp + 0x28], 0x7f7fffff
mov dword [rsp + 0x2c], 0x7f7fffff
movups xmm0, xmmword [rsp + 0x20]
mov rcx, qword [rax]
mov eax, dword [rbx + 0x3fe0]
or eax, 0x10
movss xmm2, dword [rcx + 0xc]
movss xmm1, dword [rcx + 0x10]
mulss xmm1, dword [0x1400550b0]
mov dword [rbx + 0x3fe0], eax
or eax, 1
mulss xmm2, dword [0x1400550b0]
mov qword [rbx + 0x4030], rdx
mov qword [rbx + 0x4038], rdx
lea rdx, [rsp + 0x20]
movss xmm0, xmm2
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm1
shufps xmm0, xmm0, 0xe1
movups xmmword [rbx + 0x401c], xmm0
movss xmm1, dword [rcx + 0x10]
movss xmm2, dword [rcx + 0xc]
mulss xmm1, dword [0x1400550d0]
mulss xmm2, dword [0x1400550d0]
addss xmm1, dword [rcx + 8]
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x20], 2
addss xmm2, dword [rcx + 4]
mov dword [rbx + 0x3fe0], eax
lea rcx, [rbx + 0x4060]
movss dword [rbx + 0x3ff4], xmm1
mov dword [rbx + 0x3ff8], 0x3f000000
mov dword [rbx + 0x3ffc], 0x3f000000
movss dword [rbx + 0x3ff0], xmm2
mov dword [rbx + 0x3fe4], 1
movss xmm7, dword [r15 + 0x3800]
movss xmm6, dword [r15 + 0x3804]
addss xmm7, xmm7
movss xmm1, dword [rbx + 0x3800]
addss xmm6, xmm6
movss xmm0, dword [rbx + 0x3804]
movss dword [rsp + 0x24], xmm1
movss dword [rsp + 0x28], xmm0
call fcn.14001b270
xor edx, edx
movss dword [rbx + 0x3800], xmm7
mov r8d, 0xc1347
movss dword [rbx + 0x3804], xmm6
lea rcx, str.NavWindowingList
call fcn.14000e1c0
mov edi, dword [r15 + 0x3e88]
movaps xmm7, xmmword [rsp + 0x30]
sub edi, 1
movaps xmm6, xmmword [rsp + 0x40]
movsxd rsi, edi
js 0x1400191d3
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x50], r14
cmp edi, dword [r15 + 0x3e88]
jl 0x1400190e5
mov r8d, 0x708
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobiaimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r15 + 0x3e90]
mov rbx, qword [rax + rsi*8]
test rbx, rbx
jne 0x14001910f
mov r8d, 0x2b4e
lea rdx, str.C:UserswtfffDownloadsmenu_phobiamenu_phobiaimgui.cpp
lea rcx, str.window___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rbx + 0x97], 0
je 0x1400191bd
cmp rbx, qword [rbx + 0x368]
jne 0x1400191bd
test dword [rbx + 0xc], 0x80000
jne 0x1400191bd
mov r8, qword [rbx]
mov rcx, r8
cmp r8, 0xffffffffffffffff
jae 0x140019164
movzx edx, byte [rcx]
test dl, dl
je 0x14001915f
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x140019156
cmp byte [rax], dl
je 0x14001915f
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x140019142
cmp r8, rcx
jne 0x14001919d
mov eax, dword [rbx + 0xc]
bt eax, 0x1a
jae 0x140019176
lea r8, str._Popup_
jmp 0x14001919d
bt eax, 0xa
jae 0x140019196
lea rdx, str.MainMenuBar
mov rcx, r8
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
lea r8, str._Main_menu_bar_
test eax, eax
je 0x14001919d
lea r8, str._Untitled_
cmp qword [r15 + 0x4250], rbx
lea r9, [rsp + 0x70]
mov rcx, r8
mov qword [rsp + 0x70], 0
sete dl
call fcn.14003fc50
dec edi
sub rsi, 1
jns 0x1400190c2
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x78]
call fcn.140010990
mov ecx, 1
call fcn.140003770
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
add rsp, 0x58
pop r15
pop rbx
ret