Function at 0x42b720
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
push esi
mov esi, dword [0x4c9c24]
mov dword [ebp - 8], esi
push edi
test esi, esi
jne 0x42b759
push 0x10f4
push str.d:CProjectsSCUMSX2_srcimguiimgui.cpp
push str.GImGui___0___No_current_context._Did_you_call_ImGui::CreateContext___and_ImGui::SetCurrentContext_____
call ebx
mov esi, dword [0x4c9c24]
add esp, 0xc
mov dword [ebp - 8], esi
mov eax, dword [esi + 0x5a44]
sub eax, 1
mov dword [ebp - 0xc], eax
js 0x42b862
lea ecx, [eax + eax*4]
shl ecx, 2
mov dword [ebp - 4], ecx
cmp eax, dword [esi + 0x5a44]
jl 0x42b796
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call ebx
mov eax, dword [ebp - 0xc]
add esp, 0xc
mov ecx, dword [ebp - 4]
mov edi, dword [esi + 0x5a4c]
cmp dword [edi + ecx + 4], 7
jne 0x42b850
cmp eax, dword [esi + 0x5a44]
jl 0x42b7cc
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call ebx
mov edi, dword [esi + 0x5a4c]
add esp, 0xc
mov ecx, dword [ebp - 4]
add ecx, edi
mov dword [ebp - 0x1c], ecx
cmp ecx, edi
jb 0x42b7e8
mov eax, dword [esi + 0x5a44]
mov dword [ebp - 0x10], eax
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
cmp ecx, eax
jb 0x42b80e
push 0x716
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push 0x4b9e9c
call ebx
mov eax, dword [esi + 0x5a44]
add esp, 0xc
mov edi, dword [esi + 0x5a4c]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], eax
sub ecx, edi
mov eax, 0x66666667
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
lea eax, [ecx + ecx*4]
lea edx, [edi + eax*4]
mov eax, dword [ebp - 0x10]
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 eax, dword [ebp - 0xc]
add esp, 0xc
dec dword [esi + 0x5a44]
mov ecx, dword [ebp - 4]
dec eax
sub ecx, 0x14
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
test eax, eax
jns 0x42b774
xor edx, edx
mov ecx, esi
call fcn.00429c70
call fcn.004373a0
mov edi, dword [0x4c9c24]
cmp byte [edi + 0x5a0d], 0
jne 0x42b8ef
cmp dword [edi + 0x5a2c], 0
je 0x42b89c
push 0x30ce
push str.d:CProjectsSCUMSX2_srcimguiimgui.cpp
push str.g.SettingsWindows.empty__
call ebx
add esp, 0xc
mov ecx, dword [edi + 0x20]
test ecx, ecx
je 0x42b8e8
push ecx
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
call fcn.00425b00
mov ecx, eax
add esp, 8
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x42b8e8
mov edx, dword [ebp - 0x10]
test edx, edx
je 0x42b8cf
call fcn.0043ebc0
mov ecx, dword [ebp - 0x1c]
mov eax, dword [0x4c9c24]
test eax, eax
je 0x42b8de
dec dword [eax + 0xb0]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov byte [edi + 0x5a0d], 1
movss xmm0, dword [edi + 0x5a10]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x42b97e
subss xmm0, dword [edi + 0x18]
comiss xmm1, xmm0
movss dword [edi + 0x5a10], xmm0
jb 0x42b97e
mov eax, dword [edi + 0x20]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x42b96d
mov eax, dword [0x4c9c24]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x10], 0
mov dword [eax + 0x5a10], 0
call fcn.0043ef40
mov ecx, dword [ebp - 0x1c]
mov edx, 0x4b9ba4
mov dword [ebp - 0x14], eax
call fcn.00425960
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x42b974
push eax
push dword [ebp - 0x10]
push 1
push dword [ebp - 0x14]
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 0x42b974
mov byte [edi + 0x98], 1
mov dword [edi + 0x5a10], 0
movss xmm1, dword [esi + 0x18]
xor eax, eax
inc dword [esi + 0x3dd8]
cvtps2pd xmm0, xmm1
mov byte [esi + 0x3de4], 1
mov word [esi + 0x59d2], ax
mov dword [esi + 0x3e2c], eax
addsd xmm0, qword [esi + 0x3dd0]
movsd qword [esi + 0x3dd0], xmm0
mov ecx, dword [esi + 0x59e4]
test ecx, ecx
jns 0x42b9dd
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 + 0x59e0]
call fcn.00440770
movss xmm1, dword [esi + 0x18]
mov dword [esi + 0x59e0], 0
movaps xmm0, xmm1
mov eax, dword [esi + 0x5bec]
mov ecx, 0x3c
subss xmm0, dword [esi + eax*4 + 0x5afc]
addss xmm0, dword [esi + 0x5bf4]
movss dword [esi + 0x5bf4], xmm0
movss dword [esi + eax*4 + 0x5afc], xmm1
mov eax, dword [esi + 0x5bec]
inc eax
movss xmm1, dword [esi + 0x5bf4]
cdq
idiv ecx
mov eax, dword [esi + 0x5bf0]
movss xmm0, dword [0x4c1ab0]
inc eax
cmp eax, ecx
mov dword [esi + 0x5bec], edx
movss dword [ebp - 0xc], xmm0
cmovl ecx, eax
comiss xmm1, dword [0x4c1864]
mov dword [esi + 0x5bf0], ecx
jbe 0x42ba6e
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x4c194c]
divss xmm0, xmm1
movss dword [esi + 0x9c], xmm0
mov ecx, dword [esi + 0x3790]
test ecx, ecx
jns 0x42ba9c
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 + 0x378c]
call fcn.00440dc0
mov dword [esi + 0x378c], 0
mov cl, byte [esi + 0x62]
call fcn.004367c0
mov edi, dword [0x4c9c24]
mov dword [ebp - 0x10], edi
cmp dword [edi + 0x47ac], 1
je 0x42bad4
push 0x3238
push str.d:CProjectsSCUMSX2_srcimguiimgui.cpp
push str.g.Viewports.Size__1
call ebx
add esp, 0xc
cmp dword [edi + 0x47ac], 0
jg 0x42baf1
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call ebx
add esp, 0xc
mov eax, dword [edi + 0x47b4]
mov edx, dword [eax]
mov dword [edx], 5
mov dword [edx + 4], 0
mov dword [edx + 8], 0
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
xor edi, edi
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], ecx
mov eax, dword [eax + 0x47ac]
test eax, eax
jle 0x42bc20
mov esi, dword [ebp - 0x10]
nop
test edi, edi
js 0x42bb38
cmp edi, eax
jl 0x42bb4c
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call ebx
add esp, 0xc
mov eax, dword [esi + 0x47b4]
xorps xmm2, xmm2
mov edx, dword [eax + edi*4]
inc edi
mov eax, dword [edx + 0x8c]
mov ecx, dword [edx + 0x90]
movss xmm1, dword [edx + 4]
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 eax, dword [edx + 0x94]
mov dword [edx + 0x98], 0
mov ecx, dword [edx + 0x98]
mov dword [edx + 0x8c], eax
mov dword [edx + 0x90], ecx
movss xmm0, dword [edx + 0x80]
addss xmm0, dword [edx + 8]
addss xmm1, dword [edx + 0x7c]
movss dword [edx + 0x18], xmm0
movss xmm0, dword [edx + 0xc]
movss dword [edx + 0x14], xmm1
xorps xmm1, xmm1
subss xmm0, dword [edx + 0x7c]
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 eax, dword [esi + 0x47ac]
cmp edi, eax
jl 0x42bb30
mov esi, dword [ebp - 8]
mov eax, dword [esi + 0x48]
mov edi, dword [0x4c9c24]
mov byte [eax + 0x10], 1
mov ecx, dword [edi + 0x54]
test ecx, ecx
jne 0x42bc55
mov edi, dword [edi + 0x48]
cmp dword [edi + 0x3c], ecx
jg 0x42bc50
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call ebx
add esp, 0xc
mov eax, dword [edi + 0x44]
mov ecx, dword [eax]
call fcn.004341c0
mov eax, dword [esi + 0x3bc4]
cmp dword [eax + 0x30], 0
jne 0x42bc7a
push 0x111d
push str.d:CProjectsSCUMSX2_srcimguiimgui.cpp
push str.g.Font__IsLoaded__
call ebx
add esp, 0xc
movss xmm7, dword [0x4c1ab0]
xor edi, edi
movss xmm4, dword [0x4c1b0c]
movaps xmm6, xmm7
mov eax, dword [esi + 0x47ac]
movaps xmm5, xmm4
movss dword [ebp - 0x10], xmm7
movss dword [ebp - 4], xmm6
movss dword [ebp - 0x14], xmm4
movss dword [ebp - 0x1c], xmm5
test eax, eax
jle 0x42bd4e
test edi, edi
js 0x42bcbe
mov ecx, eax
cmp edi, eax
jl 0x42bcec
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call ebx
mov ecx, dword [esi + 0x47ac]
add esp, 0xc
movss xmm4, dword [ebp - 0x14]
movss xmm5, dword [ebp - 0x1c]
movss xmm6, dword [ebp - 4]
movss xmm7, dword [ebp - 0x10]
mov eax, dword [esi + 0x47b4]
mov eax, dword [eax + edi*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 0x42bd1c
movaps xmm7, xmm3
movss dword [ebp - 0x10], xmm7
comiss xmm6, xmm2
jbe 0x42bd29
movaps xmm6, xmm2
movss dword [ebp - 4], xmm6
comiss xmm0, xmm4
jbe 0x42bd36
movaps xmm4, xmm0
movss dword [ebp - 0x14], xmm4
comiss xmm1, xmm5
jbe 0x42bd43
movaps xmm5, xmm1
movss dword [ebp - 0x1c], xmm5
inc edi
mov eax, ecx
cmp edi, ecx
jl 0x42bcb4
mov eax, dword [esi + 0x386c]
movss xmm1, dword [esi + 0x3870]
movss dword [ebp - 0x1c], xmm5
movss dword [ebp - 0x28], xmm7
movss dword [ebp - 0x24], xmm6
movss dword [ebp - 0x20], xmm4
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x3be0], eax
movss dword [ebp - 0x1c], xmm1
movups xmmword [esi + 0x3be8], xmm0
movss xmm0, dword [esi + 0x3be4]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x42bea2
comiss xmm1, dword [0x4c1864]
ja 0x42bdbd
push 0x176
push str.d:CProjectsSCUMSX2_srcimguiimgui_draw.cpp
push str.max_error___0.0f
call ebx
movss xmm1, dword [ebp - 0x1c]
add esp, 0xc
movss dword [esi + 0x3be4], xmm1
xor edi, edi
mov ebx, 0x200
nop dword [eax]
movd xmm0, edi
cvtdq2ps xmm0, xmm0
test edi, edi
je 0x42be55
movss xmm1, dword [esi + 0x3be4]
minss xmm1, xmm0
divss xmm1, xmm0
movss xmm0, dword [0x4c194c]
subss xmm0, xmm1
cvtps2pd xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_acos_precise
movss xmm1, dword [0x4c19b8]
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 0x42be4b
mov eax, 4
jmp 0x42be5a
cmp eax, 0x200
cmovg eax, ebx
jmp 0x42be5a
mov eax, 0x30
mov byte [esi + edi + 0x3d8c], al
inc edi
cmp edi, 0x40
jl 0x42bdd0
movsd xmm0, qword [0x4c1960]
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_cos_precise
movss xmm1, dword [0x4c194c]
cvtsd2ss xmm0, xmm0
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
subss xmm1, xmm0
movss xmm0, dword [esi + 0x3be4]
divss xmm0, xmm1
movss dword [esi + 0x3d88], xmm0
xor edx, edx
mov dword [esi + 0x3bf8], 0
cmp byte [esi + 0x3868], dl
je 0x42bec5
mov dword [esi + 0x3bf8], 1
mov edx, 1
cmp byte [esi + 0x3869], 0
mov ecx, edx
je 0x42bee7
mov eax, dword [esi + 0x3bc4]
mov eax, dword [eax + 0x30]
test byte [eax], 4
jne 0x42bee7
or ecx, 2
mov dword [esi + 0x3bf8], ecx
cmp byte [esi + 0x386a], 0
je 0x42bef9
or ecx, 4
mov dword [esi + 0x3bf8], ecx
test byte [esi + 0xc], 8
je 0x42bf08
or ecx, 8
mov dword [esi + 0x3bf8], ecx
mov eax, dword [esi + 0x47ac]
xor edi, edi
test eax, eax
jle 0x42bf54
test edi, edi
js 0x42bf1c
cmp edi, eax
jl 0x42bf30
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call ebx
add esp, 0xc
mov eax, dword [esi + 0x47b4]
push 0x2c
push 0
mov eax, dword [eax + edi*4]
add eax, 0x38
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esi + 0x47ac]
inc edi
add esp, 0xc
cmp edi, eax
jl 0x42bf14
cmp byte [esi + 0x4940], 0
mov ecx, dword [0x4c9c24]
je 0x42bf8e
mov eax, dword [esi + 0x4958]
cmp eax, dword [esi + 0x3e84]
jne 0x42bf8e
cmp dword [ecx + 0x3e84], eax
jne 0x42bf7f
mov dword [ecx + 0x3e88], eax
cmp dword [ecx + 0x3eac], eax
jne 0x42bf8e
mov byte [ecx + 0x3eb0], 1
cmp dword [esi + 0x3e74], 0
mov eax, dword [esi + 0x3e70]
jne 0x42bfa9
mov dword [esi + 0x3e7c], 0
jmp 0x42bfb7
mov edx, eax
test eax, eax
je 0x42bfc3
cmp dword [esi + 0x3e84], eax
jne 0x42bfc7
mov dword [esi + 0x3e80], 0
mov edx, eax
test edx, edx
je 0x42bffb
movss xmm1, dword [esi + 0x18]
mov eax, dword [esi + 0x3e84]
movaps xmm0, xmm1
addss xmm0, dword [esi + 0x3e7c]
movss dword [esi + 0x3e7c], xmm0
cmp eax, edx
je 0x42c001
addss xmm1, dword [esi + 0x3e80]
movss dword [esi + 0x3e80], xmm1
jmp 0x42c001
mov eax, dword [esi + 0x3e84]
mov dword [esi + 0x3e74], edx
mov dword [esi + 0x3e70], 0
mov word [esi + 0x3e78], 0
test eax, eax
je 0x42c04f
cmp dword [esi + 0x3e88], eax
je 0x42c04f
cmp dword [esi + 0x3eac], eax
jne 0x42c04f
test byte [esi + 0x5aa4], 1
je 0x42c044
push str.NewFrame__:_ClearActiveID___because_it_isnt_marked_alive_anymore__n
call fcn.0043f930
add esp, 4
call fcn.0042aad0
mov ecx, dword [0x4c9c24]
mov edx, dword [esi + 0x3e84]
test edx, edx
je 0x42c06e
movss xmm0, dword [esi + 0x18]
addss xmm0, dword [esi + 0x3e8c]
movss dword [esi + 0x3e8c], xmm0
mov eax, dword [esi + 0x3ea0]
movss xmm0, dword [esi + 0x18]
addss xmm0, dword [esi + 0x3ebc]
mov dword [esi + 0x3eb4], eax
mov al, byte [esi + 0x3e94]
mov byte [esi + 0x3eb1], al
mov eax, dword [esi + 0x5958]
movss dword [esi + 0x3ebc], xmm0
mov dword [esi + 0x3eac], edx
mov dword [esi + 0x3e88], 0
mov byte [esi + 0x3e95], 0
mov byte [esi + 0x3eb0], 0
mov byte [esi + 0x3e90], 0
test eax, eax
je 0x42c0d8
cmp edx, eax
je 0x42c0d8
mov dword [esi + 0x5958], 0
test edx, edx
jne 0x42c0f6
mov dword [esi + 0x4688], edx
mov dword [esi + 0x4680], edx
mov byte [esi + 0x4684], dl
mov dword [esi + 0x4688], edx
jmp 0x42c13a
mov eax, dword [esi + 0x4688]
test eax, eax
je 0x42c13a
test al, 2
je 0x42c11f
mov dword [ecx + 0x3f6c], edx
mov dword [ecx + 0x3f68], edx
mov word [ecx + 0x3f70], 0
mov eax, dword [esi + 0x4688]
test eax, 0xfffffffd
je 0x42c13a
push 0x1170
push str.d:CProjectsSCUMSX2_srcimguiimgui.cpp
push 0x4b4768
call ebx
add esp, 0xc
mov eax, dword [esi + 0x4a68]
movss xmm0, dword [esi + 0x4a70]
mov dword [esi + 0x4a6c], eax
test eax, eax
je 0x42c16b
addss xmm0, dword [esi + 0x18]
mov dword [esi + 0x4a68], 0
movss dword [esi + 0x4a70], xmm0
jmp 0x42c1ab
comiss xmm0, dword [0x4c1864]
jbe 0x42c1b5
movss xmm1, dword [esi + 0x18]
movss xmm0, dword [0x4c18d8]
movaps xmm2, xmm1
addss xmm2, dword [esi + 0x4a74]
addss xmm1, xmm1
movss dword [esi + 0x4a74], xmm2
maxss xmm0, xmm1
comiss xmm2, xmm0
jb 0x42c1b5
mov dword [esi + 0x4a70], 0
mov dword [esi + 0x4a74], 0
mov eax, dword [esi + 0x49a4]
mov dword [esi + 0x49a8], eax
mov dword [esi + 0x49a4], 0
mov dword [esi + 0x49a0], 0x7f7fffff
mov word [esi + 0x4941], 0
mov dword [esi + 0x49b0], 0
call fcn.00435400
call fcn.0043b360
call fcn.00435b30
call fcn.0042b4d0
mov edi, dword [0x4c9c24]
mov ecx, dword [edi + 0x3e44]
test ecx, ecx
je 0x42c30e
mov eax, dword [edi + 0x3e84]
mov dword [edi + 0x3e88], eax
cmp dword [edi + 0x3eac], eax
jne 0x42c22b
mov byte [edi + 0x3eb0], 1
cmp dword [ecx + 0x2fc], 0
jne 0x42c24e
push 0x1050
push str.d:CProjectsSCUMSX2_srcimguiimgui.cpp
push str.g.MovingWindow__g.MovingWindow__RootWindow
call ebx
mov ecx, dword [edi + 0x3e44]
add esp, 0xc
cmp byte [edi + 0xdc0], 0
mov eax, dword [ecx + 0x2fc]
mov dword [ebp - 0x1c], eax
je 0x42c302
cmp dword [0x4c9c24], 0
lea eax, [edi + 0xdb8]
jne 0x42c28d
push 0x1fe9
push str.d:CProjectsSCUMSX2_srcimguiimgui.cpp
push str.GImGui___0
call ebx
add esp, 0xc
lea eax, [edi + 0xdb8]
test eax, eax
je 0x42c295
mov ecx, eax
jmp 0x42c2a7
mov ecx, dword [0x4c9c24]
lea eax, [edi + 0xdb8]
add ecx, 0xdb8
movss xmm0, dword [ecx]
movss xmm1, dword [0x4c1b00]
comiss xmm0, xmm1
movss xmm2, dword [ecx + 4]
jb 0x42c302
comiss xmm2, xmm1
jb 0x42c302
movss xmm0, dword [eax]
lea edx, [ebp - 0x18]
subss xmm0, dword [edi + 0x3e98]
mov ecx, dword [ebp - 0x1c]
push 1
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [edi + 0x3e9c]
movss dword [ebp - 0x14], xmm0
call fcn.00434720
mov ecx, dword [edi + 0x3e44]
add esp, 4
call fcn.00433e90
jmp 0x42c346
mov dword [edi + 0x3e44], 0
jmp 0x42c341
mov ecx, dword [edi + 0x3ea0]
test ecx, ecx
je 0x42c346
mov eax, dword [edi + 0x3e84]
cmp dword [ecx + 0x6c], eax
jne 0x42c346
mov dword [edi + 0x3e88], eax
cmp dword [edi + 0x3eac], eax
jne 0x42c338
mov byte [edi + 0x3eb0], 1
cmp byte [edi + 0xdc0], 0
jne 0x42c346
call fcn.0042aad0
mov eax, dword [0x4c9c24]
mov edx, dword [eax + 0x4790]
sub edx, 1
js 0x42c37c
mov eax, dword [eax + 0x4798]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*8]
add eax, 4
mov ecx, dword [eax]
test ecx, ecx
je 0x42c374
test dword [ecx + 8], 0x8000000
jne 0x42c396
sub eax, 0x28
sub edx, 1
jns 0x42c365
cmp dword [esi + 0x4910], 0
je 0x42c3b5
movss xmm0, dword [esi + 0x4920]
comiss xmm0, dword [0x4c1864]
jbe 0x42c3b5
movss xmm1, dword [esi + 0x18]
mulss xmm1, dword [0x4c19e4]
addss xmm1, dword [esi + 0x4938]
minss xmm1, dword [0x4c194c]
jmp 0x42c3d6
movss xmm0, dword [esi + 0x18]
mulss xmm0, dword [0x4c19f0]
movss xmm1, dword [esi + 0x4938]
subss xmm1, xmm0
maxss xmm1, dword [0x4c1864]
movups xmm0, xmmword [esi + 0x59ec]
mov dword [esi + 0x493c], 0
movss dword [esi + 0x4938], xmm1
mov dword [esi + 0x5c00], 0xffffffff
mov dword [esi + 0x5bfc], 0xffffffff
mov dword [esi + 0x5bf8], 0xffffffff
movups xmmword [esi + 0x59fc], xmm0
mov byte [esi + 0x59ec], 0
call fcn.00436050
mov eax, dword [esi + 0x3df0]
cmp dword [esi + 0x3dfc], eax
jle 0x42c448
push 0x11b7
push str.d:CProjectsSCUMSX2_srcimguiimgui.cpp
push str.g.WindowsFocusOrder.Size___g.Windows.Size
call ebx
mov eax, dword [esi + 0x3df0]
add esp, 0xc
cmp byte [esi + 0x3de7], 0
jne 0x42c473
movss xmm0, dword [esi + 0x68]
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x42c473
movsd xmm1, qword [esi + 0x3dd0]
cvtpd2ps xmm1, xmm1
subss xmm1, xmm0
movss dword [ebp - 0xc], xmm1
xor edi, edi
mov dword [ebp - 0x1c], edi
test eax, eax
je 0x42c63f
test edi, edi
js 0x42c488
cmp edi, eax
jl 0x42c49c
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call ebx
add esp, 0xc
mov eax, dword [esi + 0x3df8]
mov edi, dword [eax + edi*4]
mov ax, word [edi + 0xb2]
mov cl, byte [edi + 0xa6]
mov word [edi + 0xb4], ax
xor eax, eax
mov byte [edi + 0xa7], cl
mov byte [edi + 0xa6], 0
mov byte [edi + 0xa8], 0
mov word [edi + 0xb2], ax
test cl, cl
jne 0x42c62a
cmp byte [edi + 0x344], al
jne 0x42c62a
movss xmm0, dword [ebp - 0xc]
comiss xmm0, dword [edi + 0x238]
jbe 0x42c62a
mov ecx, dword [edi + 0x260]
mov byte [edi + 0x344], 1
mov eax, dword [ecx + 0x10]
mov dword [edi + 0x33c], eax
mov eax, dword [ecx + 0x1c]
mov dword [edi + 0x340], eax
mov edx, dword [edi + 0xe8]
test edx, edx
je 0x42c562
mov eax, dword [0x4c9c24]
mov dword [edi + 0xe4], 0
mov dword [edi + 0xe0], 0
test eax, eax
je 0x42c548
dec dword [eax + 0xb0]
push edx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov dword [edi + 0xe8], 0
add esp, 4
mov ecx, dword [edi + 0x260]
call fcn.00448ed0
mov ecx, dword [edi + 0x184]
test ecx, ecx
je 0x42c5a8
mov eax, dword [0x4c9c24]
mov dword [edi + 0x180], 0
mov dword [edi + 0x17c], 0
test eax, eax
je 0x42c594
dec dword [eax + 0xb0]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [edi + 0x184], 0
mov ecx, dword [edi + 0x1ac]
test ecx, ecx
je 0x42c5e9
mov eax, dword [0x4c9c24]
mov dword [edi + 0x1a8], 0
mov dword [edi + 0x1a4], 0
test eax, eax
je 0x42c5d5
dec dword [eax + 0xb0]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [edi + 0x1ac], 0
mov ecx, dword [edi + 0x1b8]
test ecx, ecx
je 0x42c62a
mov eax, dword [0x4c9c24]
mov dword [edi + 0x1b4], 0
mov dword [edi + 0x1b0], 0
test eax, eax
je 0x42c616
dec dword [eax + 0xb0]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [edi + 0x1b8], 0
mov edi, dword [ebp - 0x1c]
mov eax, dword [esi + 0x3df0]
inc edi
mov dword [ebp - 0x1c], edi
cmp edi, eax
jne 0x42c480
mov eax, dword [esi + 0x4a14]
xor edi, edi
test eax, eax
jle 0x42c707
xor edx, edx
mov ecx, eax
mov dword [ebp - 4], edx
test edi, edi
js 0x42c65e
cmp edi, eax
jl 0x42c67b
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call ebx
mov ecx, dword [esi + 0x4a14]
add esp, 0xc
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x4a1c]
movss xmm0, dword [eax + edi*4]
comiss xmm0, dword [0x4c1864]
jb 0x42c6ed
test edi, edi
js 0x42c697
cmp edi, ecx
jl 0x42c6b1
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call ebx
mov eax, dword [esi + 0x4a1c]
add esp, 0xc
movss xmm0, dword [ebp - 0xc]
comiss xmm0, dword [eax + edi*4]
jbe 0x42c6ea
test edi, edi
js 0x42c6c8
cmp edi, dword [esi + 0x49f4]
jl 0x42c6dc
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call ebx
add esp, 0xc
mov ecx, dword [esi + 0x49fc]
add ecx, dword [ebp - 4]
call fcn.0045e0d0
mov edx, dword [ebp - 4]
mov eax, dword [esi + 0x4a14]
inc edi
add edx, 0x1e8
mov ecx, eax
mov dword [ebp - 4], edx
cmp edi, eax
jl 0x42c656
mov eax, dword [esi + 0x49e8]
xor edi, edi
test eax, eax
jle 0x42c7f0
mov dword [ebp - 4], edi
mov edx, eax
nop dword [eax]
test edi, edi
js 0x42c728
cmp edi, eax
jl 0x42c742
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call ebx
mov edx, dword [esi + 0x49e8]
add esp, 0xc
mov eax, dword [esi + 0x49f0]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], eax
movss xmm0, dword [ecx + eax + 4]
comiss xmm0, dword [0x4c1864]
jb 0x42c7db
test edi, edi
js 0x42c769
cmp edi, edx
jl 0x42c78f
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call ebx
mov eax, dword [esi + 0x49f0]
add esp, 0xc
mov edx, dword [esi + 0x49e8]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], eax
movss xmm0, dword [ebp - 0xc]
comiss xmm0, dword [ecx + eax + 4]
jbe 0x42c7db
test edi, edi
js 0x42c7a3
cmp edi, edx
jl 0x42c7c3
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call ebx
mov eax, dword [esi + 0x49f0]
add esp, 0xc
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x10], eax
add eax, 0x10
add ecx, eax
call fcn.0044c160
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov dword [ecx + eax + 4], 0xbf800000
mov eax, dword [esi + 0x49e8]
inc edi
add dword [ebp - 4], 0x68
mov edx, eax
cmp edi, eax
jl 0x42c720
cmp byte [esi + 0x3de7], 0
je 0x42c886
mov eax, dword [0x4c9c24]
mov edi, eax
mov ecx, dword [edi + 0x4780]
test ecx, ecx
je 0x42c845
mov dword [edi + 0x477c], 0
mov dword [edi + 0x4778], 0
test edi, edi
je 0x42c82c
dec dword [edi + 0xb0]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [0x4c9c24]
add esp, 4
mov dword [edi + 0x4780], 0
mov ecx, dword [edi + 0x478c]
test ecx, ecx
je 0x42c881
mov dword [edi + 0x4788], 0
mov dword [edi + 0x4784], 0
test eax, eax
je 0x42c86d
dec dword [eax + 0xb0]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
mov dword [edi + 0x478c], 0
call fcn.0045e270
mov eax, dword [esi + 0x47b8]
mov byte [esi + 0x3de7], 0
test eax, eax
je 0x42c8a7
cmp byte [eax + 0xa7], 0
jne 0x42c8a7
xor ecx, ecx
call fcn.004340d0
mov ecx, dword [esi + 0x3e18]
test ecx, ecx
jns 0x42c8cd
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 + 0x3e14]
call fcn.00440d50
mov dword [esi + 0x3e14], 0
mov ecx, dword [esi + 0x47a0]
test ecx, ecx
jns 0x42c8fd
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 + 0x479c]
call fcn.00440cd0
lea edi, [esi + 0x4778]
mov dword [esi + 0x479c], 0
mov ecx, dword [edi + 4]
test ecx, ecx
jns 0x42c92f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.00440770
mov ecx, dword [edi + 4]
xor edx, edx
mov dword [edi], 0
test ecx, ecx
jne 0x42c946
push 8
mov ecx, edi
call fcn.00440770
mov edx, dword [edi]
mov eax, dword [edi + 8]
lea ecx, [esi + 0x4784]
push 0
mov dword [eax + edx*4], 0
inc dword [edi]
call fcn.00440540
mov edi, dword [0x4c9c24]
cmp byte [edi + 0x5ac5], 0
mov dword [edi + 0x5ac8], 0
je 0x42cae7
mov eax, dword [edi + 0x3e74]
xor edx, edx
push 1
mov ecx, 0x20e
mov dword [ebp - 0x1c], eax
mov dword [edi + 0x493c], 7
call fcn.00435000
add esp, 4
test al, al
je 0x42c9ab
mov byte [edi + 0x5ac5], 0
mov eax, dword [edi + 0xdd4]
mov dword [ebp - 4], eax
cmp eax, 0x3000
je 0x42c9e9
movzx ecx, byte [edi + 0x5ac6]
xor edx, edx
push 0
call fcn.00435180
add esp, 4
test al, al
je 0x42c9e6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42c9e6
mov dword [edi + 0x5ac8], eax
mov byte [edi + 0x5ac5], 0
mov eax, dword [ebp - 4]
xor ebx, ebx
nop dword [eax + eax]
cmp eax, 0x3000
jne 0x42ca12
push 0
xor edx, edx
mov ecx, ebx
call fcn.00435180
add esp, 4
test al, al
mov eax, dword [ebp - 4]
je 0x42ca12
mov byte [edi + 0x5ac6], bl
inc ebx
cmp ebx, 3
jl 0x42c9f0
mov eax, dword [0x4c9c24]
xor ecx, ecx
or dword [eax + 0x46e8], 0x40
mov dword [eax + 0x473c], 0x3f333333
call fcn.00438950
mov ebx, dword [ebp - 0x1c]
push ebx
push str.HoveredId:_0x_08X
call fcn.0045f880
push str.Press_ESC_to_abort_picking.
call fcn.0045f880
add esp, 0xc
mov dword [ebp - 0x24], str.Left
cmp dword [ebp - 4], 0x3000
mov dword [ebp - 0x20], str.Right
mov dword [ebp - 0x1c], str.Middle
jne 0x42ca7d
push str.Remap_w__CtrlShift:_click_anywhere_to_select_new_mouse_button.
call fcn.0045f880
add esp, 4
jmp 0x42caae
movzx eax, byte [edi + 0x5ac6]
xor ecx, ecx
test ebx, ebx
push dword [ebp + eax*4 - 0x24]
mov eax, 0x10
cmove ecx, eax
mov eax, dword [0x4c9c24]
add eax, 0x3874
add eax, ecx
push str.Click__s_Button_to_break_in_debugger___remap_w__CtrlShift_
push eax
call fcn.0045f950
add esp, 0xc
mov eax, dword [0x4c9c24]
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [eax + 0x3e38]
test dword [eax + 8], 0x2000000
jne 0x42cadc
push 0x26b1
push str.d:CProjectsSCUMSX2_srcimguiimgui.cpp
push str.GetCurrentWindowRead____Flags__ImGuiWindowFlags_Tooltip
call ebx
add esp, 0xc
call fcn.00433830
mov edi, dword [0x4c9c24]
lea eax, [edi + 0x3e6c]
lea ecx, [edi + 0x5adc]
mov dword [eax], 0
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
inc eax
mov dword [ebp - 0xc], ecx
cmp dword [edi + 0x3dd8], eax
jne 0x42cc22
mov eax, dword [edi + 0x3e74]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x42cb24
mov eax, dword [edi + 0x3e84]
mov dword [ebp - 0x10], eax
cmp dword [ecx + 8], eax
je 0x42cb76
lea edx, [ecx + 0xc]
mov dword [ecx + 8], eax
mov dword [ecx + 4], 0xffffffff
mov esi, dword [edx + 4]
test esi, esi
mov dword [ebp - 4], esi
mov esi, dword [ebp - 8]
mov dword [ebp - 0x1c], edx
jge 0x42cb70
mov eax, dword [ebp - 4]
xor ecx, ecx
cdq
sub eax, edx
sar eax, 1
add eax, dword [ebp - 4]
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, dword [ebp - 0x1c]
call fcn.00440e40
mov edi, dword [0x4c9c24]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov dword [edx], 0
test eax, eax
je 0x42cc22
mov eax, dword [ecx + 4]
test eax, eax
js 0x42cbc2
mov edx, eax
cmp eax, dword [ecx + 0xc]
jge 0x42cbd7
mov ebx, dword [ecx + 0x14]
lea esi, [eax + eax*8]
shl esi, 3
mov dword [ebp - 0x1c], esi
cmp byte [esi + ebx + 5], 0
mov esi, dword [ebp - 8]
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
jne 0x42cbbe
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ecx + 0x14]
cmp byte [ebx + esi + 4], 2
mov esi, dword [ebp - 8]
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
jle 0x42cbd7
inc eax
mov dword [ecx + 4], eax
mov edx, eax
cmp eax, 0xffffffff
jne 0x42cbd3
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
jmp 0x42cc22
test edx, edx
js 0x42cc22
cmp edx, dword [ecx + 0xc]
jge 0x42cc22
lea eax, [edx + edx*8]
shl eax, 3
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0x14]
mov esi, dword [ebp - 0x1c]
mov eax, dword [esi + eax]
mov esi, dword [ebp - 0x14]
mov dword [esi], eax
mov esi, dword [ebp - 8]
cmp edx, dword [ecx + 0xc]
jl 0x42cc18
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call ebx
mov edi, dword [0x4c9c24]
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x1c]
inc byte [eax + ecx + 4]
mov al, byte [esi + 0x5ac4]
test al, al
je 0x42cc40
sub al, 1
mov byte [esi + 0x5ac4], al
jne 0x42cc40
mov dword [esi + 0x4694], 0
mov byte [esi + 0x3de5], 1
xor edx, edx
or dword [edi + 0x46e8], 2
mov ecx, str.DebugDefault
push 0
mov dword [edi + 0x4708], 0x43c80000
mov dword [edi + 0x470c], 0x43c80000
mov dword [edi + 0x46f0], 4
call fcn.004310c0
mov eax, dword [esi + 0x3e38]
add esp, 4
cmp byte [eax + 0xae], 1
je 0x42cca0
push 0x11ea
push str.d:CProjectsSCUMSX2_srcimguiimgui.cpp
push str.g.CurrentWindow__IsFallbackWindow__true
call ebx
add esp, 0xc
mov edx, 1
mov ecx, esi
call fcn.00429c70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret