Function at 0x100794e0
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 0x10079514
cmp dword [edi + 0x20], 0
jne 0x10079514
push 0xade
push str.D:csgo_rax_sourcelegacyimguiimgui_draw.cpp
push str.atlas__TexPixelsAlpha8___0__atlas__TexPixelsRGBA32___0
call ebx
add esp, 0xc
mov ecx, edi
call fcn.10079040
mov ecx, edi
call fcn.10079260
mov ecx, dword [edi + 0x48]
xor eax, eax
mov dword [esp + 0xc], eax
test ecx, ecx
jle 0x100797ef
xor edx, edx
mov dword [esp + 0x10], edx
nop dword [eax]
test eax, eax
js 0x10079548
cmp eax, ecx
jl 0x10079564
push 0x704
push str.D:csgo_rax_sourcelegacyimguiimgui.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 0x100797d8
cmp dword [esi + 8], 0
je 0x100797d8
cmp dword [ecx + 0x30], edi
je 0x1007959b
push 0xaea
push str.D:csgo_rax_sourcelegacyimguiimgui_draw.cpp
push str.r__Font__ContainerAtlas__atlas
call ebx
add esp, 0xc
cmp dword [edi + 0x24], 0
jle 0x100795a7
cmp dword [edi + 0x28], 0
jg 0x100795bb
push 0x8b2
push str.D:csgo_rax_sourcelegacyimguiimgui_draw.cpp
push str.TexWidth___0__TexHeight___0
call ebx
add esp, 0xc
mov eax, 0xffff
cmp word [esi + 4], ax
jne 0x100795da
push 0x8b3
push str.D:csgo_rax_sourcelegacyimguiimgui_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.1007b2a0
cmp dword [esi], 0
mov ebx, dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
jg 0x100796bd
push 0x70d
push str.D:csgo_rax_sourcelegacyimguiimgui.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 0x10079709
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jnp 0x10079709
mov eax, 2
jmp 0x1007970b
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 [0x10114de0]
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 0x10079540
mov ecx, dword [edi + 0x3c]
xor esi, esi
test ecx, ecx
jle 0x10079852
test esi, esi
js 0x10079800
cmp esi, ecx
jl 0x10079817
push 0x704
push str.D:csgo_rax_sourcelegacyimguiimgui.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 0x1007984a
test esi, esi
js 0x1007982b
cmp esi, ecx
jl 0x1007983f
push 0x704
push str.D:csgo_rax_sourcelegacyimguiimgui.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.10079a70
mov ecx, dword [edi + 0x3c]
inc esi
cmp esi, ecx
jl 0x100797f8
mov byte [edi + 0x18], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret