Function at 0x140018ae0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
push r15
sub rsp, 0x58
mov rbx, qword [0x1400c9a50]
mov r15, rbx
cmp qword [rbx + 0x1fb8], 0
jne 0x140018b1d
mov r8d, 0x28d2
lea rdx, str.D:Sourcesimgui_512c54bbc062c41c74f8a8bd8ff1fd6bebd1e6d0imgui.cpp
lea rcx, str.g.NavWindowingTarget___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [0x1400c9a50]
movss xmm0, dword [0x14006cc8c]
comiss xmm0, dword [r15 + 0x1fd0]
ja 0x140018e6a
cmp qword [r15 + 0x1fc8], 0
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x88], rdi
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
jne 0x140018baf
mov r10d, 0xffffffff
lea r8, [0x14005fc81]
mov ecx, r10d
lea r11, [0x140060380]
mov r9b, 0x23
cmp r9b, 0x23
jne 0x140018b84
cmp byte [r8], r9b
jne 0x140018b84
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 0x140018b71
not ecx
call fcn.14000b6c0
mov qword [r15 + 0x1fc8], rax
lea rdi, [rbx + 0x1e40]
cmp dword [rdi], 0
jg 0x140018bdc
mov r8d, 0x6bb
lea rdx, str.D:Sourcesimgui_512c54bbc062c41c74f8a8bd8ff1fd6bebd1e6d0imgui.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 [0x1400c9a50]
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 + 0x1d48]
or eax, 0x10
movss xmm2, dword [rcx + 0xc]
movss xmm1, dword [rcx + 0x10]
mulss xmm1, dword [0x14006cc9c]
mov dword [rbx + 0x1d48], eax
or eax, 1
mulss xmm2, dword [0x14006cc9c]
mov qword [rbx + 0x1d98], rdx
mov qword [rbx + 0x1da0], rdx
lea rdx, [rsp + 0x20]
movss xmm0, xmm2
movss xmm2, dword [0x14006cccc]
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm1
shufps xmm0, xmm0, 0xe1
movups xmmword [rbx + 0x1d84], xmm0
movss xmm1, dword [rcx + 0x10]
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x20], 2
movss xmm0, dword [rcx + 0xc]
mulss xmm1, xmm2
mulss xmm0, xmm2
addss xmm1, dword [rcx + 8]
addss xmm0, dword [rcx + 4]
mov dword [rbx + 0x1d48], eax
lea rcx, [rbx + 0x1dc8]
mov dword [rbx + 0x1d4c], 1
unpcklps xmm0, xmm1
movaps xmm1, xmm2
movsd qword [rbx + 0x1d58], xmm0
unpcklps xmm1, xmm2
movsd qword [rbx + 0x1d60], xmm1
movss xmm7, dword [r15 + 0x1578]
movss xmm6, dword [r15 + 0x157c]
addss xmm7, xmm7
movss xmm1, dword [rbx + 0x1578]
addss xmm6, xmm6
movss xmm0, dword [rbx + 0x157c]
movss dword [rsp + 0x24], xmm1
movss dword [rsp + 0x28], xmm0
call fcn.14001b530
xor edx, edx
movss dword [rbx + 0x1578], xmm7
mov r8d, 0xc1347
movss dword [rbx + 0x157c], xmm6
lea rcx, str.NavWindowingList
call fcn.14000de80
mov edi, dword [r15 + 0x1c00]
movaps xmm7, xmmword [rsp + 0x30]
sub edi, 1
movaps xmm6, xmmword [rsp + 0x40]
movsxd rsi, edi
js 0x140018e4b
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x50], r14
cmp edi, dword [r15 + 0x1c00]
jl 0x140018d5a
mov r8d, 0x6bb
lea rdx, str.D:Sourcesimgui_512c54bbc062c41c74f8a8bd8ff1fd6bebd1e6d0imgui.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 + 0x1c08]
mov rbx, qword [rax + rsi*8]
test rbx, rbx
jne 0x140018d84
mov r8d, 0x28e1
lea rdx, str.D:Sourcesimgui_512c54bbc062c41c74f8a8bd8ff1fd6bebd1e6d0imgui.cpp
lea rcx, str.window___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rbx + 0x8f], 0
je 0x140018e35
cmp rbx, qword [rbx + 0x350]
jne 0x140018e35
test dword [rbx + 0xc], 0x80000
jne 0x140018e35
mov r10, qword [rbx]
mov rcx, r10
cmp r10, 0xffffffffffffffff
jae 0x140018dd9
movzx edx, byte [rcx]
test dl, dl
je 0x140018dd4
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x140018dcb
cmp byte [rax], dl
je 0x140018dd4
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x140018db7
cmp r10, rcx
jne 0x140018e12
mov eax, dword [rbx + 0xc]
bt eax, 0x1a
jae 0x140018deb
lea r10, str._Popup_
jmp 0x140018e12
bt eax, 0xa
jae 0x140018e0b
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 0x140018e12
lea r10, str._Untitled_
cmp qword [r15 + 0x1fb8], rbx
lea r9, [rsp + 0x70]
mov rcx, r10
mov qword [rsp + 0x70], 0
sete dl
xor r8d, r8d
call fcn.140048690
dec edi
sub rsi, 1
jns 0x140018d37
mov r14, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x78]
call fcn.1400106d0
mov ecx, 1
call fcn.140003580
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
add rsp, 0x58
pop r15
pop rbx
ret