Function at 0x405f00
Capabilities:
Write file on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
push esi
mov esi, dword [0x6ab9c0]
mov dword [ebp - 8], esi
mov dword [ebp - 4], eax
push edi
test esi, esi
jne 0x405f4d
push 0xe67
push str.C:UserskaragDesktopmunuguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call eax
mov esi, dword [0x6ab9c0]
add esp, 0xc
mov dword [ebp - 8], esi
call fcn.0040dbf0
mov edi, dword [0x6ab9c0]
cmp byte [edi + 0x2e1c], 0
jne 0x405fce
cmp dword [edi + 0x2e3c], 0
je 0x405f7f
push 0x261b
push str.C:UserskaragDesktopmunuguiimgui.cpp
push str.g.SettingsWindows.empty__
call dword [ebp - 4]
add esp, 0xc
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x405fc7
push ecx
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
call fcn.00402e00
add esp, 8
mov dword [ebp - 0x28], eax
test eax, eax
je 0x405fc7
mov edx, dword [ebp - 0xc]
mov ecx, eax
call fcn.00413700
mov ecx, dword [0x6ab9c0]
test ecx, ecx
je 0x405fbb
dec dword [ecx + 0x374]
push dword [ebp - 0x28]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov byte [edi + 0x2e1c], 1
movss xmm0, dword [edi + 0x2e20]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x40605d
subss xmm0, dword [edi + 0x18]
comiss xmm1, xmm0
movss dword [edi + 0x2e20], xmm0
jb 0x40605d
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x28], eax
test eax, eax
je 0x40604c
mov eax, dword [0x6ab9c0]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0
mov dword [eax + 0x2e20], 0
call fcn.00413b20
mov ecx, dword [ebp - 0x28]
mov edx, 0x431e5c
mov dword [ebp - 0x24], eax
call fcn.00402cb0
mov dword [ebp - 0x28], eax
test eax, eax
je 0x406053
push eax
push dword [ebp - 0xc]
push 1
push dword [ebp - 0x24]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push dword [ebp - 0x28]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
jmp 0x406053
mov byte [edi + 0x35c], 1
mov dword [edi + 0x2e20], 0
movss xmm0, dword [esi + 0x18]
inc dword [esi + 0x19c0]
cvtps2pd xmm0, xmm0
mov byte [esi + 0x19cc], 1
mov dword [esi + 0x2df0], 0
mov dword [esi + 0x1a14], 0
addsd xmm0, qword [esi + 0x19b8]
movsd qword [esi + 0x19b8], xmm0
mov ecx, dword [esi + 0x2e04]
test ecx, ecx
jns 0x4060bc
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, [esi + 0x2e00]
call fcn.00414760
mov dword [esi + 0x2e00], 0
mov ecx, 0x78
mov eax, dword [esi + 0x305c]
movss xmm1, dword [esi + 0x18]
movaps xmm0, xmm1
subss xmm0, dword [esi + eax*4 + 0x2e7c]
addss xmm0, dword [esi + 0x3060]
movss dword [esi + 0x3060], xmm0
movss dword [esi + eax*4 + 0x2e7c], xmm1
mov eax, dword [esi + 0x305c]
inc eax
movss xmm1, dword [esi + 0x3060]
cdq
idiv ecx
comiss xmm1, dword [0x4926d8]
mov dword [esi + 0x305c], edx
movss xmm0, dword [0x49288c]
movss dword [ebp - 0x28], xmm0
jbe 0x40613d
divss xmm1, dword [0x49281c]
movss xmm0, dword [0x492774]
divss xmm0, xmm1
mov eax, dword [esi + 0x98]
mov edi, dword [0x6ab9c0]
movss dword [esi + 0x360], xmm0
mov byte [eax], 1
mov ecx, dword [edi + 0xa4]
test ecx, ecx
jne 0x406183
mov edi, dword [edi + 0x98]
cmp dword [edi + 0x34], ecx
jg 0x40617e
push 0x576
push str.C:UserskaragDesktopmunuguiimgui.h
push str.i___Size
call dword [ebp - 4]
add esp, 0xc
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax]
call fcn.0040d600
mov eax, dword [esi + 0x18dc]
cmp dword [eax + 0x38], 0
jne 0x4061a9
push 0xe84
push str.C:UserskaragDesktopmunuguiimgui.cpp
push str.g.Font__IsLoaded__
call dword [ebp - 4]
add esp, 0xc
movss xmm0, dword [esi + 0x10]
mov eax, dword [esi + 0x15d4]
movss xmm1, dword [esi + 0x15d8]
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [esi + 0x14]
movss dword [ebp - 0x14], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
movups xmm0, xmmword [ebp - 0x20]
mov dword [esi + 0x18f8], eax
movups xmmword [esi + 0x1900], xmm0
movss xmm0, dword [esi + 0x18fc]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x40627e
movss dword [esi + 0x18fc], xmm1
xor edi, edi
nop dword [eax]
movd xmm1, edi
cvtdq2ps xmm1, xmm1
addss xmm1, dword [0x492774]
movaps xmm0, xmm1
subss xmm0, dword [esi + 0x18fc]
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x4927a4]
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvttss2si edx, xmm1
cmp edx, 0xc
jge 0x406256
mov edx, 0xc
jmp 0x406264
cmp edx, 0x200
mov eax, 0x200
cmovg edx, eax
mov ecx, 0xff
movzx eax, dl
cmp edx, ecx
cmovl ecx, eax
mov byte [esi + edi + 0x1974], cl
inc edi
cmp edi, 0x40
jl 0x406210
xor edx, edx
mov dword [esi + 0x1910], 0
cmp byte [esi + 0x15d0], dl
je 0x4062a1
mov dword [esi + 0x1910], 1
mov edx, 1
cmp byte [esi + 0x15d1], 0
mov ecx, edx
je 0x4062c4
mov eax, dword [esi + 0x18dc]
mov eax, dword [eax + 0x38]
test byte [eax + 4], 4
jne 0x4062c4
or ecx, 2
mov dword [esi + 0x1910], ecx
cmp byte [esi + 0x15d2], 0
je 0x4062d6
or ecx, 4
mov dword [esi + 0x1910], ecx
test byte [esi + 0xc], 8
je 0x4062e5
or ecx, 8
mov dword [esi + 0x1910], ecx
lea ecx, [esi + 0x1cd4]
call fcn.0041bfb0
mov eax, dword [esi + 0x98]
lea edx, [esi + 0x1d1c]
mov ecx, dword [edx]
mov edi, dword [edx + 4]
mov dword [ebp - 0xc], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
cmp ecx, edi
jne 0x406336
inc ecx
test edi, edi
je 0x406321
mov eax, edi
cdq
sub eax, edx
mov edx, dword [ebp - 0xc]
sar eax, 1
add eax, edi
jmp 0x406326
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00414760
mov edx, dword [ebp - 0xc]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov edi, dword [ebp - 0x14]
mov dword [eax + ecx*4], edi
lea edi, [esi + 0x1cd4]
inc dword [edx]
mov ecx, edi
mov eax, dword [ebp - 0x14]
mov dword [edi + 0x70], eax
call fcn.0041c410
mov eax, dword [edi + 0x28]
movss xmm0, dword [eax + 0x20]
movss xmm2, dword [eax + 0x18]
comiss xmm2, xmm0
movss xmm3, dword [eax + 0x24]
movss xmm1, dword [eax + 0x1c]
movss dword [ebp - 0x20], xmm2
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x18], xmm0
movss dword [ebp - 0x14], xmm3
jb 0x40638b
movss dword [ebp - 0x18], xmm2
comiss xmm1, xmm3
jb 0x406395
movss dword [ebp - 0x14], xmm1
mov edx, dword [edi + 0x3c]
mov ecx, dword [edi + 0x40]
cmp edx, ecx
jne 0x4063c8
inc edx
mov dword [ebp - 0x24], edx
test ecx, ecx
je 0x4063b5
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x24]
sar eax, 1
add eax, ecx
jmp 0x4063ba
mov eax, 8
cmp eax, edx
lea ecx, [edi + 0x3c]
cmovg edx, eax
push edx
call fcn.00423700
mov eax, dword [edi + 0x3c]
lea ecx, [esi + 0x1cd4]
movaps xmm0, xmmword [ebp - 0x20]
shl eax, 4
add eax, dword [edi + 0x44]
movups xmmword [eax], xmm0
inc dword [edi + 0x3c]
movups xmmword [esi + 0x1d34], xmm0
call fcn.0041c360
lea ecx, [esi + 0x1d70]
call fcn.0041bfb0
mov eax, dword [esi + 0x98]
lea edx, [esi + 0x1db8]
mov ecx, dword [edx]
mov edi, dword [edx + 4]
mov dword [ebp - 0x14], edx
mov eax, dword [eax + 8]
mov dword [ebp - 0xc], eax
cmp ecx, edi
jne 0x40643e
inc ecx
test edi, edi
je 0x406429
mov eax, edi
cdq
sub eax, edx
mov edx, dword [ebp - 0x14]
sar eax, 1
add eax, edi
jmp 0x40642e
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.00414760
mov edx, dword [ebp - 0x14]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov edi, dword [ebp - 0xc]
mov dword [eax + ecx*4], edi
lea edi, [esi + 0x1d70]
inc dword [edx]
mov ecx, edi
mov eax, dword [ebp - 0xc]
mov dword [edi + 0x70], eax
call fcn.0041c410
mov eax, dword [edi + 0x28]
movss xmm0, dword [eax + 0x20]
movss xmm2, dword [eax + 0x18]
comiss xmm2, xmm0
movss xmm3, dword [eax + 0x24]
movss xmm1, dword [eax + 0x1c]
movss dword [ebp - 0x20], xmm2
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x18], xmm0
movss dword [ebp - 0x14], xmm3
jb 0x406493
movss dword [ebp - 0x18], xmm2
comiss xmm1, xmm3
jb 0x40649d
movss dword [ebp - 0x14], xmm1
mov edx, dword [edi + 0x3c]
mov ecx, dword [edi + 0x40]
cmp edx, ecx
jne 0x4064d0
inc edx
mov dword [ebp - 0x24], edx
test ecx, ecx
je 0x4064bd
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x24]
sar eax, 1
add eax, ecx
jmp 0x4064c2
mov eax, 8
cmp eax, edx
lea ecx, [edi + 0x3c]
cmovg edx, eax
push edx
call fcn.00423700
mov eax, dword [edi + 0x3c]
lea ecx, [esi + 0x1d70]
movaps xmm0, xmmword [ebp - 0x20]
shl eax, 4
add eax, dword [edi + 0x44]
movups xmmword [eax], xmm0
inc dword [edi + 0x3c]
movups xmmword [esi + 0x1dd0], xmm0
call fcn.0041c360
mov edi, dword [0x6ab9c0]
mov byte [esi + 0x1c8c], 0
mov dword [esi + 0x1c90], 0
mov dword [esi + 0x1c98], 0
mov dword [esi + 0x1c9c], 0
mov dword [esi + 0x1c94], 0
mov dword [esi + 0x1cb0], 0
mov dword [esi + 0x1cb4], 0
mov dword [esi + 0x1ca8], 0
mov dword [esi + 0x1cac], 0
mov dword [esi + 0x1ca0], 0
mov dword [esi + 0x1ca4], 0
cmp byte [esi + 0x1e10], 0
je 0x40659a
mov eax, dword [esi + 0x1e28]
cmp eax, dword [esi + 0x1a50]
jne 0x40659a
cmp dword [edi + 0x1a50], eax
jne 0x40658b
mov dword [edi + 0x1a54], eax
cmp dword [edi + 0x1a8c], eax
jne 0x40659a
mov byte [edi + 0x1a90], 1
cmp dword [esi + 0x1a40], 0
lea eax, [esi + 0x1a3c]
mov ecx, dword [eax]
jne 0x4065c3
mov dword [esi + 0x1a48], 0
mov edx, ecx
mov dword [esi + 0x1a4c], 0
jmp 0x4065e6
mov dword [ebp - 0xc], eax
mov edx, ecx
test ecx, ecx
je 0x4065e3
mov dword [ebp - 0xc], eax
cmp dword [esi + 0x1a50], ecx
jne 0x4065e3
mov dword [esi + 0x1a4c], 0
jmp 0x4065e6
mov eax, dword [ebp - 0xc]
movss xmm1, dword [esi + 0x18]
test edx, edx
je 0x40661d
movaps xmm0, xmm1
addss xmm0, dword [esi + 0x1a48]
movss dword [esi + 0x1a48], xmm0
cmp dword [esi + 0x1a50], edx
je 0x40661d
movaps xmm0, xmm1
addss xmm0, dword [esi + 0x1a4c]
movss dword [esi + 0x1a4c], xmm0
mov dword [eax], 0
movaps xmm2, xmm1
mov eax, dword [esi + 0x1a50]
mov dword [esi + 0x1a40], edx
mov word [esi + 0x1a44], 0
cmp dword [esi + 0x1a54], eax
je 0x406659
cmp dword [esi + 0x1a8c], eax
jne 0x406659
test eax, eax
je 0x406659
call fcn.00404b70
movss xmm2, dword [esi + 0x18]
mov ecx, dword [esi + 0x1a50]
test ecx, ecx
je 0x406676
movaps xmm0, xmm2
addss xmm0, dword [esi + 0x1a58]
movss dword [esi + 0x1a58], xmm0
mov eax, dword [esi + 0x1a80]
addss xmm2, dword [esi + 0x1a9c]
mov dword [esi + 0x1a94], eax
mov al, byte [esi + 0x1a60]
mov byte [esi + 0x1a91], al
mov eax, dword [esi + 0x2db0]
movss dword [esi + 0x1a9c], xmm2
mov dword [esi + 0x1a8c], ecx
mov dword [esi + 0x1a54], 0
mov byte [esi + 0x1a61], 0
mov byte [esi + 0x1a90], 0
mov byte [esi + 0x1a5c], 0
test eax, eax
je 0x4066db
cmp ecx, eax
je 0x4066db
mov dword [esi + 0x2db0], 0
test ecx, ecx
jne 0x4066f7
mov dword [esi + 0x1a64], ecx
mov dword [esi + 0x1a68], ecx
mov dword [esi + 0x1a70], ecx
mov dword [esi + 0x1a74], ecx
mov eax, dword [esi + 0x1e74]
mov dword [esi + 0x1e78], eax
xor eax, eax
mov dword [esi + 0x1e74], 0
mov dword [esi + 0x1e70], 0x7f7fffff
mov word [esi + 0x1e11], 0
mov dword [esi + 0x1e80], 0
cmp byte [edi + 0x100], al
movss xmm1, dword [0x492898]
setne al
mov ecx, eax
or ecx, 2
cmp byte [edi + 0x101], 0
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [edi + 0x102], 0
cmove edx, ecx
mov ecx, 0x200
mov eax, edx
or eax, 8
cmp byte [edi + 0x103], 0
lea edi, [esi + 0xc60]
cmove eax, edx
lea edx, [esi + 0x460]
mov dword [esi + 0x380], eax
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 8]
xor eax, eax
nop word [eax + eax]
cmp byte [esi + eax + 0x104], 0
je 0x4067b2
movss xmm0, dword [edx]
xorps xmm2, xmm2
comiss xmm2, xmm0
jbe 0x4067ab
xorps xmm0, xmm0
jmp 0x4067b5
addss xmm0, dword [esi + 0x18]
jmp 0x4067b5
movaps xmm0, xmm1
movss dword [edx], xmm0
inc eax
add edx, 4
cmp eax, 0x200
jl 0x406790
call fcn.00410b50
call fcn.00405280
call fcn.00405d10
mov edi, dword [0x6ab9c0]
mov ecx, edi
mov dword [ebp - 0xc], ecx
mov edx, dword [ecx + 0x1a28]
test edx, edx
je 0x40694d
mov eax, dword [ecx + 0x1a50]
mov dword [ecx + 0x1a54], eax
cmp dword [ecx + 0x1a8c], eax
jne 0x406807
mov byte [ecx + 0x1a90], 1
cmp dword [edx + 0x334], 0
jne 0x40682e
push 0xd0b
push str.C:UserskaragDesktopmunuguiimgui.cpp
push str.g.MovingWindow__g.MovingWindow__RootWindow
call dword [ebp - 4]
mov edi, dword [0x6ab9c0]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
cmp byte [ecx + 0xf0], 0
mov eax, dword [ecx + 0x1a28]
mov edx, dword [eax + 0x334]
mov dword [ebp - 0x24], edx
je 0x406939
lea eax, [ecx + 0xe8]
mov dword [ebp - 0x14], eax
test edi, edi
jne 0x40687b
push 0x11a8
push str.C:UserskaragDesktopmunuguiimgui.cpp
push str.GImGui___0
call dword [ebp - 4]
mov edi, dword [0x6ab9c0]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x406884
mov dword [ebp - 0x14], eax
jmp 0x40688d
lea esi, [edi + 0xe8]
mov dword [ebp - 0x14], esi
mov esi, dword [ebp - 0x14]
movss xmm1, dword [0x4928ac]
movss xmm0, dword [esi]
comiss xmm0, xmm1
movss xmm2, dword [esi + 4]
mov esi, dword [ebp - 8]
jb 0x406939
comiss xmm2, xmm1
jb 0x406939
movss xmm1, dword [eax]
subss xmm1, dword [ecx + 0x1a78]
movss xmm0, dword [edx + 0xc]
movss xmm2, dword [eax + 4]
subss xmm2, dword [ecx + 0x1a7c]
ucomiss xmm0, xmm1
movss dword [ebp - 0x18], xmm1
movss dword [ebp - 0x14], xmm2
lahf
test ah, 0x44
jp 0x4068f5
movss xmm0, dword [edx + 0x10]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x406926
test dword [edx + 8], 0x100
jne 0x406913
xorps xmm0, xmm0
comiss xmm0, dword [edi + 0x2e20]
jb 0x406913
mov eax, dword [edi + 0x1c]
mov dword [edi + 0x2e20], eax
mov ecx, dword [ebp - 0x24]
lea edx, [ebp - 0x18]
push 1
call fcn.0040d700
mov ecx, dword [ebp - 0xc]
add esp, 4
mov ecx, dword [ecx + 0x1a28]
call fcn.0040d1f0
mov edi, dword [0x6ab9c0]
jmp 0x406985
call fcn.00404b70
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x1a28], 0
jmp 0x406985
mov edx, dword [ecx + 0x1a80]
test edx, edx
je 0x406985
mov eax, dword [ecx + 0x1a50]
cmp dword [edx + 0x48], eax
jne 0x406985
mov dword [ecx + 0x1a54], eax
cmp dword [ecx + 0x1a8c], eax
jne 0x406977
mov byte [ecx + 0x1a90], 1
cmp byte [ecx + 0xf0], 0
jne 0x406985
call fcn.00404b70
mov edx, dword [edi + 0x1b38]
sub edx, 1
js 0x4069b7
mov eax, dword [edi + 0x1b40]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
nop
mov ecx, dword [eax]
test ecx, ecx
je 0x4069af
test dword [ecx + 8], 0x8000000
jne 0x4069d1
sub eax, 0x24
sub edx, 1
jns 0x4069a0
cmp dword [esi + 0x1c58], 0
je 0x4069f0
movss xmm0, dword [esi + 0x1c68]
comiss xmm0, dword [0x4926d8]
jbe 0x4069f0
movss xmm1, dword [esi + 0x18]
mulss xmm1, dword [0x4927a0]
addss xmm1, dword [esi + 0x1cd0]
minss xmm1, dword [0x492774]
jmp 0x406a11
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x4927b4]
movss xmm1, dword [esi + 0x1cd0]
subss xmm1, xmm0
maxss xmm1, dword [0x4926d8]
movss dword [esi + 0x1cd0], xmm1
mov dword [esi + 0x1e0c], 0
mov dword [esi + 0x306c], 0xffffffff
mov dword [esi + 0x3068], 0xffffffff
mov dword [esi + 0x3064], 0xffffffff
mov dword [esi + 0x2e0c], 0x3f800000
mov dword [esi + 0x2e10], 0x3f800000
call fcn.00405790
mov eax, dword [edi + 0x1b50]
test eax, eax
je 0x406a90
cmp byte [eax + 0x7a], 0
je 0x406a90
test dword [eax + 8], 0x40000
jne 0x406a90
cmp byte [edi + 0x100], 0
jne 0x406a90
mov ecx, dword [edi + 0x34]
test ecx, ecx
js 0x406a90
call fcn.004083c0
test al, al
je 0x406a90
mov al, 1
jmp 0x406a92
xor al, al
cmp dword [edi + 0x1a50], 0
mov byte [edi + 0x1c88], al
jne 0x406af7
test al, al
je 0x406af7
cmp dword [edi + 0x1b54], 0
mov eax, dword [edi + 0x1b50]
mov dword [edi + 0x1c74], eax
mov dword [edi + 0x1c80], 0x7fffffff
je 0x406ae6
mov ecx, dword [edi + 0x1b9c]
cmp ecx, 0x7fffffff
je 0x406ae6
xor edx, edx
mov eax, 2
cmp byte [edi + 0x101], dl
cmovne eax, edx
add eax, ecx
jmp 0x406af1
movzx eax, byte [edi + 0x101]
neg eax
sbb eax, eax
mov dword [edi + 0x1c84], eax
mov eax, dword [edi + 0x1c74]
mov dword [edi + 0x1c70], 0
mov dword [edi + 0x1c7c], 0x7fffffff
mov dword [edi + 0x1c78], 0x7fffffff
test eax, eax
je 0x406b95
mov edx, dword [edi + 0x1c80]
mov dword [edi + 0x1c70], eax
cmp edx, 0x7fffffff
je 0x406b51
mov ecx, dword [eax + 0x19c]
cmp ecx, 0xffffffff
je 0x406b51
inc ecx
lea eax, [edx + ecx]
cdq
idiv ecx
mov eax, dword [edi + 0x1c74]
mov dword [edi + 0x1c78], edx
mov edx, dword [edi + 0x1c84]
cmp edx, 0x7fffffff
je 0x406b77
mov ecx, dword [eax + 0x1a0]
cmp ecx, 0xffffffff
je 0x406b77
inc ecx
lea eax, [edx + ecx]
cdq
idiv ecx
mov dword [edi + 0x1c7c], edx
mov dword [edi + 0x1c74], 0
mov dword [edi + 0x1c84], 0x7fffffff
mov dword [edi + 0x1c80], 0x7fffffff
mov dword [edi + 0x1b9c], 0x7fffffff
mov eax, dword [esi + 0x19d8]
cmp dword [esi + 0x19e4], eax
je 0x406bc8
push 0xef2
push str.C:UserskaragDesktopmunuguiimgui.cpp
push str.g.WindowsFocusOrder.Size__g.Windows.Size
call dword [ebp - 4]
mov eax, dword [esi + 0x19d8]
add esp, 0xc
movss xmm0, dword [esi + 0xb8]
comiss xmm0, dword [0x4926d8]
jb 0x406bee
movsd xmm1, qword [esi + 0x19b8]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [ebp - 0x28], xmm1
xor edi, edi
test eax, eax
je 0x406c55
cmp edi, eax
jl 0x406c0d
push 0x576
push str.C:UserskaragDesktopmunuguiimgui.h
push str.i___Size
call dword [ebp - 4]
add esp, 0xc
mov eax, dword [esi + 0x19e0]
xor edx, edx
mov ecx, dword [eax + edi*4]
mov al, byte [ecx + 0x7a]
mov byte [ecx + 0x7b], al
mov word [ecx + 0x86], dx
mov byte [ecx + 0x7a], dl
mov byte [ecx + 0x7c], dl
test al, al
jne 0x406c4a
cmp byte [ecx + 0x36c], dl
jne 0x406c4a
movss xmm0, dword [ebp - 0x28]
comiss xmm0, dword [ecx + 0x268]
jbe 0x406c4a
call fcn.00404900
mov eax, dword [esi + 0x19d8]
inc edi
cmp edi, eax
jne 0x406bf6
mov eax, dword [esi + 0x1b50]
test eax, eax
je 0x406c6c
cmp byte [eax + 0x7b], 0
jne 0x406c6c
xor ecx, ecx
call fcn.0040d560
mov ecx, dword [esi + 0x1a00]
test ecx, ecx
jns 0x406c92
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, [esi + 0x19fc]
call fcn.00414760
mov dword [esi + 0x19fc], 0
mov ecx, dword [esi + 0x1b48]
test ecx, ecx
jns 0x406cc2
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, [esi + 0x1b44]
call fcn.00414be0
mov dword [esi + 0x1b44], 0
xor dl, dl
mov ecx, dword [esi + 0x1b50]
call fcn.0040f240
mov edi, dword [0x6ab9c0]
cmp byte [edi + 0x2e74], 0
mov dword [edi + 0x2e78], 0
je 0x406dd8
mov eax, dword [edi + 0x6c]
mov ecx, dword [edi + 0x1a40]
mov dword [ebp - 0xc], ecx
mov dword [edi + 0x1e0c], 7
test eax, eax
js 0x406d25
mov ecx, eax
call fcn.004083c0
mov ecx, dword [ebp - 0xc]
test al, al
je 0x406d25
mov byte [edi + 0x2e74], 0
mov edx, dword [0x6ab9c0]
movss xmm0, dword [edx + 0x3fc]
ucomiss xmm0, dword [0x4926d8]
lahf
test ah, 0x44
jp 0x406d51
test ecx, ecx
je 0x406d51
mov dword [edi + 0x2e78], ecx
mov byte [edi + 0x2e74], 0
or dword [edx + 0x1aa0], 0x40
mov dword [edx + 0x1af4], 0x3f19999a
xor edx, edx
call fcn.0040ed70
mov edi, dword [ebp - 0xc]
push edi
push str.HoveredId:_0x_08X
call fcn.00423e00
push str.Press_ESC_to_abort_picking.
call fcn.00423e00
add esp, 0xc
xor ecx, ecx
mov eax, 0x10
test edi, edi
cmove ecx, eax
mov eax, dword [0x6ab9c0]
add eax, 0x15dc
add eax, ecx
push str.Click_to_break_in_debugger_
push eax
call fcn.00423ef0
mov eax, dword [0x6ab9c0]
add esp, 8
mov eax, dword [eax + 0x1a18]
test dword [eax + 8], 0x2000000
jne 0x406dd3
push 0x1da1
push str.C:UserskaragDesktopmunuguiimgui.cpp
push str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call dword [ebp - 4]
add esp, 0xc
call fcn.0040d050
mov eax, dword [0x6ab9c0]
xor edx, edx
movss xmm0, dword [0x492840]
mov ecx, str.DebugDefault
mov byte [esi + 0x19cd], 1
push 0
or dword [eax + 0x1aa0], 2
movss dword [eax + 0x1ac0], xmm0
movss dword [eax + 0x1ac4], xmm0
mov dword [eax + 0x1aa8], 4
call fcn.0040aa40
mov eax, dword [esi + 0x1a18]
add esp, 4
cmp byte [eax + 0x82], 1
je 0x406e42
push 0xf14
push str.C:UserskaragDesktopmunuguiimgui.cpp
push str.g.CurrentWindow__IsFallbackWindow__true
call dword [ebp - 4]
add esp, 0xc
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret