Function at 0x40a390
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [0x45e820]
push esi
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov dword [ebp - 8], esi
push edi
test ebx, ebx
jne 0x40a3c6
push 0xfb8
push str.C:UsersXDesktop_freeimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call esi
mov ebx, dword [0x45e820]
add esp, 0xc
mov edi, dword [ebx + 0x3018]
sub edi, 1
js 0x40a4d4
lea esi, [edi + edi*4]
lea eax, [ebx + 0x3020]
shl esi, 2
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esi
cmp edi, dword [ebx + 0x3018]
jl 0x40a40d
push 0x6ca
push str.C:UsersXDesktop_freeimguiimgui.h
push str.i___0__i___Size
call dword [ebp - 8]
mov eax, dword [ebp - 4]
add esp, 0xc
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], eax
mov eax, dword [eax]
cmp dword [eax + esi + 4], 7
jne 0x40a4bf
cmp edi, dword [ebx + 0x3018]
jl 0x40a437
push 0x6ca
push str.C:UsersXDesktop_freeimguiimgui.h
push str.i___0__i___Size
call dword [ebp - 8]
add esp, 0xc
mov eax, dword [ebp - 4]
mov edx, dword [eax]
lea ecx, [edx + esi]
mov dword [ebp - 0x1c], ecx
cmp ecx, edx
jb 0x40a456
mov eax, dword [ebx + 0x3018]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
cmp ecx, eax
jb 0x40a46e
push 0x6e2
push str.C:UsersXDesktop_freeimguiimgui.h
push 0x454760
call dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
mov esi, dword [ebx + 0x3020]
lea eax, [ebx + 0x3020]
mov dword [ebp - 4], eax
sub ecx, esi
mov eax, 0x66666667
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 [ebx + 0x3018]
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 [ebp - 0xc]
add esp, 0xc
dec dword [ebx + 0x3018]
mov eax, dword [ebp - 4]
sub esi, 0x14
sub edi, 1
mov dword [ebp - 0xc], esi
jns 0x40a3e7
mov esi, dword [ebp - 8]
xor edx, edx
mov ecx, ebx
call fcn.00408d60
mov eax, dword [ebx + 0x19cc]
mov dword [ebx + 0x19d0], eax
call fcn.00414bd0
mov edi, dword [0x45e820]
mov eax, dword [ebx + 8]
mov dword [ebx + 0x19cc], eax
mov eax, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
cmp byte [edi + 0x2fe0], 0
mov dword [ebp - 4], eax
jne 0x40a577
cmp dword [edi + 0x3000], 0
je 0x40a52b
push 0x2b16
push str.C:UsersXDesktop_freeimguiimgui.cpp
push str.g.SettingsWindows.empty__
call esi
add esp, 0xc
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x40a570
push ecx
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], 0
push eax
call fcn.00405d70
add esp, 8
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x40a570
mov edx, dword [ebp - 0xc]
mov ecx, eax
call fcn.0041b4d0
mov ecx, dword [0x45e820]
test ecx, ecx
je 0x40a567
dec dword [ecx + 0x374]
push dword [ebp - 0x1c]
call dword [ebp - 4]
add esp, 4
mov byte [edi + 0x2fe0], 1
movss xmm0, dword [edi + 0x2fe4]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x40a606
subss xmm0, dword [edi + 0x18]
comiss xmm1, xmm0
movss dword [edi + 0x2fe4], xmm0
jb 0x40a606
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x40a5f5
mov eax, dword [0x45e820]
lea ecx, [ebp - 0xc]
mov dword [ebp - 0xc], 0
mov dword [eax + 0x2fe4], 0
call fcn.0041b910
mov ecx, dword [ebp - 0x1c]
mov edx, 0x4529fc
mov dword [ebp - 0x18], eax
call fcn.00405be0
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x40a5fc
push eax
push dword [ebp - 0xc]
push 1
push dword [ebp - 0x18]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push dword [ebp - 0x1c]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
jmp 0x40a5fc
mov byte [edi + 0x35c], 1
mov dword [edi + 0x2fe4], 0
movss xmm0, dword [ebx + 0x18]
lea ecx, [ebx + 0x2f94]
inc dword [ebx + 0x1be0]
cvtps2pd xmm0, xmm0
push 0
mov byte [ebx + 0x1bf0], 1
mov dword [ebx + 0x2f80], 0
mov dword [ebx + 0x1c3c], 0
addsd xmm0, qword [ebx + 0x1bd8]
movsd qword [ebx + 0x1bd8], xmm0
call fcn.00428d90
mov eax, dword [ebx + 0x3254]
mov ecx, 0x78
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
movss xmm2, dword [0x45b474]
subss xmm0, dword [ebx + eax*4 + 0x3074]
addss xmm0, dword [ebx + 0x3258]
movss dword [ebx + 0x3258], xmm0
movss dword [ebx + eax*4 + 0x3074], xmm1
mov eax, dword [ebx + 0x3254]
inc eax
movss xmm1, dword [ebx + 0x3258]
cdq
idiv ecx
comiss xmm1, dword [0x45b3dc]
mov dword [ebx + 0x3254], edx
movss xmm0, dword [0x45b59c]
movss dword [ebp - 0xc], xmm0
jbe 0x40a6c6
divss xmm1, dword [0x45b544]
movaps xmm0, xmm2
divss xmm0, xmm1
movss dword [ebx + 0x360], xmm0
call fcn.0041ccd0
mov eax, dword [ebx + 0x98]
mov edi, dword [0x45e820]
mov byte [eax + 0x10], 1
mov ecx, dword [edi + 0xa4]
test ecx, ecx
jne 0x40a711
mov edi, dword [edi + 0x98]
cmp dword [edi + 0x34], ecx
jg 0x40a70c
push 0x6ca
push str.C:UsersXDesktop_freeimguiimgui.h
push str.i___0__i___Size
call esi
add esp, 0xc
mov eax, dword [edi + 0x3c]
mov ecx, dword [eax]
call fcn.004144e0
mov eax, dword [ebx + 0x19d4]
cmp dword [eax + 0x30], 0
jne 0x40a736
push 0xfde
push str.C:UsersXDesktop_freeimguiimgui.cpp
push str.g.Font__IsLoaded__
call esi
add esp, 0xc
movss xmm7, dword [ebp - 0xc]
xor edi, edi
movss xmm4, dword [0x45b5c0]
movaps xmm6, xmm7
mov eax, dword [ebx + 0x1dd0]
movaps xmm5, xmm4
movss dword [ebp - 0x10], xmm7
movss dword [ebp - 0x14], xmm6
movss dword [ebp - 0x18], xmm4
movss dword [ebp - 0x1c], xmm5
test eax, eax
jle 0x40a806
nop dword [eax]
test edi, edi
js 0x40a778
cmp edi, eax
jl 0x40a7a0
push 0x6ca
push str.C:UsersXDesktop_freeimguiimgui.h
push str.i___0__i___Size
call esi
movss xmm4, dword [ebp - 0x18]
add esp, 0xc
movss xmm5, dword [ebp - 0x1c]
movss xmm6, dword [ebp - 0x14]
movss xmm7, dword [ebp - 0x10]
mov eax, dword [ebx + 0x1dd8]
mov eax, dword [eax + edi*4]
movss xmm3, dword [eax + 8]
comiss xmm7, xmm3
movss xmm2, dword [eax + 0xc]
movaps xmm0, xmm3
addss xmm0, dword [eax + 0x10]
movaps xmm1, xmm2
addss xmm1, dword [eax + 0x14]
jbe 0x40a7d0
movaps xmm7, xmm3
movss dword [ebp - 0x10], xmm7
comiss xmm6, xmm2
jbe 0x40a7dd
movaps xmm6, xmm2
movss dword [ebp - 0x14], xmm6
comiss xmm0, xmm4
jbe 0x40a7ea
movaps xmm4, xmm0
movss dword [ebp - 0x18], xmm4
comiss xmm1, xmm5
jbe 0x40a7f7
movaps xmm5, xmm1
movss dword [ebp - 0x1c], xmm5
mov eax, dword [ebx + 0x1dd0]
inc edi
cmp edi, eax
jl 0x40a770
movss dword [ebx + 0x19f8], xmm7
movss dword [ebx + 0x19fc], xmm6
movss dword [ebx + 0x1a00], xmm4
movss dword [ebx + 0x1a04], xmm5
mov eax, dword [ebx + 0x1654]
movss xmm1, dword [ebx + 0x1658]
mov dword [ebx + 0x19f0], eax
movss xmm0, dword [ebx + 0x19f4]
ucomiss xmm0, xmm1
movss dword [ebp - 0x1c], xmm1
lahf
test ah, 0x44
jnp 0x40a952
comiss xmm1, dword [0x45b3dc]
ja 0x40a876
push 0x18d
push str.C:UsersXDesktop_freeimguiimgui_draw.cpp
push str.max_error___0.0f
call esi
movss xmm1, dword [ebp - 0x1c]
add esp, 0xc
movss dword [ebx + 0x19f4], xmm1
xor edi, edi
movd xmm0, edi
cvtdq2ps xmm0, xmm0
test edi, edi
je 0x40a90e
movss xmm1, dword [ebx + 0x19f4]
minss xmm1, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x45b474]
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x45b4d0]
sub esp, 8
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [ebp - 0x20], xmm0
fld qword [ebp - 0x20]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
fstp qword [ebp - 0x20]
movsd xmm0, qword [ebp - 0x20]
add esp, 8
cvtpd2ps xmm0, xmm0
cvttss2si eax, xmm0
inc eax
cdq
sub eax, edx
and eax, 0xfffffffe
cmp eax, 4
jge 0x40a8ff
mov eax, 4
jmp 0x40a910
cmp eax, 0x200
mov ecx, 0x200
cmovg eax, ecx
jmp 0x40a910
xor eax, eax
mov byte [edi + ebx + 0x1b90], al
inc edi
cmp edi, 0x40
jl 0x40a880
movsd xmm0, qword [0x45b490]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x45b474]
cvtsd2ss xmm0, xmm0
subss xmm1, xmm0
movss xmm0, dword [ebx + 0x19f4]
divss xmm0, xmm1
movss dword [ebx + 0x1b8c], xmm0
xor edx, edx
mov dword [ebx + 0x1a08], 0
cmp byte [ebx + 0x1650], dl
je 0x40a975
mov dword [ebx + 0x1a08], 1
mov edx, 1
cmp byte [ebx + 0x1651], 0
mov ecx, edx
je 0x40a997
mov eax, dword [ebx + 0x19d4]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x40a997
or ecx, 2
mov dword [ebx + 0x1a08], ecx
cmp byte [ebx + 0x1652], 0
je 0x40a9a9
or ecx, 4
mov dword [ebx + 0x1a08], ecx
test byte [ebx + 0xc], 8
je 0x40a9b8
or ecx, 8
mov dword [ebx + 0x1a08], ecx
mov eax, dword [ebx + 0x1dd0]
xor edi, edi
test eax, eax
jle 0x40aa0b
test edi, edi
js 0x40a9cc
cmp edi, eax
jl 0x40a9e0
push 0x6ca
push str.C:UsersXDesktop_freeimguiimgui.h
push str.i___0__i___Size
call esi
add esp, 0xc
mov eax, dword [ebx + 0x1dd8]
push 0x30
push 0
mov eax, dword [eax + edi*4]
mov dword [eax + 0x30], 0
sub eax, 0xffffff80
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebx + 0x1dd0]
inc edi
add esp, 0xc
cmp edi, eax
jl 0x40a9c4
cmp byte [ebx + 0x1f5c], 0
mov esi, dword [0x45e820]
je 0x40aa45
mov eax, dword [ebx + 0x1f74]
cmp eax, dword [ebx + 0x1c84]
jne 0x40aa45
cmp dword [esi + 0x1c84], eax
jne 0x40aa36
mov dword [esi + 0x1c88], eax
cmp dword [esi + 0x1cbc], eax
jne 0x40aa45
mov byte [esi + 0x1cc0], 1
cmp dword [ebx + 0x1c74], 0
jne 0x40aa5a
mov dword [ebx + 0x1c7c], 0
jmp 0x40aa6c
mov eax, dword [ebx + 0x1c70]
test eax, eax
je 0x40aa76
cmp dword [ebx + 0x1c84], eax
jne 0x40aa76
mov dword [ebx + 0x1c80], 0
mov eax, dword [ebx + 0x1c70]
test eax, eax
je 0x40aab0
movss xmm1, dword [ebx + 0x18]
movaps xmm0, xmm1
addss xmm0, dword [ebx + 0x1c7c]
movss dword [ebx + 0x1c7c], xmm0
cmp dword [ebx + 0x1c84], eax
je 0x40aab0
addss xmm1, dword [ebx + 0x1c80]
movss dword [ebx + 0x1c80], xmm1
mov dword [ebx + 0x1c74], eax
mov al, byte [ebx + 0x1c79]
mov byte [ebx + 0x1c7a], al
mov eax, dword [ebx + 0x1c84]
mov dword [ebx + 0x1c70], 0
mov word [ebx + 0x1c78], 0
mov byte [ebx + 0x1c7b], 0
cmp dword [ebx + 0x1c88], eax
je 0x40aafb
cmp dword [ebx + 0x1cbc], eax
jne 0x40aafb
test eax, eax
je 0x40aafb
call fcn.00408850
mov ecx, dword [ebx + 0x1c84]
test ecx, ecx
je 0x40ab1a
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x1c8c]
movss dword [ebx + 0x1c8c], xmm0
mov eax, dword [ebx + 0x1cb0]
movss xmm0, dword [ebx + 0x18]
addss xmm0, dword [ebx + 0x1ccc]
mov dword [ebx + 0x1cc4], eax
mov al, byte [ebx + 0x1c94]
mov byte [ebx + 0x1cc1], al
mov eax, dword [ebx + 0x2f40]
movss dword [ebx + 0x1ccc], xmm0
mov dword [ebx + 0x1cbc], ecx
mov dword [ebx + 0x1c88], 0
mov byte [ebx + 0x1c95], 0
mov byte [ebx + 0x1cc0], 0
mov byte [ebx + 0x1c90], 0
test eax, eax
je 0x40ab84
cmp ecx, eax
je 0x40ab84
mov dword [ebx + 0x2f40], 0
test ecx, ecx
jne 0x40aba0
mov dword [ebx + 0x1c98], ecx
mov dword [ebx + 0x1c9c], ecx
mov dword [ebx + 0x1ca0], ecx
mov dword [ebx + 0x1ca4], ecx
mov eax, dword [ebx + 0x1fc0]
lea edi, [ebx + 0xc60]
mov dword [ebx + 0x1fc4], eax
xor eax, eax
mov dword [ebx + 0x1fc0], 0
mov dword [ebx + 0x1fbc], 0x7f7fffff
mov word [ebx + 0x1f5d], 0
mov dword [ebx + 0x1fcc], 0
cmp byte [esi + 0x100], al
movss xmm1, dword [0x45b5ac]
setne al
mov ecx, eax
or ecx, 2
cmp byte [esi + 0x101], 0
cmove ecx, eax
mov edx, ecx
or edx, 4
cmp byte [esi + 0x102], 0
cmove edx, ecx
mov ecx, 0x200
mov eax, edx
or eax, 8
cmp byte [esi + 0x103], 0
cmove eax, edx
lea edx, [ebx + 0x460]
mov esi, edx
mov dword [ebx + 0x380], eax
rep movsd dword es:[edi], dword [esi]
xor eax, eax
cmp byte [ebx + eax + 0x104], 0
je 0x40ac52
movss xmm0, dword [edx]
xorps xmm2, xmm2
comiss xmm2, xmm0
jbe 0x40ac4b
xorps xmm0, xmm0
jmp 0x40ac55
addss xmm0, dword [ebx + 0x18]
jmp 0x40ac55
movaps xmm0, xmm1
movss dword [edx], xmm0
inc eax
add edx, 4
cmp eax, 0x200
jl 0x40ac30
call fcn.004180a0
call fcn.00409750
mov ecx, ebx
call fcn.0041e670
call fcn.0040a120
call fcn.004091b0
mov eax, dword [0x45e820]
mov edx, dword [eax + 0x1db8]
sub edx, 1
js 0x40acb7
mov eax, dword [eax + 0x1dc0]
lea ecx, [edx + edx*8]
lea eax, [eax + ecx*4]
add eax, 4
nop
mov ecx, dword [eax]
test ecx, ecx
je 0x40acaf
test dword [ecx + 8], 0x8000000
jne 0x40acd1
sub eax, 0x24
sub edx, 1
jns 0x40aca0
cmp dword [ebx + 0x1f20], 0
je 0x40acf0
movss xmm0, dword [ebx + 0x1f30]
comiss xmm0, dword [0x45b3dc]
jbe 0x40acf0
movss xmm1, dword [ebx + 0x18]
mulss xmm1, dword [0x45b4e4]
addss xmm1, dword [ebx + 0x1f54]
minss xmm1, dword [0x45b474]
jmp 0x40ad11
movss xmm0, dword [ebx + 0x18]
mulss xmm0, dword [0x45b4f8]
movss xmm1, dword [ebx + 0x1f54]
subss xmm1, xmm0
maxss xmm1, dword [0x45b3dc]
movss dword [ebx + 0x1f54], xmm1
mov dword [ebx + 0x1f58], 0
mov dword [ebx + 0x3264], 0xffffffff
mov dword [ebx + 0x3260], 0xffffffff
mov dword [ebx + 0x325c], 0xffffffff
mov dword [ebx + 0x2fa0], 0x3f800000
mov dword [ebx + 0x2fa4], 0x3f800000
mov dword [ebx + 0x2fb0], 0
call fcn.00409c40
mov esi, dword [0x45e820]
mov eax, dword [esi + 0x1e18]
test eax, eax
je 0x40ada3
cmp byte [eax + 0xc3], 0
je 0x40ada3
test dword [eax + 8], 0x40000
jne 0x40ada3
cmp byte [esi + 0x100], 0
jne 0x40ada3
mov ecx, dword [esi + 0x34]
test ecx, ecx
js 0x40ada3
call fcn.0040d740
test al, al
je 0x40ada3
mov al, 1
jmp 0x40ada5
xor al, al
cmp dword [esi + 0x1c84], 0
mov byte [esi + 0x1f50], al
jne 0x40ae05
test al, al
je 0x40ae05
cmp dword [esi + 0x1e1c], 0
mov eax, dword [esi + 0x1e18]
mov dword [esi + 0x1f3c], eax
mov dword [esi + 0x1f48], 0x7fffffff
je 0x40adf4
mov ecx, dword [esi + 0x1e64]
cmp ecx, 0x7fffffff
je 0x40adf4
movzx eax, byte [esi + 0x101]
neg eax
sbb eax, eax
add eax, ecx
jmp 0x40adff
movzx eax, byte [esi + 0x101]
neg eax
sbb eax, eax
mov dword [esi + 0x1f4c], eax
mov edi, dword [esi + 0x1f3c]
mov dword [esi + 0x1f38], 0
mov dword [esi + 0x1f44], 0x7fffffff
mov dword [esi + 0x1f40], 0x7fffffff
test edi, edi
je 0x40ae99
mov eax, dword [esi + 0x1f48]
mov dword [esi + 0x1f38], edi
cmp eax, 0x7fffffff
je 0x40ae57
mov ecx, dword [edi + 0x1e0]
cmp ecx, 0xffffffff
je 0x40ae57
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1f40], edx
mov eax, dword [esi + 0x1f4c]
cmp eax, 0x7fffffff
je 0x40ae7b
mov ecx, dword [edi + 0x1e4]
cmp ecx, 0xffffffff
je 0x40ae7b
inc ecx
add eax, ecx
cdq
idiv ecx
mov dword [esi + 0x1f44], edx
mov dword [esi + 0x1f3c], 0
mov dword [esi + 0x1f4c], 0x7fffffff
mov dword [esi + 0x1f48], 0x7fffffff
mov edi, dword [ebp - 8]
mov dword [esi + 0x1e64], 0x7fffffff
mov eax, dword [ebx + 0x1c00]
cmp dword [ebx + 0x1c0c], eax
jle 0x40aece
push 0x1053
push str.C:UsersXDesktop_freeimguiimgui.cpp
push str.g.WindowsFocusOrder.Size___g.Windows.Size
call edi
mov eax, dword [ebx + 0x1c00]
add esp, 0xc
cmp byte [ebx + 0x1bf3], 0
jne 0x40aefc
movss xmm0, dword [ebx + 0xc0]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x40aefc
movsd xmm1, qword [ebx + 0x1bd8]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [ebp - 0xc], xmm1
xor esi, esi
mov dword [ebp - 0x1c], esi
test eax, eax
je 0x40b0b3
nop dword [eax]
test esi, esi
js 0x40af18
cmp esi, eax
jl 0x40af2c
push 0x6ca
push str.C:UsersXDesktop_freeimguiimgui.h
push str.i___0__i___Size
call edi
add esp, 0xc
mov eax, dword [ebx + 0x1c08]
xor ecx, ecx
mov esi, dword [eax + esi*4]
mov al, byte [esi + 0xc3]
mov byte [esi + 0xc4], al
mov word [esi + 0xce], cx
mov byte [esi + 0xc3], cl
mov byte [esi + 0xc5], cl
test al, al
jne 0x40b09e
cmp byte [esi + 0x3a0], cl
jne 0x40b09e
movss xmm0, dword [ebp - 0xc]
comiss xmm0, dword [esi + 0x298]
jbe 0x40b09e
mov ecx, dword [esi + 0x2c4]
mov byte [esi + 0x3a0], 1
mov eax, dword [ecx + 0x10]
mov dword [esi + 0x398], eax
mov eax, dword [ecx + 0x1c]
mov dword [esi + 0x39c], eax
mov ecx, dword [esi + 0x104]
test ecx, ecx
je 0x40afd9
mov eax, dword [0x45e820]
mov dword [esi + 0x100], 0
mov dword [esi + 0xfc], 0
test eax, eax
je 0x40afc8
dec dword [eax + 0x374]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x104], 0
mov ecx, dword [esi + 0x2c4]
call fcn.00431080
mov ecx, dword [esi + 0x1c8]
test ecx, ecx
je 0x40b022
mov eax, dword [0x45e820]
mov dword [esi + 0x1c4], 0
mov dword [esi + 0x1c0], 0
test eax, eax
je 0x40b011
dec dword [eax + 0x374]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x1c8], 0
mov ecx, dword [esi + 0x1f8]
test ecx, ecx
je 0x40b060
mov eax, dword [0x45e820]
mov dword [esi + 0x1f4], 0
mov dword [esi + 0x1f0], 0
test eax, eax
je 0x40b04f
dec dword [eax + 0x374]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x1f8], 0
mov ecx, dword [esi + 0x204]
test ecx, ecx
je 0x40b09e
mov eax, dword [0x45e820]
mov dword [esi + 0x200], 0
mov dword [esi + 0x1fc], 0
test eax, eax
je 0x40b08d
dec dword [eax + 0x374]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x204], 0
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x1c00]
inc esi
mov dword [ebp - 0x1c], esi
cmp esi, eax
jne 0x40af10
mov eax, dword [ebx + 0x2018]
xor esi, esi
test eax, eax
jle 0x40b175
xor ecx, ecx
mov dword [ebp - 8], ecx
test esi, esi
js 0x40b0d0
cmp esi, eax
jl 0x40b0e7
push 0x6ca
push str.C:UsersXDesktop_freeimguiimgui.h
push str.i___0__i___Size
call edi
mov ecx, dword [ebp - 8]
add esp, 0xc
mov eax, dword [ebx + 0x2020]
movss xmm0, dword [eax + esi*4]
comiss xmm0, dword [0x45b3dc]
jb 0x40b15d
test esi, esi
js 0x40b107
cmp esi, dword [ebx + 0x2018]
jl 0x40b11b
push 0x6ca
push str.C:UsersXDesktop_freeimguiimgui.h
push str.i___0__i___Size
call edi
add esp, 0xc
mov eax, dword [ebx + 0x2020]
movss xmm0, dword [ebp - 0xc]
comiss xmm0, dword [eax + esi*4]
jbe 0x40b15a
test esi, esi
js 0x40b138
cmp esi, dword [ebx + 0x1ff0]
jl 0x40b14c
push 0x6ca
push str.C:UsersXDesktop_freeimguiimgui.h
push str.i___0__i___Size
call edi
add esp, 0xc
mov ecx, dword [ebx + 0x1ff8]
add ecx, dword [ebp - 8]
call fcn.0043e600
mov ecx, dword [ebp - 8]
mov eax, dword [ebx + 0x2018]
inc esi
add ecx, 0x228
mov dword [ebp - 8], ecx
cmp esi, eax
jl 0x40b0c8
cmp byte [ebx + 0x1bf3], 0
je 0x40b204
mov esi, dword [0x45e820]
mov eax, dword [esi + 0x1da8]
test eax, eax
je 0x40b1c1
mov dword [esi + 0x1da4], 0
mov dword [esi + 0x1da0], 0
test esi, esi
je 0x40b1b0
dec dword [esi + 0x374]
push eax
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x1da8], 0
mov ecx, dword [esi + 0x1db4]
test ecx, ecx
je 0x40b1ff
mov eax, dword [0x45e820]
mov dword [esi + 0x1db0], 0
mov dword [esi + 0x1dac], 0
test eax, eax
je 0x40b1ee
dec dword [eax + 0x374]
push ecx
call dword [ebp - 4]
add esp, 4
mov dword [esi + 0x1db4], 0
call fcn.0043e7b0
mov eax, dword [ebx + 0x1e18]
mov byte [ebx + 0x1bf3], 0
test eax, eax
je 0x40b225
cmp byte [eax + 0xc4], 0
jne 0x40b225
xor ecx, ecx
call fcn.004143e0
push ecx
lea ecx, [ebx + 0x1c24]
call fcn.00428ce0
mov ecx, dword [ebx + 0x1dc8]
test ecx, ecx
jns 0x40b257
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, [ebx + 0x1dc4]
call fcn.00428c60
mov dword [ebx + 0x1dc4], 0
mov ecx, dword [ebx + 0x1da4]
test ecx, ecx
jns 0x40b287
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, [ebx + 0x1da0]
call fcn.004291c0
lea eax, [ebp - 0x1c]
mov dword [ebx + 0x1da0], 0
push eax
lea ecx, [ebx + 0x1da0]
mov dword [ebp - 0x1c], 0
call fcn.004280a0
push 0
lea ecx, [ebx + 0x1dac]
call fcn.00428a30
mov ecx, dword [ebx + 0x1e18]
xor dl, dl
call fcn.00416590
mov ecx, ebx
call fcn.0041e800
mov esi, dword [0x45e820]
cmp byte [esi + 0x305c], 0
mov dword [esi + 0x3060], 0
je 0x40b3c6
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x1c74]
mov dword [ebp - 0xc], ecx
mov dword [esi + 0x1f58], 7
test eax, eax
js 0x40b314
mov ecx, eax
call fcn.0040d740
mov ecx, dword [ebp - 0xc]
test al, al
je 0x40b314
mov byte [esi + 0x305c], 0
mov edx, dword [0x45e820]
movss xmm0, dword [edx + 0x3fc]
ucomiss xmm0, dword [0x45b3dc]
lahf
test ah, 0x44
jp 0x40b340
test ecx, ecx
je 0x40b340
mov dword [esi + 0x3060], ecx
mov byte [esi + 0x305c], 0
or dword [edx + 0x1cd0], 0x40
mov dword [edx + 0x1d28], 0x3f19999a
xor edx, edx
call fcn.00416020
mov esi, dword [ebp - 0xc]
push esi
push str.HoveredId:_0x_08X
call fcn.0043f880
push str.Press_ESC_to_abort_picking.
call fcn.0043f880
add esp, 0xc
xor ecx, ecx
mov eax, 0x10
test esi, esi
cmove ecx, eax
mov eax, dword [0x45e820]
add eax, 0x165c
add eax, ecx
push str.Click_to_break_in_debugger_
push eax
call fcn.0043f970
mov eax, dword [0x45e820]
add esp, 8
mov eax, dword [eax + 0x1c48]
test dword [eax + 8], 0x2000000
jne 0x40b3c1
push 0x2213
push str.C:UsersXDesktop_freeimguiimgui.cpp
push str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call edi
add esp, 0xc
call fcn.00413b50
mov eax, dword [0x45e820]
xor edx, edx
movss xmm0, dword [0x45b57c]
mov ecx, str.DebugDefault
mov byte [ebx + 0x1bf1], 1
push 0
or dword [eax + 0x1cd0], 2
movss dword [eax + 0x1cf4], xmm0
movss dword [eax + 0x1cf8], xmm0
mov dword [eax + 0x1cd8], 4
call fcn.00410630
mov eax, dword [ebx + 0x1c48]
add esp, 4
cmp byte [eax + 0xcb], 1
je 0x40b42f
push 0x1083
push str.C:UsersXDesktop_freeimguiimgui.cpp
push str.g.CurrentWindow__IsFallbackWindow__true
call edi
add esp, 0xc
mov edx, 1
mov ecx, ebx
call fcn.00408d60
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret