Function at 0x1006c830
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 0x1006c864
cmp dword [edi + 0x20], 0
jne 0x1006c864
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.1006c380
mov ecx, edi
call fcn.1006c5a0
mov ecx, dword [edi + 0x48]
xor eax, eax
mov dword [esp + 0xc], eax
test ecx, ecx
jle 0x1006cb3f
xor edx, edx
mov dword [esp + 0x10], edx
nop dword [eax]
test eax, eax
js 0x1006c898
cmp eax, ecx
jl 0x1006c8b4
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 0x1006cb28
cmp dword [esi + 8], 0
je 0x1006cb28
cmp dword [ecx + 0x30], edi
je 0x1006c8eb
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 0x1006c8f7
cmp dword [edi + 0x28], 0
jg 0x1006c90b
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 0x1006c92a
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.1006ec10
cmp dword [esi], 0
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
jg 0x1006ca0d
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 0x1006ca59
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x1006ca59
mov eax, 2
jmp 0x1006ca5b
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 [0x10234cfc]
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 0x1006c890
mov ecx, dword [edi + 0x3c]
xor esi, esi
test ecx, ecx
jle 0x1006cba2
test esi, esi
js 0x1006cb50
cmp esi, ecx
jl 0x1006cb67
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 0x1006cb9a
test esi, esi
js 0x1006cb7b
cmp esi, ecx
jl 0x1006cb8f
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.1006cdc0
mov ecx, dword [edi + 0x3c]
inc esi
cmp esi, ecx
jl 0x1006cb48
mov byte [edi + 0x18], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret