Function at 0x1005c950
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x138
mov eax, dword [0x10162378]
xor eax, esp
mov dword [esp + 0x134], eax
push esi
push edi
push 0
mov edx, 0x10167747
mov ecx, str.Example:_Custom_rendering
call fcn.10010630
add esp, 4
test al, al
je 0x1005f51e
mov eax, dword [0x10167328]
test eax, eax
je 0x1005c9ab
push dword [0x1016732c]
push str.Examples_Custom_Rendering
push 0x1f07
push str.C:Usersmikay_source_reposInsomniacInsomniacextimguiimgui_demo.cpp
call eax
add esp, 0x10
xor edx, edx
mov ecx, str.TabBar
call fcn.1009e500
test al, al
je 0x1005f51e
mov esi, dword [0x10167324]
mov eax, dword [esi + 0x4064]
cmp byte [eax + 0xe4], 0
jne 0x1005e01f
mov esi, dword [esi + 0x4e00]
test esi, esi
je 0x1005e01f
push 0
push 0
push 0
mov edx, str.Primitives
mov ecx, esi
call fcn.100a05c0
add esp, 0xc
test al, al
je 0x1005e01f
movsx eax, word [esi + 0x74]
mov ecx, dword [esi + 8]
lea eax, [eax + eax*2]
add eax, eax
mov ecx, dword [ecx + eax*8]
call fcn.10014ad0
mov edi, dword [0x10167324]
mov eax, edi
mov dword [esp + 0x11c], eax
mov eax, dword [eax + 0x4064]
movss xmm0, dword [edi + 0x3dcc]
lea esi, [eax + 0x1e0]
xorps xmm0, xmmword [0x1015cf20]
mulss xmm0, dword [0x1015cb28]
mov ecx, dword [esi]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 4]
movss dword [esp + 0x118], xmm0
cmp ecx, eax
jne 0x1005ca8f
inc ecx
test eax, eax
je 0x1005ca6e
cdq
sub eax, edx
sar eax, 1
add eax, dword [esi + 4]
jmp 0x1005ca73
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100359f0
mov edi, dword [0x10167324]
movss xmm0, dword [esp + 0x118]
mov edx, dword [esi]
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 8]
mov eax, dword [eax + 0x1d8]
mov dword [ecx + edx*4], eax
inc dword [esi]
ucomiss xmm0, dword [0x1015c950]
lahf
test ah, 0x44
mov eax, dword [esp + 0x34]
jp 0x1005cabc
movss xmm0, dword [eax + 0x27c]
movss dword [eax + 0x1d8], xmm0
mov eax, dword [esp + 0x11c]
push str.Gradients
and dword [eax + 0x4988], 0xfffffffe
mov eax, dword [edi + 0x4064]
mov byte [eax + 0xe1], 1
mov eax, dword [edi + 0x4064]
mov edi, dword [eax + 0x2a4]
mov dword [esp + 0x120], edi
call fcn.100838c0
mov edx, dword [0x10167324]
add esp, 4
test byte [edx + 0x4988], 1
movss xmm1, dword [edx + 0x3994]
mov eax, dword [edx + 0x4064]
addss xmm1, xmm1
addss xmm1, dword [edx + 0x3dcc]
movss dword [esp + 0x118], xmm1
je 0x1005cb3b
movss xmm2, dword [edx + 0x4990]
jmp 0x1005cb43
movss xmm2, dword [eax + 0x1d8]
xorps xmm0, xmm0
comiss xmm0, xmm2
jbe 0x1005cb84
cmp dword [eax + 0x1c8], 0
jne 0x1005cb62
cmp dword [edx + 0x4db4], 0
mov ecx, 0x260
je 0x1005cb67
mov ecx, 0x230
movss xmm0, dword [eax + ecx]
subss xmm0, dword [eax + 0x128]
addss xmm0, xmm2
movss xmm2, dword [0x1015ca30]
maxss xmm2, xmm0
mov ecx, dword [eax + 0x128]
mov eax, dword [eax + 0x12c]
cvttss2si esi, xmm2
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], eax
movss dword [esp + 0x60], xmm1
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x5c], xmm0
addss xmm0, dword [esp + 0x38]
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [edx + 0x3954]
mulss xmm0, dword [0x1015cbc8]
call fcn.10111790
mov ecx, dword [0x10167324]
movss xmm0, dword [0x1015ca30]
movss xmm1, dword [ecx + 0x3954]
comiss xmm1, xmm0
jb 0x1005cc01
mov ecx, 0xff000000
jmp 0x1005cc06
mov ecx, eax
shl ecx, 0x18
comiss xmm1, xmm0
jb 0x1005cc10
or eax, 0xffffffff
jmp 0x1005cc18
shl eax, 0x18
or eax, 0xffffff
push ecx
push eax
push eax
push ecx
lea eax, [esp + 0x64]
mov ecx, edi
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.1006d8e0
push 0
lea edx, [esp + 0x60]
mov ecx, str.gradient1
call fcn.10084dd0
mov edi, dword [0x10167324]
add esp, 4
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov eax, dword [edi + 0x4064]
mov ecx, dword [eax + 0x128]
mov eax, dword [eax + 0x12c]
mov dword [esp + 0x38], ecx
addss xmm0, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
movss dword [esp + 0x54], xmm0
movss xmm0, dword [esp + 0x118]
addss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x58], xmm0
movss xmm0, dword [edi + 0x3954]
mulss xmm0, dword [0x1015cbc8]
call fcn.10111790
movss xmm0, dword [0x1015ca30]
movss xmm1, dword [edi + 0x3954]
comiss xmm1, xmm0
jb 0x1005ccb9
mov ecx, 0xff00ff00
jmp 0x1005ccc4
mov ecx, eax
shl ecx, 0x18
or ecx, 0xff00
comiss xmm1, xmm0
jb 0x1005ccd0
mov eax, 0xff0000ff
jmp 0x1005ccd8
shl eax, 0x18
or eax, 0xff
mov edi, dword [esp + 0x11c]
push ecx
push eax
push eax
push ecx
lea eax, [esp + 0x64]
mov ecx, edi
push eax
lea eax, [esp + 0x4c]
push eax
call fcn.1006d8e0
push 0
lea edx, [esp + 0x60]
mov ecx, str.gradient2
call fcn.10084dd0
add esp, 4
push str.All_primitives
call fcn.100838c0
movss xmm3, dword [0x1015c9c0]
lea eax, [esp + 0x11c]
add esp, 4
mov dword [esp + 0x11c], 0x40000000
mov edx, 8
mov dword [esp + 0x118], 0x42c80000
mov ecx, str.Size
push 0
push str._.0f
push eax
lea eax, [esp + 0x128]
push eax
push 0x1016694c
call fcn.10089dc0
movss xmm3, dword [0x1015c99c]
lea eax, [esp + 0x12c]
add esp, 0x14
mov dword [esp + 0x11c], 0x3f800000
mov edx, 8
mov dword [esp + 0x118], 0x41000000
mov ecx, str.Thickness
push 0
push str._.02f
push eax
lea eax, [esp + 0x128]
push eax
push 0x101664ac
call fcn.10089dc0
add esp, 0x14
mov dword [esp + 0x118], 0xc
lea eax, [esp + 0x118]
mov dword [esp + 0x11c], 3
mov edx, 4
mov ecx, str.N_gon_sides
push 0
push 0x10127514
push eax
lea eax, [esp + 0x128]
push eax
push 0x1016687c
call fcn.1008b490
add esp, 0x14
mov edx, 0x10167718
mov ecx, str.circlesegmentoverride
call fcn.10086820
mov eax, dword [0x10167324]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x39a8]
call fcn.100173a0
push 0
push 0x10127514
lea eax, [esp + 0x120]
mov dword [esp + 0x120], 0x28
push eax
lea eax, [esp + 0x128]
mov dword [esp + 0x128], 3
push eax
push 0x101623d8
mov edx, 4
mov ecx, str.Circle_segments_override
call fcn.1008b490
add esp, 0x14
or byte [0x10167718], al
mov edx, 0x10167380
mov ecx, str.curvessegmentoverride
call fcn.10086820
mov eax, dword [0x10167324]
xorps xmm0, xmm0
movss xmm1, dword [eax + 0x39a8]
call fcn.100173a0
push 0
push 0x10127514
lea eax, [esp + 0x120]
mov dword [esp + 0x120], 0x28
push eax
lea eax, [esp + 0x128]
mov dword [esp + 0x128], 3
push eax
push 0x10166868
mov edx, 4
mov ecx, str.Curves_segments_override
call fcn.1008b490
or byte [0x10167380], al
add esp, 0x14
mov edx, 0x1016693c
mov ecx, str.Color
push 0
call fcn.10093790
mov eax, dword [0x10167324]
xorps xmm6, xmm6
movss xmm3, dword [0x1016693c]
add esp, 4
comiss xmm6, xmm3
mov eax, dword [eax + 0x4064]
movss xmm2, dword [eax + 0x128]
movss xmm5, dword [eax + 0x12c]
movss xmm1, dword [0x1015ca30]
jbe 0x1005cf18
xorps xmm0, xmm0
jmp 0x1005cf1f
movaps xmm0, xmm1
minss xmm0, xmm3
movss xmm3, dword [0x1015cbc8]
movss xmm4, dword [0x1015c9e4]
movss xmm7, dword [0x10166940]
comiss xmm6, xmm7
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si ecx, xmm0
jbe 0x1005cf4d
xorps xmm0, xmm0
jmp 0x1005cf54
movaps xmm0, xmm1
minss xmm0, xmm7
movss xmm7, dword [0x10166944]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm6, xmm7
jbe 0x1005cf77
xorps xmm0, xmm0
jmp 0x1005cf7e
movaps xmm0, xmm1
minss xmm0, xmm7
movss xmm7, dword [0x10166948]
mulss xmm0, xmm3
addss xmm0, xmm4
cvttss2si eax, xmm0
shl eax, 0x10
or ecx, eax
comiss xmm6, xmm7
jbe 0x1005cfa1
xorps xmm0, xmm0
jmp 0x1005cfa8
movaps xmm0, xmm1
minss xmm0, xmm7
mulss xmm0, xmm3
xor esi, esi
movss xmm3, dword [0x1016694c]
addss xmm2, dword [0x1015caf0]
addss xmm0, xmm4
movss xmm7, dword [0x1015cb18]
addss xmm5, dword [0x1015caf0]
movss dword [esp + 0x4c], xmm2
cvttss2si eax, xmm0
movaps xmm0, xmm3
movss dword [esp + 8], xmm5
divss xmm0, dword [0x1015caf4]
shl eax, 0x18
or eax, ecx
cmp byte [0x10167718], 0
mov dword [esp + 0xc], eax
cmovne esi, dword [0x101623d8]
xor ecx, ecx
cmp byte [0x10167380], cl
mov dword [esp + 0x48], esi
cmovne ecx, dword [0x10166868]
xor edx, edx
mov dword [esp + 0x11c], ecx
mov ecx, eax
and ecx, 0xff000000
mov dword [esp + 0x118], edx
mov dword [esp + 0x34], ecx
movss dword [esp + 0x50], xmm0
jmp 0x1005d058
movss xmm4, dword [0x1015c9e4]
movss xmm1, dword [0x1015ca30]
mov esi, dword [esp + 0x48]
mov ecx, dword [esp + 0x34]
test edx, edx
jne 0x1005d064
movss dword [esp + 0x2c], xmm1
jmp 0x1005d072
movss xmm0, dword [0x101664ac]
movss dword [esp + 0x2c], xmm0
movaps xmm2, xmm3
mulss xmm2, xmm4
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x80], xmm0
movaps xmm0, xmm2
addss xmm0, xmm5
movss dword [esp + 0x84], xmm0
test ecx, ecx
je 0x1005d16b
mov eax, dword [0x1016687c]
cmp eax, 2
jle 0x1005d16b
movd xmm1, eax
subss xmm2, xmm4
cvtdq2ps xmm1, xmm1
dec eax
push eax
lea eax, [esp + 0x84]
push ecx
xorps xmm3, xmm3
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x1015ca30]
mulss xmm0, dword [0x1015cb04]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1006c3a0
movss xmm0, dword [esp + 0x2c]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 1
push dword [esp + 0x14]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1006af20
movss xmm7, dword [0x1015cb18]
movss xmm4, dword [0x1015c9e4]
movss xmm5, dword [esp + 8]
mov dword [edi + 0x54], 0
movss xmm3, dword [0x1016694c]
movaps xmm1, xmm3
mov ecx, dword [esp + 0x34]
addss xmm1, xmm7
movaps xmm2, xmm3
mulss xmm2, xmm4
addss xmm1, dword [esp + 0x4c]
movaps xmm0, xmm1
movss dword [esp + 0x40], xmm1
addss xmm0, xmm2
movss dword [esp + 0x38], xmm0
movaps xmm0, xmm2
addss xmm0, xmm5
movss dword [esp + 0x3c], xmm0
jmp 0x1005d1a7
movaps xmm1, xmm3
movaps xmm2, xmm3
mulss xmm2, xmm4
addss xmm1, xmm7
movaps xmm0, xmm2
addss xmm1, dword [esp + 0x4c]
movss dword [esp + 0x40], xmm1
addss xmm0, xmm1
movss dword [esp + 0x38], xmm0
movaps xmm0, xmm2
addss xmm0, xmm5
movss dword [esp + 0x3c], xmm0
test ecx, ecx
je 0x1005d2a7
comiss xmm4, xmm2
ja 0x1005d2a7
test esi, esi
jg 0x1005d1ce
push ecx
push 0x30
subss xmm2, xmm4
mov ecx, edi
push 0
lea eax, [esp + 0x44]
push eax
call fcn.1006bfc0
dec dword [edi + 0x54]
jmp 0x1005d223
cmp esi, 3
jge 0x1005d1da
mov eax, 3
jmp 0x1005d1ea
cmp esi, 0x200
mov eax, esi
mov ecx, 0x200
cmovg eax, ecx
movd xmm1, eax
subss xmm2, xmm4
cvtdq2ps xmm1, xmm1
dec eax
push eax
lea eax, [esp + 0x3c]
push ecx
xorps xmm3, xmm3
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x1015ca30]
mulss xmm0, dword [0x1015cb04]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1006c3a0
movss xmm0, dword [esp + 0x2c]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 1
push dword [esp + 0x14]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1006af20
mov dword [edi + 0x54], 0
mov eax, esi
movss xmm6, dword [0x1016694c]
movaps xmm2, xmm6
movaps xmm1, xmm6
addss xmm2, dword [0x1015cb18]
mulss xmm1, dword [0x1015c9e4]
mulss xmm6, dword [0x1015c9c8]
addss xmm2, dword [esp + 0x40]
movss dword [esp + 0x64], xmm1
movss dword [esp + 0x40], xmm6
movaps xmm0, xmm2
movss dword [esp + 0x30], xmm2
addss xmm0, xmm1
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmm1
addss xmm0, dword [esp + 8]
movss dword [esp + 0x60], xmm0
jmp 0x1005d2fa
movaps xmm2, xmm3
movaps xmm6, xmm3
mulss xmm6, dword [0x1015c9c8]
addss xmm2, xmm7
mov eax, esi
movss dword [esp + 0x40], xmm6
addss xmm2, xmm1
movaps xmm1, xmm3
mulss xmm1, xmm4
movss dword [esp + 0x30], xmm2
movaps xmm0, xmm1
movss dword [esp + 0x64], xmm1
addss xmm0, xmm2
movss dword [esp + 0x5c], xmm0
movaps xmm0, xmm1
addss xmm0, xmm5
movss dword [esp + 0x60], xmm0
test ecx, ecx
je 0x1005d39e
test esi, esi
jg 0x1005d309
maxss xmm1, xmm6
mov ecx, edi
call fcn.1006ac50
movd xmm1, eax
mov ecx, edi
cvtdq2ps xmm1, xmm1
dec eax
push eax
lea eax, [esp + 0x60]
sub esp, 0xc
movss xmm3, dword [esp + 0x50]
movaps xmm0, xmm1
movss xmm2, dword [esp + 0x74]
subss xmm0, dword [0x1015ca30]
mulss xmm0, dword [0x1015cb04]
divss xmm0, xmm1
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0
mov dword [esp], 0xbe99999a
push eax
call fcn.1006c7a0
movss xmm0, dword [esp + 0x2c]
lea esi, [edi + 0x54]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 1
push dword [esp + 0x14]
push dword [esi]
push dword [edi + 0x5c]
call fcn.1006af20
movss xmm2, dword [esp + 0x30]
movss xmm5, dword [esp + 8]
movss xmm7, dword [0x1015cb18]
mov dword [esi], 0
movss xmm3, dword [0x1016694c]
jmp 0x1005d3a1
lea esi, [edi + 0x54]
movaps xmm1, xmm3
movss dword [esp + 0x94], xmm5
addss xmm1, xmm7
movaps xmm0, xmm3
push ecx
lea eax, [esp + 0x8c]
addss xmm1, xmm2
addss xmm0, xmm1
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x94], xmm1
movss dword [esp + 0x8c], xmm0
movaps xmm0, xmm5
addss xmm0, xmm3
movss dword [esp + 0x90], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp], xmm0
push 0
push ecx
mov dword [esp], 0
mov ecx, edi
push dword [esp + 0x18]
push eax
lea eax, [esp + 0xa4]
push eax
call fcn.1006d6a0
movss xmm1, dword [0x1016694c]
lea eax, [esp + 0x98]
movss xmm3, dword [esp + 8]
movaps xmm2, xmm1
addss xmm2, dword [0x1015cb18]
movaps xmm0, xmm1
movss dword [esp + 0xa4], xmm3
push ecx
addss xmm2, dword [esp + 0x34]
addss xmm0, xmm2
movss dword [esp + 0x34], xmm2
movss dword [esp + 0xa4], xmm2
movss dword [esp + 0x9c], xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0xa0], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp], xmm0
movss xmm0, dword [esp + 0x54]
push 0
push ecx
movss dword [esp], xmm0
mov ecx, edi
push dword [esp + 0x18]
push eax
lea eax, [esp + 0xb4]
push eax
call fcn.1006d6a0
movss xmm1, dword [0x1016694c]
lea eax, [esp + 0xa8]
movss xmm3, dword [esp + 8]
movaps xmm2, xmm1
addss xmm2, dword [0x1015cb18]
movaps xmm0, xmm1
movss dword [esp + 0xb4], xmm3
push ecx
addss xmm2, dword [esp + 0x34]
addss xmm0, xmm2
movss dword [esp + 0x34], xmm2
movss dword [esp + 0xb4], xmm2
movss dword [esp + 0xac], xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0xb0], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp], xmm0
movss xmm0, dword [esp + 0x54]
push 0x90
push ecx
movss dword [esp], xmm0
mov ecx, edi
push dword [esp + 0x18]
push eax
lea eax, [esp + 0xc4]
push eax
call fcn.1006d6a0
movss xmm2, dword [0x1016694c]
lea eax, [esp + 0x54]
movss xmm5, dword [esp + 8]
movaps xmm3, xmm2
addss xmm3, dword [0x1015cb18]
movaps xmm0, xmm2
movss dword [esp + 0xc4], xmm5
push ecx
movaps xmm1, xmm5
mov ecx, edi
addss xmm1, xmm2
mulss xmm2, dword [0x1015c9e4]
addss xmm3, dword [esp + 0x34]
subss xmm1, dword [0x1015c9e4]
addss xmm0, xmm3
movss dword [esp + 0x58], xmm3
addss xmm2, xmm3
movss dword [esp + 0x5c], xmm1
movss dword [esp + 0xc0], xmm1
movss dword [esp + 0xbc], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp], xmm0
push dword [esp + 0x10]
movss dword [esp + 0xc8], xmm2
push eax
lea eax, [esp + 0xc4]
push eax
lea eax, [esp + 0xd0]
push eax
call fcn.1006dbb0
movss xmm0, dword [0x1016694c]
lea eax, [esp + 0xc8]
movaps xmm1, xmm0
addss xmm1, dword [0x1015cb18]
push ecx
mov ecx, edi
addss xmm1, dword [esp + 0x58]
addss xmm0, xmm1
movss dword [esp + 0x34], xmm1
movss dword [esp + 0xd4], xmm1
movss dword [esp + 0xcc], xmm0
movss xmm0, dword [esp + 0xc]
movss dword [esp + 0xd0], xmm0
movss dword [esp + 0xd8], xmm0
movss xmm0, dword [esp + 0x30]
movss dword [esp], xmm0
push dword [esp + 0x10]
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.1006d580
movss xmm3, dword [esp + 8]
lea eax, [esp + 0xd8]
movss xmm2, dword [0x1016694c]
movaps xmm0, xmm3
addss xmm0, dword [0x1016694c]
addss xmm2, dword [0x1015cb18]
push ecx
mov ecx, edi
movss dword [esp + 0x108], xmm3
movss dword [esp + 0xe0], xmm0
movss xmm0, dword [esp + 0x30]
addss xmm2, dword [esp + 0x34]
movss dword [esp], xmm0
push dword [esp + 0x10]
push eax
lea eax, [esp + 0x10c]
movss dword [esp + 0x4c], xmm2
push eax
movss dword [esp + 0xe8], xmm2
movss dword [esp + 0x110], xmm2
call fcn.1006d580
movss xmm2, dword [esp + 0x40]
addss xmm2, dword [0x1015cb18]
movss xmm0, dword [0x1016694c]
movss xmm3, dword [esp + 8]
addss xmm0, xmm2
movss dword [esp + 0x40], xmm2
movss dword [esp + 0x120], xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x1016694c]
push ecx
movss dword [esp + 0x128], xmm0
lea eax, [esp + 0x124]
movss xmm0, dword [esp + 0x30]
mov ecx, edi
movss dword [esp], xmm0
push dword [esp + 0x10]
movss dword [esp + 0x18], xmm2
push eax
lea eax, [esp + 0x1c]
movss dword [esp + 0x20], xmm3
push eax
call fcn.1006d580
cmp dword [esp + 0x34], 0
movss xmm6, dword [0x1016694c]
movss xmm5, dword [esp + 8]
movaps xmm0, xmm6
mulss xmm0, dword [0x1015c9ec]
movaps xmm2, xmm6
addss xmm2, dword [0x1015cb18]
movaps xmm1, xmm6
mulss xmm1, dword [0x1015c9dc]
addss xmm0, xmm5
addss xmm2, dword [esp + 0x40]
movss dword [esp + 0x6c], xmm0
movaps xmm0, xmm6
mulss xmm0, dword [0x1015c9e4]
movss dword [esp + 0x68], xmm2
addss xmm0, xmm2
movss dword [esp + 0x70], xmm0
movaps xmm0, xmm5
subss xmm0, xmm1
movss dword [esp + 0x74], xmm0
movaps xmm0, xmm6
addss xmm0, xmm2
movss dword [esp + 0x78], xmm0
movaps xmm0, xmm5
addss xmm0, xmm6
movss dword [esp + 0x7c], xmm0
je 0x1005d856
mov edx, dword [esi]
mov ecx, dword [esi + 4]
cmp edx, ecx
jne 0x1005d7eb
inc edx
mov dword [esp + 0x30], edx
test ecx, ecx
je 0x1005d7d9
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x30]
sar eax, 1
add eax, ecx
jmp 0x1005d7de
mov eax, 8
cmp eax, edx
mov ecx, esi
cmovg edx, eax
push edx
call fcn.10036450
mov eax, dword [edi + 0x54]
mov ecx, dword [edi + 0x5c]
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
push dword [esp + 0x11c]
mov dword [ecx + eax*8], edx
mov dword [ecx + eax*8 + 4], esi
lea eax, [esp + 0x7c]
inc dword [edi + 0x54]
lea esi, [edi + 0x54]
push eax
lea eax, [esp + 0x78]
mov ecx, edi
push eax
call fcn.1006cdf0
movss xmm0, dword [esp + 0x2c]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 0
push dword [esp + 0x14]
push dword [esi]
push dword [edi + 0x5c]
call fcn.1006af20
movss xmm5, dword [esp + 8]
movss xmm2, dword [esp + 0x68]
mov dword [esi], 0
movss xmm6, dword [0x1016694c]
movaps xmm4, xmm6
movss dword [esp + 0xe4], xmm5
addss xmm4, dword [0x1015cb18]
movaps xmm1, xmm6
lea eax, [esp + 0xf8]
mulss xmm1, dword [0x1015ca54]
movaps xmm3, xmm6
mulss xmm3, dword [0x1015c9c8]
addss xmm4, xmm2
movaps xmm0, xmm1
movaps xmm2, xmm6
push dword [esp + 0x11c]
push ecx
addss xmm0, xmm4
movss dword [esp + 0xe8], xmm4
addss xmm2, xmm4
mov ecx, edi
movss dword [esp + 0xf0], xmm0
movaps xmm0, xmm3
addss xmm0, xmm5
movss dword [esp + 0x100], xmm2
movss dword [esp + 0xf4], xmm0
movaps xmm0, xmm2
subss xmm0, xmm1
movaps xmm1, xmm5
addss xmm1, xmm6
movss dword [esp + 0xf8], xmm0
movaps xmm0, xmm1
movss dword [esp + 0x104], xmm1
subss xmm0, xmm3
movss dword [esp + 0xfc], xmm0
movss xmm0, dword [esp + 0x34]
movss dword [esp], xmm0
push dword [esp + 0x14]
push eax
lea eax, [esp + 0x100]
push eax
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.1006de80
movss xmm3, dword [0x1016694c]
movss xmm7, dword [0x1015cb18]
movaps xmm0, xmm3
movss xmm5, dword [esp + 8]
addss xmm0, xmm7
mov edx, dword [esp + 0x118]
inc edx
mov dword [esp + 0x118], edx
addss xmm5, xmm0
movss dword [esp + 8], xmm5
cmp edx, 2
jl 0x1005d040
cmp dword [esp + 0x34], 0
movaps xmm2, xmm3
mulss xmm2, dword [0x1015c9e4]
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x4c]
movss dword [esp + 0x10], xmm0
movaps xmm0, xmm2
addss xmm0, xmm5
movss dword [esp + 0x14], xmm0
je 0x1005da03
mov eax, dword [0x1016687c]
cmp eax, 2
jle 0x1005da03
movd xmm1, eax
xorps xmm3, xmm3
cvtdq2ps xmm1, xmm1
dec eax
push eax
push ecx
lea eax, [esp + 0x18]
mov ecx, edi
movaps xmm0, xmm1
subss xmm0, dword [0x1015ca30]
mulss xmm0, dword [0x1015cb04]
divss xmm0, xmm1
movss dword [esp], xmm0
push eax
call fcn.1006c3a0
push dword [esp + 0xc]
mov ecx, edi
push dword [esi]
push dword [edi + 0x5c]
call fcn.1006bbf0
movss xmm5, dword [esp + 8]
movss xmm7, dword [0x1015cb18]
mov dword [esi], 0
movss xmm3, dword [0x1016694c]
push dword [esp + 0x48]
movaps xmm1, xmm3
lea eax, [esp + 0x14]
mulss xmm3, dword [0x1015c9e4]
addss xmm1, xmm7
mov ecx, edi
push dword [esp + 0x10]
movaps xmm0, xmm3
movaps xmm2, xmm3
addss xmm1, dword [esp + 0x54]
push eax
addss xmm0, xmm1
movss dword [esp + 0x124], xmm1
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmm3
addss xmm0, xmm5
movss dword [esp + 0x20], xmm0
call fcn.1006dde0
cmp dword [esp + 0x34], 0
movss xmm3, dword [0x1016694c]
movaps xmm2, xmm3
movaps xmm1, xmm3
addss xmm2, dword [0x1015cb18]
mulss xmm1, dword [0x1015c9e4]
movaps xmm4, xmm3
mulss xmm4, dword [0x1015c9c8]
addss xmm2, dword [esp + 0x118]
movaps xmm0, xmm1
movss dword [esp + 0x11c], xmm1
movss dword [esp + 0x118], xmm4
addss xmm0, xmm2
movss dword [esp + 0x50], xmm2
movss xmm2, dword [esp + 8]
movss dword [esp + 0x10], xmm0
movaps xmm0, xmm1
addss xmm0, xmm2
movss dword [esp + 0x14], xmm0
je 0x1005db57
mov eax, dword [esp + 0x48]
test eax, eax
jg 0x1005dae3
maxss xmm1, xmm4
mov ecx, edi
call fcn.1006ac50
movss xmm4, dword [esp + 0x118]
movd xmm1, eax
movaps xmm3, xmm4
cvtdq2ps xmm1, xmm1
dec eax
mov ecx, edi
push eax
lea eax, [esp + 0x14]
sub esp, 0xc
movss xmm2, dword [esp + 0x12c]
movaps xmm0, xmm1
subss xmm0, dword [0x1015ca30]
mulss xmm0, dword [0x1015cb04]
divss xmm0, xmm1
movss dword [esp + 8], xmm0
mov dword [esp + 4], 0
mov dword [esp], 0xbe99999a
push eax
call fcn.1006c7a0
push dword [esp + 0xc]
mov ecx, edi
push dword [esi]
push dword [edi + 0x5c]
call fcn.1006bbf0
movss xmm2, dword [esp + 8]
mov dword [esi], 0
movss xmm3, dword [0x1016694c]
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
movaps xmm1, xmm3
movss dword [esp + 0x124], xmm2
addss xmm1, dword [0x1015cb18]
movaps xmm0, xmm3
push 0
push ecx
mov dword [esp], 0
mov ecx, edi
addss xmm1, dword [esp + 0x58]
push esi
push eax
lea eax, [esp + 0x130]
push eax
addss xmm0, xmm1
movss dword [esp + 0x12c], xmm1
movss dword [esp + 0x134], xmm1
movss dword [esp + 0x24], xmm0
movaps xmm0, xmm2
addss xmm0, xmm3
movss dword [esp + 0x28], xmm0
call fcn.1006d780
movss xmm1, dword [0x1016694c]
lea eax, [esp + 0x10]
movss xmm5, dword [esp + 8]
movaps xmm2, xmm1
addss xmm2, dword [0x1015cb18]
movaps xmm0, xmm1
movss dword [esp + 0x124], xmm5
push 0
push ecx
mov dword [esp], 0x41200000
mov ecx, edi
addss xmm2, dword [esp + 0x120]
push esi
push eax
lea eax, [esp + 0x130]
push eax
addss xmm0, xmm2
movss dword [esp + 0x12c], xmm2
movss dword [esp + 0x134], xmm2
movss dword [esp + 0x24], xmm0
movaps xmm0, xmm5
addss xmm0, xmm1
movss dword [esp + 0x28], xmm0
call fcn.1006d780
movss xmm1, dword [0x1016694c]
lea eax, [esp + 0x10]
movss xmm3, dword [esp + 8]
movaps xmm2, xmm1
addss xmm2, dword [0x1015cb18]
movaps xmm0, xmm1
movss dword [esp + 0x124], xmm3
push 0x90
push ecx
mov dword [esp], 0x41200000
mov ecx, edi
addss xmm2, dword [esp + 0x120]
push esi
push eax
lea eax, [esp + 0x130]
push eax
addss xmm0, xmm2
movss dword [esp + 0x12c], xmm2
movss dword [esp + 0x134], xmm2
movss dword [esp + 0x24], xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0x28], xmm0
call fcn.1006d780
movss xmm2, dword [0x1016694c]
movss xmm5, dword [esp + 8]
movaps xmm3, xmm2
addss xmm3, dword [0x1015cb18]
movaps xmm1, xmm5
addss xmm1, xmm2
addss xmm3, dword [esp + 0x118]
subss xmm1, dword [0x1015c9e4]
movss dword [esp + 0x54], xmm3
movss dword [esp + 0x58], xmm1
movaps xmm0, xmm2
movss dword [esp + 0x14], xmm1
mulss xmm2, dword [0x1015c9e4]
lea eax, [esp + 0x54]
push esi
push eax
addss xmm0, xmm3
movss dword [esp + 0x12c], xmm5
addss xmm2, xmm3
mov ecx, edi
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x12c]
push eax
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x130], xmm2
call fcn.1006dcd0
movss xmm0, dword [0x1016694c]
lea eax, [esp + 0x10]
movss xmm2, dword [esp + 8]
movaps xmm1, xmm0
addss xmm1, dword [0x1015cb18]
push 0
push ecx
mov dword [esp], 0
mov ecx, edi
push esi
addss xmm1, dword [esp + 0x60]
push eax
lea eax, [esp + 0x130]
movss dword [esp + 0x134], xmm2
push eax
addss xmm0, xmm1
movss dword [esp + 0x12c], xmm1
movss dword [esp + 0x134], xmm1
movss dword [esp + 0x24], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x101664ac]
movss dword [esp + 0x28], xmm0
call fcn.1006d780
movss xmm2, dword [0x1016694c]
lea eax, [esp + 0x10]
addss xmm2, dword [0x1015cb18]
movss xmm0, dword [0x101664ac]
movss xmm3, dword [esp + 8]
push 0
push ecx
addss xmm2, dword [esp + 0x120]
mov dword [esp], 0
mov ecx, edi
push esi
push eax
lea eax, [esp + 0x130]
movss dword [esp + 0x134], xmm3
addss xmm0, xmm2
movss dword [esp + 0x58], xmm2
push eax
movss dword [esp + 0x134], xmm2
movss dword [esp + 0x24], xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x1016694c]
movss dword [esp + 0x28], xmm0
call fcn.1006d780
movss xmm1, dword [esp + 0x48]
lea eax, [esp + 0x10]
addss xmm1, dword [0x1015cb34]
movss xmm2, dword [esp + 8]
push 0
push ecx
mov dword [esp], 0
movaps xmm0, xmm1
movss dword [esp + 0x50], xmm1
addss xmm0, dword [0x1015ca30]
push esi
movss dword [esp + 0x12c], xmm1
movss dword [esp + 0x130], xmm2
push eax
movss dword [esp + 0x20], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x1015ca30]
movss dword [esp + 0x24], xmm0
lea eax, [esp + 0x130]
mov ecx, edi
push eax
call fcn.1006d780
movss xmm1, dword [0x1016694c]
lea eax, [esp + 0x10]
movss xmm3, dword [esp + 8]
movaps xmm2, xmm1
addss xmm2, dword [esp + 0x48]
movaps xmm0, xmm1
movss dword [esp + 0x124], xmm3
push 0xff00ff00
push 0xff00ffff
push 0xff0000ff
addss xmm0, xmm2
movss dword [esp + 0x12c], xmm2
push 0xff000000
push eax
lea eax, [esp + 0x134]
mov ecx, edi
push eax
movss dword [esp + 0x28], xmm0
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [esp + 0x2c], xmm0
call fcn.1006d8e0
mov ecx, dword [0x10167324]
movss xmm2, dword [0x1016694c]
addss xmm2, dword [0x1015cb18]
mov eax, dword [ecx + 0x4064]
movaps xmm3, xmm2
mulss xmm2, dword [0x1015cad0]
mov byte [eax + 0xe1], 1
mov eax, dword [ecx + 0x4064]
mulss xmm3, dword [0x1015cb1c]
movss dword [esp + 0x14], xmm2
cmp byte [eax + 0xe4], 0
movss dword [esp + 0x10], xmm3
jne 0x1005dfaf
movss xmm1, dword [eax + 0x128]
lea ecx, [esp + 0x10]
movss xmm0, dword [eax + 0x12c]
addss xmm3, xmm1
addss xmm2, xmm0
movss dword [esp + 0x120], xmm1
movss xmm1, dword [0x1015cc50]
movss dword [esp + 0x124], xmm0
movss dword [esp + 0x128], xmm3
movss dword [esp + 0x12c], xmm2
call fcn.10016fc0
push 0
push 0
xor edx, edx
lea ecx, [esp + 0x128]
call fcn.10017120
add esp, 8
mov esi, dword [0x10167324]
mov eax, dword [esi + 0x4064]
mov byte [eax + 0xe1], 1
mov edx, dword [esi + 0x4064]
mov ecx, dword [edx + 0x1e0]
mov eax, dword [edx + 0x1e8]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1d8], eax
lea eax, [ecx - 1]
mov dword [edx + 0x1e0], eax
mov eax, dword [esi + 0x4064]
cmp byte [eax + 0xe4], 0
jne 0x1005e01f
mov edx, dword [esi + 0x4e00]
test edx, edx
je 0x1005e01f
movsx eax, word [edx + 0x74]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 8]
add ecx, ecx
test byte [eax + ecx*8 + 4], 8
jne 0x1005e01f
mov eax, dword [esi + 0x4064]
dec dword [eax + 0x11c]
mov esi, dword [0x10167324]
mov eax, dword [esi + 0x4064]
cmp byte [eax + 0xe4], 0
jne 0x1005ed78
mov esi, dword [esi + 0x4e00]
test esi, esi
je 0x1005ed78
push 0
push 0
push 0
mov edx, str.Canvas
mov ecx, esi
call fcn.100a05c0
add esp, 0xc
test al, al
je 0x1005ed78
movsx eax, word [esi + 0x74]
mov ecx, dword [esi + 8]
lea eax, [eax + eax*2]
add eax, eax
mov ecx, dword [ecx + eax*8]
call fcn.10014ad0
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10167294]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10168678]
cmp eax, dword [ecx + 4]
jle 0x1005e0e1
push 0x10168678
call fcn.10110adc
add esp, 4
cmp dword [0x10168678], 0xffffffff
jne 0x1005e0e1
push 0x101144a0
mov dword [0x10168668], 0
mov dword [0x10168664], 0
mov dword [0x1016866c], 0
call fcn.10111157
add esp, 4
push 0x10168678
call fcn.10110a8b
add esp, 4
mov edx, 0x10166658
mov ecx, str.Enable_grid
call fcn.10086820
mov edx, 0x101667ec
mov ecx, str.Enable_context_menu
call fcn.10086820
push str.Mouse_Left:_drag_to_add_lines__nMouse_Right:_drag_to_scroll__click_for_context_menu.
call fcn.100838c0
mov eax, dword [0x10167324]
add esp, 4
mov dword [esp + 0x34], eax
mov ecx, dword [eax + 0x4064]
mov edx, ecx
cmp dword [edx + 0x1c8], 0
movss xmm3, dword [ecx + 0x128]
movss xmm1, dword [ecx + 0x12c]
movss dword [esp + 0x2c], xmm3
movss dword [esp + 0x120], xmm3
movss dword [esp + 0xc], xmm1
movss dword [esp + 0x124], xmm1
jne 0x1005e162
cmp dword [eax + 0x4db4], 0
mov esi, 0x260
je 0x1005e167
mov esi, 0x230
movss xmm2, dword [esi + edx]
movss xmm0, dword [esi + edx + 4]
subss xmm2, xmm3
movss xmm4, dword [0x1015cb64]
subss xmm0, xmm1
comiss xmm4, xmm2
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x3c], xmm0
jbe 0x1005e1ae
movaps xmm2, xmm4
movss dword [esp + 0x48], xmm2
movss dword [esp + 0x38], xmm2
comiss xmm4, xmm0
jbe 0x1005e1c2
movaps xmm0, xmm4
movss dword [esp + 0x40], xmm0
movss dword [esp + 0x3c], xmm0
mov byte [edx + 0xe1], 1
addss xmm3, xmm2
mov eax, dword [eax + 0x4064]
addss xmm1, xmm0
push 0
push ecx
mov dword [esp], 0
mov edi, dword [eax + 0x2a4]
lea eax, [esp + 0x18]
push 0xff323232
push eax
lea eax, [esp + 0x130]
movss dword [esp + 0x18], xmm3
push eax
mov ecx, edi
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x60], xmm1
movss dword [esp + 0x28], xmm1
call fcn.1006d780
test byte [edi + 0x24], 1
lea eax, [esp + 0x10]
movss xmm2, dword [esp + 0x4c]
xorps xmm3, xmm3
push 0
push eax
lea eax, [esp + 0x128]
mov ecx, edi
push eax
je 0x1005e273
movss xmm1, dword [0x1015c9e4]
movss xmm0, dword [esp + 0x14]
subss xmm2, xmm1
subss xmm0, xmm1
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, xmm1
movss dword [esp + 0x12c], xmm0
movss xmm0, dword [esp + 0x18]
addss xmm0, xmm1
jmp 0x1005e2b4
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [0x1015c9e4]
movss xmm1, dword [esp + 0x14]
subss xmm1, dword [0x1015c9e0]
subss xmm2, dword [0x1015c9e0]
movss dword [esp + 0x12c], xmm0
movss xmm0, dword [esp + 0x18]
addss xmm0, dword [0x1015c9e4]
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x130], xmm0
call fcn.1006d0f0
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.1006af20
push 3
lea edx, [esp + 0x3c]
mov dword [edi + 0x54], 0
mov ecx, str.canvas
call fcn.10084dd0
add esp, 4
xor ecx, ecx
call fcn.100093f0
mov esi, dword [0x10167324]
mov ecx, dword [esi + 0x40b0]
test ecx, ecx
je 0x1005e31f
cmp ecx, dword [esi + 0x49a8]
sete byte [esp + 0x47]
jmp 0x1005e324
mov byte [esp + 0x47], 0
movss xmm0, dword [0x10167a7c]
mov ecx, dword [esp + 0x34]
movss xmm1, dword [0x10167a80]
addss xmm0, dword [esp + 0x2c]
addss xmm1, dword [esp + 0xc]
movss xmm2, dword [ecx + 0xe08]
movss dword [esp + 0x64], xmm0
subss xmm2, xmm0
movss xmm0, dword [ecx + 0xe0c]
movss dword [esp + 0x5c], xmm1
subss xmm0, xmm1
movss dword [esp + 0x38], xmm2
movss dword [esp + 0x3c], xmm0
test al, al
je 0x1005e658
cmp byte [0x1016743b], 0
jne 0x1005e661
cmp byte [esi + 0xe10], 0
xorps xmm1, xmm1
je 0x1005e6a1
movss xmm0, dword [esi + 0x3860]
comiss xmm1, xmm0
ja 0x1005e6a1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1005e6a1
mov edx, 0x28f
mov ecx, esi
call fcn.10002ff0
cmp byte [eax + 8], 0
jne 0x1005e69d
mov ecx, dword [0x10168664]
mov eax, dword [0x10168668]
mov dword [esp + 0x118], 6
mov dword [esp + 0x11c], ecx
cmp ecx, eax
jne 0x1005e4f3
inc ecx
test eax, eax
je 0x1005e406
cdq
sub eax, edx
mov edx, dword [0x10168668]
sar eax, 1
add eax, edx
jmp 0x1005e411
mov edx, dword [0x10168668]
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
mov dword [esp + 0x30], ecx
cmp ecx, edx
jle 0x1005e4ec
shl ecx, 3
call fcn.10009920
mov edx, eax
mov eax, dword [0x1016866c]
mov dword [esp + 0x50], edx
test eax, eax
je 0x1005e4cf
mov ecx, dword [0x10168664]
shl ecx, 3
push ecx
push eax
push edx
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [0x1016866c]
add esp, 0xc
test esi, esi
je 0x1005e4c1
mov ecx, dword [0x10167324]
test ecx, ecx
je 0x1005e4c1
movsx eax, word [ecx + 0x5fa4]
mov edx, dword [ecx + 0x3fe0]
add eax, 0xbf5
mov dword [esp + 0x11c], edx
cmp dword [ecx + eax*8], edx
lea eax, [ecx + eax*8]
je 0x1005e4b7
movsx eax, word [ecx + 0x5fa4]
inc eax
cdq
idiv dword [esp + 0x118]
movzx eax, dx
mov edx, dword [esp + 0x11c]
mov word [ecx + 0x5fa4], ax
cwde
add eax, 0xbf5
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5fa0]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, dword [esp + 0x54]
add esp, 4
mov eax, dword [esp + 0x30]
mov ecx, dword [0x10168664]
mov esi, dword [0x10167324]
mov dword [0x1016866c], edx
mov dword [0x10168668], eax
jmp 0x1005e4f9
mov ecx, dword [esp + 0x11c]
mov edx, dword [0x1016866c]
mov eax, dword [esp + 0x38]
mov dword [edx + ecx*8], eax
mov eax, dword [esp + 0x3c]
mov dword [edx + ecx*8 + 4], eax
mov ecx, dword [0x10168664]
mov eax, dword [0x10168668]
inc ecx
mov dword [0x10168664], ecx
cmp ecx, eax
jne 0x1005e621
lea edx, [ecx + 1]
test eax, eax
je 0x1005e539
cdq
sub eax, edx
lea edx, [ecx + 1]
sar eax, 1
add eax, dword [0x10168668]
jmp 0x1005e53e
mov eax, 8
cmp eax, edx
cmovg edx, eax
mov dword [esp + 0x30], edx
cmp edx, dword [0x10168668]
jle 0x1005e621
lea ecx, [edx*8]
call fcn.10009920
mov edx, eax
mov eax, dword [0x1016866c]
mov dword [esp + 0x50], edx
test eax, eax
je 0x1005e604
mov ecx, dword [0x10168664]
shl ecx, 3
push ecx
push eax
push edx
call sub.VCRUNTIME140.dll_memcpy
mov esi, dword [0x1016866c]
add esp, 0xc
test esi, esi
je 0x1005e5f6
mov ecx, dword [0x10167324]
test ecx, ecx
je 0x1005e5f6
movsx eax, word [ecx + 0x5fa4]
mov edx, dword [ecx + 0x3fe0]
add eax, 0xbf5
mov dword [esp + 0x11c], edx
cmp dword [ecx + eax*8], edx
lea eax, [ecx + eax*8]
je 0x1005e5ec
movsx eax, word [ecx + 0x5fa4]
inc eax
cdq
idiv dword [esp + 0x118]
movzx eax, dx
mov edx, dword [esp + 0x11c]
mov word [ecx + 0x5fa4], ax
cwde
add eax, 0xbf5
lea eax, [ecx + eax*8]
mov dword [eax], edx
xor edx, edx
mov dword [eax + 4], edx
inc word [eax + 6]
inc dword [ecx + 0x5fa0]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov edx, dword [esp + 0x54]
add esp, 4
mov eax, dword [esp + 0x30]
mov ecx, dword [0x10168664]
mov esi, dword [0x10167324]
mov dword [0x1016866c], edx
mov dword [0x10168668], eax
jmp 0x1005e627
mov edx, dword [0x1016866c]
mov eax, dword [esp + 0x38]
movss xmm2, dword [esp + 0x38]
movss xmm0, dword [esp + 0x3c]
mov dword [edx + ecx*8], eax
mov eax, dword [esp + 0x3c]
mov dword [edx + ecx*8 + 4], eax
mov ecx, dword [0x10168664]
inc ecx
mov byte [0x1016743b], 1
mov dword [0x10168664], ecx
jmp 0x1005e667
cmp byte [0x1016743b], 0
je 0x1005e6b4
mov ecx, dword [0x10168664]
mov eax, dword [0x1016866c]
movss dword [eax + ecx*8 - 8], xmm2
movss dword [eax + ecx*8 - 4], xmm0
cmp byte [esi + 0xe10], 0
je 0x1005e693
mov edx, 0x28f
mov ecx, esi
call fcn.10002ff0
cmp byte [eax + 8], 0
je 0x1005e69a
mov byte [0x1016743b], 0
xorps xmm1, xmm1
mov ecx, dword [esp + 0x34]
cmp byte [0x101667ec], 0
je 0x1005e6b9
movss xmm2, dword [0x1015cc50]
jmp 0x1005e6bc
xorps xmm1, xmm1
jmp 0x1005e6a1
xorps xmm2, xmm2
cmp byte [esp + 0x47], 0
je 0x1005e71c
cmp byte [esi + 0xe11], 0
je 0x1005e71c
comiss xmm1, xmm2
jbe 0x1005e6d6
movss xmm2, dword [esi + 0x60]
movss xmm0, dword [esi + 0x38b4]
mulss xmm2, xmm2
comiss xmm0, xmm2
setae al
test al, al
je 0x1005e71c
movss xmm0, dword [0x10167a7c]
addss xmm0, dword [ecx + 0xb4]
movss dword [0x10167a7c], xmm0
movss xmm0, dword [0x10167a80]
addss xmm0, dword [ecx + 0xb8]
movss dword [0x10167a80], xmm0
cmp byte [esi + 0xe11], 0
movss xmm2, dword [esi + 0x60]
jne 0x1005e733
cmp byte [esi + 0x384f], 0
je 0x1005e7aa
movss xmm0, dword [esi + 0x38b4]
mulss xmm2, xmm2
comiss xmm0, xmm2
jb 0x1005e7aa
lea ecx, [esi + 0xe08]
mov eax, ecx
test ecx, ecx
jne 0x1005e756
lea eax, [esi + 0xe08]
movss xmm0, dword [eax]
movss xmm2, dword [0x1015cc8c]
comiss xmm0, xmm2
movss xmm3, dword [eax + 4]
jb 0x1005e7aa
comiss xmm3, xmm2
jb 0x1005e7aa
lea eax, [esi + 0x37e4]
mov edx, eax
test eax, eax
jne 0x1005e783
lea edx, [esi + 0xe08]
movss xmm0, dword [edx]
comiss xmm0, xmm2
movss xmm3, dword [edx + 4]
jb 0x1005e7aa
comiss xmm3, xmm2
jb 0x1005e7aa
movss xmm0, dword [ecx]
movss xmm2, dword [ecx + 4]
subss xmm0, dword [eax]
subss xmm2, dword [eax + 4]
jmp 0x1005e7b0
xorps xmm0, xmm0
xorps xmm2, xmm2
cmp byte [0x101667ec], 0
je 0x1005e860
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1005e860
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jp 0x1005e860
mov ecx, dword [esi + 0x4064]
mov dword [esp + 0x118], ecx
mov ecx, 1
call fcn.100152a0
test al, al
je 0x1005e860
mov ecx, 0x20
call fcn.100093f0
test al, al
je 0x1005e85a
mov eax, dword [esp + 0x118]
xor edx, edx
mov ecx, dword [eax + 0x11c]
mov eax, dword [eax + 0x124]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.10003fd0
mov ecx, dword [esp + 0x11c]
mov esi, eax
add esp, 4
mov ecx, dword [ecx]
cmp dword [ecx + 0x4098], esi
jne 0x1005e84e
push ecx
push str.context
mov edx, 0xb
mov ecx, esi
call fcn.10034370
add esp, 8
mov edx, 1
mov ecx, esi
call fcn.10018740
mov esi, dword [0x10167324]
mov eax, dword [esi + 0x4ab8]
cmp eax, dword [esi + 0x4ac4]
jg 0x1005e87d
mov dword [esi + 0x49e4], 0
jmp 0x1005e9d2
mov esi, dword [esi + 0x4064]
mov ecx, str.context
mov edx, dword [esi + 0x11c]
mov eax, dword [esi + 0x124]
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.10003fd0
mov ecx, dword [esi]
add esp, 4
mov dword [esp + 0x118], eax
cmp dword [ecx + 0x4098], eax
jne 0x1005e8cf
push ecx
push str.context
mov edx, 0xb
mov ecx, eax
call fcn.10034370
mov eax, dword [esp + 0x120]
add esp, 8
mov edx, 0x141
mov ecx, eax
call fcn.10018c00
test al, al
je 0x1005e9d2
cmp byte [0x1016743b], 0
mov esi, dword [0x10168664]
je 0x1005e92e
mov eax, dword [0x10168668]
add esi, 0xfffffffe
cmp esi, eax
jle 0x1005e928
test eax, eax
je 0x1005e911
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [0x10168668]
jmp 0x1005e916
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, 0x10168664
push eax
call fcn.10036450
mov dword [0x10168664], esi
test esi, esi
mov byte [0x1016743b], 0
mov ecx, str.Remove_one
setg byte [esp + 0x118]
push dword [esp + 0x118]
push 0
push 0
call fcn.1009de00
mov esi, dword [0x10168664]
add esp, 0xc
test al, al
je 0x1005e99d
mov eax, dword [0x10168668]
add esi, 0xfffffffe
cmp esi, eax
jle 0x1005e997
test eax, eax
je 0x1005e980
cdq
sub eax, edx
mov ecx, eax
sar ecx, 1
add ecx, dword [0x10168668]
jmp 0x1005e985
mov ecx, 8
cmp ecx, esi
mov eax, esi
cmovg eax, ecx
mov ecx, 0x10168664
push eax
call fcn.10036450
mov dword [0x10168664], esi
test esi, esi
mov ecx, str.Remove_all
setg byte [esp + 0x118]
push dword [esp + 0x118]
push 0
push 0
call fcn.1009de00
add esp, 0xc
test al, al
je 0x1005e9cd
mov ecx, 0x10168664
call fcn.10001070
call fcn.10018ec0
movss xmm0, dword [esp + 0xc]
movss xmm2, dword [esp + 0x2c]
movaps xmm3, xmm0
movss xmm5, dword [esp + 8]
movss xmm4, dword [esp + 0x4c]
movaps xmm6, xmm5
movups xmmword [esp + 0x100], xmm0
movups xmm0, xmmword [edi + 0x60]
movaps xmm7, xmm4
movss dword [esp + 0x10], xmm2
movaps xmmword [esp + 0x120], xmm0
comiss xmm0, xmm2
movups xmm0, xmmword [esp + 0x100]
movss dword [esp + 0x14], xmm3
movss dword [esp + 0x18], xmm6
movss dword [esp + 0x1c], xmm7
jbe 0x1005ea36
movups xmm2, xmmword [edi + 0x60]
movss dword [esp + 0x10], xmm2
movss xmm1, dword [esp + 0x124]
comiss xmm1, xmm0
jbe 0x1005ea4d
movaps xmm3, xmm1
movss dword [esp + 0x14], xmm3
movss xmm0, dword [esp + 0x128]
comiss xmm5, xmm0
jbe 0x1005ea64
movaps xmm6, xmm0
movss dword [esp + 0x18], xmm6
movss xmm0, dword [esp + 0x12c]
comiss xmm4, xmm0
jbe 0x1005ea7b
movaps xmm7, xmm0
movss dword [esp + 0x1c], xmm7
comiss xmm2, xmm6
jb 0x1005ea86
movss dword [esp + 0x18], xmm2
comiss xmm3, xmm7
jb 0x1005ea91
movss dword [esp + 0x1c], xmm3
mov edx, dword [edi + 0x3c]
mov ecx, dword [edi + 0x40]
cmp edx, ecx
jne 0x1005eacc
inc edx
mov dword [esp + 0x118], edx
test ecx, ecx
je 0x1005eab9
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x118]
sar eax, 1
add eax, ecx
jmp 0x1005eabe
mov eax, 8
cmp eax, edx
lea ecx, [edi + 0x3c]
cmovg edx, eax
push edx
call fcn.10035f70
mov eax, dword [edi + 0x3c]
mov ecx, edi
movaps xmm0, xmmword [esp + 0x10]
shl eax, 4
add eax, dword [edi + 0x44]
movups xmmword [eax], xmm0
inc dword [edi + 0x3c]
movups xmmword [edi + 0x60], xmm0
call fcn.1006ab30
cmp byte [0x10166658], 0
je 0x1005ec7b
movss xmm0, dword [0x10167a7c]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
fld qword [esp + 0x10]
fld qword [0x1015cad8]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm1, dword [esp + 0x48]
fstp dword [esp + 0x118]
movss xmm0, dword [esp + 0x118]
comiss xmm1, xmm0
movss dword [esp + 0x118], xmm0
jbe 0x1005ebbb
movss xmm2, dword [esp + 0x4c]
movss xmm1, dword [esp + 0xc]
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x124], xmm1
nop dword [eax + eax]
addss xmm0, dword [esp + 0x2c]
push ecx
mov dword [esp], 0x3f800000
lea eax, [esp + 0x14]
push 0x28c8c8c8
push eax
lea eax, [esp + 0x12c]
movss dword [esp + 0x1c], xmm0
push eax
mov ecx, edi
movss dword [esp + 0x130], xmm0
call fcn.1006d580
movss xmm0, dword [esp + 0x118]
addss xmm0, dword [0x1015cb6c]
movss xmm1, dword [esp + 0x48]
comiss xmm1, xmm0
movss dword [esp + 0x118], xmm0
ja 0x1005eb60
movss xmm0, dword [0x10167a80]
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x10], xmm0
fld qword [esp + 0x10]
fld qword [0x1015cad8]
call sub.api_ms_win_crt_math_l1_1_0.dll__CIfmod
movss xmm1, dword [esp + 0x40]
fstp dword [esp + 0x118]
movss xmm0, dword [esp + 0x118]
comiss xmm1, xmm0
movss dword [esp + 0x118], xmm0
jbe 0x1005ec7b
movss xmm1, dword [esp + 8]
movss dword [esp + 0x10], xmm1
movss xmm1, dword [esp + 0x2c]
movss dword [esp + 0x120], xmm1
nop
addss xmm0, dword [esp + 0xc]
push ecx
mov dword [esp], 0x3f800000
lea eax, [esp + 0x14]
push 0x28c8c8c8
push eax
lea eax, [esp + 0x12c]
movss dword [esp + 0x20], xmm0
push eax
mov ecx, edi
movss dword [esp + 0x134], xmm0
call fcn.1006d580
movss xmm0, dword [esp + 0x118]
addss xmm0, dword [0x1015cb6c]
movss xmm1, dword [esp + 0x40]
comiss xmm1, xmm0
movss dword [esp + 0x118], xmm0
ja 0x1005ec20
xor esi, esi
cmp dword [0x10168664], esi
jle 0x1005ed0e
nop dword [eax]
mov eax, dword [0x1016866c]
movss xmm0, dword [esp + 0x64]
push ecx
mov dword [esp], 0x40000000
mov ecx, edi
addss xmm0, dword [eax + esi*8 + 8]
push 0xff00ffff
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x64]
addss xmm0, dword [eax + esi*8 + 0xc]
movss dword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x6c]
addss xmm0, dword [eax + esi*8]
movss dword [esp + 0x128], xmm0
movss xmm0, dword [esp + 0x64]
addss xmm0, dword [eax + esi*8 + 4]
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x12c]
push eax
movss dword [esp + 0x134], xmm0
call fcn.1006d580
add esi, 2
cmp esi, dword [0x10168664]
jl 0x1005ec90
mov ecx, dword [edi + 0x3c]
sub ecx, 1
mov dword [edi + 0x3c], ecx
jne 0x1005ed21
mov eax, dword [edi + 0x2c]
add eax, 0x18
jmp 0x1005ed2c
mov eax, dword [edi + 0x44]
shl ecx, 4
add eax, 0xfffffff0
add eax, ecx
movups xmm0, xmmword [eax]
mov ecx, edi
movups xmmword [edi + 0x60], xmm0
call fcn.1006ab30
mov esi, dword [0x10167324]
mov eax, dword [esi + 0x4064]
cmp byte [eax + 0xe4], 0
jne 0x1005ed78
mov edx, dword [esi + 0x4e00]
test edx, edx
je 0x1005ed78
movsx eax, word [edx + 0x74]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 8]
add ecx, ecx
test byte [eax + ecx*8 + 4], 8
jne 0x1005ed78
mov eax, dword [esi + 0x4064]
dec dword [eax + 0x11c]
mov esi, dword [0x10167324]
mov eax, dword [esi + 0x4064]
cmp byte [eax + 0xe4], 0
jne 0x1005f064
mov esi, dword [esi + 0x4e00]
test esi, esi
je 0x1005f064
push 0
push 0
push 0
mov edx, str.BG_FG_draw_lists
mov ecx, esi
call fcn.100a05c0
add esp, 0xc
test al, al
je 0x1005f064
movsx eax, word [esi + 0x74]
mov ecx, dword [esi + 8]
lea eax, [eax + eax*2]
add eax, eax
mov ecx, dword [ecx + eax*8]
call fcn.10014ad0
mov edx, 0x10166920
mov ecx, str.Draw_in_Background_draw_list
call fcn.10086820
mov eax, dword [0x10167324]
mov edx, dword [eax + 0x4064]
cmp byte [edx + 0xe4], 0
jne 0x1005ee46
movss xmm1, dword [eax + 0x39a0]
addss xmm1, dword [edx + 0x130]
movss xmm0, dword [edx + 0x134]
movss dword [edx + 0x128], xmm1
movss dword [edx + 0x12c], xmm0
mov eax, dword [edx + 0x158]
mov ecx, dword [edx + 0x15c]
mov dword [edx + 0x150], eax
mov eax, dword [edx + 0x164]
mov dword [edx + 0x154], ecx
mov dword [edx + 0x160], eax
mov byte [edx + 0x168], 1
mov ecx, str.The_Background_draw_list_will_be_rendered_below_every_Dear_ImGui_windows.
call fcn.1002b4b0
mov edx, 0x1016674d
mov ecx, str.Draw_in_Foreground_draw_list
call fcn.10086820
mov eax, dword [0x10167324]
mov edx, dword [eax + 0x4064]
cmp byte [edx + 0xe4], 0
jne 0x1005eec6
movss xmm1, dword [eax + 0x39a0]
addss xmm1, dword [edx + 0x130]
movss xmm0, dword [edx + 0x134]
movss dword [edx + 0x128], xmm1
movss dword [edx + 0x12c], xmm0
mov eax, dword [edx + 0x158]
mov ecx, dword [edx + 0x15c]
mov dword [edx + 0x150], eax
mov eax, dword [edx + 0x164]
mov dword [edx + 0x154], ecx
mov dword [edx + 0x160], eax
mov byte [edx + 0x168], 1
mov ecx, str.The_Foreground_draw_list_will_be_rendered_over_every_Dear_ImGui_windows.
call fcn.1002b4b0
cmp byte [0x10166920], 0
mov eax, dword [0x10167324]
mov ecx, dword [eax + 0x4064]
movss xmm0, dword [ecx + 0x4c]
movss xmm2, dword [ecx + 0x50]
movss dword [esp + 0x5c], xmm0
mulss xmm0, dword [0x1015c9e4]
movss dword [esp + 0x118], xmm2
addss xmm0, dword [ecx + 0x44]
movss dword [esp + 0x54], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x1015c9e4]
addss xmm0, dword [ecx + 0x48]
movss dword [esp + 0x58], xmm0
je 0x1005ef99
mov ecx, dword [ecx + 0x30]
xor edx, edx
push str.Background
call fcn.100099c0
movss xmm0, dword [esp + 0x60]
add esp, 4
mulss xmm0, dword [0x1015c9ec]
mov esi, eax
movss xmm1, dword [0x1015c9e4]
comiss xmm1, xmm0
ja 0x1005ef99
push ecx
subss xmm0, xmm1
mov ecx, esi
push 0x30
push 0
lea eax, [esp + 0x60]
push eax
movaps xmm2, xmm0
call fcn.1006bfc0
mov eax, dword [esi + 0x54]
push ecx
mov dword [esp], 0x41600000
dec eax
push 1
push 0xc80000ff
push eax
push dword [esi + 0x5c]
mov ecx, esi
mov dword [esi + 0x54], eax
call fcn.1006af20
mov dword [esi + 0x54], 0
cmp byte [0x1016674d], 0
je 0x1005f026
mov eax, dword [0x10167324]
mov edx, 1
push str.Foreground
mov eax, dword [eax + 0x4064]
mov ecx, dword [eax + 0x30]
call fcn.100099c0
movss xmm1, dword [esp + 0x11c]
add esp, 4
mulss xmm1, dword [0x1015c9ec]
mov esi, eax
movss xmm0, dword [0x1015c9e4]
comiss xmm0, xmm1
ja 0x1005f026
push ecx
subss xmm1, xmm0
mov ecx, esi
push 0x30
push 0
lea eax, [esp + 0x60]
push eax
movaps xmm2, xmm1
call fcn.1006bfc0
mov eax, dword [esi + 0x54]
push ecx
mov dword [esp], 0x41200000
dec eax
push 1
push 0xc800ff00
push eax
push dword [esi + 0x5c]
mov ecx, esi
mov dword [esi + 0x54], eax
call fcn.1006af20
mov dword [esi + 0x54], 0
mov edx, dword [0x10167324]
mov eax, dword [edx + 0x4064]
cmp byte [eax + 0xe4], 0
jne 0x1005f064
mov esi, dword [edx + 0x4e00]
test esi, esi
je 0x1005f064
movsx eax, word [esi + 0x74]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 8]
add ecx, ecx
test byte [eax + ecx*8 + 4], 8
jne 0x1005f064
mov eax, dword [edx + 0x4064]
dec dword [eax + 0x11c]
mov esi, dword [0x10167324]
mov eax, dword [esi + 0x4064]
cmp byte [eax + 0xe4], 0
jne 0x1005f519
mov esi, dword [esi + 0x4e00]
test esi, esi
je 0x1005f519
push 0
push 0
push 0
mov edx, str.Draw_Channels
mov ecx, esi
call fcn.100a05c0
add esp, 0xc
test al, al
je 0x1005f519
movsx eax, word [esi + 0x74]
mov ecx, dword [esi + 8]
lea eax, [eax + eax*2]
add eax, eax
mov ecx, dword [ecx + eax*8]
call fcn.10014ad0
mov ecx, dword [0x10167324]
push str.Blue_shape_is_drawn_first:_appears_in_back
mov eax, dword [ecx + 0x4064]
mov byte [eax + 0xe1], 1
mov eax, dword [ecx + 0x4064]
mov edi, dword [eax + 0x2a4]
call fcn.100838c0
add esp, 4
push str.Red_shape_is_drawn_after:_appears_in_front
call fcn.100838c0
mov eax, dword [0x10167324]
add esp, 4
mov eax, dword [eax + 0x4064]
push 0
push ecx
mov dword [esp], 0
mov ecx, edi
movss xmm1, dword [eax + 0x128]
movss xmm2, dword [eax + 0x12c]
movaps xmm0, xmm1
addss xmm0, dword [0x1015cb64]
push 0xffff0000
lea eax, [esp + 0x1c]
movss dword [esp + 0x68], xmm1
push eax
lea eax, [esp + 0x130]
movss dword [esp + 0x128], xmm2
movss dword [esp + 0x20], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x1015cb64]
push eax
movss dword [esp + 0x134], xmm1
movss dword [esp + 0x138], xmm2
movss dword [esp + 0x28], xmm0
call fcn.1006d780
movss xmm1, dword [esp + 0x5c]
lea eax, [esp + 0x10]
movss xmm2, dword [esp + 0x118]
movaps xmm0, xmm1
addss xmm0, dword [0x1015cb78]
addss xmm1, dword [0x1015cb3c]
push 0
push ecx
mov dword [esp], 0
mov ecx, edi
movss dword [esp + 0x18], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x1015cb78]
addss xmm2, dword [0x1015cb3c]
push 0xff0000ff
push eax
lea eax, [esp + 0x130]
movss dword [esp + 0x130], xmm1
push eax
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x138], xmm2
call fcn.1006d780
mov ecx, dword [0x10167324]
mov dword [esp + 0x10], 0x42960000
mov dword [esp + 0x14], 0x42960000
mov eax, dword [ecx + 0x4064]
mov byte [eax + 0xe1], 1
mov eax, dword [ecx + 0x4064]
cmp byte [eax + 0xe4], 0
jne 0x1005f298
movss xmm0, dword [eax + 0x12c]
lea ecx, [esp + 0x10]
movss xmm2, dword [eax + 0x128]
movaps xmm1, xmm0
addss xmm1, dword [0x1015cb78]
movaps xmm3, xmm2
movss dword [esp + 0x120], xmm2
addss xmm3, dword [0x1015cb78]
movss dword [esp + 0x124], xmm0
movss dword [esp + 0x12c], xmm1
movss xmm1, dword [0x1015cc50]
movss dword [esp + 0x128], xmm3
call fcn.10016fc0
push 0
push 0
xor edx, edx
lea ecx, [esp + 0x128]
call fcn.10017120
mov ecx, dword [0x10167324]
add esp, 8
mov eax, dword [ecx + 0x4064]
cmp byte [eax + 0xe4], 0
jne 0x1005f2d5
mov edx, dword [eax + 0x1d0]
mov ecx, edx
neg ecx
sbb ecx, ecx
add ecx, 2
cmp dword [eax + 0x1c8], 0
je 0x1005f2c8
mov ecx, edx
neg ecx
sbb ecx, ecx
add ecx, 6
movss xmm1, dword [0x1015ca30]
call fcn.10087980
push str.Blue_shape_is_drawn_first__into_channel_1:_appears_in_front
call fcn.100838c0
add esp, 4
push str.Red_shape_is_drawn_after__into_channel_0:_appears_in_back
call fcn.100838c0
mov eax, dword [0x10167324]
add esp, 4
mov eax, dword [eax + 0x4064]
push 2
push ecx
lea ecx, [edi + 0x78]
movss xmm0, dword [eax + 0x128]
movss dword [esp + 0x120], xmm0
movss xmm0, dword [eax + 0x12c]
movss dword [esp + 0x124], xmm0
call fcn.1006e300
push 1
push edi
lea ecx, [edi + 0x78]
call fcn.1006e8f0
movss xmm1, dword [esp + 0x118]
lea eax, [esp + 0x10]
movss xmm2, dword [esp + 0x11c]
movaps xmm0, xmm1
addss xmm0, dword [0x1015cb64]
push 0
push ecx
mov dword [esp], 0
mov ecx, edi
push 0xffff0000
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x1015cb64]
push eax
lea eax, [esp + 0x130]
movss dword [esp + 0x130], xmm1
push eax
movss dword [esp + 0x138], xmm2
movss dword [esp + 0x28], xmm0
call fcn.1006d780
push 0
push edi
lea ecx, [edi + 0x78]
call fcn.1006e8f0
movss xmm1, dword [esp + 0x118]
lea eax, [esp + 0x10]
movss xmm2, dword [esp + 0x11c]
movaps xmm0, xmm1
addss xmm0, dword [0x1015cb78]
addss xmm1, dword [0x1015cb3c]
push 0
push ecx
mov dword [esp], 0
mov ecx, edi
movss dword [esp + 0x18], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x1015cb78]
addss xmm2, dword [0x1015cb3c]
push 0xff0000ff
push eax
lea eax, [esp + 0x130]
movss dword [esp + 0x130], xmm1
push eax
movss dword [esp + 0x28], xmm0
movss dword [esp + 0x138], xmm2
call fcn.1006d780
push edi
lea ecx, [edi + 0x78]
call fcn.1006e440
mov ecx, dword [0x10167324]
mov dword [esp + 0x10], 0x42960000
mov dword [esp + 0x14], 0x42960000
mov eax, dword [ecx + 0x4064]
mov byte [eax + 0xe1], 1
mov eax, dword [ecx + 0x4064]
cmp byte [eax + 0xe4], 0
jne 0x1005f4ce
movss xmm3, dword [eax + 0x128]
lea ecx, [esp + 0x10]
movss xmm0, dword [eax + 0x12c]
movaps xmm4, xmm3
addss xmm4, dword [0x1015cb78]
movss xmm1, dword [0x1015cc50]
movaps xmm2, xmm0
addss xmm2, dword [0x1015cb78]
movss dword [esp + 0x120], xmm3
movss dword [esp + 0x124], xmm0
movss dword [esp + 0x128], xmm4
movss dword [esp + 0x12c], xmm2
call fcn.10016fc0
push 0
push 0
xor edx, edx
lea ecx, [esp + 0x128]
call fcn.10017120
add esp, 8
push str.After_reordering__contents_of_channel_0_appears_below_channel_1.
call fcn.100838c0
mov edx, dword [0x10167324]
add esp, 4
mov eax, dword [edx + 0x4064]
cmp byte [eax + 0xe4], 0
jne 0x1005f519
mov esi, dword [edx + 0x4e00]
test esi, esi
je 0x1005f519
movsx eax, word [esi + 0x74]
lea ecx, [eax + eax*2]
mov eax, dword [esi + 8]
add ecx, ecx
test byte [eax + ecx*8 + 4], 8
jne 0x1005f519
mov eax, dword [edx + 0x4064]
dec dword [eax + 0x11c]
call fcn.1009ed60
call fcn.10013850
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
xor ecx, esp
call fcn.10110a52
mov esp, ebp
pop ebp
ret