Function at 0x44fb40
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
push ebx
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x1c], 0
jne 0x44fb74
cmp dword [edi + 0x20], 0
jne 0x44fb74
push 0xade
push str.d:CProjectsSCUMSX2_srcimguiimgui_draw.cpp
push str.atlas__TexPixelsAlpha8___0__atlas__TexPixelsRGBA32___0
call ebx
add esp, 0xc
mov ecx, edi
call fcn.0044f6d0
mov ecx, edi
call fcn.0044f8d0
mov ecx, dword [edi + 0x48]
xor eax, eax
mov dword [esp + 0x20], eax
test ecx, ecx
jle 0x44fe80
xor esi, esi
mov dword [esp + 0x24], 0xffff
mov dword [esp + 0x14], esi
test eax, eax
js 0x44fba9
cmp eax, ecx
jl 0x44fbbd
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call ebx
add esp, 0xc
mov eax, dword [edi + 0x50]
mov dword [esp + 0x10], eax
mov ecx, dword [eax + esi + 0x18]
test ecx, ecx
je 0x44fe65
cmp dword [eax + esi + 8], 0
je 0x44fe65
cmp dword [ecx + 0x30], edi
je 0x44fbf4
push 0xaea
push str.d:CProjectsSCUMSX2_srcimguiimgui_draw.cpp
push str.r__Font__ContainerAtlas__atlas
call ebx
add esp, 0xc
cmp dword [edi + 0x24], 0
jle 0x44fc00
cmp dword [edi + 0x28], 0
jg 0x44fc14
push 0x8b2
push str.d:CProjectsSCUMSX2_srcimguiimgui_draw.cpp
push str.TexWidth___0__TexHeight___0
call ebx
add esp, 0xc
mov edx, dword [esp + 0x10]
movzx eax, word [edx + esi + 4]
mov ecx, eax
cmp ax, word [esp + 0x24]
jne 0x44fc43
push 0x8b3
push str.d:CProjectsSCUMSX2_srcimguiimgui_draw.cpp
push str.rect__IsPacked__
call ebx
mov edx, dword [esp + 0x1c]
add esp, 0xc
movzx ecx, word [edx + esi + 4]
movzx eax, cx
movzx ecx, word [edx + esi + 6]
movzx esi, word [edx + esi]
movd xmm0, eax
add eax, esi
movd xmm2, ecx
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm0, xmm0
mulss xmm2, dword [edi + 0x30]
mulss xmm0, dword [edi + 0x2c]
movss dword [esp + 0x38], xmm2
movd xmm2, eax
mov eax, dword [esp + 0x14]
movss dword [esp + 0x34], xmm0
cvtdq2ps xmm2, xmm2
movzx edx, word [edx + eax + 2]
movd xmm0, esi
mulss xmm2, dword [edi + 0x2c]
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x10]
movd xmm1, eax
mov eax, dword [esp + 0x14]
mov esi, eax
cvtdq2ps xmm0, xmm0
mov ebx, dword [ecx + eax + 0x18]
mov dword [esp + 0x10], ebx
movzx ebx, word [ecx + eax + 8]
movss dword [esp + 0x3c], xmm2
movss xmm2, dword [ecx + eax + 0x10]
addss xmm0, xmm2
mov dword [esp + 0x28], ebx
cvtdq2ps xmm1, xmm1
movss dword [esp + 0x2c], xmm0
mulss xmm1, dword [edi + 0x30]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x40], xmm1
movss xmm1, dword [ecx + eax + 0x14]
addss xmm0, xmm1
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x18], xmm0
movss xmm0, dword [ecx + esi + 0xc]
mov ecx, dword [esp + 0x10]
add ecx, 0x20
movss dword [esp + 0x14], xmm0
mov eax, dword [ecx]
inc eax
push eax
call fcn.00452270
mov eax, dword [esp + 0x10]
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [eax + 0x20]
test eax, eax
jg 0x44fd42
push 0x707
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.Size___0
call ebx
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [eax + 0x20]
movss xmm2, dword [esp + 0x2c]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x10]
movss xmm3, dword [esp + 0x30]
movss xmm0, dword [esp + 0x18]
movss xmm1, dword [esp + 0x1c]
mov ecx, dword [eax + 0x28]
mov eax, dword [esp + 0x28]
movzx ebx, ax
shl ebx, 2
mov eax, dword [ecx + edx*8 - 0x28]
and eax, 3
mov dword [esp + 0x44], ecx
or ebx, eax
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x44fd94
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x44fd94
mov eax, 2
jmp 0x44fd96
xor eax, eax
movss dword [ecx + edx*8 - 0x14], xmm0
and ebx, 0xfffffffd
movss xmm0, dword [esp + 0x34]
or ebx, eax
movss dword [ecx + edx*8 - 0x10], xmm0
and ebx, 0xfffffffe
movss xmm0, dword [esp + 0x38]
movss dword [ecx + edx*8 - 0xc], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [ecx + edx*8 - 8], xmm0
movss xmm0, dword [esp + 0x40]
mov dword [ecx + edx*8 - 0x28], ebx
mov ebx, dword [esp + 0x10]
movss dword [ecx + edx*8 - 0x1c], xmm1
movss dword [ecx + edx*8 - 4], xmm0
movss xmm0, dword [esp + 0x14]
movss dword [ecx + edx*8 - 0x24], xmm0
movss dword [ecx + edx*8 - 0x18], xmm2
movss dword [ecx + edx*8 - 0x20], xmm3
mov eax, dword [ebx + 0x30]
movd xmm2, dword [eax + 0xc]
mov byte [ebx + 0x48], 1
movd xmm1, dword [eax + 0x28]
movss xmm0, dword [ecx + edx*8 - 4]
subss xmm0, dword [ecx + edx*8 - 0xc]
mov ebx, dword [esp + 0x44]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm2, xmm2
mulss xmm1, xmm0
addss xmm2, dword [0x4c1940]
movd xmm0, dword [eax + 0x24]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm2
cvttss2si ecx, xmm1
movss xmm1, dword [ebx + edx*8 - 8]
subss xmm1, dword [ebx + edx*8 - 0x10]
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mulss xmm1, xmm0
addss xmm1, xmm2
cvttss2si eax, xmm1
imul ecx, eax
mov eax, dword [esp + 0x10]
add dword [eax + 0x58], ecx
mov eax, dword [esp + 0x20]
add esi, 0x1c
mov ecx, dword [edi + 0x48]
inc eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], esi
cmp eax, ecx
jl 0x44fba1
mov eax, dword [edi + 0x3c]
xor esi, esi
test eax, eax
jle 0x44feec
mov edx, eax
nop dword [eax + eax]
test esi, esi
js 0x44fe98
cmp esi, eax
jl 0x44feaf
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call ebx
mov edx, dword [edi + 0x3c]
add esp, 0xc
mov ecx, dword [edi + 0x44]
mov eax, dword [ecx + esi*4]
cmp byte [eax + 0x48], 0
je 0x44fee2
test esi, esi
js 0x44fec3
cmp esi, edx
jl 0x44feda
push 0x6fe
push str.d:CProjectsSCUMSX2_srcimguiimgui.h
push str.i___0__i___Size
call ebx
mov ecx, dword [edi + 0x44]
add esp, 0xc
mov ecx, dword [ecx + esi*4]
call fcn.00450130
mov eax, dword [edi + 0x3c]
inc esi
mov edx, eax
cmp esi, eax
jl 0x44fe90
mov byte [edi + 0x18], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret