Function at 0x14000f220
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rsi
push rdi
sub rsp, 0xb8
mov rdi, qword [0x1401f8c48]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], r14
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
movaps xmmword [rax - 0x58], xmm9
movaps xmmword [rax - 0x68], xmm10
movaps xmmword [rax - 0x78], xmm11
movaps xmmword [rsp + 0x40], xmm12
test rdi, rdi
jne 0x14000f287
mov r8d, 0x1141
lea rdx, str.C:_sourceCSLTools_Simgui.cpp
lea rcx, str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdi, qword [0x1401f8c48]
mov ebx, dword [rdi + 0x5c50]
sub ebx, 1
js 0x14000f37d
movsxd rbp, ebx
shl rbp, 5
mov r14, rbp
cmp ebx, dword [rdi + 0x5c50]
jl 0x14000f2c2
mov r8d, 0x710
lea rdx, str.C:_sourceCSLTools_Simgui.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 [rdi + 0x5c58]
cmp dword [rax + rbp + 4], 7
jne 0x14000f36c
cmp ebx, dword [rdi + 0x5c50]
jl 0x14000f2f6
mov r8d, 0x710
lea rdx, str.C:_sourceCSLTools_Simgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rdi + 0x5c58]
lea rsi, [rcx + r14]
cmp rsi, rcx
jb 0x14000f319
movsxd rax, dword [rdi + 0x5c50]
shl rax, 5
add rax, rcx
cmp rsi, rax
jb 0x14000f333
mov r8d, 0x728
lea rdx, str.C:_sourceCSLTools_Simgui.h
lea rcx, [0x1401349a8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rdi + 0x5c58]
movsxd r8, dword [rdi + 0x5c50]
sub rsi, rcx
sar rsi, 5
sub r8, rsi
mov rax, rsi
shl rax, 5
add rcx, rax
shl r8, 5
sub r8, 0x20
lea rdx, [rcx + 0x20]
call sub.VCRUNTIME140.dll_memmove
dec dword [rdi + 0x5c50]
sub r14, 0x20
sub rbp, 0x20
sub ebx, 1
jns 0x14000f2a0
xor edx, edx
mov rcx, rdi
call fcn.14000d6a0
call fcn.14001d130
mov rbx, qword [0x1401f8c48]
xor esi, esi
cmp byte [rbx + 0x5c09], sil
jne 0x14000f421
cmp dword [rbx + 0x5c30], esi
je 0x14000f3c4
mov r8d, 0x321a
lea rdx, str.C:_sourceCSLTools_Simgui.cpp
lea rcx, str.g.SettingsWindows.empty__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14000f41a
lea r8, [rsp + 0xd0]
mov qword [rsp + 0xd0], rsi
call fcn.14000a490
mov rbp, rax
test rax, rax
je 0x14000f41a
mov rdx, qword [rsp + 0xd0]
test rdx, rdx
je 0x14000f3ff
mov rcx, rax
call fcn.140025790
mov rcx, qword [0x1401f8c48]
test rcx, rcx
je 0x14000f411
dec dword [rcx + 0xf4]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov byte [rbx + 0x5c09], 1
movss xmm0, dword [rbx + 0x5c0c]
xorps xmm12, xmm12
comiss xmm0, xmm12
jbe 0x14000f4c0
subss xmm0, dword [rbx + 0x18]
comiss xmm12, xmm0
movss dword [rbx + 0x5c0c], xmm0
jb 0x14000f4c0
mov rbp, qword [rbx + 0x20]
test rbp, rbp
je 0x14000f4b3
mov rax, qword [0x1401f8c48]
lea rcx, [rsp + 0xd0]
mov qword [rsp + 0xd0], rsi
mov dword [rax + 0x5c0c], esi
call fcn.140025b40
lea rdx, [0x14013466c]
mov rcx, rbp
mov r14, rax
call fcn.14000a2e0
mov rbp, rax
test rax, rax
je 0x14000f4ba
mov r8, qword [rsp + 0xd0]
mov r9, rax
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
jmp 0x14000f4ba
mov byte [rbx + 0xdc], 1
mov dword [rbx + 0x5c0c], esi
inc dword [rdi + 0x3e50]
movss xmm0, dword [rdi + 0x18]
cvtps2pd xmm0, xmm0
mov byte [rdi + 0x3e5c], 1
mov word [rdi + 0x5bc2], si
mov dword [rdi + 0x3ee8], esi
addsd xmm0, qword [rdi + 0x3e48]
movsd qword [rdi + 0x3e48], xmm0
mov ecx, dword [rdi + 0x5bdc]
test ecx, ecx
jns 0x14000f518
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x5bd8]
test eax, eax
cmovg edx, eax
call fcn.140027ed0
movss xmm11, dword [0x140142acc]
movss xmm10, dword [0x140142768]
mov dword [rdi + 0x5bd8], esi
movsxd rax, dword [rdi + 0x5e48]
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [rdi + rax*4 + 0x5d58]
addss xmm0, dword [rdi + 0x5e50]
movss dword [rdi + 0x5e50], xmm0
movss dword [rdi + rax*4 + 0x5d58], xmm1
mov eax, 0x88888889
mov ecx, dword [rdi + 0x5e48]
movss xmm2, dword [rdi + 0x5e50]
inc ecx
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x3c
sub ecx, eax
mov eax, dword [rdi + 0x5e4c]
inc eax
mov dword [rdi + 0x5e48], ecx
mov ecx, 0x3c
cmp eax, ecx
cmovl ecx, eax
comiss xmm2, xmm12
mov dword [rdi + 0x5e4c], ecx
jbe 0x14000f5c2
movd xmm0, ecx
movaps xmm1, xmm10
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
divss xmm1, xmm2
jmp 0x14000f5c6
movaps xmm1, xmm11
movss dword [rdi + 0xe0], xmm1
mov ecx, dword [rdi + 0x3e84]
test ecx, ecx
jns 0x14000f5f4
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x3e80]
test eax, eax
cmovg edx, eax
call fcn.140027d10
mov dword [rdi + 0x3e80], esi
movzx ecx, byte [rdi + 0x7a]
call fcn.14001c4a0
mov rbp, qword [0x1401f8c48]
cmp dword [rbp + 0x48c8], 1
je 0x14000f62d
mov r8d, 0x3385
lea rdx, str.C:_sourceCSLTools_Simgui.cpp
lea rcx, str.g.Viewports.Size__1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [rbp + 0x48c8], esi
jg 0x14000f64f
mov r8d, 0x710
lea rdx, str.C:_sourceCSLTools_Simgui.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 [rbp + 0x48d0]
mov r14d, esi
mov rcx, qword [rax]
mov qword [rcx], 5
mov dword [rcx + 8], esi
movsd xmm0, qword [rbp + 0x10]
movsd qword [rcx + 0xc], xmm0
mov eax, dword [rbp + 0x48c8]
test eax, eax
jle 0x14000f750
mov rbx, rsi
test rbx, rbx
js 0x14000f68b
cmp r14d, eax
jl 0x14000f6a5
mov r8d, 0x710
lea rdx, str.C:_sourceCSLTools_Simgui.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 [rbp + 0x48d0]
movaps xmm3, xmm12
inc r14d
mov rcx, qword [rax + rbx*8]
inc rbx
movsd xmm4, qword [rcx + 0xa8]
movsd xmm2, qword [rcx + 0xb0]
movaps xmm1, xmm4
addss xmm1, dword [rcx + 4]
movsd qword [rcx + 0xa0], xmm2
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
addss xmm0, dword [rcx + 8]
mov qword [rcx + 0xb0], rsi
movss dword [rcx + 0x14], xmm1
movss xmm1, dword [rcx + 0xc]
mov qword [rcx + 0xa8], rsi
subss xmm1, xmm4
movss dword [rcx + 0x18], xmm0
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
movsd qword [rcx + 0x98], xmm4
addss xmm1, xmm2
movss xmm2, dword [rcx + 0x10]
subss xmm2, xmm0
movaps xmm0, xmm12
maxss xmm3, xmm1
addss xmm2, dword [rcx + 0xa4]
movss dword [rcx + 0x1c], xmm3
maxss xmm0, xmm2
movss dword [rcx + 0x20], xmm0
mov eax, dword [rbp + 0x48c8]
cmp r14d, eax
jl 0x14000f681
mov rax, qword [rdi + 0x58]
mov rbx, qword [0x1401f8c48]
mov byte [rax + 0x18], 1
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14000f792
mov rbx, qword [rbx + 0x58]
cmp dword [rbx + 0x58], esi
jg 0x14000f78b
mov r8d, 0x710
lea rdx, str.C:_sourceCSLTools_Simgui.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 [rbx + 0x60]
mov rcx, qword [rax]
call fcn.140019290
mov rax, qword [rdi + 0x3c18]
cmp qword [rax + 0x40], rsi
jne 0x14000f7be
mov r8d, 0x116a
lea rdx, str.C:_sourceCSLTools_Simgui.cpp
lea rcx, str.g.Font__IsLoaded__
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm6, dword [0x140142b0c]
movaps xmm9, xmm11
mov eax, dword [rdi + 0x48c8]
movaps xmm7, xmm6
movaps xmm8, xmm11
mov ebx, esi
test eax, eax
jle 0x14000f85f
mov rbp, rsi
test rbp, rbp
js 0x14000f7ed
cmp ebx, eax
jl 0x14000f807
mov r8d, 0x710
lea rdx, str.C:_sourceCSLTools_Simgui.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 [rdi + 0x48d0]
mov rcx, qword [rax + rbp*8]
movss xmm3, dword [rcx + 4]
comiss xmm9, xmm3
movss xmm2, dword [rcx + 8]
movaps xmm0, xmm3
addss xmm0, dword [rcx + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [rcx + 0x10]
jbe 0x14000f836
movaps xmm9, xmm3
comiss xmm8, xmm2
jbe 0x14000f840
movaps xmm8, xmm2
comiss xmm0, xmm6
jbe 0x14000f848
movaps xmm6, xmm0
comiss xmm1, xmm7
jbe 0x14000f850
movaps xmm7, xmm1
mov eax, dword [rdi + 0x48c8]
inc ebx
inc rbp
cmp ebx, eax
jl 0x14000f7e4
movss dword [rdi + 0x3c44], xmm9
movss dword [rdi + 0x3c48], xmm8
movss dword [rdi + 0x3c4c], xmm6
movss dword [rdi + 0x3c50], xmm7
mov eax, dword [rdi + 0x38a4]
movss xmm6, dword [rdi + 0x38a8]
movaps xmm9, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm7, xmmword [rsp + 0x90]
mov dword [rdi + 0x3c3c], eax
movss xmm0, dword [rdi + 0x3c40]
ucomiss xmm0, xmm6
jp 0x14000f8bf
je 0x14000f98c
comiss xmm6, xmm12
ja 0x14000f8df
mov r8d, 0x1bd
lea rdx, str.C:_sourceCSLTools_Simgui_draw.cpp
lea rcx, str.max_error___0.0f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss dword [rdi + 0x3c40], xmm6
lea r14, [rdi + 0x3dec]
movss xmm6, dword [0x1401427c8]
mov ebx, esi
mov ebp, 0x800
nop dword [rax]
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
test ebx, ebx
je 0x14000f951
movss xmm1, dword [rdi + 0x3c40]
minss xmm1, xmm0
divss xmm1, xmm0
movaps xmm0, xmm10
subss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_acosf
movaps xmm1, xmm6
divss xmm1, xmm0
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_ceilf
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
sar eax, 1
add eax, eax
jns 0x14000f94a
mov eax, esi
jmp 0x14000f956
cmp eax, ebp
cmovg eax, ebp
jmp 0x14000f956
mov eax, 0x30
mov byte [r14], al
inc ebx
inc r14
cmp ebx, 0x40
jl 0x14000f900
movss xmm0, dword [0x140142700]
call sub.api_ms_win_crt_math_l1_1_0.dll_cosf
movss xmm1, dword [rdi + 0x3c40]
movaps xmm2, xmm10
subss xmm2, xmm0
divss xmm1, xmm2
movss dword [rdi + 0x3de8], xmm1
mov r8d, esi
movaps xmm6, xmmword [rsp + 0xa0]
mov dword [rdi + 0x3c54], esi
cmp byte [rdi + 0x38a0], sil
je 0x14000f9b6
mov dword [rdi + 0x3c54], 1
mov r8d, 1
mov edx, r8d
cmp byte [rdi + 0x38a1], sil
je 0x14000f9db
mov rax, qword [rdi + 0x3c18]
mov rcx, qword [rax + 0x40]
test byte [rcx], 4
jne 0x14000f9db
or edx, 2
mov dword [rdi + 0x3c54], edx
cmp byte [rdi + 0x38a2], sil
je 0x14000f9ed
or edx, 4
mov dword [rdi + 0x3c54], edx
test byte [rdi + 0xc], 8
je 0x14000f9fc
or edx, 8
mov dword [rdi + 0x3c54], edx
mov eax, dword [rdi + 0x48c8]
mov ebx, esi
test eax, eax
jle 0x14000fa5c
mov rbp, rsi
nop dword [rax + rax]
test rbp, rbp
js 0x14000fa19
cmp ebx, eax
jl 0x14000fa33
mov r8d, 0x710
lea rdx, str.C:_sourceCSLTools_Simgui.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 [rdi + 0x48d0]
xorps xmm0, xmm0
inc ebx
mov rcx, qword [rax + rbp*8]
inc rbp
movups xmmword [rcx + 0x48], xmm0
movups xmmword [rcx + 0x58], xmm0
movups xmmword [rcx + 0x68], xmm0
mov eax, dword [rdi + 0x48c8]
cmp ebx, eax
jl 0x14000fa10
mov rcx, qword [0x1401f8c48]
cmp byte [rdi + 0x4a9c], sil
je 0x14000fa97
mov eax, dword [rdi + 0x4abc]
cmp eax, dword [rdi + 0x3f58]
jne 0x14000fa97
cmp dword [rcx + 0x3f58], eax
jne 0x14000fa88
mov dword [rcx + 0x3f5c], eax
cmp dword [rcx + 0x3f88], eax
jne 0x14000fa97
mov byte [rcx + 0x3f8c], 1
cmp dword [rdi + 0x3f48], esi
jne 0x14000faa7
mov dword [rdi + 0x3f50], esi
jmp 0x14000fab9
mov eax, dword [rdi + 0x3f44]
test eax, eax
je 0x14000fabf
cmp dword [rdi + 0x3f58], eax
jne 0x14000fabf
mov dword [rdi + 0x3f54], esi
mov eax, dword [rdi + 0x3f44]
test eax, eax
je 0x14000faf9
movss xmm1, dword [rdi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [rdi + 0x3f50]
movss dword [rdi + 0x3f50], xmm0
cmp dword [rdi + 0x3f58], eax
je 0x14000faf9
addss xmm1, dword [rdi + 0x3f54]
movss dword [rdi + 0x3f54], xmm1
mov dword [rdi + 0x3f48], eax
mov eax, dword [rdi + 0x3f58]
mov dword [rdi + 0x3f44], esi
mov word [rdi + 0x3f4c], si
test eax, eax
je 0x14000fb4b
cmp dword [rdi + 0x3f5c], eax
je 0x14000fb4b
cmp dword [rdi + 0x3f88], eax
jne 0x14000fb4b
test byte [rdi + 0x5ce4], 1
je 0x14000fb3b
lea rcx, str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.140026890
xor edx, edx
xor ecx, ecx
call fcn.14000e2f0
mov rcx, qword [0x1401f8c48]
mov ebx, dword [rdi + 0x3f58]
test ebx, ebx
je 0x14000fb6a
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x3f60]
movss dword [rdi + 0x3f60], xmm0
mov rax, qword [rdi + 0x3f78]
movss xmm0, dword [rdi + 0x18]
addss xmm0, dword [rdi + 0x3f9c]
mov qword [rdi + 0x3f90], rax
movzx eax, byte [rdi + 0x3f68]
mov byte [rdi + 0x3f8d], al
mov eax, dword [rdi + 0x5b48]
movss dword [rdi + 0x3f9c], xmm0
mov dword [rdi + 0x3f88], ebx
mov dword [rdi + 0x3f5c], esi
mov byte [rdi + 0x3f69], sil
mov byte [rdi + 0x3f8c], sil
mov byte [rdi + 0x3f64], sil
test eax, eax
je 0x14000fbcf
cmp ebx, eax
je 0x14000fbcf
mov dword [rdi + 0x5b48], esi
test ebx, ebx
jne 0x14000fbe8
mov dword [rdi + 0x4768], esi
mov byte [rdi + 0x476c], sil
mov dword [rdi + 0x4770], esi
jmp 0x14000fc2f
mov eax, dword [rdi + 0x4770]
test eax, eax
je 0x14000fc2f
test al, 2
je 0x14000fc09
mov edx, 0x20e
call fcn.1400092b0
mov dword [rax + 4], ebx
mov dword [rax], ebx
mov word [rax + 8], si
test dword [rdi + 0x4770], 0xfffffffd
je 0x14000fc2f
mov r8d, 0x11bd
lea rdx, str.C:_sourceCSLTools_Simgui.cpp
lea rcx, [0x14012f380]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rdi + 0x4c10]
movss xmm0, dword [rdi + 0x4c18]
mov dword [rdi + 0x4c14], eax
test eax, eax
je 0x14000fc62
addss xmm0, dword [rdi + 0x18]
mov dword [rdi + 0x4c1c], esi
mov dword [rdi + 0x4c10], esi
movss dword [rdi + 0x4c18], xmm0
jmp 0x14000fc9c
comiss xmm0, xmm12
jbe 0x14000fc9c
movss xmm2, dword [rdi + 0x18]
movss xmm0, dword [0x140142710]
movaps xmm1, xmm2
addss xmm1, dword [rdi + 0x4c1c]
addss xmm2, xmm2
movss dword [rdi + 0x4c1c], xmm1
maxss xmm0, xmm2
comiss xmm1, xmm0
jb 0x14000fc9c
mov qword [rdi + 0x4c18], rsi
mov eax, dword [rdi + 0x4b0c]
mov dword [rdi + 0x4b10], eax
mov qword [rdi + 0x4b08], 0x7f7fffff
mov word [rdi + 0x4a9d], si
mov dword [rdi + 0x4b18], esi
call fcn.14001aca0
call fcn.140021880
call fcn.14001b4d0
call fcn.14000edf0
mov rbx, qword [0x1401f8c48]
mov rcx, qword [rbx + 0x3f10]
test rcx, rcx
je 0x14000fdfe
mov eax, dword [rbx + 0x3f58]
mov dword [rbx + 0x3f5c], eax
cmp dword [rbx + 0x3f88], eax
jne 0x14000fd06
mov byte [rbx + 0x3f8c], 1
cmp qword [rcx + 0x378], rsi
jne 0x14000fd29
mov r8d, 0x109d
lea rdx, str.C:_sourceCSLTools_Simgui.cpp
lea rcx, str.g.MovingWindow__g.MovingWindow__RootWindow
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbx + 0x3f10]
mov r14, qword [rax + 0x378]
cmp byte [rbx + 0xe10], sil
je 0x14000fdf5
cmp qword [0x1401f8c48], rsi
lea rbp, [rbx + 0xe08]
jne 0x14000fd6e
mov r8d, 0x20b1
lea rdx, str.C:_sourceCSLTools_Simgui.cpp
lea rcx, str.GImGui___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rbp, rbp
jne 0x14000fd81
mov rbp, qword [0x1401f8c48]
add rbp, 0xe08
movss xmm0, dword [rbp]
movss xmm1, dword [0x140142b08]
comiss xmm0, xmm1
movss xmm2, dword [rbp + 4]
jb 0x14000fdf5
comiss xmm2, xmm1
jb 0x14000fdf5
movss xmm0, dword [rbx + 0xe08]
lea rdx, [rsp + 0xd0]
movss xmm1, dword [rbx + 0xe0c]
mov r8d, 1
subss xmm0, dword [rbx + 0x3f6c]
subss xmm1, dword [rbx + 0x3f70]
mov rcx, r14
movss dword [rsp + 0xd0], xmm0
movss dword [rsp + 0xd4], xmm1
call fcn.140019720
mov rcx, qword [rbx + 0x3f10]
xor edx, edx
call fcn.140018ee0
jmp 0x14000fe3c
mov qword [rbx + 0x3f10], rsi
jmp 0x14000fe33
mov rcx, qword [rbx + 0x3f78]
test rcx, rcx
je 0x14000fe3c
mov eax, dword [rbx + 0x3f58]
cmp dword [rcx + 0x7c], eax
jne 0x14000fe3c
mov dword [rbx + 0x3f5c], eax
cmp dword [rbx + 0x3f88], eax
jne 0x14000fe2a
mov byte [rbx + 0x3f8c], 1
cmp byte [rbx + 0xe10], sil
jne 0x14000fe3c
xor edx, edx
xor ecx, ecx
call fcn.14000e2f0
mov r8, qword [0x1401f8c48]
mov eax, dword [r8 + 0x48a0]
sub eax, 1
js 0x14000fe7f
mov r8, qword [r8 + 0x48a8]
movsxd rdx, eax
add r8, 8
imul rcx, rdx, 0x38
add r8, rcx
mov rax, qword [r8]
test rax, rax
je 0x14000fe75
test dword [rax + 0x14], 0x8000000
jne 0x14000fe96
sub r8, 0x38
sub rdx, 1
jns 0x14000fe64
cmp qword [rdi + 0x4a60], rsi
je 0x14000feb2
movss xmm0, dword [rdi + 0x4a7c]
comiss xmm0, xmm12
jbe 0x14000feb2
movss xmm1, dword [rdi + 0x18]
mulss xmm1, dword [0x1401427f0]
addss xmm1, dword [rdi + 0x4a94]
minss xmm1, xmm10
jmp 0x14000fed0
movss xmm0, dword [rdi + 0x18]
mulss xmm0, dword [0x140142824]
movss xmm1, dword [rdi + 0x4a94]
subss xmm1, xmm0
maxss xmm1, xmm12
movss dword [rdi + 0x4a94], xmm1
movups xmm0, xmmword [rdi + 0x5be8]
mov dword [rdi + 0x4a98], esi
mov qword [rdi + 0x5e58], 0xffffffffffffffff
movups xmmword [rdi + 0x5bf8], xmm0
mov dword [rdi + 0x5e54], 0xffffffff
mov byte [rdi + 0x5be8], sil
call fcn.14001bb10
mov eax, dword [rdi + 0x3e98]
movaps xmm10, xmmword [rsp + 0x60]
cmp dword [rdi + 0x3ea8], eax
jle 0x14000ff41
mov r8d, 0x1204
lea rdx, str.C:_sourceCSLTools_Simgui.cpp
lea rcx, str.g.WindowsFocusOrder.Size___g.Windows.Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rdi + 0x3e98]
cmp byte [rdi + 0x3e5f], sil
jne 0x14000ff6b
movss xmm0, dword [rdi + 0x80]
comiss xmm12, xmm0
ja 0x14000ff6b
movsd xmm11, qword [rdi + 0x3e48]
cvtpd2ps xmm11, xmm11
subss xmm11, xmm0
mov ebp, esi
test eax, eax
je 0x140010100
mov r14, rsi
test r14, r14
js 0x14000ff81
cmp ebp, eax
jl 0x14000ff9b
mov r8d, 0x710
lea rdx, str.C:_sourceCSLTools_Simgui.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 [rdi + 0x3ea0]
mov rbx, qword [rax + r14*8]
movzx ecx, byte [rbx + 0xb6]
movzx eax, word [rbx + 0xc2]
mov byte [rbx + 0xb7], cl
mov byte [rbx + 0xb6], sil
mov byte [rbx + 0xb8], sil
mov word [rbx + 0xc4], ax
mov word [rbx + 0xc2], si
test cl, cl
jne 0x1400100ed
cmp byte [rbx + 0x3e4], sil
jne 0x1400100ed
comiss xmm11, dword [rbx + 0x264]
jbe 0x1400100ed
mov rcx, qword [rbx + 0x298]
mov byte [rbx + 0x3e4], 1
mov eax, dword [rcx + 0x14]
mov dword [rbx + 0x3dc], eax
mov eax, dword [rcx + 0x24]
mov dword [rbx + 0x3e0], eax
mov rcx, qword [rbx + 0xf8]
test rcx, rcx
je 0x14001004b
mov rax, qword [0x1401f8c48]
mov qword [rbx + 0xf0], rsi
test rax, rax
je 0x14001003e
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0xf8], rsi
mov rcx, qword [rbx + 0x298]
call fcn.140029ec0
mov rcx, qword [rbx + 0x198]
test rcx, rcx
je 0x140010089
mov rax, qword [0x1401f8c48]
mov qword [rbx + 0x190], rsi
test rax, rax
je 0x14001007c
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x198], rsi
mov rcx, qword [rbx + 0x1d0]
test rcx, rcx
je 0x1400100bb
mov rax, qword [0x1401f8c48]
mov qword [rbx + 0x1c8], rsi
test rax, rax
je 0x1400100ae
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1d0], rsi
mov rcx, qword [rbx + 0x1e0]
test rcx, rcx
je 0x1400100ed
mov rax, qword [0x1401f8c48]
mov qword [rbx + 0x1d8], rsi
test rax, rax
je 0x1400100e0
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x1e0], rsi
mov eax, dword [rdi + 0x3e98]
inc ebp
inc r14
cmp ebp, eax
jne 0x14000ff78
mov eax, dword [rdi + 0x4ba0]
mov ebx, esi
test eax, eax
jle 0x1400101cb
mov rbp, rsi
test ebx, ebx
js 0x14001011b
cmp ebx, eax
jl 0x140010135
mov r8d, 0x710
lea rdx, str.C:_sourceCSLTools_Simgui.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 [rdi + 0x4ba8]
movss xmm0, dword [rax + rbp]
comiss xmm0, xmm12
jb 0x1400101b7
test ebx, ebx
js 0x140010153
cmp ebx, dword [rdi + 0x4ba0]
jl 0x14001016d
mov r8d, 0x710
lea rdx, str.C:_sourceCSLTools_Simgui.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 [rdi + 0x4ba8]
comiss xmm11, dword [rax + rbp]
jbe 0x1400101b7
test ebx, ebx
js 0x140010187
cmp ebx, dword [rdi + 0x4b78]
jl 0x1400101a1
mov r8d, 0x710
lea rdx, str.C:_sourceCSLTools_Simgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, ebx
imul rcx, rax, 0x238
add rcx, qword [rdi + 0x4b80]
call fcn.140039100
mov eax, dword [rdi + 0x4ba0]
inc ebx
add rbp, 4
cmp ebx, eax
jl 0x140010113
mov eax, dword [rdi + 0x4b68]
mov ebp, esi
mov qword [rsp + 0xb0], r15
test eax, eax
jle 0x1400102b7
mov r15, rsi
mov r14, rsi
nop dword [rax]
test r15, r15
js 0x1400101f9
cmp ebp, eax
jl 0x140010213
mov r8d, 0x710
lea rdx, str.C:_sourceCSLTools_Simgui.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 [rdi + 0x4b70]
movss xmm0, dword [r14 + rax + 4]
comiss xmm0, xmm12
jb 0x1400102a0
test r15, r15
js 0x140010234
cmp ebp, dword [rdi + 0x4b68]
jl 0x14001024e
mov r8d, 0x710
lea rdx, str.C:_sourceCSLTools_Simgui.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 [rdi + 0x4b70]
comiss xmm11, dword [r14 + rax + 4]
jbe 0x1400102a0
test r15, r15
js 0x14001026a
cmp ebp, dword [rdi + 0x4b68]
jl 0x140010284
mov r8d, 0x710
lea rdx, str.C:_sourceCSLTools_Simgui.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 [rdi + 0x4b70]
lea rcx, [rbx + 0x10]
add rcx, r14
call fcn.14002fca0
mov dword [r14 + rbx + 4], 0xbf800000
mov eax, dword [rdi + 0x4b68]
inc ebp
inc r15
add r14, 0x70
cmp ebp, eax
jl 0x1400101f0
movaps xmm12, xmmword [rsp + 0x40]
movaps xmm11, xmmword [rsp + 0x50]
cmp byte [rdi + 0x3e5f], sil
je 0x140010338
mov rax, qword [0x1401f8c48]
mov rbx, rax
mov rcx, qword [rax + 0x4888]
test rcx, rcx
je 0x140010308
mov qword [rax + 0x4880], rsi
test rax, rax
je 0x1400102f4
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [0x1401f8c48]
mov qword [rbx + 0x4888], rsi
mov rcx, qword [rbx + 0x4898]
test rcx, rcx
je 0x140010333
mov qword [rbx + 0x4890], rsi
test rax, rax
je 0x140010326
dec dword [rax + 0xf4]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov qword [rbx + 0x4898], rsi
call fcn.1400392d0
mov rax, qword [rdi + 0x48d8]
mov byte [rdi + 0x3e5f], sil
test rax, rax
je 0x1400103f3
cmp byte [rax + 0xb7], sil
jne 0x1400103f3
mov r15, qword [0x1401f8c48]
mov ebx, dword [r15 + 0x3ea8]
sub ebx, 1
movsxd r14, ebx
js 0x1400103e7
cmp ebx, dword [r15 + 0x3ea8]
jl 0x140010395
mov r8d, 0x710
lea rdx, str.C:_sourceCSLTools_Simgui.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 + 0x3eb0]
mov rbp, qword [rax + r14*8]
cmp rbp, qword [rbp + 0x378]
je 0x1400103c3
mov r8d, 0x1bb2
lea rdx, str.C:_sourceCSLTools_Simgui.cpp
lea rcx, str.window__window__RootWindow
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rbp + 0xb7], sil
je 0x1400103df
mov eax, dword [rbp + 0x14]
and eax, 0x40200
cmp eax, 0x40200
jne 0x1400105c3
dec ebx
sub r14, 1
jns 0x140010372
xor ecx, ecx
mov edx, 1
call fcn.140018ee0
mov ecx, dword [rdi + 0x3ecc]
test ecx, ecx
jns 0x140010419
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x3ec8]
test eax, eax
cmovg edx, eax
call fcn.140027c80
mov dword [rdi + 0x3ec8], esi
mov ecx, dword [rdi + 0x48b4]
test ecx, ecx
jns 0x140010445
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x48b0]
test eax, eax
cmovg edx, eax
call fcn.140027bf0
lea rbx, [rdi + 0x4880]
mov dword [rdi + 0x48b0], esi
mov ecx, dword [rbx + 4]
test ecx, ecx
jns 0x140010471
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
mov rcx, rbx
test eax, eax
cmovg edx, eax
call fcn.140027ed0
mov dword [rbx], esi
cmp dword [rbx + 4], esi
jne 0x140010485
mov edx, 8
mov rcx, rbx
call fcn.140027ed0
movsxd rcx, dword [rbx]
xor edx, edx
mov rax, qword [rbx + 8]
mov dword [rax + rcx*4], esi
lea rcx, [rdi + 0x4890]
inc dword [rbx]
call fcn.140027290
mov rbp, qword [0x1401f8c48]
mov dword [rbp + 0x5d18], esi
cmp byte [rbp + 0x5d13], sil
je 0x140010639
mov r15d, dword [rbp + 0x3f48]
xor edx, edx
mov ecx, 0x20e
mov dword [rbp + 0x4a98], 7
lea r8d, [rdx + 1]
call fcn.14001a7c0
test al, al
je 0x1400104e5
mov byte [rbp + 0x5d13], sil
mov r14d, dword [rbp + 0xe28]
cmp r14d, 0x3000
je 0x14001051d
movzx ecx, byte [rbp + 0x5d14]
xor r8d, r8d
xor edx, edx
call fcn.14001a9a0
test al, al
je 0x14001051d
test r15d, r15d
je 0x14001051d
mov dword [rbp + 0x5d18], r15d
mov byte [rbp + 0x5d13], sil
mov ebx, esi
nop
cmp r14d, 0x3000
jne 0x14001053f
xor r8d, r8d
xor edx, edx
mov ecx, ebx
call fcn.14001a9a0
test al, al
je 0x14001053f
mov byte [rbp + 0x5d14], bl
inc ebx
cmp ebx, 3
jl 0x140010520
mov rax, qword [0x1401f8c48]
xor ecx, ecx
or dword [rax + 0x47d0], 0x40
mov dword [rax + 0x4830], 0x3f333333
call fcn.14001eb20
test al, al
je 0x140010639
mov edx, r15d
lea rcx, str.HoveredId:_0x_08X
call fcn.14003cc80
lea rcx, str.Press_ESC_to_abort_picking.
call fcn.14003cc80
lea rax, str.Left
mov qword [rsp + 0x20], rax
lea rax, str.Right
mov qword [rsp + 0x28], rax
lea rax, str.Middle
mov qword [rsp + 0x30], rax
cmp r14d, 0x3000
jne 0x1400105cb
lea rcx, str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.14003cc80
jmp 0x140010603
mov rcx, rbp
jmp 0x1400103e9
movzx r8d, byte [rbp + 0x5d14]
lea rdx, str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
test r15d, r15d
mov eax, 0x10
mov rcx, rsi
cmove rcx, rax
mov rax, qword [0x1401f8c48]
mov r8, qword [rsp + r8*8 + 0x20]
add rax, 0x38b8
add rcx, rax
call fcn.14003cef0
mov rax, qword [0x1401f8c48]
mov rcx, qword [rax + 0x3ef8]
test dword [rcx + 0x14], 0x2000000
jne 0x140010634
mov r8d, 0x279f
lea rdx, str.C:_sourceCSLTools_Simgui.cpp
lea rcx, str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.1400183e0
mov rbx, qword [0x1401f8c48]
mov r15, qword [rsp + 0xb0]
mov dword [rbx + 0x3f40], esi
mov eax, dword [rbx + 0x5d30]
inc eax
cmp dword [rbx + 0x3e50], eax
jne 0x14001072b
mov ebp, dword [rbx + 0x3f48]
test ebp, ebp
jne 0x140010672
mov ebp, dword [rbx + 0x3f58]
cmp dword [rbx + 0x5d38], ebp
je 0x1400106b6
mov dword [rbx + 0x5d38], ebp
mov dword [rbx + 0x5d34], 0xffffffff
mov ecx, dword [rbx + 0x5d44]
test ecx, ecx
jns 0x1400106b0
mov eax, ecx
cdq
sub eax, edx
mov edx, esi
sar eax, 1
add eax, ecx
lea rcx, [rbx + 0x5d40]
test eax, eax
cmovg edx, eax
call fcn.140027da0
mov dword [rbx + 0x5d40], esi
test ebp, ebp
je 0x14001072b
movsxd rax, dword [rbx + 0x5d34]
test eax, eax
js 0x1400106ec
cmp eax, dword [rbx + 0x5d40]
jge 0x1400106ec
lea rcx, [rax + rax*8]
mov rax, qword [rbx + 0x5d48]
cmp byte [rax + rcx*8 + 5], sil
jne 0x1400106e6
cmp byte [rax + rcx*8 + 4], 2
jle 0x1400106ec
inc dword [rbx + 0x5d34]
movsxd rdx, dword [rbx + 0x5d34]
cmp edx, 0xffffffff
jne 0x140010700
mov dword [rbx + 0x3f40], ebp
jmp 0x14001072b
test edx, edx
js 0x14001072b
cmp edx, dword [rbx + 0x5d40]
jge 0x14001072b
mov rax, qword [rbx + 0x5d48]
lea rbp, [rdx + rdx*8]
mov ecx, dword [rax + rbp*8]
mov dword [rbx + 0x3f40], ecx
mov rax, qword [rbx + 0x5d48]
inc byte [rax + rbp*8 + 4]
movzx eax, byte [rdi + 0x5d11]
mov r14, qword [rsp + 0xe8]
mov rbp, qword [rsp + 0xe0]
mov rbx, qword [rsp + 0xd8]
test al, al
je 0x14001075e
sub al, 1
mov byte [rdi + 0x5d11], al
jne 0x14001075e
mov dword [rdi + 0x477c], esi
movzx eax, byte [rdi + 0x5d10]
test al, al
je 0x140010786
sub al, 1
mov byte [rdi + 0x5d10], al
jne 0x140010786
lea rcx, str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.140026890
and dword [rdi + 0x5ce4], 0xffffffef
mov rax, qword [0x1401f8c48]
lea rcx, str.DebugDefault
movss xmm1, dword [0x140142a50]
xor r8d, r8d
mov byte [rdi + 0x3e5d], 1
movaps xmm0, xmm1
unpcklps xmm0, xmm1
xor edx, edx
or dword [rax + 0x47d0], 2
movsd qword [rax + 0x47f0], xmm0
mov dword [rax + 0x47d8], 4
call fcn.140015bc0
mov rax, qword [rdi + 0x3ef8]
cmp byte [rax + 0xbe], 1
je 0x1400107f6
mov r8d, 0x123c
lea rdx, str.C:_sourceCSLTools_Simgui.cpp
lea rcx, str.g.CurrentWindow__IsFallbackWindow__true
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp byte [rdi + 0x85], sil
je 0x140010841
movsx edx, byte [rdi + 0x5d12]
cmp dl, 0xff
je 0x140010844
mov eax, dword [rdi + 0x3e50]
and eax, 0x80000003
jge 0x14001081f
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
mov eax, 0x66666667
sete sil
add esi, edx
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
add eax, eax
sub esi, eax
jmp 0x140010844
mov sil, 0xff
mov edx, 1
mov byte [rdi + 0x5d12], sil
mov rcx, rdi
add rsp, 0xb8
pop rdi
pop rsi
jmp fcn.14000d6a0