Function at 0x10099020
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
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 + 0x14], 0
jne 0x10099054
cmp dword [edi + 0x18], 0
jne 0x10099054
push 0xb1f
push str.C:Users_voidDocumentsGitHubecstasy_v6_solutionimguiimgui_draw.cpp
push str.atlas__TexPixelsAlpha8___0__atlas__TexPixelsRGBA32___0
call ebx
add esp, 0xc
mov ecx, edi
call fcn.10098b90
mov ecx, edi
call fcn.10098d30
mov ecx, dword [edi + 0x40]
xor eax, eax
mov dword [esp + 0x10], eax
test ecx, ecx
jle 0x100991e8
xor esi, esi
mov dword [esp + 0x14], esi
nop dword [eax]
test eax, eax
js 0x10099088
cmp eax, ecx
jl 0x100990a0
push 0x68b
push str.C:Users_voidDocumentsGitHubecstasy_v6_solutionimguiimgui.h
push str.i___0__i___Size
call ebx
mov eax, dword [esp + 0x1c]
add esp, 0xc
mov ebx, dword [edi + 0x48]
add ebx, esi
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x100991cb
cmp dword [ebx + 8], 0
je 0x100991cb
mov esi, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp dword [ecx + 0x30], edi
je 0x100990d9
push 0xb2b
push str.C:Users_voidDocumentsGitHubecstasy_v6_solutionimguiimgui_draw.cpp
push str.r__Font__ContainerAtlas__atlas
call esi
add esp, 0xc
cmp dword [edi + 0x1c], 0
jle 0x100990e5
cmp dword [edi + 0x20], 0
jg 0x100990f9
push 0x8fc
push str.C:Users_voidDocumentsGitHubecstasy_v6_solutionimguiimgui_draw.cpp
push str.TexWidth___0__TexHeight___0
call esi
add esp, 0xc
mov eax, 0xffff
cmp word [ebx + 4], ax
jne 0x10099118
push 0x8fd
push str.C:Users_voidDocumentsGitHubecstasy_v6_solutionimguiimgui_draw.cpp
push str.rect__IsPacked__
call esi
add esp, 0xc
movzx eax, word [ebx + 4]
sub esp, 0x20
movzx esi, word [ebx]
movzx ecx, word [ebx + 6]
movzx edx, word [ebx + 2]
movss xmm0, dword [ebx + 0xc]
movss xmm4, dword [ebx + 0x14]
movd xmm6, eax
add eax, esi
movss dword [esp + 0x1c], xmm0
movd xmm3, ecx
cvtdq2ps xmm3, xmm3
movd xmm2, eax
lea eax, [edx + ecx]
mulss xmm3, dword [edi + 0x28]
mov ecx, dword [ebx + 0x18]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movzx eax, word [ebx + 8]
cvtdq2ps xmm2, xmm2
mulss xmm1, dword [edi + 0x28]
mulss xmm2, dword [edi + 0x24]
movd xmm0, edx
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm6, xmm6
movss dword [esp + 0x18], xmm1
addss xmm0, xmm4
mulss xmm6, dword [edi + 0x24]
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x10], xmm3
movss xmm3, dword [ebx + 0x10]
movss dword [esp + 0xc], xmm6
movss dword [esp + 8], xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [ebx + 0x10]
movss dword [esp + 4], xmm0
movss dword [esp], xmm4
push eax
push 0
call fcn.10099a30
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov ecx, dword [edi + 0x40]
inc eax
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esi, 0x1c
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], esi
cmp eax, ecx
jl 0x10099080
mov ecx, dword [edi + 0x34]
xor esi, esi
test ecx, ecx
jle 0x100992f0
test esi, esi
js 0x100991fd
cmp esi, ecx
jl 0x10099214
push 0x68b
push str.C:Users_voidDocumentsGitHubecstasy_v6_solutionimguiimgui.h
push str.i___0__i___Size
call ebx
mov ecx, dword [edi + 0x34]
add esp, 0xc
mov eax, dword [edi + 0x3c]
mov eax, dword [eax + esi*4]
cmp byte [eax + 0x3e], 0
je 0x10099247
test esi, esi
js 0x10099228
cmp esi, ecx
jl 0x1009923c
push 0x68b
push str.C:Users_voidDocumentsGitHubecstasy_v6_solutionimguiimgui.h
push str.i___0__i___Size
call ebx
add esp, 0xc
mov ecx, dword [edi + 0x3c]
mov ecx, dword [ecx + esi*4]
call fcn.10099510
mov ecx, dword [edi + 0x34]
inc esi
cmp esi, ecx
jl 0x100991f5
xor esi, esi
mov dword [esp + 0x10], esi
test ecx, ecx
jle 0x100992f0
nop dword [eax]
test esi, esi
js 0x10099268
cmp esi, ecx
jl 0x1009927c
push 0x68b
push str.C:Users_voidDocumentsGitHubecstasy_v6_solutionimguiimgui.h
push str.i___0__i___Size
call ebx
add esp, 0xc
mov eax, dword [edi + 0x3c]
mov esi, dword [eax + esi*4]
mov eax, 0xffff
cmp word [esi + 0x3c], ax
jne 0x100992d6
mov dword [esp + 0x14], 0x852026
xor edx, edx
nop word [eax + eax]
movzx ebx, word [esp + edx*2 + 0x14]
mov ecx, ebx
cmp ecx, dword [esi + 0x14]
jae 0x100992ca
mov eax, dword [esi + 0x1c]
movzx eax, word [eax + ecx*2]
mov ecx, 0xffff
cmp ax, cx
je 0x100992ca
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x28]
lea eax, [eax + ecx*8]
test eax, eax
jne 0x100992d2
inc edx
cmp edx, 2
jl 0x100992a0
jmp 0x100992d6
mov word [esi + 0x3c], bx
mov esi, dword [esp + 0x10]
mov ecx, dword [edi + 0x34]
inc esi
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov dword [esp + 0x10], esi
cmp esi, ecx
jl 0x10099260
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret