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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, dword [0x1021abec]
sub esp, 0xd8
mov edx, 0x1021ed74
mov ecx, str.Example:_Custom_rendering
push esi
push edi
push 0
mov dword [eax + 0x1a68], 0x43af0000
mov dword [eax + 0x1a6c], 0x440c0000
mov dword [eax + 0x1a40], 4
call fcn.10072bc0
add esp, 4
test al, al
je 0x100c7ea3
mov ecx, dword [0x1021abec]
push str.Primitives
mov eax, dword [ecx + 0x199c]
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x199c]
mov edi, dword [eax + 0x270]
call fcn.1007fea0
mov eax, dword [0x1016f87c]
add esp, 4
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x1061f9a8]
cmp eax, dword [ecx + 4]
jle 0x100c6c33
push 0x1061f9a8
call fcn.100d92a4
add esp, 4
cmp dword [0x1061f9a8], 0xffffffff
jne 0x100c6c33
movaps xmm0, xmmword [0x10151de0]
push 0x1061f9a8
movups xmmword [0x1061f5e0], xmm0
call fcn.100d9253
add esp, 4
movss xmm3, dword [0x10151984]
lea eax, [ebp - 0x40]
push ecx
mov dword [esp], 0x3f800000
mov edx, 4
push str._.0f
push eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x40000000
push eax
push 0x10168dfc
mov ecx, str.Size
mov dword [ebp - 0x40], 0x42900000
call fcn.10084a10
movss xmm3, dword [0x10151958]
lea eax, [ebp - 0x40]
add esp, 0x10
mov edx, 4
mov ecx, str.Thickness
mov dword [ebp - 0x3c], 0x3f800000
mov dword [ebp - 0x40], 0x41000000
mov dword [esp], 0x3f800000
push str._.02f
push eax
lea eax, [ebp - 0x3c]
push eax
push 0x10168af0
call fcn.10084a10
add esp, 0x14
mov edx, 0x1061f5e0
mov ecx, str.Color
push 2
call fcn.1008c1a0
mov eax, dword [0x1021abec]
lea ecx, [ebp - 0x20]
movups xmm0, xmmword [0x1061f5e0]
add esp, 4
mov eax, dword [eax + 0x199c]
movups xmmword [ebp - 0x20], xmm0
movss xmm7, dword [eax + 0xc4]
movss xmm6, dword [eax + 0xc8]
call fcn.1006cba0
addss xmm7, dword [0x10151ac0]
addss xmm6, dword [0x10151ac0]
movss xmm3, dword [0x10168dfc]
mov esi, eax
xor eax, eax
mov dword [ebp - 0x48], esi
mov ecx, esi
mov dword [ebp - 0x40], eax
and ecx, 0xff000000
movss dword [ebp - 0x44], xmm7
movss dword [ebp - 4], xmm6
mov dword [ebp - 0x3c], ecx
nop
movss xmm1, dword [0x1015199c]
test eax, eax
jne 0x100c6d46
movss xmm0, dword [0x101519fc]
jmp 0x100c6d4e
movss xmm0, dword [0x10168af0]
movss dword [ebp - 0x10], xmm0
movaps xmm2, xmm3
mulss xmm2, xmm1
movaps xmm0, xmm7
addss xmm0, xmm2
movss dword [ebp - 0x78], xmm0
movaps xmm0, xmm2
addss xmm0, xmm6
movss dword [ebp - 0x74], xmm0
test ecx, ecx
je 0x100c6deb
push 0x14
push ecx
subss xmm2, xmm1
mov dword [esp], 0x40bf0243
lea eax, [ebp - 0x78]
xorps xmm3, xmm3
push eax
mov ecx, edi
call fcn.100a8c20
movss xmm0, dword [ebp - 0x10]
push ecx
movss dword [esp], xmm0
mov ecx, edi
push 1
push dword [ebp - 0x48]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.100a7b30
mov ecx, dword [edi + 0x58]
test ecx, ecx
jns 0x100c6dcf
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.1007f620
movss xmm6, dword [ebp - 4]
movss xmm7, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
mov dword [edi + 0x54], 0
movss xmm3, dword [0x10168dfc]
movaps xmm1, xmm3
movss dword [ebp - 0x84], xmm6
addss xmm1, dword [0x10151ae0]
movaps xmm0, xmm3
lea eax, [ebp - 0x80]
push ecx
addss xmm3, xmm6
addss xmm1, xmm7
movss dword [ebp - 0x7c], xmm3
addss xmm0, xmm1
movss dword [ebp - 8], xmm1
movss dword [ebp - 0x88], xmm1
movss dword [ebp - 0x80], xmm0
movss xmm0, dword [ebp - 0x10]
movss dword [esp], xmm0
push 0xf
push ecx
mov dword [esp], 0
mov ecx, edi
push esi
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.100a9490
movss xmm1, dword [0x10168dfc]
lea eax, [ebp - 0x90]
movaps xmm2, xmm1
movaps xmm0, xmm1
addss xmm2, dword [0x10151ae0]
push ecx
addss xmm2, dword [ebp - 8]
addss xmm0, xmm2
movss dword [ebp - 8], xmm2
movss dword [ebp - 0x98], xmm2
movss dword [ebp - 0x90], xmm0
movss xmm0, dword [ebp - 4]
addss xmm1, xmm0
movss dword [ebp - 0x94], xmm0
movss xmm0, dword [ebp - 0x10]
movss dword [esp], xmm0
push 0xf
push ecx
mov dword [esp], 0x41200000
mov ecx, edi
push esi
push eax
lea eax, [ebp - 0x98]
movss dword [ebp - 0x8c], xmm1
push eax
call fcn.100a9490
movss xmm1, dword [0x10168dfc]
lea eax, [ebp - 0xa0]
movaps xmm2, xmm1
movaps xmm0, xmm1
addss xmm2, dword [0x10151ae0]
push ecx
addss xmm2, dword [ebp - 8]
addss xmm0, xmm2
movss dword [ebp - 8], xmm2
movss dword [ebp - 0xa8], xmm2
movss dword [ebp - 0xa0], xmm0
movss xmm0, dword [ebp - 4]
addss xmm1, xmm0
movss dword [ebp - 0xa4], xmm0
movss xmm0, dword [ebp - 0x10]
movss dword [esp], xmm0
push 9
push ecx
mov dword [esp], 0x41200000
mov ecx, edi
push esi
push eax
lea eax, [ebp - 0xa8]
movss dword [ebp - 0x9c], xmm1
push eax
call fcn.100a9490
movss xmm2, dword [0x10168dfc]
movaps xmm3, xmm2
addss xmm3, dword [0x10151ae0]
addss xmm3, dword [ebp - 8]
movss dword [ebp - 0x70], xmm3
movss xmm4, dword [ebp - 4]
lea eax, [ebp - 0x70]
movaps xmm0, xmm2
movss dword [ebp - 0xb4], xmm4
addss xmm0, xmm3
movaps xmm1, xmm2
mulss xmm2, dword [0x1015199c]
addss xmm1, xmm4
push ecx
mov ecx, edi
movss dword [ebp - 0xb0], xmm0
addss xmm2, xmm3
movss xmm0, dword [ebp - 0x10]
subss xmm1, dword [0x1015199c]
movss dword [esp], xmm0
push esi
push eax
lea eax, [ebp - 0xb0]
movss dword [ebp - 0xb8], xmm2
push eax
lea eax, [ebp - 0xb8]
movss dword [ebp - 0x6c], xmm1
push eax
movss dword [ebp - 0xac], xmm1
call fcn.100a9890
movss xmm0, dword [0x10168dfc]
lea eax, [ebp - 0xc0]
movaps xmm1, xmm0
addss xmm1, dword [0x10151ae0]
push ecx
mov ecx, edi
addss xmm1, dword [ebp - 0x70]
addss xmm0, xmm1
movss dword [ebp - 8], xmm1
movss dword [ebp - 0xc8], xmm1
movss dword [ebp - 0xc0], xmm0
movss xmm0, dword [ebp - 4]
movss dword [ebp - 0xbc], xmm0
movss dword [ebp - 0xc4], xmm0
movss xmm0, dword [ebp - 0x10]
movss dword [esp], xmm0
push esi
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.100a9350
movss xmm0, dword [0x10168dfc]
lea eax, [ebp - 0xd0]
movss xmm2, dword [ebp - 4]
movaps xmm1, xmm0
addss xmm1, dword [0x10151ae0]
addss xmm0, xmm2
movss dword [ebp - 0xd4], xmm2
push ecx
mov ecx, edi
addss xmm1, dword [ebp - 8]
movss dword [ebp - 0xcc], xmm0
movss xmm0, dword [ebp - 0x10]
movss dword [esp], xmm0
push esi
push eax
lea eax, [ebp - 0xd8]
movss dword [ebp - 8], xmm1
push eax
movss dword [ebp - 0xd0], xmm1
movss dword [ebp - 0xd8], xmm1
call fcn.100a9350
movss xmm2, dword [ebp - 8]
addss xmm2, dword [0x10151ae0]
movss xmm1, dword [0x10168dfc]
movaps xmm0, xmm1
push ecx
addss xmm0, xmm2
movss dword [ebp - 8], xmm2
movss dword [ebp - 0x18], xmm2
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 4]
addss xmm1, xmm0
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ebp - 0x10]
movss dword [ebp - 0x24], xmm1
movss dword [esp], xmm0
lea eax, [ebp - 0x28]
push esi
push eax
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.100a9350
movss xmm3, dword [0x10168dfc]
movss xmm1, dword [ebp - 4]
movaps xmm0, xmm3
addss xmm0, dword [0x10151ae0]
mov ecx, dword [ebp - 0x3c]
movaps xmm4, xmm3
movss dword [ebp - 0x58], xmm1
movaps xmm2, xmm3
mulss xmm2, dword [0x10151a24]
movaps xmm5, xmm3
addss xmm5, xmm1
addss xmm0, dword [ebp - 8]
movss dword [ebp - 0x68], xmm5
movaps xmm6, xmm5
movss dword [ebp - 0x5c], xmm0
addss xmm4, xmm0
movss dword [ebp - 0x54], xmm4
subss xmm4, xmm2
addss xmm2, xmm0
movss dword [ebp - 0x34], xmm4
movaps xmm4, xmm3
mulss xmm4, dword [0x1015198c]
movss dword [ebp - 0x60], xmm2
subss xmm6, xmm4
addss xmm4, xmm1
movss dword [ebp - 0x4c], xmm6
movss dword [ebp - 0x64], xmm4
test ecx, ecx
je 0x100c728d
mov esi, dword [edi + 0x58]
lea eax, [edi + 0x54]
mov edx, dword [eax]
cmp edx, esi
jne 0x100c71c8
inc edx
mov dword [ebp - 8], edx
test esi, esi
je 0x100c719f
mov eax, esi
cdq
sub eax, edx
mov edx, dword [ebp - 8]
mov ecx, eax
lea eax, [edi + 0x54]
sar ecx, 1
add ecx, esi
jmp 0x100c71a4
mov ecx, 8
cmp ecx, edx
cmovg edx, ecx
mov ecx, eax
push edx
call fcn.1007f620
movss xmm2, dword [ebp - 0x60]
lea eax, [edi + 0x54]
movss xmm4, dword [ebp - 0x64]
movss xmm5, dword [ebp - 0x68]
movss xmm6, dword [ebp - 0x4c]
mov ecx, dword [eax + 8]
sub esp, 0x18
mov eax, dword [eax]
movaps xmm3, xmm2
mov edx, dword [ebp - 0x5c]
mov esi, dword [ebp - 0x58]
mov dword [ecx + eax*8], edx
xor edx, edx
mov dword [ecx + eax*8 + 4], esi
inc dword [edi + 0x54]
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x5c]
mov esi, dword [edi + 0x54]
movss xmm0, dword [eax + 0x10]
movss dword [esp + 0x14], xmm0
movss xmm0, dword [ebp - 0x54]
movss xmm2, dword [ecx + esi*8 - 4]
movss xmm1, dword [ecx + esi*8 - 8]
lea ecx, [edi + 0x54]
movss dword [esp + 0x10], xmm5
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [esp + 8], xmm6
movss dword [esp + 4], xmm0
movss dword [esp], xmm4
call fcn.100a8d80
movss xmm0, dword [ebp - 0x10]
add esp, 0x14
mov ecx, edi
movss dword [esp], xmm0
push 0
push dword [ebp - 0x48]
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.100a7b30
mov ecx, dword [edi + 0x58]
test ecx, ecx
jns 0x100c7273
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.1007f620
movss xmm1, dword [ebp - 4]
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x3c]
mov dword [edi + 0x54], 0
movss xmm3, dword [0x10168dfc]
mov eax, dword [ebp - 0x40]
movaps xmm6, xmm3
addss xmm6, dword [0x10151ae0]
movss xmm7, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x40], eax
addss xmm6, xmm1
movss dword [ebp - 4], xmm6
cmp eax, 2
jl 0x100c6d30
movaps xmm2, xmm3
movaps xmm0, xmm7
mulss xmm2, dword [0x1015199c]
addss xmm0, xmm2
movss dword [ebp - 0x18], xmm0
movaps xmm0, xmm2
addss xmm0, xmm6
movss dword [ebp - 0x14], xmm0
test esi, 0xff000000
je 0x100c7340
push 0x20
push ecx
lea eax, [ebp - 0x18]
mov dword [esp], 0x40c2c75c
push eax
xorps xmm3, xmm3
mov ecx, edi
call fcn.100a8c20
push esi
push dword [edi + 0x54]
mov ecx, edi
push dword [edi + 0x5c]
call fcn.100a8710
mov ecx, dword [edi + 0x58]
lea eax, [edi + 0x54]
test ecx, ecx
jns 0x100c732d
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.1007f620
lea eax, [edi + 0x54]
movss xmm6, dword [ebp - 4]
mov dword [eax], 0
movss xmm3, dword [0x10168dfc]
movaps xmm1, xmm3
movss dword [ebp - 0x24], xmm6
addss xmm1, dword [0x10151ae0]
push 0xf
push ecx
movaps xmm0, xmm3
mov dword [esp], 0
push esi
addss xmm1, dword [ebp - 0x44]
addss xmm3, xmm6
mov ecx, edi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
addss xmm0, xmm1
movss dword [ebp - 0x34], xmm1
push eax
movss dword [ebp - 0x14], xmm3
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x18], xmm0
call fcn.100a95a0
movss xmm1, dword [0x10168dfc]
lea eax, [ebp - 0x18]
movaps xmm2, xmm1
movaps xmm0, xmm1
addss xmm2, dword [0x10151ae0]
push 0xf
push ecx
mov dword [esp], 0x41200000
mov ecx, edi
push esi
addss xmm2, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
addss xmm0, xmm2
movss dword [ebp - 0x34], xmm2
movss dword [ebp - 0x28], xmm2
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 4]
addss xmm1, xmm0
movss dword [ebp - 0x24], xmm0
movss dword [ebp - 0x14], xmm1
call fcn.100a95a0
movss xmm1, dword [0x10168dfc]
lea eax, [ebp - 0x18]
movaps xmm2, xmm1
movaps xmm0, xmm1
addss xmm2, dword [0x10151ae0]
push 9
push ecx
mov dword [esp], 0x41200000
mov ecx, edi
push esi
addss xmm2, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
addss xmm0, xmm2
movss dword [ebp - 0x34], xmm2
movss dword [ebp - 0x28], xmm2
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 4]
addss xmm1, xmm0
movss dword [ebp - 0x24], xmm0
movss dword [ebp - 0x14], xmm1
call fcn.100a95a0
movss xmm2, dword [0x10168dfc]
movss xmm4, dword [ebp - 4]
movaps xmm3, xmm2
addss xmm3, dword [0x10151ae0]
movaps xmm1, xmm2
movaps xmm0, xmm2
addss xmm1, xmm4
addss xmm3, dword [ebp - 0x34]
subss xmm1, dword [0x1015199c]
addss xmm0, xmm3
movss dword [ebp - 0x5c], xmm3
movss dword [ebp - 0x58], xmm1
movss dword [ebp - 0x14], xmm1
movss dword [ebp - 0x18], xmm0
mulss xmm2, dword [0x1015199c]
lea eax, [ebp - 0x5c]
push esi
push eax
lea eax, [ebp - 0x18]
movss dword [ebp - 0x24], xmm4
addss xmm2, xmm3
mov ecx, edi
push eax
lea eax, [ebp - 0x28]
push eax
movss dword [ebp - 0x28], xmm2
call fcn.100a99d0
movss xmm0, dword [0x10168dfc]
lea eax, [ebp - 0x18]
movss xmm2, dword [ebp - 4]
movaps xmm1, xmm0
addss xmm1, dword [0x10151ae0]
push 0xf
push ecx
mov dword [esp], 0
mov ecx, edi
push esi
addss xmm1, dword [ebp - 0x5c]
push eax
lea eax, [ebp - 0x28]
movss dword [ebp - 0x24], xmm2
push eax
addss xmm0, xmm1
movss dword [ebp - 0x34], xmm1
movss dword [ebp - 0x28], xmm1
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [0x10168af0]
addss xmm0, xmm2
movss dword [ebp - 0x14], xmm0
call fcn.100a95a0
movss xmm1, dword [0x10168dfc]
lea eax, [ebp - 0x18]
movss xmm0, dword [0x10168af0]
movaps xmm2, xmm1
addss xmm2, dword [0x10151ae0]
push 0xf
push ecx
mov dword [esp], 0
mov ecx, edi
push esi
addss xmm2, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
addss xmm0, xmm2
movss dword [ebp - 8], xmm2
movss dword [ebp - 0x28], xmm2
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 4]
addss xmm1, xmm0
movss dword [ebp - 0x24], xmm0
movss dword [ebp - 0x14], xmm1
call fcn.100a95a0
movss xmm1, dword [ebp - 8]
lea eax, [ebp - 0x18]
addss xmm1, dword [0x10151af8]
movss xmm2, dword [ebp - 4]
push 0xf
push ecx
mov dword [esp], 0
mov ecx, edi
movaps xmm0, xmm1
movss dword [ebp - 8], xmm1
addss xmm0, dword [0x101519fc]
push esi
push eax
lea eax, [ebp - 0x28]
movss dword [ebp - 0x28], xmm1
push eax
movss dword [ebp - 0x18], xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x101519fc]
movss dword [ebp - 0x24], xmm2
movss dword [ebp - 0x14], xmm0
call fcn.100a95a0
movss xmm1, dword [0x10168dfc]
lea eax, [ebp - 0x18]
movaps xmm2, xmm1
movaps xmm0, xmm1
addss xmm2, dword [ebp - 8]
push 0xff00ff00
push 0xff00ffff
push 0xff0000ff
push 0xff000000
addss xmm0, xmm2
movss dword [ebp - 0x28], xmm2
push eax
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 4]
addss xmm1, xmm0
movss dword [ebp - 0x24], xmm0
movss dword [ebp - 0x14], xmm1
call fcn.100a9710
mov ecx, dword [0x1021abec]
movss xmm2, dword [0x10168dfc]
addss xmm2, dword [0x10151ae0]
mov eax, dword [ecx + 0x199c]
movaps xmm3, xmm2
mulss xmm2, dword [0x10151a9c]
mov byte [eax + 0x78], 1
mov eax, dword [ecx + 0x199c]
mulss xmm3, dword [0x10151ae0]
cmp byte [eax + 0x7b], 0
jne 0x100c76be
movss xmm1, dword [eax + 0xc4]
lea ecx, [ebp - 0x18]
movss xmm0, dword [eax + 0xc8]
addss xmm3, xmm1
addss xmm2, xmm0
movss dword [ebp - 0x30], xmm1
movss dword [ebp - 0x2c], xmm0
movss dword [ebp - 0x28], xmm3
subss xmm3, xmm1
movss dword [ebp - 0x24], xmm2
xorps xmm1, xmm1
subss xmm2, xmm0
movss dword [ebp - 0x18], xmm3
movss dword [ebp - 0x14], xmm2
call fcn.1006ecd0
push 0
xor edx, edx
lea ecx, [ebp - 0x30]
call fcn.1006edf0
add esp, 4
call fcn.10083740
mov eax, dword fs:[0x2c]
mov edx, dword [0x1016f87c]
mov ecx, dword [eax + edx*4]
mov eax, dword [0x1061f154]
cmp eax, dword [ecx + 4]
jle 0x100c772d
push 0x1061f154
call fcn.100d92a4
add esp, 4
cmp dword [0x1061f154], 0xffffffff
jne 0x100c772d
push 0x101072f0
mov dword [0x1061fac4], 0
mov dword [0x1061fac0], 0
mov dword [0x1061fac8], 0
call fcn.100d91ad
add esp, 4
push 0x1061f154
call fcn.100d9253
add esp, 4
push str.Canvas_example
call fcn.1007fea0
add esp, 4
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
mov ecx, str.Clear
push 0
call fcn.10080c50
add esp, 4
test al, al
je 0x100c779e
mov ecx, dword [0x1061fac8]
test ecx, ecx
je 0x100c779e
mov eax, dword [0x1021abec]
mov dword [0x1061fac4], 0
mov dword [0x1061fac0], 0
test eax, eax
je 0x100c778b
dec dword [eax + 0x394]
push ecx
call fcn.100e02aa
add esp, 4
mov dword [0x1061fac8], 0
cmp dword [0x1061fac0], 2
jl 0x100c77e2
movss xmm1, dword [0x1013df50]
xorps xmm0, xmm0
call fcn.100770c0
push 0
lea edx, [ebp - 0x18]
mov dword [ebp - 0x18], 0
mov ecx, str.Undo
mov dword [ebp - 0x14], 0
call fcn.10080c50
add esp, 4
test al, al
je 0x100c77e2
sub dword [0x1061fac0], 2
push str.Left_click_and_drag_to_add_lines__nRight_click_to_undo
call fcn.1007fea0
mov eax, dword [0x1021abec]
add esp, 4
mov esi, dword [eax + 0x199c]
movss xmm4, dword [esi + 0xc4]
movss xmm3, dword [esi + 0xc8]
movaps xmm6, xmm4
movss xmm5, dword [esi + 0x214]
movaps xmm7, xmm3
mov ecx, dword [esi + 0x1b8]
movss xmm2, dword [esi + 0x210]
movss dword [ebp - 0x10], xmm4
movss dword [ebp - 0x28], xmm4
movss dword [ebp - 4], xmm3
movss dword [ebp - 0x24], xmm3
subss xmm6, dword [esi + 0xc]
subss xmm7, dword [esi + 0x10]
subss xmm5, dword [esi + 0x10]
subss xmm2, dword [esi + 0xc]
test ecx, ecx
je 0x100c788b
mov edx, dword [ecx + 0xc]
movss xmm0, dword [ecx + 0x14]
lea eax, [edx + 1]
test eax, eax
cmovns edx, eax
lea ecx, [edx*8]
sub ecx, edx
mov edx, dword [esi + 0x1b8]
movss xmm2, dword [edx + 0x18]
mov eax, dword [edx + 0x34]
subss xmm2, xmm0
mulss xmm2, dword [eax + ecx*4]
addss xmm2, xmm0
subss xmm2, dword [esi + 0x3c]
movss xmm0, dword [0x10151b3c]
subss xmm2, xmm6
subss xmm5, xmm7
comiss xmm0, xmm2
movss dword [ebp - 8], xmm2
movss dword [ebp - 0x38], xmm2
movss dword [ebp - 0x44], xmm5
movss dword [ebp - 0x34], xmm5
jbe 0x100c78c1
movaps xmm2, xmm0
movss dword [ebp - 8], xmm2
movss dword [ebp - 0x38], xmm2
comiss xmm0, xmm5
jbe 0x100c78d3
movaps xmm5, xmm0
movss dword [ebp - 0x44], xmm5
movss dword [ebp - 0x34], xmm5
movaps xmm0, xmm4
lea eax, [ebp - 0x18]
addss xmm0, xmm2
mov ecx, edi
push 0xff3c3232
push 0xff463c3c
push 0xff3c3232
push 0xff323232
movss dword [ebp - 0x40], xmm0
movss dword [ebp - 0x18], xmm0
movaps xmm0, xmm3
addss xmm0, xmm5
push eax
lea eax, [ebp - 0x28]
push eax
movss dword [ebp - 0x3c], xmm0
movss dword [ebp - 0x14], xmm0
call fcn.100a9710
test byte [edi + 0x24], 1
lea eax, [ebp - 0x18]
movss xmm2, dword [ebp - 0x40]
xorps xmm3, xmm3
movss xmm0, dword [ebp - 0x10]
mov ecx, edi
push 0xf
push eax
lea eax, [ebp - 0x28]
push eax
je 0x100c7965
movss xmm1, dword [0x1015199c]
subss xmm2, xmm1
addss xmm0, xmm1
movss dword [ebp - 0x18], xmm2
movss xmm2, dword [ebp - 0x3c]
movss dword [ebp - 0x28], xmm0
subss xmm2, xmm1
movss xmm0, dword [ebp - 4]
addss xmm0, xmm1
jmp 0x100c7999
subss xmm2, dword [0x10151998]
addss xmm0, dword [0x1015199c]
movss dword [ebp - 0x18], xmm2
movss xmm2, dword [ebp - 0x3c]
subss xmm2, dword [0x10151998]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 4]
addss xmm0, dword [0x1015199c]
movss dword [ebp - 0x14], xmm2
movss dword [ebp - 0x24], xmm0
call fcn.100a9040
push ecx
mov dword [esp], 0x3f800000
mov ecx, edi
push 1
push 0xffffffffffffffff
push dword [edi + 0x54]
push dword [edi + 0x5c]
call fcn.100a7b30
mov ecx, dword [edi + 0x58]
test ecx, ecx
jns 0x100c79e1
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
lea ecx, [edi + 0x54]
call fcn.1007f620
lea edx, [ebp - 0x38]
mov dword [edi + 0x54], 0
mov ecx, str.canvas
mov byte [ebp - 9], 0
call fcn.10080fa0
cmp byte [0x1021ef62], 0
mov ecx, dword [0x1021abec]
movss xmm0, dword [ecx + 0xe4]
subss xmm0, dword [ebp - 0x10]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [ecx + 0xe8]
subss xmm0, dword [ebp - 4]
movss dword [ebp - 0x4c], xmm0
je 0x100c7b21
mov edx, dword [0x1061fac0]
mov eax, dword [0x1061fac4]
mov byte [ebp - 9], 1
mov dword [ebp - 0x34], edx
cmp edx, eax
jne 0x100c7aec
lea esi, [edx + 1]
test eax, eax
je 0x100c7a61
cdq
sub eax, edx
mov edx, dword [ebp - 0x34]
sar eax, 1
add eax, dword [0x1061fac4]
jmp 0x100c7a66
mov eax, 8
cmp eax, esi
cmovg esi, eax
cmp esi, dword [0x1061fac4]
jle 0x100c7aec
test ecx, ecx
je 0x100c7a7d
inc dword [ecx + 0x394]
lea eax, [esi*8]
push eax
call fcn.100de29f
mov edx, dword [0x1061fac8]
add esp, 4
mov dword [ebp - 0x34], eax
test edx, edx
je 0x100c7ad3
mov ecx, dword [0x1061fac0]
shl ecx, 3
push ecx
push edx
push eax
call fcn.100dab50
mov ecx, dword [0x1061fac8]
add esp, 0xc
test ecx, ecx
je 0x100c7ac7
mov eax, dword [0x1021abec]
test eax, eax
je 0x100c7ac7
dec dword [eax + 0x394]
push ecx
call fcn.100e02aa
mov eax, dword [ebp - 0x34]
add esp, 4
mov edx, dword [0x1061fac0]
mov ecx, dword [0x1021abec]
mov dword [0x1061fac8], eax
mov dword [0x1061fac4], esi
jmp 0x100c7af1
mov eax, dword [0x1061fac8]
mov esi, dword [ebp - 0x50]
mov dword [eax + edx*8], esi
mov esi, dword [ebp - 0x4c]
mov dword [eax + edx*8 + 4], esi
mov esi, dword [0x1061fac0]
inc esi
mov dword [0x1061fac0], esi
cmp byte [ecx + 0xec], 0
jne 0x100c7b27
mov byte [ebp - 9], 0
mov byte [0x1021ef62], 0
jmp 0x100c7b27
mov esi, dword [0x1061fac0]
cmp byte [ecx + 0x1b07], 0
mov edx, dword [ecx + 0x199c]
je 0x100c7b58
cmp byte [ecx + 0x1b06], 0
jne 0x100c7b58
mov eax, dword [ecx + 0x1aac]
test eax, eax
je 0x100c7d1e
cmp eax, dword [edx + 0x108]
jmp 0x100c7be6
test byte [edx + 0x10c], 1
je 0x100c7d1e
mov eax, dword [edx + 0x2ec]
cmp dword [ecx + 0x19a4], eax
jne 0x100c7d1e
mov eax, dword [ecx + 0x19bc]
test eax, eax
je 0x100c7b9b
cmp eax, dword [edx + 0x108]
je 0x100c7b9b
cmp byte [ecx + 0x19cd], 0
jne 0x100c7b9b
cmp eax, dword [edx + 0x4c]
jne 0x100c7d1e
mov eax, dword [ecx + 0x1aa8]
test eax, eax
je 0x100c7bca
mov eax, dword [eax + 0x2ec]
test eax, eax
je 0x100c7bca
cmp byte [eax + 0x77], 0
je 0x100c7bca
cmp eax, dword [edx + 0x2ec]
je 0x100c7bca
test dword [eax + 8], 0xc000000
jne 0x100c7d1e
test byte [edx + 0x164], 4
jne 0x100c7d1e
mov eax, dword [edx + 0x108]
cmp eax, dword [edx + 0x4c]
jne 0x100c7bec
cmp byte [edx + 0x78], 0
jne 0x100c7d1e
cmp byte [0x1021ef62], 0
jne 0x100c7cf2
movss xmm0, dword [ecx + 0x40c]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100c7cf2
mov eax, dword [0x1061fac4]
cmp esi, eax
jne 0x100c7ccb
lea edx, [esi + 1]
test eax, eax
je 0x100c7c35
cdq
sub eax, edx
lea edx, [esi + 1]
sar eax, 1
add eax, dword [0x1061fac4]
jmp 0x100c7c3a
mov eax, 8
cmp eax, edx
cmovg edx, eax
mov dword [ebp - 0x54], edx
cmp edx, dword [0x1061fac4]
jle 0x100c7ccb
test ecx, ecx
je 0x100c7c58
inc dword [ecx + 0x394]
lea eax, [edx*8]
push eax
call fcn.100de29f
mov edx, eax
add esp, 4
mov eax, dword [0x1061fac8]
mov dword [ebp - 0x34], edx
test eax, eax
je 0x100c7caf
mov ecx, dword [0x1061fac0]
shl ecx, 3
push ecx
push eax
push edx
call fcn.100dab50
mov ecx, dword [0x1061fac8]
add esp, 0xc
test ecx, ecx
je 0x100c7ca3
mov eax, dword [0x1021abec]
test eax, eax
je 0x100c7ca3
dec dword [eax + 0x394]
push ecx
call fcn.100e02aa
mov edx, dword [ebp - 0x34]
add esp, 4
mov eax, dword [ebp - 0x54]
mov esi, dword [0x1061fac0]
mov ecx, dword [0x1021abec]
mov dword [0x1061fac8], edx
mov dword [0x1061fac4], eax
jmp 0x100c7cd1
mov edx, dword [0x1061fac8]
mov eax, dword [ebp - 0x50]
mov dword [edx + esi*8], eax
mov eax, dword [ebp - 0x4c]
mov dword [edx + esi*8 + 4], eax
mov esi, dword [0x1061fac0]
inc esi
mov byte [0x1021ef62], 1
mov dword [0x1061fac0], esi
movss xmm0, dword [ecx + 0x410]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x100c7d1e
test esi, esi
je 0x100c7d1e
sub esi, 2
mov byte [ebp - 9], 0
mov byte [0x1021ef62], 0
mov dword [0x1061fac0], esi
movss xmm1, dword [ebp - 0x10]
movss xmm0, dword [ebp - 4]
movaps xmm3, xmm1
addss xmm3, dword [ebp - 8]
mov ecx, dword [edi + 0x3c]
movaps xmm2, xmm0
movaps xmm5, xmm1
movaps xmm4, xmm0
movss dword [ebp - 0x20], xmm5
movss dword [ebp - 0x1c], xmm4
movss dword [ebp - 0x18], xmm3
addss xmm2, dword [ebp - 0x44]
movss dword [ebp - 0x14], xmm2
test ecx, ecx
je 0x100c7daa
mov eax, dword [edi + 0x44]
add ecx, ecx
movups xmm6, xmmword [eax + ecx*8 - 0x10]
comiss xmm6, xmm1
movaps xmmword [ebp - 0x30], xmm6
jbe 0x100c7d74
movaps xmm5, xmm6
movss dword [ebp - 0x20], xmm5
movss xmm1, dword [ebp - 0x2c]
comiss xmm1, xmm0
jbe 0x100c7d86
movaps xmm4, xmm1
movss dword [ebp - 0x1c], xmm4
movss xmm0, dword [ebp - 0x28]
comiss xmm3, xmm0
jbe 0x100c7d98
movaps xmm3, xmm0
movss dword [ebp - 0x18], xmm3
movss xmm0, dword [ebp - 0x24]
comiss xmm2, xmm0
jbe 0x100c7daa
movaps xmm2, xmm0
movss dword [ebp - 0x14], xmm2
comiss xmm5, xmm3
jb 0x100c7db4
movss dword [ebp - 0x18], xmm5
comiss xmm4, xmm2
jb 0x100c7dbe
movss dword [ebp - 0x14], xmm4
mov ecx, dword [edi + 0x40]
mov edx, dword [edi + 0x3c]
cmp edx, ecx
jne 0x100c7df1
inc edx
mov dword [ebp - 0x34], edx
test ecx, ecx
je 0x100c7dde
mov eax, ecx
cdq
sub eax, edx
mov edx, dword [ebp - 0x34]
sar eax, 1
add eax, ecx
jmp 0x100c7de3
mov eax, 8
cmp eax, edx
lea ecx, [edi + 0x3c]
cmovg edx, eax
push edx
call fcn.100ad6d0
mov eax, dword [edi + 0x3c]
mov ecx, dword [edi + 0x44]
add eax, eax
movups xmm0, xmmword [ebp - 0x20]
movups xmmword [ecx + eax*8], xmm0
inc dword [edi + 0x3c]
mov ecx, edi
call fcn.100a7290
mov eax, dword [0x1061fac0]
xor esi, esi
dec eax
test eax, eax
jle 0x100c7e8d
nop word [eax + eax]
mov eax, dword [0x1061fac8]
movss xmm0, dword [ebp - 0x10]
push ecx
mov dword [esp], 0x40000000
mov ecx, edi
addss xmm0, dword [eax + esi*8 + 8]
push 0xff00ffff
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 4]
addss xmm0, dword [eax + esi*8 + 0xc]
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ebp - 0x10]
addss xmm0, dword [eax + esi*8]
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 4]
addss xmm0, dword [eax + esi*8 + 4]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
movss dword [ebp - 0x24], xmm0
call fcn.100a9350
mov eax, dword [0x1061fac0]
add esi, 2
dec eax
cmp esi, eax
jl 0x100c7e20
dec dword [edi + 0x3c]
mov ecx, edi
call fcn.100a7290
cmp byte [ebp - 9], 0
je 0x100c7ea3
dec dword [0x1061fac0]
call fcn.10075e30
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret