Function at 0x1400511e0
Capabilities:
Hash data with crc32

Disassembly:
push r15
sub rsp, 0x70
mov r15, qword [0x1400c23a8]
cmp qword [r15 + 0x4348], 0
jne 0x140051211
mov r8d, 0x2d30
lea rdx, str.C:UsersAdministratorDownloads_toadclicker_main_vendorimguiimgui.cpp
lea rcx, str.g.NavWindowingTarget___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [0x1400a5550]
comiss xmm0, dword [r15 + 0x4360]
ja 0x1400515a1
cmp qword [r15 + 0x4358], 0
mov qword [rsp + 0x88], rbx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x60], rdi
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
jne 0x1400512a5
mov r10d, 0xffffffff
lea r8, [0x1400a2ea1]
mov ecx, r10d
lea r11, [0x14009cc30]
mov r9b, 0x23
cmp r9b, 0x23
jne 0x14005127a
cmp byte [r8], r9b
jne 0x14005127a
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 0x140051267
not ecx
call fcn.140048c90
mov qword [r15 + 0x4358], rax
mov rbx, qword [0x1400c23a8]
cmp dword [rbx + 0x4180], 0
jg 0x1400512cf
mov r8d, 0x753
lea rdx, [0x14009c4e0]
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x4188]
xor edx, edx
mov dword [rsp + 0x28], 0x7f7fffff
mov dword [rsp + 0x2c], 0x7f7fffff
movups xmm0, xmmword [rsp + 0x20]
mov rcx, qword [rax]
mov rax, qword [0x1400c23a8]
movss xmm2, dword [rcx + 0x10]
movss xmm1, dword [rcx + 0x14]
or dword [rax + 0x4068], 0x10
mulss xmm1, dword [0x14009ba58]
mov qword [rax + 0x40b8], rdx
mulss xmm2, dword [0x14009ba58]
mov qword [rax + 0x40c0], rdx
lea rdx, [rsp + 0x20]
movss xmm0, xmm2
movss xmm2, dword [0x140097f6c]
shufps xmm0, xmm0, 0xe1
movss xmm0, xmm1
shufps xmm0, xmm0, 0xe1
movups xmmword [rax + 0x40a8], xmm0
mov rax, qword [0x1400c23a8]
movss xmm1, dword [rcx + 0x14]
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x20], 2
movss xmm0, dword [rcx + 0x10]
mulss xmm1, xmm2
mulss xmm0, xmm2
addss xmm1, dword [rcx + 0xc]
addss xmm0, dword [rcx + 8]
or dword [rax + 0x4068], 1
mov dword [rax + 0x406c], 1
mov byte [rax + 0x40a4], 1
unpcklps xmm0, xmm1
movaps xmm1, xmm2
movsd qword [rax + 0x407c], xmm0
unpcklps xmm1, xmm2
movsd qword [rax + 0x4084], xmm1
mov rbx, qword [0x1400c23a8]
movss xmm7, dword [r15 + 0x3888]
movss xmm6, dword [r15 + 0x388c]
addss xmm7, xmm7
addss xmm6, xmm6
movss xmm1, dword [rbx + 0x3888]
lea rcx, [rbx + 0x4108]
movss xmm0, dword [rbx + 0x388c]
movss dword [rsp + 0x24], xmm1
movss dword [rsp + 0x28], xmm0
call fcn.14005ff30
xor edx, edx
movss dword [rbx + 0x3888], xmm7
mov r8d, 0xc1347
movss dword [rbx + 0x388c], xmm6
lea rcx, str.NavWindowingList
call fcn.140034c00
mov edi, dword [r15 + 0x3f08]
movaps xmm7, xmmword [rsp + 0x30]
sub edi, 1
movaps xmm6, xmmword [rsp + 0x40]
movsxd rsi, edi
js 0x140051580
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x58], r12
lea r12, str._Untitled_
mov qword [rsp + 0x50], r14
nop
cmp edi, dword [r15 + 0x3f08]
jl 0x140051473
mov r8d, 0x753
lea rdx, [0x14009c4e0]
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 + 0x3f10]
mov rbx, qword [rax + rsi*8]
test rbx, rbx
jne 0x14005149d
mov r8d, 0x2d3f
lea rdx, str.C:UsersAdministratorDownloads_toadclicker_main_vendorimguiimgui.cpp
lea rcx, str.window___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rbx + 0xcc], 0
je 0x140051562
cmp rbx, qword [rbx + 0x398]
jne 0x140051562
test dword [rbx + 0xc], 0x80000
jne 0x140051562
mov r10, qword [rbx]
mov rcx, r10
cmp r10, 0xffffffffffffffff
jae 0x1400514f2
movzx edx, byte [rcx]
test dl, dl
je 0x1400514ed
lea rax, [rcx + 1]
cmp dl, 0x23
jne 0x1400514e4
cmp byte [rax], dl
je 0x1400514ed
mov rcx, rax
cmp rax, 0xffffffffffffffff
jb 0x1400514d0
cmp r10, rcx
jne 0x140051539
mov eax, dword [rbx + 0xc]
bt eax, 0x1a
jae 0x140051504
lea r10, str._Popup_
jmp 0x140051539
bt eax, 0xa
jae 0x140051526
lea rdx, str.MainMenuBar
mov rcx, r10
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
jne 0x140051526
lea r10, str._Main_menu_bar_
jmp 0x140051539
cmp qword [rbx + 0x420], 0
lea r10, str._Dock_node_
cmove r10, r12
cmp qword [r15 + 0x4348], rbx
lea r9, [rsp + 0x80]
mov rcx, r10
mov qword [rsp + 0x80], 0
sete dl
xor r8d, r8d
call fcn.14008a260
dec edi
sub rsi, 1
jns 0x140051450
mov r14, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x90]
call fcn.140046190
mov ecx, 1
call fcn.140052fd0
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop r15
ret