Function at 0x407960
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x38
push esi
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
push edi
mov edi, dword [0x4fb818]
mov dword [esp + 0x20], edi
mov dword [esp + 0xc], esi
test edi, edi
jne 0x4079a1
push 0x1009
push str.C:UsersokDesktoppasetuneimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call esi
mov edi, dword [0x4fb818]
add esp, 0xc
mov dword [esp + 0x20], edi
mov ecx, dword [edi + 0x5a70]
sub ecx, 1
mov dword [esp + 0x18], ecx
js 0x407ac1
lea edx, [ecx + ecx*4]
shl edx, 2
mov dword [esp + 0x10], edx
nop
cmp ecx, dword [edi + 0x5a70]
jl 0x4079ec
push 0x715
push str.C:UsersokDesktoppasetuneimgui.h
push str.i___0__i___Size
call esi
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ecx
mov eax, dword [edi + 0x5a78]
cmp dword [eax + edx + 4], 7
jne 0x407aad
cmp ecx, dword [edi + 0x5a70]
jl 0x407a1d
push 0x715
push str.C:UsersokDesktoppasetuneimgui.h
push str.i___0__i___Size
call esi
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [edi + 0x5a78]
lea ecx, [eax + edx]
mov dword [esp + 0x30], ecx
cmp ecx, eax
jb 0x407a44
mov eax, dword [edi + 0x5a70]
mov edx, dword [edi + 0x5a78]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
cmp ecx, eax
jb 0x407a5c
push 0x72d
push str.C:UsersokDesktoppasetuneimgui.h
push 0x4e4d04
call esi
mov ecx, dword [esp + 0x3c]
add esp, 0xc
mov esi, dword [edi + 0x5a78]
mov eax, 0x66666667
sub ecx, esi
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
lea edx, [esi + eax*4]
mov eax, dword [edi + 0x5a70]
sub eax, ecx
lea eax, [eax + eax*4]
lea eax, [eax*4 - 0x14]
push eax
lea eax, [edx + 0x14]
push eax
push edx
call sub.VCRUNTIME140.dll_memmove
mov esi, dword [esp + 0x18]
add esp, 0xc
dec dword [edi + 0x5a70]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
dec ecx
sub edx, 0x14
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], edx
test ecx, ecx
jns 0x4079c0
xor edx, edx
mov ecx, edi
call fcn.004061c0
call fcn.00413650
mov eax, dword [0x4fb818]
mov ecx, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
cmp byte [eax + 0x5a39], 0
jne 0x407b66
cmp dword [eax + 0x5a58], 0
je 0x407b0c
push 0x2e11
push str.C:UsersokDesktoppasetuneimgui.cpp
push str.g.SettingsWindows.empty__
call esi
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x407b5f
push ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
call fcn.00403fd0
mov ecx, eax
add esp, 8
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x407b5b
mov edx, dword [esp + 0x1c]
test edx, edx
je 0x407b44
call fcn.00419df0
mov ecx, dword [esp + 0x30]
mov eax, dword [0x4fb818]
test eax, eax
je 0x407b53
dec dword [eax + 0xb4]
push ecx
call dword [esp + 0x14]
add esp, 4
mov eax, dword [esp + 0x14]
mov byte [eax + 0x5a39], 1
movss xmm0, dword [eax + 0x5a3c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x407c01
subss xmm0, dword [eax + 0x18]
comiss xmm1, xmm0
movss dword [eax + 0x5a3c], xmm0
jb 0x407c01
mov ecx, dword [eax + 0x20]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x408127
mov eax, dword [0x4fb818]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
mov dword [eax + 0x5a3c], 0
call fcn.0041a1c0
mov ecx, dword [esp + 0x30]
mov edx, 0x4e4a24
mov dword [esp + 0x28], eax
call fcn.00403e50
mov dword [esp + 0x30], eax
test eax, eax
je 0x407bf3
push eax
push dword [esp + 0x20]
push 1
push dword [esp + 0x34]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push dword [esp + 0x40]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
mov eax, dword [esp + 0x14]
mov dword [eax + 0x5a3c], 0
movss xmm0, dword [edi + 0x18]
xor eax, eax
inc dword [edi + 0x3dd8]
cvtps2pd xmm0, xmm0
mov word [edi + 0x59fe], ax
mov dword [edi + 0x3e4c], eax
lea eax, [edi + 0x5a0c]
mov byte [edi + 0x3de4], 1
addsd xmm0, qword [edi + 0x3dd0]
movsd qword [edi + 0x3dd0], xmm0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x407c64
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x5a0c]
call fcn.0041b880
lea eax, [edi + 0x5a0c]
mov dword [eax], 0
mov ecx, 0x3c
mov eax, dword [edi + 0x5c1c]
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [edi + eax*4 + 0x5b2c]
addss xmm0, dword [edi + 0x5c24]
movss dword [edi + 0x5c24], xmm0
movss dword [edi + eax*4 + 0x5b2c], xmm1
mov eax, dword [edi + 0x5c1c]
inc eax
movss xmm1, dword [edi + 0x5c24]
cdq
idiv ecx
mov eax, dword [edi + 0x5c20]
movss xmm0, dword [0x4f7058]
inc eax
cmp eax, ecx
mov dword [edi + 0x5c1c], edx
movss dword [esp + 0x18], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x4f6eb4]
mov dword [edi + 0x5c20], ecx
jbe 0x407cf7
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x4f6f54]
divss xmm0, xmm1
lea eax, [edi + 0x3dfc]
movss dword [edi + 0xa0], xmm0
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x407d2e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x3dfc]
call fcn.0041bf10
lea eax, [edi + 0x3dfc]
mov dword [eax], 0
mov cl, byte [edi + 0x62]
call fcn.00412c50
mov ecx, dword [0x4fb818]
mov dword [esp + 0x14], ecx
cmp dword [ecx + 0x47cc], 1
je 0x407d67
push 0x2f59
push str.C:UsersokDesktoppasetuneimgui.cpp
push 0x4e4ac4
call esi
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp dword [ecx + 0x47cc], 0
jg 0x407d88
push 0x715
push str.C:UsersokDesktoppasetuneimgui.h
push str.i___0__i___Size
call esi
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov eax, dword [ecx + 0x47d4]
mov edx, dword [eax]
mov dword [edx], 5
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
mov dword [edx + 0x10], ecx
mov ecx, dword [esp + 0x14]
mov dword [edx + 0xc], eax
xor eax, eax
mov dword [esp + 0x1c], eax
mov ecx, dword [ecx + 0x47cc]
test ecx, ecx
jle 0x407ec9
mov edi, dword [esp + 0x14]
nop dword [eax]
test eax, eax
js 0x407dd8
cmp eax, ecx
jl 0x407dec
push 0x715
push str.C:UsersokDesktoppasetuneimgui.h
push str.i___0__i___Size
call esi
add esp, 0xc
mov eax, dword [edi + 0x47d4]
xorps xmm2, xmm2
mov edx, dword [esp + 0x1c]
mov edx, dword [eax + edx*4]
mov eax, dword [edx + 0x8c]
mov ecx, dword [edx + 0x90]
mov dword [edx + 0x7c], eax
mov eax, dword [edx + 0x94]
mov dword [edx + 0x80], ecx
mov ecx, dword [edx + 0x98]
mov dword [edx + 0x84], eax
mov dword [edx + 0x88], ecx
mov dword [edx + 0x94], 0
mov dword [edx + 0x98], 0
mov dword [edx + 0x8c], 0
mov dword [edx + 0x90], 0
movss xmm0, dword [edx + 0x80]
addss xmm0, dword [edx + 8]
movss xmm1, dword [edx + 0x7c]
addss xmm1, dword [edx + 4]
mov eax, dword [esp + 0x1c]
inc eax
movss dword [edx + 0x18], xmm0
movss xmm0, dword [edx + 0xc]
movss dword [edx + 0x14], xmm1
xorps xmm1, xmm1
subss xmm0, dword [edx + 0x7c]
mov dword [esp + 0x1c], eax
addss xmm0, dword [edx + 0x84]
maxss xmm2, xmm0
movss xmm0, dword [edx + 0x10]
subss xmm0, dword [edx + 0x80]
addss xmm0, dword [edx + 0x88]
movss dword [edx + 0x1c], xmm2
maxss xmm1, xmm0
movss dword [edx + 0x20], xmm1
mov ecx, dword [edi + 0x47cc]
cmp eax, ecx
jl 0x407dd0
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x48]
mov byte [eax + 0x10], 1
mov eax, dword [0x4fb818]
mov ecx, dword [eax + 0x54]
test ecx, ecx
jne 0x407f07
mov eax, dword [eax + 0x48]
add eax, 0x3c
mov dword [esp + 0x30], eax
cmp dword [eax], ecx
jg 0x407f02
push 0x715
push str.C:UsersokDesktoppasetuneimgui.h
push str.i___0__i___Size
call esi
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov eax, dword [eax + 8]
mov ecx, dword [eax]
call fcn.00410720
mov eax, dword [edi + 0x3bc4]
cmp dword [eax + 0x30], 0
jne 0x407f2c
push 0x1032
push str.C:UsersokDesktoppasetuneimgui.cpp
push str.g.Font__IsLoaded__
call esi
add esp, 0xc
movss xmm7, dword [esp + 0x18]
xor ecx, ecx
movss xmm4, dword [0x4f7074]
movaps xmm6, xmm7
mov eax, dword [edi + 0x47cc]
movaps xmm5, xmm4
movss dword [esp + 0x1c], xmm7
movss dword [esp + 0x14], xmm6
movss dword [esp + 0x24], xmm4
movss dword [esp + 0x28], xmm5
mov dword [esp + 0x30], ecx
test eax, eax
jle 0x408016
nop dword [eax]
test ecx, ecx
js 0x407f78
cmp ecx, eax
jl 0x407fa8
push 0x715
push str.C:UsersokDesktoppasetuneimgui.h
push str.i___0__i___Size
call esi
movss xmm4, dword [esp + 0x30]
add esp, 0xc
movss xmm5, dword [esp + 0x28]
movss xmm6, dword [esp + 0x14]
movss xmm7, dword [esp + 0x1c]
mov ecx, dword [esp + 0x30]
mov eax, dword [edi + 0x47d4]
mov eax, dword [eax + ecx*4]
movss xmm3, dword [eax + 4]
comiss xmm7, xmm3
movss xmm2, dword [eax + 8]
movaps xmm0, xmm3
addss xmm0, dword [eax + 0xc]
movaps xmm1, xmm2
addss xmm1, dword [eax + 0x10]
jbe 0x407fd9
movaps xmm7, xmm3
movss dword [esp + 0x1c], xmm7
comiss xmm6, xmm2
jbe 0x407fe7
movaps xmm6, xmm2
movss dword [esp + 0x14], xmm6
comiss xmm0, xmm4
jbe 0x407ff5
movaps xmm4, xmm0
movss dword [esp + 0x24], xmm4
comiss xmm1, xmm5
jbe 0x408003
movaps xmm5, xmm1
movss dword [esp + 0x28], xmm5
mov eax, dword [edi + 0x47cc]
inc ecx
mov dword [esp + 0x30], ecx
cmp ecx, eax
jl 0x407f70
mov eax, dword [edi + 0x385c]
movss xmm1, dword [edi + 0x3860]
movss dword [esp + 0x30], xmm7
movss dword [esp + 0x34], xmm6
movss dword [esp + 0x38], xmm4
movss dword [esp + 0x3c], xmm5
movups xmm0, xmmword [esp + 0x30]
mov dword [edi + 0x3be0], eax
movss dword [esp + 0x30], xmm1
movups xmmword [edi + 0x3be8], xmm0
movss xmm0, dword [edi + 0x3be4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x408190
comiss xmm1, dword [0x4f6eb4]
ja 0x40808c
push 0x170
push str.C:UsersokDesktoppasetuneimgui_draw.cpp
push str.max_error___0.0f
call esi
movss xmm1, dword [esp + 0x3c]
add esp, 0xc
xor ecx, ecx
movss dword [edi + 0x3be4], xmm1
mov dword [esp + 0x30], ecx
mov esi, 0x200
nop
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
test ecx, ecx
je 0x408141
movss xmm1, dword [edi + 0x3be4]
minss xmm1, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x4f6f54]
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x4f6fb4]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp + 0x30], xmm0
fld qword [esp + 0x30]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [esp + 0x30]
movsd xmm0, qword [esp + 0x30]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x408133
mov ecx, dword [esp + 0x30]
mov eax, 4
jmp 0x408146
mov byte [eax + 0x9c], 1
jmp 0x407bf7
mov ecx, dword [esp + 0x30]
cmp eax, 0x200
cmovg eax, esi
jmp 0x408146
mov eax, 0x30
mov byte [edi + ecx + 0x3d8c], al
inc ecx
mov dword [esp + 0x30], ecx
cmp ecx, 0x40
jl 0x4080a0
movsd xmm0, qword [0x4f6f60]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x4f6f54]
cvtsd2ss xmm0, xmm0
mov esi, dword [esp + 0xc]
subss xmm1, xmm0
movss xmm0, dword [edi + 0x3be4]
divss xmm0, xmm1
movss dword [edi + 0x3d88], xmm0
xor edx, edx
mov dword [edi + 0x3bf8], 0
cmp byte [edi + 0x3858], dl
je 0x4081b3
mov dword [edi + 0x3bf8], 1
mov edx, 1
cmp byte [edi + 0x3859], 0
mov ecx, edx
je 0x4081d5
mov eax, dword [edi + 0x3bc4]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x4081d5
or ecx, 2
mov dword [edi + 0x3bf8], ecx
cmp byte [edi + 0x385a], 0
je 0x4081e7
or ecx, 4
mov dword [edi + 0x3bf8], ecx
test byte [edi + 0xc], 8
je 0x4081f6
or ecx, 8
mov dword [edi + 0x3bf8], ecx
mov ecx, dword [edi + 0x47cc]
xor eax, eax
mov dword [esp + 0x1c], eax
test ecx, ecx
jle 0x408252
test eax, eax
js 0x40820e
cmp eax, ecx
jl 0x408222
push 0x715
push str.C:UsersokDesktoppasetuneimgui.h
push str.i___0__i___Size
call esi
add esp, 0xc
mov eax, dword [edi + 0x47d4]
mov ecx, dword [esp + 0x1c]
push 0x2c
push 0
mov eax, dword [eax + ecx*4]
add eax, 0x38
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x28]
add esp, 0xc
mov ecx, dword [edi + 0x47cc]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, ecx
jl 0x408206
cmp byte [edi + 0x495c], 0
je 0x40828c
mov eax, dword [edi + 0x4974]
cmp eax, dword [edi + 0x3ea4]
jne 0x40828c
mov ecx, dword [0x4fb818]
cmp dword [ecx + 0x3ea4], eax
jne 0x40827d
mov dword [ecx + 0x3ea8], eax
cmp dword [ecx + 0x3ecc], eax
jne 0x40828c
mov byte [ecx + 0x3ed0], 1
cmp dword [edi + 0x3e94], 0
jne 0x4082a1
mov dword [edi + 0x3e9c], 0
jmp 0x4082b3
mov eax, dword [edi + 0x3e90]
test eax, eax
je 0x4082bd
cmp dword [edi + 0x3ea4], eax
jne 0x4082bd
mov dword [edi + 0x3ea0], 0
mov eax, dword [edi + 0x3e90]
test eax, eax
je 0x4082f7
movss xmm1, dword [edi + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [edi + 0x3e9c]
movss dword [edi + 0x3e9c], xmm0
cmp dword [edi + 0x3ea4], eax
je 0x4082f7
addss xmm1, dword [edi + 0x3ea0]
movss dword [edi + 0x3ea0], xmm1
mov dword [edi + 0x3e94], eax
mov eax, dword [edi + 0x3ea4]
mov dword [edi + 0x3e90], 0
mov word [edi + 0x3e98], 0
test eax, eax
je 0x408349
cmp dword [edi + 0x3ea8], eax
je 0x408349
cmp dword [edi + 0x3ecc], eax
jne 0x408349
test byte [edi + 0x5ad0], 1
je 0x408340
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.0041ac60
add esp, 4
xor edx, edx
xor ecx, ecx
call fcn.00406cc0
mov ecx, dword [edi + 0x3ea4]
test ecx, ecx
je 0x408368
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3eac]
movss dword [edi + 0x3eac], xmm0
mov eax, dword [edi + 0x3ec0]
movss xmm0, dword [edi + 0x18]
addss xmm0, dword [edi + 0x3edc]
mov dword [edi + 0x3ed4], eax
mov al, byte [edi + 0x3eb4]
mov byte [edi + 0x3ed1], al
mov eax, dword [edi + 0x5984]
movss dword [edi + 0x3edc], xmm0
mov dword [edi + 0x3ecc], ecx
mov dword [edi + 0x3ea8], 0
mov byte [edi + 0x3eb5], 0
mov byte [edi + 0x3ed0], 0
mov byte [edi + 0x3eb0], 0
test eax, eax
je 0x4083d2
cmp ecx, eax
je 0x4083d2
mov dword [edi + 0x5984], 0
test ecx, ecx
jne 0x4083f0
mov dword [edi + 0x46a8], ecx
mov dword [edi + 0x46a0], ecx
mov byte [edi + 0x46a4], cl
mov dword [edi + 0x46a8], ecx
jmp 0x40845f
mov eax, dword [edi + 0x46a8]
test eax, eax
je 0x40845f
test al, 2
je 0x40843f
mov eax, dword [edi + 0x3ea4]
mov dword [esp + 0x30], eax
test eax, eax
jne 0x408420
push 0x20b0
push str.C:UsersokDesktoppasetuneimgui.cpp
push str.IsNamedKeyOrModKey_key____owner_id_____ImGuiID_0____flags___ImGuiInputFlags_LockThisFrame__ImGuiInputFlags_LockUntilRelease___
call esi
add esp, 0xc
mov ecx, dword [0x4fb818]
mov edx, 0x20e
call fcn.00403040
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov dword [eax], ecx
mov word [eax + 8], 0
test dword [edi + 0x46a8], 0xfffffffd
je 0x40845f
push 0x1081
push str.C:UsersokDesktoppasetuneimgui.cpp
push 0x4e0100
call esi
add esp, 0xc
mov eax, dword [edi + 0x4a84]
movss xmm0, dword [edi + 0x4a8c]
mov dword [edi + 0x4a88], eax
test eax, eax
je 0x408490
addss xmm0, dword [edi + 0x18]
mov dword [edi + 0x4a84], 0
movss dword [edi + 0x4a8c], xmm0
jmp 0x4084d0
comiss xmm0, dword [0x4f6eb4]
jbe 0x4084da
movss xmm1, dword [edi + 0x18]
movss xmm0, dword [0x4f6f0c]
movaps xmm2, xmm1
addss xmm2, dword [edi + 0x4a90]
addss xmm1, xmm1
movss dword [edi + 0x4a90], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x4084da
mov dword [edi + 0x4a8c], 0
mov dword [edi + 0x4a90], 0
mov eax, dword [edi + 0x49c0]
mov dword [edi + 0x49c4], eax
mov dword [edi + 0x49c0], 0
mov dword [edi + 0x49bc], 0x7f7fffff
mov word [edi + 0x495d], 0
mov dword [edi + 0x49cc], 0
call fcn.00411700
call fcn.004168f0
call fcn.00411ce0
call fcn.004076f0
mov ecx, dword [0x4fb818]
mov dword [esp + 0x1c], ecx
mov edx, dword [ecx + 0x3e64]
test edx, edx
je 0x40864a
mov eax, dword [ecx + 0x3ea4]
mov dword [ecx + 0x3ea8], eax
cmp dword [ecx + 0x3ecc], eax
jne 0x408554
mov byte [ecx + 0x3ed0], 1
cmp dword [edx + 0x300], 0
jne 0x408575
push 0xf75
push str.C:UsersokDesktoppasetuneimgui.cpp
push str.g.MovingWindow__g.MovingWindow__RootWindow
call esi
mov ecx, dword [esp + 0x28]
add esp, 0xc
cmp byte [ecx + 0xdc8], 0
mov eax, dword [ecx + 0x3e64]
mov eax, dword [eax + 0x300]
mov dword [esp + 0x28], eax
je 0x40863e
cmp dword [0x4fb818], 0
lea eax, [ecx + 0xdc0]
mov dword [esp + 0x30], eax
jne 0x4085c1
push 0x1e75
push str.C:UsersokDesktoppasetuneimgui.cpp
push str.GImGui___0
call esi
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4085c9
mov edx, eax
jmp 0x4085db
mov edx, dword [0x4fb818]
lea eax, [ecx + 0xdc0]
add edx, 0xdc0
movss xmm0, dword [edx]
movss xmm1, dword [0x4f7070]
comiss xmm0, xmm1
movss xmm2, dword [edx + 4]
jb 0x40863e
comiss xmm2, xmm1
jb 0x40863e
movss xmm0, dword [eax]
lea edx, [esp + 0x30]
subss xmm0, dword [ecx + 0x3eb8]
push 1
movss dword [esp + 0x34], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [ecx + 0x3ebc]
mov ecx, dword [esp + 0x2c]
movss dword [esp + 0x38], xmm0
call fcn.00410810
mov ecx, dword [esp + 0x20]
add esp, 4
mov ecx, dword [ecx + 0x3e64]
call fcn.004103e0
jmp 0x408686
mov dword [ecx + 0x3e64], 0
jmp 0x40867d
mov edx, dword [ecx + 0x3ec0]
test edx, edx
je 0x408686
mov eax, dword [ecx + 0x3ea4]
cmp dword [edx + 0x70], eax
jne 0x408686
mov dword [ecx + 0x3ea8], eax
cmp dword [ecx + 0x3ecc], eax
jne 0x408674
mov byte [ecx + 0x3ed0], 1
cmp byte [ecx + 0xdc8], 0
jne 0x408686
xor edx, edx
xor ecx, ecx
call fcn.00406cc0
mov eax, dword [0x4fb818]
mov edx, dword [eax + 0x47b0]
sub edx, 1
js 0x4086bc
mov eax, dword [eax + 0x47b8]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x4086b4
test dword [ecx + 0xc], 0x8000000
jne 0x4086d6
sub eax, 0x28
sub edx, 1
jns 0x4086a5
cmp dword [edi + 0x492c], 0
je 0x4086f5
movss xmm0, dword [edi + 0x493c]
comiss xmm0, dword [0x4f6eb4]
jbe 0x4086f5
movss xmm1, dword [edi + 0x18]
mulss xmm1, dword [0x4f6fc8]
addss xmm1, dword [edi + 0x4954]
minss xmm1, dword [0x4f6f54]
jmp 0x408716
movss xmm0, dword [edi + 0x18]
mulss xmm0, dword [0x4f6fd8]
movss xmm1, dword [edi + 0x4954]
subss xmm1, xmm0
maxss xmm1, dword [0x4f6eb4]
movss dword [edi + 0x4954], xmm1
movups xmm0, xmmword [edi + 0x5a18]
mov dword [edi + 0x4958], 0
mov dword [edi + 0x5c30], 0xffffffff
mov dword [edi + 0x5c2c], 0xffffffff
mov dword [edi + 0x5c28], 0xffffffff
movups xmmword [edi + 0x5a28], xmm0
mov byte [edi + 0x5a18], 0
call fcn.004122e0
mov ecx, dword [edi + 0x3e10]
cmp dword [edi + 0x3e1c], ecx
jle 0x408788
push 0x10c6
push str.C:UsersokDesktoppasetuneimgui.cpp
push str.g.WindowsFocusOrder.Size___g.Windows.Size
call esi
mov ecx, dword [edi + 0x3e10]
add esp, 0xc
cmp byte [edi + 0x3de7], 0
jne 0x4087b4
movss xmm0, dword [edi + 0x68]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x4087b4
movsd xmm1, qword [edi + 0x3dd0]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [esp + 0x18], xmm1
xor eax, eax
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x408984
test eax, eax
js 0x4087ca
cmp eax, ecx
jl 0x4087de
push 0x715
push str.C:UsersokDesktoppasetuneimgui.h
push str.i___0__i___Size
call esi
add esp, 0xc
mov eax, dword [edi + 0x3e18]
mov esi, dword [esp + 0x1c]
mov esi, dword [eax + esi*4]
mov ax, word [esi + 0xb6]
mov cl, byte [esi + 0xaa]
mov word [esi + 0xb8], ax
xor eax, eax
mov byte [esi + 0xab], cl
mov byte [esi + 0xaa], 0
mov byte [esi + 0xac], 0
mov word [esi + 0xb6], ax
test cl, cl
jne 0x408969
cmp byte [esi + 0x348], al
jne 0x408969
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [esi + 0x23c]
jbe 0x408969
mov ecx, dword [esi + 0x264]
mov byte [esi + 0x348], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x340], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x344], eax
mov ecx, dword [esi + 0xec]
test ecx, ecx
je 0x4088a1
mov eax, dword [0x4fb818]
mov dword [esi + 0xe8], 0
mov dword [esi + 0xe4], 0
test eax, eax
je 0x40888f
dec dword [eax + 0xb4]
push ecx
call dword [esp + 0x14]
add esp, 4
mov dword [esi + 0xec], 0
mov ecx, dword [esi + 0x264]
call fcn.0041d920
mov ecx, dword [esi + 0x188]
test ecx, ecx
je 0x4088eb
mov eax, dword [0x4fb818]
mov dword [esi + 0x184], 0
mov dword [esi + 0x180], 0
test eax, eax
je 0x4088d9
dec dword [eax + 0xb4]
push ecx
call dword [esp + 0x14]
add esp, 4
mov dword [esi + 0x188], 0
mov ecx, dword [esi + 0x1b0]
test ecx, ecx
je 0x40892a
mov eax, dword [0x4fb818]
mov dword [esi + 0x1ac], 0
mov dword [esi + 0x1a8], 0
test eax, eax
je 0x408918
dec dword [eax + 0xb4]
push ecx
call dword [esp + 0x14]
add esp, 4
mov dword [esi + 0x1b0], 0
mov ecx, dword [esi + 0x1bc]
test ecx, ecx
je 0x408969
mov eax, dword [0x4fb818]
mov dword [esi + 0x1b8], 0
mov dword [esi + 0x1b4], 0
test eax, eax
je 0x408957
dec dword [eax + 0xb4]
push ecx
call dword [esp + 0x14]
add esp, 4
mov dword [esi + 0x1bc], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [edi + 0x3e10]
inc eax
mov esi, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
cmp eax, ecx
jne 0x4087c2
mov eax, dword [edi + 0x4a30]
xor ecx, ecx
mov esi, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
test eax, eax
jle 0x408a64
xor edx, edx
mov dword [esp + 0x14], edx
test ecx, ecx
js 0x4089aa
cmp ecx, eax
jl 0x4089c6
push 0x715
push str.C:UsersokDesktoppasetuneimgui.h
push str.i___0__i___Size
call esi
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x4a38]
movss xmm0, dword [eax + ecx*4]
comiss xmm0, dword [0x4f6eb4]
jb 0x408a47
test ecx, ecx
js 0x4089e6
cmp ecx, dword [edi + 0x4a30]
jl 0x4089fe
push 0x715
push str.C:UsersokDesktoppasetuneimgui.h
push str.i___0__i___Size
call esi
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [edi + 0x4a38]
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [eax + ecx*4]
jbe 0x408a43
test ecx, ecx
js 0x408a1c
cmp ecx, dword [edi + 0x4a10]
jl 0x408a30
push 0x715
push str.C:UsersokDesktoppasetuneimgui.h
push str.i___0__i___Size
call esi
add esp, 0xc
mov ecx, dword [edi + 0x4a18]
add ecx, dword [esp + 0x14]
call fcn.00425590
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x4a30]
inc ecx
add edx, 0x1e8
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], edx
cmp ecx, eax
jl 0x4089a2
mov eax, dword [edi + 0x4a04]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
test eax, eax
jle 0x408b5b
mov dword [esp + 0x14], ecx
nop dword [eax]
test ecx, ecx
js 0x408a88
cmp ecx, eax
jl 0x408aa6
mov esi, dword [esp + 0xc]
push 0x715
push str.C:UsersokDesktoppasetuneimgui.h
push str.i___0__i___Size
call esi
mov ecx, dword [esp + 0x28]
add esp, 0xc
jmp 0x408aaa
mov esi, dword [esp + 0xc]
mov eax, dword [edi + 0x4a0c]
mov edx, dword [esp + 0x14]
movss xmm0, dword [edx + eax + 4]
comiss xmm0, dword [0x4f6eb4]
jb 0x408b3f
test ecx, ecx
js 0x408ad3
cmp ecx, dword [edi + 0x4a04]
jl 0x408aef
push 0x715
push str.C:UsersokDesktoppasetuneimgui.h
push str.i___0__i___Size
call esi
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x4a0c]
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [eax + edx + 4]
jbe 0x408b3f
test ecx, ecx
js 0x408b0e
cmp ecx, dword [edi + 0x4a04]
jl 0x408b22
push 0x715
push str.C:UsersokDesktoppasetuneimgui.h
push str.i___0__i___Size
call esi
add esp, 0xc
mov esi, dword [edi + 0x4a0c]
add esi, dword [esp + 0x14]
lea ecx, [esi + 0x10]
call fcn.00420cf0
mov ecx, dword [esp + 0x1c]
mov dword [esi + 4], 0xbf800000
add dword [esp + 0x14], 0x68
inc ecx
mov eax, dword [edi + 0x4a04]
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jl 0x408a80
mov esi, dword [esp + 0xc]
cmp byte [edi + 0x3de7], 0
je 0x408bfb
mov ecx, dword [0x4fb818]
mov eax, ecx
mov dword [esp + 0x30], eax
mov edx, dword [eax + 0x47a0]
test edx, edx
je 0x408bb8
mov dword [eax + 0x479c], 0
mov dword [eax + 0x4798], 0
test eax, eax
je 0x408b9c
dec dword [eax + 0xb4]
push edx
call dword [esp + 0x14]
mov eax, dword [esp + 0x34]
add esp, 4
mov ecx, dword [0x4fb818]
mov dword [eax + 0x47a0], 0
mov edx, dword [eax + 0x47ac]
test edx, edx
je 0x408bf6
mov dword [eax + 0x47a8], 0
mov dword [eax + 0x47a4], 0
test ecx, ecx
je 0x408be0
dec dword [ecx + 0xb4]
push edx
call dword [esp + 0x14]
mov eax, dword [esp + 0x34]
add esp, 4
mov dword [eax + 0x47ac], 0
call fcn.00425730
mov eax, dword [edi + 0x47d8]
mov byte [edi + 0x3de7], 0
test eax, eax
je 0x408c1c
cmp byte [eax + 0xab], 0
jne 0x408c1c
xor ecx, ecx
call fcn.00410630
mov ecx, dword [edi + 0x3e38]
lea eax, [edi + 0x3e34]
test ecx, ecx
jns 0x408c4e
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x3e34]
call fcn.0041bea0
lea eax, [edi + 0x3e34]
mov dword [eax], 0
lea eax, [edi + 0x47bc]
mov ecx, dword [eax + 4]
test ecx, ecx
jns 0x408c83
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x47bc]
call fcn.0041be20
lea eax, [edi + 0x47bc]
lea edx, [edi + 0x4798]
mov dword [eax], 0
mov ecx, dword [edx + 4]
test ecx, ecx
jns 0x408cb8
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x4798]
call fcn.0041b880
lea edx, [edi + 0x4798]
mov dword [edx], 0
cmp dword [edx + 4], 0
jne 0x408cd3
push 8
mov ecx, edx
call fcn.0041b880
lea edx, [edi + 0x4798]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
push ecx
mov dword [eax + ecx*4], 0
lea ecx, [edi + 0x47a4]
inc dword [edx]
call fcn.0041b650
mov eax, dword [0x4fb818]
mov dword [esp + 0x18], eax
cmp byte [eax + 0x5af3], 0
mov dword [eax + 0x5af8], 0
je 0x408e9c
mov ecx, dword [eax + 0x3e94]
xor edx, edx
mov dword [esp + 0x14], ecx
mov ecx, 0x20e
push 1
mov dword [eax + 0x4958], 7
call fcn.00411230
mov ecx, dword [esp + 0x1c]
add esp, 4
test al, al
je 0x408d41
mov byte [ecx + 0x5af3], 0
mov edx, dword [ecx + 0xde0]
mov dword [esp + 0x10], edx
cmp edx, 0x3000
je 0x408d87
movzx ecx, byte [ecx + 0x5af4]
xor edx, edx
push 0
call fcn.00411450
mov edx, dword [esp + 0x14]
add esp, 4
test al, al
je 0x408d87
mov eax, dword [esp + 0x14]
test eax, eax
je 0x408d87
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x5af8], eax
mov byte [ecx + 0x5af3], 0
mov esi, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x1c], eax
cmp edx, 0x3000
jne 0x408db9
push 0
xor edx, edx
mov ecx, eax
call fcn.00411450
mov edx, dword [esp + 0x14]
add esp, 4
test al, al
mov eax, dword [esp + 0x1c]
je 0x408db9
mov byte [esi + 0x5af4], al
inc eax
mov dword [esp + 0x1c], eax
cmp eax, 3
jl 0x408d91
mov eax, dword [0x4fb818]
xor ecx, ecx
or dword [eax + 0x4708], 0x40
mov dword [eax + 0x475c], 0x3f333333
call fcn.00414670
mov esi, dword [esp + 0xc]
test al, al
je 0x408e9c
push dword [esp + 0x14]
push str.HoveredId:_0x_08X
call fcn.004266a0
push str.Press_ESC_to_abort_picking.
call fcn.004266a0
add esp, 0xc
mov dword [esp + 0x30], str.Left
cmp dword [esp + 0x10], 0x3000
mov dword [esp + 0x34], str.Right
mov dword [esp + 0x38], str.Middle
jne 0x408e38
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.004266a0
add esp, 4
jmp 0x408e6f
mov eax, dword [esp + 0x18]
xor ecx, ecx
cmp dword [esp + 0x14], ecx
movzx eax, byte [eax + 0x5af4]
push dword [esp + eax*4 + 0x30]
mov eax, 0x10
cmove ecx, eax
mov eax, dword [0x4fb818]
add eax, 0x3864
add eax, ecx
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.00426770
add esp, 0xc
mov eax, dword [0x4fb818]
mov eax, dword [eax + 0x3e58]
test dword [eax + 0xc], 0x2000000
jne 0x408e97
push 0x24cd
push str.C:UsersokDesktoppasetuneimgui.cpp
push str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call esi
add esp, 0xc
call fcn.0040fd40
mov ecx, dword [0x4fb818]
mov dword [esp + 0x28], ecx
mov dword [ecx + 0x3e8c], 0
mov eax, dword [ecx + 0x5b0c]
inc eax
cmp dword [ecx + 0x3dd8], eax
jne 0x408fe5
mov eax, dword [ecx + 0x3e94]
mov dword [esp + 0x1c], eax
test eax, eax
jne 0x408edb
mov eax, dword [ecx + 0x3ea4]
mov dword [esp + 0x1c], eax
cmp dword [ecx + 0x5b14], eax
je 0x408f3c
lea edx, [ecx + 0x5b18]
mov dword [ecx + 0x5b14], eax
mov dword [ecx + 0x5b10], 0xffffffff
mov edi, dword [edx + 4]
test edi, edi
mov dword [esp + 0x24], edi
mov edi, dword [esp + 0x20]
mov dword [esp + 0x30], edx
jge 0x408f36
mov eax, dword [esp + 0x24]
xor ecx, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [esp + 0x24]
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, dword [esp + 0x34]
call fcn.0041bfa0
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x30]
mov dword [edx], 0
test eax, eax
je 0x408fe5
mov edx, dword [ecx + 0x5b10]
test edx, edx
js 0x408f77
cmp edx, dword [ecx + 0x5b18]
jge 0x408f77
mov eax, dword [ecx + 0x5b20]
lea edx, [edx + edx*8]
cmp byte [eax + edx*8 + 5], 0
jne 0x408f6d
cmp byte [eax + edx*8 + 4], 2
jle 0x408f73
inc dword [ecx + 0x5b10]
mov eax, dword [esp + 0x1c]
mov edx, dword [ecx + 0x5b10]
cmp edx, 0xffffffff
jne 0x408f8a
mov dword [ecx + 0x3e8c], eax
jmp 0x408fe5
test edx, edx
js 0x408fe5
cmp edx, dword [ecx + 0x5b18]
jge 0x408fe5
lea eax, [edx + edx*8]
shl eax, 3
mov dword [esp + 0x30], eax
mov eax, dword [ecx + 0x5b20]
mov edi, dword [esp + 0x30]
mov eax, dword [edi + eax]
mov edi, dword [esp + 0x20]
mov dword [ecx + 0x3e8c], eax
cmp edx, dword [ecx + 0x5b18]
jl 0x408fd7
push 0x715
push str.C:UsersokDesktoppasetuneimgui.h
push str.i___0__i___Size
call esi
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov eax, dword [ecx + 0x5b20]
mov ecx, dword [esp + 0x30]
inc byte [eax + ecx + 4]
mov al, byte [edi + 0x5af1]
test al, al
je 0x409003
sub al, 1
mov byte [edi + 0x5af1], al
jne 0x409003
mov dword [edi + 0x46b4], 0
mov al, byte [edi + 0x5af0]
test al, al
je 0x40902b
sub al, 1
mov byte [edi + 0x5af0], al
jne 0x40902b
push str._Auto_disabled_ImGuiDebugLogFlags_EventClipper_to_avoid_spamming__n
call fcn.0041ac60
add esp, 4
and dword [edi + 0x5ad0], 0xffffffef
mov eax, dword [0x4fb818]
xor edx, edx
movss xmm0, dword [0x4f7038]
mov ecx, str.DebugDefault
mov byte [edi + 0x3de5], 1
push 0
or dword [eax + 0x4708], 2
movss dword [eax + 0x4728], xmm0
movss dword [eax + 0x472c], xmm0
mov dword [eax + 0x4710], 4
call fcn.0040d170
mov eax, dword [edi + 0x3e58]
add esp, 4
cmp byte [eax + 0xb2], 1
je 0x409094
push 0x10fc
push str.C:UsersokDesktoppasetuneimgui.cpp
push str.g.CurrentWindow__IsFallbackWindow__true
call esi
add esp, 0xc
cmp byte [edi + 0x6d], 0
je 0x4090cf
mov cl, byte [edi + 0x5af2]
cmp cl, 0xff
jne 0x4090a9
xor edx, edx
jmp 0x4090d2
mov eax, dword [edi + 0x3dd8]
and eax, 0x80000003
jns 0x4090bb
dec eax
or eax, 0xfffffffc
inc eax
neg eax
movsx ecx, cl
sbb eax, eax
inc eax
add eax, ecx
mov ecx, 0xa
cdq
idiv ecx
jmp 0x4090d2
or dl, 0xff
mov byte [edi + 0x5af2], dl
mov ecx, edi
mov edx, 1
call fcn.004061c0
pop edi
pop esi
mov esp, ebp
pop ebp
ret