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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, dword [0x4c9c24]
push esi
mov esi, ecx
mov dword [esp + 0x28], eax
push edi
mov eax, dword [eax + 0x3e38]
mov edi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edi
cmp eax, dword [esi + 0x150]
je 0x4592c6
push 0x6f4
push str.d:CProjectsSCUMSX2_srcimguiimgui_tables.cpp
push str.window__table__InnerWindow
call edi
add esp, 0xc
cmp byte [esi + 0x1d7], 0
jne 0x4592e3
push 0x6f5
push str.d:CProjectsSCUMSX2_srcimguiimgui_tables.cpp
push str.table__IsInsideRow
call edi
add esp, 0xc
cmp dword [esi + 0x48], 0xffffffff
je 0x4592f0
mov ecx, esi
call fcn.00459df0
mov eax, dword [esp + 0x2c]
cmp byte [eax + 0x5a70], 0
je 0x45930e
push 0
mov edx, 0x4bd394
xor ecx, ecx
call fcn.0043e6e0
add esp, 4
mov ecx, dword [esp + 0xc]
mov eax, dword [esi + 0x54]
mov dword [ecx + 0xf0], eax
movsx eax, word [esi + 0x1c8]
movss xmm1, dword [esi + 0x50]
movss xmm7, dword [esi + 0x54]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x44]
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x24], xmm7
lea ecx, [eax + 1]
mov dword [esp + 0x10], ecx
movsx ecx, word [esi + 0x1c6]
mov dword [esp + 0x3c], ecx
test eax, eax
jne 0x4593b3
movsx ecx, word [esi + 0x4c]
mov dword [esp + 0x2c], ecx
test ecx, ecx
jne 0x459369
lea eax, [esi + 0x16c]
jmp 0x4593a8
cmp ecx, 1
jl 0x459376
cmp ecx, dword [esi + 0x174]
jle 0x45939a
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call edi
movss xmm7, dword [esp + 0x30]
add esp, 0xc
movss xmm1, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x17c]
shl ecx, 4
add eax, 0xfffffff8
add eax, ecx
movaps xmm0, xmm7
subss xmm0, xmm1
movss dword [eax], xmm0
comiss xmm7, dword [esi + 0xf0]
jb 0x45980f
movss xmm0, dword [esi + 0xf8]
comiss xmm0, xmm1
jb 0x45980f
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x18], 0
cmp eax, 0x1000000
jne 0x4593ff
test byte [esi + 4], 0x40
je 0x459403
mov ecx, dword [esi + 0x68]
movss xmm1, dword [0x4c194c]
and ecx, 1
add ecx, 0x2d
call fcn.00427800
mov dword [esp + 0x18], eax
mov ecx, dword [esi + 0x70]
xor eax, eax
cmp ecx, 0x1000000
mov dword [esp + 0x1c], eax
cmove ecx, eax
mov dword [esp + 0x2c], ecx
cmp dword [esi + 0x44], eax
jg 0x45942c
mov eax, dword [esi + 0x150]
cmp eax, dword [esi + 0x14c]
jne 0x459447
test byte [esi + 4], 0x80
je 0x459447
test dword [esi + 0x64], 0x10000
je 0x459440
mov eax, dword [esi + 0x74]
jmp 0x459443
mov eax, dword [esi + 0x78]
mov dword [esp + 0x1c], eax
mov dx, word [esi + 0x1ce]
mov eax, ecx
or eax, dword [esp + 0x1c]
shr dx, 0xf
xor dl, 1
or eax, dword [esp + 0x18]
mov word [esp + 8], dx
jne 0x459474
mov eax, dword [esp + 0x28]
cmp dword [esp + 0x10], eax
je 0x459474
test dl, dl
je 0x4594bd
test dword [esi + 4], 0x100000
jne 0x45949c
movups xmm0, xmmword [esi + 0x10c]
mov eax, dword [esp + 0xc]
movaps xmmword [esp + 0x40], xmm0
movups xmm0, xmmword [esp + 0x40]
mov eax, dword [eax + 0x260]
movups xmmword [eax + 0x60], xmm0
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x160]
push 0
push dword [eax + 0x260]
call fcn.0044c920
movss xmm7, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4594cd
test ecx, ecx
je 0x459594
movss xmm0, dword [esi + 0xdc]
movaps xmm2, xmm7
movss xmm1, dword [esp + 0x20]
maxss xmm0, dword [esi + 0xfc]
maxss xmm1, dword [esi + 0x100]
minss xmm2, dword [esi + 0x108]
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esi + 0xe4]
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x44], xmm1
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x4c], xmm2
minss xmm0, dword [esi + 0x104]
movss dword [esp + 0x48], xmm0
test eax, eax
je 0x459563
comiss xmm2, xmm1
jbe 0x459563
push 0
push ecx
mov dword [esp], 0
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x260]
call fcn.0044b780
movss xmm1, dword [esp + 0x18]
movss xmm2, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x459594
comiss xmm2, xmm1
jbe 0x459594
push 0
push ecx
mov dword [esp], 0
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x260]
call fcn.0044b780
cmp byte [esp + 8], 0
je 0x459735
mov ecx, dword [esi + 0x20]
movsx eax, word [esi + 0x1ce]
lea eax, [ecx + eax*8]
mov dword [esp + 0x2c], eax
cmp eax, ecx
jb 0x4595bb
mov ecx, dword [esi + 0x24]
cmp eax, ecx
jb 0x4595d2
push 0x25e
push str.d:CProjectsSCUMSX2_srcimguiimgui_internal.h
push str.p___Data__p___DataEnd
call edi
mov ecx, dword [esi + 0x24]
add esp, 0xc
mov eax, dword [esi + 0x20]
mov dword [esp + 8], eax
cmp eax, ecx
jb 0x4595f5
push 0x25e
push str.d:CProjectsSCUMSX2_srcimguiimgui_internal.h
push str.p___Data__p___DataEnd
call edi
mov eax, dword [esp + 0x14]
add esp, 0xc
cmp eax, dword [esp + 0x2c]
ja 0x459735
nop
movzx edx, word [eax + 4]
movsx eax, dx
imul eax, eax, 0x70
add eax, dword [esi + 0x10]
mov dword [esp + 0x18], eax
cmp eax, dword [esi + 0x10]
jb 0x45961b
cmp eax, dword [esi + 0x14]
jb 0x459637
push 0x25e
push str.d:CProjectsSCUMSX2_srcimguiimgui_internal.h
push str.p___Data__p___DataEnd
call edi
mov eax, dword [esp + 0x14]
add esp, 0xc
movzx edx, word [eax + 4]
mov ecx, dword [esi + 0x10]
movsx eax, dx
imul eax, eax, 0x70
add eax, ecx
mov dword [esp + 0x34], eax
cmp eax, ecx
jb 0x45964f
cmp eax, dword [esi + 0x14]
jb 0x459667
push 0x25f
push str.d:CProjectsSCUMSX2_srcimguiimgui_internal.h
push str.p___Data__p___DataEnd
call edi
mov eax, dword [esp + 0x40]
add esp, 0xc
movss xmm2, dword [eax + 8]
movss xmm0, dword [esi + 0xdc]
comiss xmm2, xmm0
movss xmm1, dword [eax + 0xc]
jae 0x459681
movaps xmm2, xmm0
movss xmm0, dword [esi + 0xe4]
comiss xmm0, xmm1
ja 0x459691
movaps xmm1, xmm0
movss xmm0, dword [esi + 0x50]
maxss xmm0, dword [esi + 0x100]
maxss xmm2, dword [esi + 0xfc]
mov eax, dword [esp + 0x18]
minss xmm1, dword [esi + 0x104]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esi + 0x54]
minss xmm0, dword [esi + 0x108]
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x48], xmm1
movss dword [esp + 0x4c], xmm0
movss xmm0, dword [eax + 0x20]
comiss xmm2, xmm0
jae 0x4596e7
movss dword [esp + 0x40], xmm0
movss xmm0, dword [eax + 0xc]
comiss xmm0, xmm1
ja 0x4596f7
movss dword [esp + 0x48], xmm0
mov eax, dword [esp + 8]
push 0
push ecx
mov dword [esp], 0
push dword [eax]
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x50]
push eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x260]
call fcn.0044b780
mov eax, dword [esp + 8]
add eax, 8
mov dword [esp + 8], eax
cmp eax, dword [esp + 0x2c]
jbe 0x459600
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4597a0
movss xmm1, dword [esp + 0x20]
comiss xmm1, dword [esi + 0x100]
jb 0x4597a0
movss xmm0, dword [esi + 0x108]
comiss xmm0, xmm1
jbe 0x4597a0
movss xmm0, dword [esi + 0x80]
push ecx
mov dword [esp], 0x3f800000
push eax
lea eax, [esp + 0x3c]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esi + 0x7c]
push eax
lea eax, [esp + 0x38]
movss dword [esp + 0x44], xmm1
push eax
mov eax, dword [esp + 0x1c]
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x40], xmm1
mov ecx, dword [eax + 0x260]
call fcn.0044b580
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x28]
jne 0x459813
movss xmm1, dword [esp + 0x24]
comiss xmm1, dword [esi + 0x100]
jb 0x459813
movss xmm0, dword [esi + 0x108]
comiss xmm0, xmm1
jbe 0x459813
movss xmm0, dword [esi + 0x80]
lea eax, [esp + 0x34]
push ecx
mov dword [esp], 0x3f800000
push dword [esi + 0x74]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esi + 0x7c]
push eax
lea eax, [esp + 0x38]
movss dword [esp + 0x44], xmm1
push eax
mov eax, dword [esp + 0x1c]
movss dword [esp + 0x3c], xmm0
movss dword [esp + 0x40], xmm1
mov ecx, dword [eax + 0x260]
call fcn.0044b580
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x3c]
jne 0x45987a
xor ecx, ecx
mov dword [esp + 0x2c], ecx
cmp dword [esi + 0x40], ecx
jle 0x45987a
xor edx, edx
mov dword [esp + 0x24], edx
nop word [eax + eax]
mov eax, dword [esi + 0x10]
lea edi, [eax + edx]
cmp edi, eax
jb 0x45983f
cmp edi, dword [esi + 0x14]
jb 0x45985d
push 0x25e
push str.d:CProjectsSCUMSX2_srcimguiimgui_internal.h
push str.p___Data__p___DataEnd
call dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov edx, dword [esp + 0x24]
inc ecx
mov byte [edi + 0x6a], 0
add edx, 0x70
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x24], edx
cmp ecx, dword [esi + 0x40]
jl 0x459830
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
cmp eax, dword [esp + 0x28]
jne 0x459ae8
cmp byte [esi + 0x1e1], 0
je 0x4598a1
push 0x757
push str.d:CProjectsSCUMSX2_srcimguiimgui_tables.cpp
push 0x4bd398
call edi
add esp, 0xc
movss xmm1, dword [esi + 0x54]
addss xmm1, dword [0x4c194c]
mov edx, dword [esp + 0xc]
movsx ecx, word [esi + 0x4c]
mov dword [esp + 0x34], ecx
maxss xmm1, dword [edx + 0x1e0]
mov byte [esi + 0x1e1], 1
movss dword [esp + 0x3c], xmm1
test ecx, ecx
jne 0x4598db
lea eax, [esi + 0x170]
jmp 0x459918
cmp ecx, 1
jl 0x4598e8
cmp ecx, dword [esi + 0x174]
jle 0x45990a
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call edi
movss xmm1, dword [esp + 0x48]
add esp, 0xc
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0xc]
mov eax, dword [esi + 0x17c]
shl ecx, 4
add eax, 0xfffffffc
add eax, ecx
movaps xmm0, xmm1
subss xmm0, dword [esi + 0xc0]
movss dword [eax], xmm0
minss xmm1, dword [edx + 0x1e8]
mov ax, word [esi + 0x1d4]
movss dword [esi + 0x120], xmm1
movss dword [esi + 0x100], xmm1
movss xmm0, dword [edx + 0x1e8]
comiss xmm0, xmm1
mov word [esi + 0x1d2], ax
movss dword [esi + 0x128], xmm0
movss dword [esi + 0x108], xmm0
jae 0x459982
push 0x760
push str.d:CProjectsSCUMSX2_srcimguiimgui_tables.cpp
push str.table__Bg2ClipRectForDrawCmd.Min.y___table__Bg2ClipRectForDrawCmd.Max.y
call edi
mov edx, dword [esp + 0x18]
add esp, 0xc
movss xmm1, dword [esi + 0x54]
movaps xmm0, xmm1
addss xmm1, dword [esi + 0xe0]
subss xmm0, dword [esi + 0x50]
subss xmm1, dword [esi + 0xc0]
movss dword [edx + 0xf0], xmm1
xor edx, edx
movss dword [esi + 0x54], xmm1
subss xmm1, xmm0
mov dword [esp + 0x2c], edx
movss dword [esi + 0x50], xmm1
cmp dword [esi + 0x40], edx
jle 0x459a15
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov eax, dword [esi + 0x10]
lea edi, [eax + ecx]
cmp edi, eax
jb 0x4599d5
cmp edi, dword [esi + 0x14]
jb 0x4599f3
push 0x25e
push str.d:CProjectsSCUMSX2_srcimguiimgui_internal.h
push str.p___Data__p___DataEnd
call dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
add esp, 0xc
mov edx, dword [esp + 0x2c]
mov ax, word [edi + 0x60]
inc edx
mov word [edi + 0x5c], ax
add ecx, 0x70
mov eax, dword [esi + 0x120]
mov dword [edi + 0x24], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ecx
cmp edx, dword [esi + 0x40]
jl 0x4599c6
mov eax, dword [esi + 0x10]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x3c], eax
cmp eax, dword [esi + 0x14]
jb 0x459a3d
push 0x25e
push str.d:CProjectsSCUMSX2_srcimguiimgui_internal.h
push str.p___Data__p___DataEnd
call edi
mov eax, dword [esp + 0x48]
add esp, 0xc
movss xmm4, dword [eax + 0x20]
movss xmm3, dword [eax + 0x24]
movss xmm2, dword [eax + 0x28]
movss xmm1, dword [eax + 0x2c]
movups xmm0, xmmword [eax + 0x20]
mov ecx, dword [esp + 0xc]
movss dword [esp + 0x40], xmm4
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x48], xmm2
mov eax, dword [ecx + 0x260]
movups xmmword [ecx + 0x20c], xmm0
movss dword [esp + 0x4c], xmm1
movss dword [eax + 0x60], xmm4
movss dword [eax + 0x64], xmm3
movss dword [eax + 0x68], xmm2
movss dword [eax + 0x6c], xmm1
mov eax, dword [ecx + 0x260]
movups xmm0, xmmword [esp + 0x40]
mov ecx, dword [eax + 0x3c]
mov eax, dword [eax + 0x44]
add ecx, ecx
movups xmmword [eax + ecx*8 - 0x10], xmm0
mov eax, dword [esi + 0x10]
mov dword [esp + 0x3c], eax
cmp eax, dword [esi + 0x14]
jb 0x459ace
push 0x25e
push str.d:CProjectsSCUMSX2_srcimguiimgui_internal.h
push str.p___Data__p___DataEnd
call edi
mov eax, dword [esp + 0x48]
add esp, 0xc
movzx eax, word [eax + 0x5c]
mov ecx, dword [esi + 0x160]
push eax
mov eax, dword [esp + 0x10]
push dword [eax + 0x260]
call fcn.0044c920
test byte [esi + 0x64], 1
mov byte [esi + 0x1d7], 0
jne 0x459af8
inc dword [esi + 0x68]
pop edi
pop esi
mov esp, ebp
pop ebp
ret