Function at 0x1006cac0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
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 0x1006caf4
cmp dword [edi + 0x20], 0
jne 0x1006caf4
push 0xb18
push str.D:_aFedorawareFedorawareFedorawareFedoraware_TF2includeImGuiimgui_draw.cpp
push str.atlas__TexPixelsAlpha8___0__atlas__TexPixelsRGBA32___0
call ebx
add esp, 0xc
mov ecx, edi
call fcn.1006c610
mov ecx, edi
call fcn.1006c830
mov ecx, dword [edi + 0x48]
xor eax, eax
mov dword [esp + 0xc], eax
test ecx, ecx
jle 0x1006cdcf
xor edx, edx
mov dword [esp + 0x10], edx
nop dword [eax]
test eax, eax
js 0x1006cb28
cmp eax, ecx
jl 0x1006cb44
push 0x731
push str.D:_aFedorawareFedorawareFedorawareFedoraware_TF2includeImGuiimgui.h
push str.i___0__i___Size
call ebx
mov eax, dword [esp + 0x18]
add esp, 0xc
mov edx, dword [esp + 0x10]
mov esi, dword [edi + 0x50]
add esi, edx
mov dword [esp + 0x14], esi
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x1006cdb8
cmp dword [esi + 8], 0
je 0x1006cdb8
cmp dword [ecx + 0x30], edi
je 0x1006cb7b
push 0xb24
push str.D:_aFedorawareFedorawareFedorawareFedoraware_TF2includeImGuiimgui_draw.cpp
push str.r__Font__ContainerAtlas__atlas
call ebx
add esp, 0xc
cmp dword [edi + 0x24], 0
jle 0x1006cb87
cmp dword [edi + 0x28], 0
jg 0x1006cb9b
push 0x8ec
push str.D:_aFedorawareFedorawareFedorawareFedoraware_TF2includeImGuiimgui_draw.cpp
push str.TexWidth___0__TexHeight___0
call ebx
add esp, 0xc
mov eax, 0xffff
cmp word [esi + 4], ax
jne 0x1006cbba
push 0x8ed
push str.D:_aFedorawareFedorawareFedorawareFedoraware_TF2includeImGuiimgui_draw.cpp
push str.rect__IsPacked__
call ebx
add esp, 0xc
movzx ecx, word [esi + 6]
movzx eax, word [esi + 4]
movzx esi, word [esi]
movd xmm2, ecx
cvtdq2ps xmm2, xmm2
movd xmm0, eax
add eax, esi
mulss xmm2, dword [edi + 0x30]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x30], xmm2
mulss xmm0, dword [edi + 0x2c]
movd xmm2, eax
mov eax, dword [esp + 0x14]
movss dword [esp + 0x2c], xmm0
cvtdq2ps xmm2, xmm2
movzx edx, word [eax + 2]
movd xmm0, esi
mulss xmm2, dword [edi + 0x2c]
lea eax, [edx + ecx]
movd xmm1, eax
mov eax, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
mov ecx, dword [eax + 0x18]
movzx ebx, word [eax + 8]
movss dword [esp + 0x34], xmm2
movss xmm2, dword [eax + 0x10]
addss xmm0, xmm2
mov dword [esp + 0x1c], ecx
cvtdq2ps xmm1, xmm1
lea esi, [ecx + 0x20]
mov dword [esp + 0x20], ebx
mov ecx, esi
movss dword [esp + 0x28], xmm2
mulss xmm1, dword [edi + 0x30]
movss dword [esp + 0x24], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x38], xmm1
movss xmm1, dword [eax + 0x14]
addss xmm0, xmm1
movss dword [esp + 0x18], xmm1
movss dword [esp + 0x14], xmm0
movss xmm0, dword [eax + 0xc]
mov eax, dword [esi]
inc eax
movss dword [esp + 0x3c], xmm0
push eax
call fcn.1006eea0
cmp dword [esi], 0
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
jg 0x1006cc9d
push 0x73a
push str.D:_aFedorawareFedorawareFedorawareFedoraware_TF2includeImGuiimgui.h
push str.Size___0
call ebx
add esp, 0xc
mov eax, dword [esi]
mov esi, dword [esi + 8]
movss xmm2, dword [esp + 0x24]
movss xmm3, dword [esp + 0x28]
movss xmm0, dword [esp + 0x14]
lea edx, [eax + eax*4]
mov eax, dword [esp + 0x20]
movss xmm1, dword [esp + 0x18]
movzx ecx, ax
mov eax, dword [esi + edx*8 - 0x28]
and eax, 3
shl ecx, 2
or ecx, eax
ucomiss xmm3, xmm2
lahf
test ah, 0x44
jnp 0x1006cce9
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1006cce9
mov eax, 2
jmp 0x1006cceb
xor eax, eax
movss dword [esi + edx*8 - 0x14], xmm0
and ecx, 0xfffffffd
movss xmm0, dword [esp + 0x2c]
or ecx, eax
movss dword [esi + edx*8 - 0x10], xmm0
and ecx, 0xfffffffe
movss xmm0, dword [esp + 0x30]
movss dword [esi + edx*8 - 0xc], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esi + edx*8 - 8], xmm0
movss xmm0, dword [esp + 0x38]
mov dword [esi + edx*8 - 0x28], ecx
mov ecx, dword [esp + 0x1c]
movss dword [esi + edx*8 - 4], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esi + edx*8 - 0x1c], xmm1
movss dword [esi + edx*8 - 0x24], xmm0
movss dword [esi + edx*8 - 0x18], xmm2
movss dword [esi + edx*8 - 0x20], xmm3
mov eax, dword [ecx + 0x30]
movd xmm2, dword [eax + 0xc]
mov byte [ecx + 0x48], 1
movd xmm1, dword [eax + 0x28]
movss xmm0, dword [esi + edx*8 - 4]
subss xmm0, dword [esi + edx*8 - 0xc]
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm2, xmm2
mulss xmm1, xmm0
addss xmm2, dword [0x10234cdc]
movss xmm0, dword [esi + edx*8 - 8]
subss xmm0, dword [esi + edx*8 - 0x10]
mov edx, dword [esp + 0x10]
addss xmm1, xmm2
cvttss2si ecx, xmm1
movd xmm1, dword [eax + 0x24]
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
addss xmm1, xmm2
cvttss2si eax, xmm1
imul ecx, eax
mov eax, dword [esp + 0x1c]
add dword [eax + 0x58], ecx
mov eax, dword [esp + 0xc]
mov ecx, dword [edi + 0x48]
inc eax
add edx, 0x1c
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], edx
cmp eax, ecx
jl 0x1006cb20
mov ecx, dword [edi + 0x3c]
xor esi, esi
test ecx, ecx
jle 0x1006ce32
test esi, esi
js 0x1006cde0
cmp esi, ecx
jl 0x1006cdf7
push 0x731
push str.D:_aFedorawareFedorawareFedorawareFedoraware_TF2includeImGuiimgui.h
push str.i___0__i___Size
call ebx
mov ecx, dword [edi + 0x3c]
add esp, 0xc
mov eax, dword [edi + 0x44]
mov eax, dword [eax + esi*4]
cmp byte [eax + 0x48], 0
je 0x1006ce2a
test esi, esi
js 0x1006ce0b
cmp esi, ecx
jl 0x1006ce1f
push 0x731
push str.D:_aFedorawareFedorawareFedorawareFedoraware_TF2includeImGuiimgui.h
push str.i___0__i___Size
call ebx
add esp, 0xc
mov ecx, dword [edi + 0x44]
mov ecx, dword [ecx + esi*4]
call fcn.1006d050
mov ecx, dword [edi + 0x3c]
inc esi
cmp esi, ecx
jl 0x1006cdd8
mov byte [edi + 0x18], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret