Function at 0x473b90
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xb8
mov eax, dword [0x4c900c]
xor eax, esp
mov dword [esp + 0xb4], eax
mov eax, dword [0x4c9c24]
xorps xmm0, xmm0
push esi
push edi
mov edi, ecx
mov dword [esp + 0x14], eax
xor esi, esi
mov byte [esp + 0x10], 0
xor eax, eax
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x90], xmm0
mov edx, dword [edi]
mov byte [edi + 0x67], 0
mov dword [esp + 0xa0], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x3c], 1
test edx, edx
jle 0x473de1
mov dword [esp + 0x30], eax
mov dword [esp + 0x18], eax
nop dword [eax]
test eax, eax
js 0x473c08
cmp eax, edx
jl 0x473c22
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [edi]
add esp, 0xc
mov ecx, dword [edi + 8]
mov eax, dword [esp + 0x18]
mov eax, dword [eax + ecx + 8]
cmp eax, dword [edi + 0x24]
jl 0x473d96
mov eax, dword [esp + 0x18]
cmp byte [eax + ecx + 0x28], 0
jne 0x473d96
cmp esi, dword [esp + 0x20]
je 0x473cd0
cmp dword [esp + 0x20], 0
jl 0x473c5c
cmp dword [esp + 0x20], edx
jl 0x473c7d
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [edi + 8]
add esp, 0xc
mov edx, dword [edi]
mov eax, dword [esp + 0x18]
add eax, ecx
mov dword [esp + 0x1c], eax
test esi, esi
js 0x473c8b
cmp esi, edx
jl 0x473caa
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [edi + 8]
add esp, 0xc
mov eax, dword [esp + 0x1c]
movups xmm0, xmmword [eax]
mov edx, dword [esp + 0x30]
movups xmmword [ecx + edx], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + edx + 0x10], xmm0
movq xmm0, qword [eax + 0x20]
movq qword [ecx + edx + 0x20], xmm0
mov eax, dword [eax + 0x28]
mov dword [ecx + edx + 0x28], eax
test esi, esi
js 0x473cd8
cmp esi, dword [edi]
jl 0x473cf0
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov eax, dword [edi + 8]
mov edx, dword [esp + 0x30]
mov word [eax + edx + 0x26], si
mov eax, dword [eax + edx + 4]
test al, 0x40
je 0x473d08
xor eax, eax
jmp 0x473d13
test al, 0x80
mov eax, 0
setne al
inc eax
mov dword [esp + 0x28], eax
test esi, esi
jle 0x473d7e
cmp esi, dword [edi]
jle 0x473d3b
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [esp + 0x3c]
add esp, 0xc
mov eax, dword [edi + 8]
mov eax, dword [eax + edx - 0x28]
test al, 0x40
je 0x473d4a
xor ecx, ecx
jmp 0x473d55
test al, 0x80
mov ecx, 0
setne cl
inc ecx
mov eax, dword [esp + 0x28]
test eax, eax
jne 0x473d66
test ecx, ecx
je 0x473d7e
mov byte [esp + 0x10], 1
cmp ecx, 2
jne 0x473d7e
mov ecx, dword [esp + 0x10]
cmp eax, 2
movzx ecx, cl
cmovne ecx, dword [esp + 0x3c]
mov dword [esp + 0x10], ecx
lea eax, [eax + eax*2]
inc esi
inc dword [esp + eax*4 + 0x80]
add edx, 0x2c
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x18]
jmp 0x473dc7
mov edx, dword [esp + 0x18]
mov eax, dword [edi + 0x1c]
cmp eax, dword [edx + ecx]
jne 0x473da9
mov dword [edi + 0x1c], 0
mov eax, dword [edi + 0x14]
cmp eax, dword [edx + ecx]
jne 0x473db8
mov dword [edi + 0x14], 0
mov eax, dword [edi + 0x18]
cmp eax, dword [edx + ecx]
jne 0x473dc7
mov dword [edi + 0x18], 0
mov eax, dword [esp + 0x20]
add edx, 0x2c
inc eax
mov dword [esp + 0x18], edx
mov edx, dword [edi]
mov dword [esp + 0x20], eax
cmp eax, edx
jl 0x473c00
cmp edx, esi
je 0x473e14
mov eax, dword [edi + 4]
cmp esi, eax
jle 0x473e10
test eax, eax
je 0x473dfc
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [edi + 4]
jmp 0x473e01
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, edi
push eax
call fcn.00476680
mov dword [edi], esi
mov edx, esi
cmp byte [esp + 0x10], 0
je 0x473e34
cmp edx, 1
jbe 0x473e34
push 0x4735b0
push 0x2c
push edx
push dword [edi + 8]
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
add esp, 0x10
mov esi, dword [esp + 0x80]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x98]
mov dword [esp + 0x24], ecx
test esi, esi
jle 0x473e66
lea eax, [ecx + edx]
test eax, eax
jle 0x473e66
mov eax, dword [esp + 0x14]
movss xmm1, dword [eax + 0x37ec]
jmp 0x473e6d
mov eax, dword [esp + 0x14]
xorps xmm1, xmm1
movss dword [esp + 0x30], xmm1
xorps xmm0, xmm0
movss dword [esp + 0x88], xmm1
test ecx, ecx
jle 0x473e8f
test edx, edx
jle 0x473e8f
movss xmm0, dword [eax + 0x37ec]
mov eax, dword [edi + 0x18]
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x94], xmm0
mov dword [esp + 0x18], 0
test eax, eax
je 0x473ebd
mov ecx, eax
mov dword [edi + 0x18], 0
mov dword [esp + 0x18], ecx
mov dword [edi + 0x14], ecx
mov edx, dword [edi + 0x60]
test edx, edx
je 0x474020
mov ecx, edi
call fcn.00474b40
mov esi, eax
test esi, esi
je 0x474012
test byte [esi + 4], 0x20
jne 0x474012
mov edx, dword [edi + 8]
cmp esi, edx
jb 0x473ef3
imul eax, dword [edi], 0x2c
add eax, edx
cmp esi, eax
jb 0x473f0e
push 0x71f
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push 0x4b9e9c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [edi + 8]
add esp, 0xc
mov ecx, esi
mov eax, 0x2e8ba2e9
sub ecx, edx
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
movzx edx, word [edi + 0x64]
movsx ecx, dx
add eax, ecx
js 0x474012
cmp eax, dword [edi]
jge 0x474012
mov ecx, dword [edi + 8]
imul eax, eax, 0x2c
add ecx, eax
mov dword [esp + 0x3c], ecx
mov edx, dword [ecx + 4]
test dl, 0x20
jne 0x474012
mov eax, dword [esi + 4]
xor eax, edx
test al, 0xc0
jne 0x474012
movups xmm0, xmmword [esi]
mov eax, dword [esi + 0x28]
movzx edx, word [edi + 0x64]
movaps xmmword [esp + 0x60], xmm0
test dx, dx
movups xmm0, xmmword [esi + 0x10]
mov dword [esp + 0x28], eax
lea eax, [esi + 0x2c]
cmovle eax, ecx
movaps xmmword [esp + 0x70], xmm0
movq xmm0, qword [esi + 0x20]
movq qword [esp + 0x40], xmm0
mov dword [esp + 0x1c], eax
jg 0x473f98
lea esi, [ecx + 0x2c]
movsx ecx, dx
mov eax, ecx
neg eax
test dx, dx
cmovle ecx, eax
imul eax, ecx, 0x2c
push eax
push dword [esp + 0x20]
push esi
call sub.VCRUNTIME140.dll_memmove
mov eax, dword [esp + 0x48]
add esp, 0xc
movaps xmm0, xmmword [esp + 0x60]
mov ecx, dword [esp + 0x28]
movups xmmword [eax], xmm0
movaps xmm0, xmmword [esp + 0x70]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [esp + 0x40]
movq qword [eax + 0x20], xmm0
mov dword [eax + 0x28], ecx
test dword [edi + 0xc], 0x400000
je 0x474001
mov ecx, dword [0x4c9c24]
xorps xmm0, xmm0
comiss xmm0, dword [ecx + 0x5a10]
jb 0x474001
mov eax, dword [ecx + 0x1c]
mov dword [ecx + 0x5a10], eax
mov eax, dword [edi + 0x60]
mov ecx, dword [esp + 0x18]
cmp eax, dword [edi + 0x14]
cmove ecx, eax
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x80]
mov dword [edi + 0x60], 0
mov eax, dword [edi + 0xc]
shr eax, 2
test al, 1
je 0x47403e
mov ecx, edi
call fcn.00475060
test eax, eax
je 0x47403e
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov dword [edi + 0x14], eax
mov eax, dword [esp + 0x98]
mov edx, dword [edi]
add eax, esi
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x60], 0
mov dword [esp + 0x68], esi
mov dword [esp + 0x28], edx
mov ecx, dword [eax + 0x4a60]
cmp edx, ecx
jle 0x474125
test ecx, ecx
je 0x474082
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x28]
sar eax, 1
add eax, ecx
jmp 0x474087
mov eax, 8
cmp eax, edx
mov esi, edx
cmovg esi, eax
cmp esi, ecx
jle 0x47411f
mov eax, dword [0x4c9c24]
test eax, eax
je 0x4740a5
inc dword [eax + 0xb0]
lea eax, [esi + esi*2]
shl eax, 2
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [esp + 0x18]
add esp, 4
mov dword [esp + 0x1c], eax
mov edx, dword [ecx + 0x4a64]
test edx, edx
je 0x47410d
mov ecx, dword [ecx + 0x4a5c]
lea ecx, [ecx + ecx*2]
shl ecx, 2
push ecx
push edx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x20]
add esp, 0xc
mov ecx, dword [eax + 0x4a64]
test ecx, ecx
je 0x4740fb
mov eax, dword [0x4c9c24]
test eax, eax
je 0x4740fb
dec dword [eax + 0xb0]
push ecx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [esp + 0x20]
add esp, 4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov dword [ecx + 0x4a64], eax
mov dword [ecx + 0x4a60], esi
jmp 0x474127
mov ecx, dword [esp + 0x14]
jmp 0x474127
mov ecx, eax
mov dword [ecx + 0x4a5c], edx
xor edx, edx
mov eax, dword [edi]
mov dword [esp + 0x28], 0
mov dword [esp + 0x38], 0xffffffff
mov byte [esp + 0x58], 0
mov dword [esp + 0x10], edx
test eax, eax
jle 0x474357
xor esi, esi
mov dword [esp + 0x24], esi
test edx, edx
js 0x474160
cmp edx, eax
jl 0x474178
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
add esi, dword [edi + 8]
mov eax, dword [esi + 8]
cmp eax, dword [edi + 0x24]
jge 0x47419b
push 0x1de3
push str.d:CProjectsSCUMSX2_srcimguiimgui_widgets.cpp
push str.tab__LastFrameVisible___tab_bar__PrevFrameVisible
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4741ab
mov eax, dword [ecx + 0xc]
cmp eax, dword [esi + 0xc]
jge 0x4741b9
test dword [esi + 4], 0x200000
cmove ecx, esi
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x58]
mov edx, 1
mov eax, dword [esi]
cmp eax, dword [edi + 0x14]
movzx ecx, cl
cmove ecx, edx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
test edx, edx
jne 0x4741ea
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x47d8], eax
cmove edx, eax
mov dword [esp + 0x18], edx
mov eax, dword [esi + 0x20]
cmp eax, 0xffffffff
jne 0x4741f9
mov edx, 0x4b6ea8
jmp 0x474224
cmp eax, dword [edi + 0x84]
jl 0x47421c
push 0x1ea3
push str.d:CProjectsSCUMSX2_srcimguiimgui_widgets.cpp
push str.tab__NameOffset___tab_bar__TabsNames.Buf.Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [esi + 0x20]
add esp, 0xc
mov edx, dword [edi + 0x8c]
add edx, eax
movss xmm0, dword [esi + 0x1c]
xorps xmm1, xmm1
comiss xmm0, xmm1
mov eax, dword [esi + 4]
jae 0x47425b
and eax, 0x100001
lea ecx, [esp + 0x40]
cmp eax, 0x100000
setne al
movzx eax, al
push eax
call fcn.00475c10
add esp, 4
xorps xmm1, xmm1
movss xmm0, dword [eax]
mov eax, dword [esi + 4]
movss dword [esi + 0x18], xmm0
test al, 0x40
je 0x474268
xor ecx, ecx
jmp 0x474273
test al, 0x80
mov ecx, 0
setne cl
inc ecx
lea eax, [ecx + ecx*2]
cmp ecx, dword [esp + 0x38]
jne 0x474288
mov edx, dword [esp + 0x14]
movss xmm1, dword [edx + 0x37ec]
mov edx, dword [esp + ecx*4 + 0x60]
addss xmm0, xmm1
mov dword [esp + 0x38], ecx
mov dword [esp + 0x1c], edx
addss xmm0, dword [esp + eax*4 + 0x84]
movss dword [esp + eax*4 + 0x84], xmm0
lea eax, [edx + 1]
mov dword [esp + ecx*4 + 0x60], eax
test edx, edx
js 0x4742c1
mov eax, dword [esp + 0x14]
cmp edx, dword [eax + 0x4a5c]
jl 0x4742e1
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [esp + 0x28]
add esp, 0xc
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x4a64]
lea ecx, [edx + edx*2]
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4], edx
inc edx
movss xmm0, dword [esi + 0x18]
movss dword [eax + ecx*4 + 8], xmm0
movss dword [eax + ecx*4 + 4], xmm0
movss xmm0, dword [esi + 0x18]
maxss xmm0, dword [0x4c194c]
mov dword [esp + 0x10], edx
movss dword [esi + 0x14], xmm0
mov esi, dword [esp + 0x24]
mov eax, dword [edi]
add esi, 0x2c
mov dword [esp + 0x24], esi
cmp edx, eax
jl 0x474158
movss xmm0, dword [esp + 0x94]
mov ecx, dword [esp + 0x8c]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x88]
mov dword [esp + 0x24], ecx
movss dword [esp + 0x30], xmm0
movss xmm0, dword [esp + 0x84]
xorps xmm4, xmm4
movss xmm1, dword [esp + 0x9c]
addss xmm1, dword [esp + 0xa0]
addss xmm0, dword [esp + 0x30]
movss xmm2, dword [esp + 0x90]
addss xmm2, dword [esp + 0x20]
movss dword [esp + 0x38], xmm1
movaps xmm1, xmm0
movss dword [esp + 0x1c], xmm0
addss xmm1, xmm4
movss dword [esp + 0x10], xmm2
addss xmm1, xmm2
addss xmm1, dword [esp + 0x38]
movss dword [edi + 0x44], xmm1
movss xmm0, dword [edi + 0x30]
subss xmm0, dword [edi + 0x28]
comiss xmm1, xmm0
jbe 0x4743f7
cmp eax, 1
jle 0x4743f7
mov eax, dword [edi + 0xc]
test al, 0x10
jne 0x4743f7
test al, al
jns 0x4743f7
mov ecx, edi
call fcn.00474d70
movss xmm2, dword [esp + 0x10]
xorps xmm4, xmm4
test eax, eax
je 0x4743f7
test dword [eax + 4], 0x200000
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
jne 0x4743f7
mov dword [edi + 0x14], ecx
movss xmm1, dword [esp + 0x38]
movss xmm3, dword [esp + 0x1c]
movss xmm0, dword [edi + 0x30]
addss xmm1, xmm3
subss xmm0, dword [edi + 0x28]
comiss xmm0, xmm1
seta al
test al, al
je 0x47442f
subss xmm0, xmm3
subss xmm0, dword [esp + 0x38]
subss xmm2, xmm0
maxss xmm2, xmm4
jmp 0x474436
movaps xmm2, xmm1
subss xmm2, xmm0
comiss xmm2, dword [0x4c194c]
jb 0x4745fd
test byte [edi + 0xc], 0x40
jne 0x474472
test al, al
jne 0x4745fd
mov edx, dword [esp + 0x98]
mov esi, dword [esp + 0x80]
add edx, esi
mov dword [esp + 0x24], edx
test al, al
je 0x47448d
add esi, dword [esp + 0x98]
jmp 0x474493
test al, al
je 0x474451
mov esi, dword [esp + 0x80]
mov edx, dword [esp + 0x8c]
add esi, dword [esp + 0x98]
jmp 0x474493
xor esi, esi
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0x14]
lea eax, [esi + esi*2]
shl eax, 2
mov dword [esp + 0x10], eax
mov ecx, dword [ecx + 0x4a64]
add ecx, eax
call fcn.00462b80
mov eax, dword [esp + 0x24]
add eax, esi
mov dword [esp + 0x3c], eax
cmp esi, eax
jge 0x4745fd
mov edx, dword [esp + 0x10]
test esi, esi
js 0x4744d4
mov eax, dword [esp + 0x14]
cmp esi, dword [eax + 0x4a5c]
jl 0x4744f4
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x4a64]
mov eax, dword [edx + eax]
mov dword [esp + 0x1c], eax
test eax, eax
js 0x474509
cmp eax, dword [edi]
jl 0x474529
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [esp + 0x10]
imul ecx, eax, 0x2c
add ecx, dword [edi + 8]
mov dword [esp + 0x1c], ecx
test esi, esi
js 0x474543
mov eax, dword [esp + 0x14]
cmp esi, dword [eax + 0x4a5c]
jl 0x474567
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x4a64]
xorps xmm3, xmm3
cvttss2si eax, dword [eax + edx + 4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm3, xmm0
ja 0x4745cb
movss xmm2, dword [0x4c194c]
mov eax, dword [ecx + 4]
maxss xmm2, xmm0
test al, 0x40
je 0x474599
xor eax, eax
jmp 0x4745a4
test al, 0x80
mov eax, 0
setne al
inc eax
movss xmm1, dword [ecx + 0x14]
lea eax, [eax + eax*2]
movss xmm0, dword [esp + eax*4 + 0x84]
subss xmm1, xmm2
movss dword [ecx + 0x14], xmm2
subss xmm0, xmm1
movss dword [esp + eax*4 + 0x84], xmm0
inc esi
add edx, 0xc
mov dword [esp + 0x10], edx
cmp esi, dword [esp + 0x3c]
jl 0x4744c4
movss xmm0, dword [esp + 0x94]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x88]
movss dword [esp + 0x30], xmm0
jmp 0x474600
xorps xmm3, xmm3
xor ecx, ecx
xorps xmm2, xmm2
xor edx, edx
mov dword [esp + 0x10], ecx
movss dword [esp + 0x24], xmm2
mov dword [edi + 0x40], ecx
mov dword [esp + 0x1c], edx
nop dword [eax + eax]
lea eax, [edx + edx*2]
shl eax, 2
mov dword [esp + 0x40], eax
cmp edx, 2
jne 0x474656
movss xmm1, dword [edi + 0x30]
movaps xmm0, xmm3
subss xmm1, dword [edi + 0x28]
subss xmm1, dword [esp + eax + 0x84]
maxss xmm0, xmm1
minss xmm0, xmm2
movaps xmm2, xmm0
movss dword [esp + 0x24], xmm2
mov edx, dword [esp + eax + 0x80]
xor esi, esi
mov dword [esp + 0x38], edx
test edx, edx
jle 0x474708
lea eax, [edx - 1]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x10]
imul ecx, eax, 0x2c
mov dword [esp + 0x3c], ecx
nop dword [eax]
add eax, esi
js 0x474688
cmp eax, dword [edi]
jl 0x4746ab
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov ecx, dword [esp + 0x48]
add esp, 0xc
mov edx, dword [esp + 0x38]
xorps xmm3, xmm3
mov eax, dword [edi + 8]
movss xmm1, dword [esp + 0x24]
movss dword [eax + ecx + 0x10], xmm1
mov dword [eax + ecx + 0x20], 0xffffffff
cmp esi, dword [esp + 0x5c]
jge 0x4746da
mov edx, dword [esp + 0x14]
movss xmm0, dword [edx + 0x37ec]
mov edx, dword [esp + 0x38]
jmp 0x4746dd
movaps xmm0, xmm3
addss xmm0, dword [eax + ecx + 0x14]
mov eax, dword [esp + 0x10]
inc esi
add ecx, 0x2c
mov dword [esp + 0x3c], ecx
addss xmm0, xmm1
movaps xmm2, xmm0
movss dword [esp + 0x24], xmm2
cmp esi, edx
jl 0x474680
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x10]
movss xmm1, dword [esp + eax + 0x88]
add ecx, edx
mov edx, dword [esp + 0x1c]
addss xmm2, xmm1
movaps xmm0, xmm1
mov dword [esp + 0x10], ecx
addss xmm0, dword [esp + eax + 0x84]
inc edx
mov dword [esp + 0x1c], edx
movss dword [esp + 0x24], xmm2
maxss xmm0, xmm3
addss xmm0, dword [edi + 0x40]
movss dword [edi + 0x40], xmm0
cmp edx, 3
jl 0x474620
mov ecx, dword [edi + 0x88]
test ecx, ecx
jns 0x474773
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 + 0x84]
call fcn.00440b10
cmp byte [esp + 0x58], 0
mov dword [edi + 0x84], 0
jne 0x47478d
mov dword [edi + 0x14], 0
jmp 0x474794
mov eax, dword [edi + 0x14]
test eax, eax
jne 0x4747ac
xor eax, eax
cmp dword [edi + 0x18], eax
jne 0x4747ac
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x4747ac
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
mov dword [edi + 0x14], eax
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x18]
mov byte [edi + 0x68], 0
test eax, eax
je 0x47490d
mov edx, eax
mov ecx, edi
call fcn.00474b40
mov esi, eax
test esi, esi
je 0x47490d
test byte [esi + 4], 0xc0
jne 0x47490d
mov ecx, dword [0x4c9c24]
mov edx, dword [edi + 8]
movss xmm4, dword [ecx + 0x3bc8]
movss dword [esp + 0x40], xmm4
cmp esi, edx
jb 0x474800
imul eax, dword [edi], 0x2c
add eax, edx
cmp esi, eax
jb 0x474821
push 0x71f
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push 0x4b9e9c
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov edx, dword [edi + 8]
add esp, 0xc
movss xmm4, dword [esp + 0x40]
movss xmm3, dword [edi + 0x30]
mov ecx, esi
subss xmm3, dword [edi + 0x28]
movss xmm6, dword [esp + 0x84]
sub ecx, edx
movss xmm7, dword [esp + 0x9c]
mov eax, 0x2e8ba2e9
imul ecx
xorps xmm5, xmm5
subss xmm3, xmm6
mov eax, dword [esp + 0x80]
sar edx, 3
dec eax
mov ecx, edx
subss xmm3, xmm7
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x40], ecx
subss xmm3, dword [esp + 0x20]
cmp ecx, eax
jle 0x47487f
movaps xmm0, xmm4
xorps xmm0, xmmword [0x4c1f50]
jmp 0x474882
xorps xmm0, xmm0
movss xmm1, dword [esi + 0x10]
mov ecx, dword [edi]
subss xmm1, xmm6
mov eax, dword [esp + 0x40]
sub ecx, dword [esp + 0x98]
inc eax
movaps xmm2, xmm1
addss xmm2, xmm0
cmp eax, ecx
jl 0x4748ac
movss xmm4, dword [0x4c194c]
addss xmm1, dword [esi + 0x14]
mov dword [edi + 0x50], 0
addss xmm1, xmm4
movss xmm4, dword [edi + 0x4c]
comiss xmm4, xmm2
ja 0x4748f4
movaps xmm0, xmm1
subss xmm0, xmm2
comiss xmm0, xmm3
jae 0x4748f4
subss xmm1, xmm3
comiss xmm1, xmm4
jbe 0x47491f
subss xmm2, xmm3
movss dword [edi + 0x4c], xmm1
subss xmm2, dword [edi + 0x48]
maxss xmm2, xmm5
movss dword [edi + 0x50], xmm2
jmp 0x47491f
movss xmm0, dword [edi + 0x48]
subss xmm0, xmm1
movss dword [edi + 0x4c], xmm2
maxss xmm0, xmm5
movss dword [edi + 0x50], xmm0
jmp 0x47491f
movss xmm6, dword [esp + 0x84]
movss xmm7, dword [esp + 0x9c]
movss xmm5, dword [edi + 0x28]
movss xmm0, dword [edi + 0x30]
movss xmm2, dword [edi + 0x40]
subss xmm0, xmm5
movss xmm3, dword [edi + 0x48]
movaps xmm1, xmm2
movss xmm4, dword [edi + 0x4c]
mov ecx, dword [esp + 0x14]
subss xmm1, xmm0
minss xmm3, xmm1
xorps xmm1, xmm1
maxss xmm3, xmm1
movss dword [edi + 0x48], xmm3
movss xmm0, dword [edi + 0x30]
subss xmm0, xmm5
subss xmm2, xmm0
minss xmm4, xmm2
maxss xmm4, xmm1
ucomiss xmm3, xmm4
movss dword [edi + 0x4c], xmm4
lahf
test ah, 0x44
jnp 0x474a13
movss xmm0, dword [ecx + 0x3bc8]
mulss xmm0, dword [0x4c1a3c]
mov eax, dword [edi + 0x24]
movss xmm2, dword [edi + 0x54]
inc eax
maxss xmm2, xmm0
movaps xmm0, xmm4
subss xmm0, xmm3
andps xmm0, xmmword [0x4c1f20]
divss xmm0, dword [0x4c18e4]
maxss xmm2, xmm0
movss dword [edi + 0x54], xmm2
cmp eax, dword [ecx + 0x3dd8]
jl 0x474a09
movss xmm1, dword [ecx + 0x3bc8]
mulss xmm1, dword [0x4c19f0]
movss xmm0, dword [edi + 0x50]
comiss xmm0, xmm1
ja 0x474a09
comiss xmm4, xmm3
mulss xmm2, dword [ecx + 0x18]
jbe 0x4749f5
addss xmm3, xmm2
minss xmm3, xmm4
movss dword [edi + 0x48], xmm3
jmp 0x474a1a
comiss xmm3, xmm4
jbe 0x474a0c
subss xmm3, xmm2
maxss xmm3, xmm4
movss dword [edi + 0x48], xmm3
jmp 0x474a1a
movaps xmm3, xmm4
movss dword [edi + 0x48], xmm3
jmp 0x474a1a
mov dword [edi + 0x54], 0
movss xmm0, dword [edi + 0x30]
addss xmm5, xmm6
mov eax, dword [edi + 0x28]
subss xmm0, xmm7
addss xmm5, dword [esp + 0x30]
subss xmm0, dword [esp + 0x20]
movss dword [edi + 0x58], xmm5
movss dword [edi + 0x5c], xmm0
mov esi, dword [ecx + 0x3e38]
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0xf0], ecx
lea ecx, [esp + 0x40]
mov dword [esi + 0xec], eax
movss xmm0, dword [edi + 0x40]
movss xmm1, dword [edi + 0x78]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [edi + 0x34]
subss xmm0, dword [edi + 0x2c]
movss dword [esp + 0x44], xmm0
call fcn.004375f0
movss xmm1, dword [edi + 0x44]
addss xmm1, dword [edi + 0x28]
movss xmm0, dword [esi + 0x10c]
mov ecx, dword [esp + 0xbc]
pop edi
maxss xmm0, xmm1
movss dword [esi + 0x10c], xmm0
pop esi
xor ecx, esp
call fcn.004a7a88
mov esp, ebp
pop ebp
ret