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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x65afd9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x28], esi
xor edi, edi
mov dword [esp + 0xd8], edi
call fcn.0041093d
mov ebx, eax
lea ecx, [esp + 0x8c]
mov dword [esp + 0x54], ebx
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZData::constructor_void_]
lea ecx, [esp + 0xc]
mov byte [esp + 0xd8], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [esi + 0x268]
push edi
push edi
push 0xf0
push eax
mov byte [esp + 0xe8], 2
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0xc]
push ecx
lea ecx, [esi + 0x2c8]
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.MSVCRT.dll_atof]
fst qword [ebx + 0xae]
fmul qword [0x6710f8]
mov eax, dword [ebx + 0x2d6]
add esp, 4
cmp eax, edi
mov dword [esp + 0x18], eax
fstp qword [esp + 0x4c]
jle 0x54836c
mov eax, dword [ebx + 0x2d2]
mov esi, dword [eax + edi*4]
test esi, esi
je 0x548363
lea ecx, [esi + 4]
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZPointArray::destructor_void_]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jl 0x548344
lea ecx, [ebx + 0x2ce]
push 0xffffffffffffffff
push 0
mov dword [esp + 0x34], ecx
call sub.MFC42.DLL_CPtrArray::SetSize
mov edi, dword [ebx + 0x2fe]
xor esi, esi
test edi, edi
jle 0x5483a4
mov ecx, dword [ebx + 0x2fa]
mov edx, dword [ecx + esi*4]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZObject::Flush_void_]
inc esi
cmp esi, edi
jl 0x54838b
push 0xffffffffffffffff
lea ecx, [ebx + 0x2f6]
push 0
call sub.MFC42.DLL_CPtrArray::SetSize
lea ecx, [esp + 0x60]
call sub.MFC42.DLL_CException::CException
lea ecx, [esp + 0x70]
mov byte [esp + 0xd8], 3
call sub.MFC42.DLL_CString::CString
mov edi, 0x66f06c
push 0
lea ecx, [esp + 0x74]
mov byte [esp + 0xdc], 4
mov dword [esp + 0x64], edi
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0xffffffff
call fcn.0063d7e2
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd8], 5
call sub.MFC42.DLL_CFile::CFile
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x60]
push ecx
push 0
push edx
lea ecx, [esp + 0x88]
mov byte [esp + 0xe4], 6
call sub.MFC42.DLL_CFile::Open
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CFile::GetLength
mov esi, dword [esp + 0x28]
mov dword [esi + 0x1fc], eax
add eax, 4
push eax
call dword [sym.imp.MSVCRT.dll_malloc]
add esp, 4
mov dword [esi + 0x204], eax
test eax, eax
jne 0x5484c0
push eax
push eax
push str.Insufficient_memory_available_
call sub.MFC42.DLL_AfxMessageBox_1
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd8], 5
call fcn.0063dc20
mov dword [esp + 0x60], edi
lea ecx, [esp + 0x70]
mov byte [esp + 0xd8], 7
call fcn.0063d7fa
lea ecx, [esp + 0xc]
mov dword [esp + 0x60], 0x66e8a8
mov byte [esp + 0xd8], 1
call fcn.0063d7fa
mov ecx, dword [esp + 0x94]
mov byte [esp + 0xd8], 0
test ecx, ecx
je 0x548f9d
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x548f9d
mov esi, dword [esp + 0x28]
mov ecx, dword [esi + 0x1fc]
push ecx
push eax
lea ecx, [esp + 0x84]
call sub.MFC42.DLL_CFile::Read
lea ecx, [esp + 0x7c]
call sub.MFC42.DLL_CFile::Close
mov edx, dword [esp + 0x28]
xor eax, eax
xor ecx, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [edx + 0x1fc]
mov dword [esi + 0x200], ecx
xor esi, esi
or edi, 0xffffffff
test eax, eax
mov dword [esp + 0x34], ecx
jle 0x548f2d
jmp 0x548518
mov ebx, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x78]
push eax
call fcn.00407f81
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xdc], 8
call fcn.0063d800
lea ecx, [esp + 0x78]
mov byte [esp + 0xd8], 6
call fcn.0063d7fa
mov ecx, dword [esp + 0xc]
push 0x6bdc68
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x548ef3
push 0x6ac4a4
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
je 0x548588
push 0x6ac4a0
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jne 0x5485f6
mov eax, dword [ebx + 0x2d6]
mov dword [esp + 0x1c], 0
test eax, eax
mov dword [esp + 0x18], eax
jle 0x5485f6
mov edx, dword [ebx + 0x2d2]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + eax*4]
lea eax, [esp + 0xb0]
push eax
mov edx, dword [ecx]
call dword [edx]
fild dword [eax + 8]
fcomp qword [esp + 0x3c]
fnstsw ax
test ah, 1
jne 0x5485e5
mov ecx, dword [ebx + 0x2d2]
mov edx, dword [esp + 0x1c]
mov ecx, dword [ecx + edx*4]
lea edx, [esp + 0xc0]
push edx
mov eax, dword [ecx]
call dword [eax]
fild dword [eax + 8]
fstp qword [esp + 0x3c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jl 0x54859e
push 0x6ac49c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jne 0x54863e
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x74]
push eax
call fcn.00407f81
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0xdc], 9
call fcn.0063d800
lea ecx, [esp + 0x74]
mov byte [esp + 0xd8], 6
call fcn.0063d7fa
jmp 0x548edb
push 0x6ac498
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jne 0x5487a3
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x48]
mov eax, dword [ecx - 8]
lea ecx, [esp + 0xc]
dec eax
push eax
push edx
call sub.MFC42.DLL_CString::Left
push 0x6ac498
lea ecx, [esp + 0x4c]
mov byte [esp + 0xdc], 0xa
call sub.MFC42.DLL_CString::TrimLeft_1
push 0x69f028
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::TrimLeft_1
push 0x69f028
lea ecx, [esp + 0x4c]
call sub.MFC42.DLL_CString::TrimRight_1
push 0x441
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x1c], edi
test edi, edi
mov byte [esp + 0xd8], 0xb
je 0x5486e1
push 0
push 0
push 0
push 0x1b
push 0
lea eax, [esp + 0x24]
push 0
push eax
mov ecx, edi
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZPoint::constructor_class_CPoint___int__struct_ZUnit___int__struct_ZGradData____int___int__]
mov dword [edi], 0x6701d4
mov dword [esp + 0x1c], edi
jmp 0x5486e9
mov dword [esp + 0x1c], 0
push 0x169
mov byte [esp + 0xdc], 0xa
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
xor ecx, ecx
mov byte [esp + 0xd8], 0xc
cmp edi, ecx
je 0x54873c
push ecx
push ecx
push 0x40000000
push ecx
push ecx
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x4c], esp
push edx
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x30]
mov ecx, edi
push eax
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZInfo::constructor_class_ZObject___class_CString__double__double_]
xor ecx, ecx
jmp 0x54873e
xor eax, eax
mov dword [eax + 0x99], ecx
mov dword [eax + 0x91], ecx
mov dword [eax + 0x9d], ecx
lea ecx, [ebx + 0x2f6]
mov dword [eax + 0x95], 0x3ff00000
push eax
mov edx, dword [ecx + 8]
mov byte [esp + 0xdc], 0xa
push edx
call sub.MFC42.DLL_CPtrArray::SetAtGrow
test esi, esi
je 0x548788
lea ecx, [esi + 4]
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZPointArray::destructor_void_]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x48]
xor esi, esi
or edi, 0xffffffff
mov byte [esp + 0xd8], 6
call fcn.0063d7fa
jmp 0x548edb
push 0x6ac494
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jne 0x5488a6
test esi, esi
je 0x548edb
mov ecx, esi
call dword [sym.imp.zmathdll.dll_public:_int___thiscall_ZPolyline::GetPointNum_void_const]
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x18], eax
call dword [edx + 0x14]
fcomp qword [0x66eb10]
fnstsw ax
test ah, 0x41
jne 0x548edb
mov eax, dword [esp + 0x18]
lea ebx, [esi + 4]
dec eax
mov ecx, ebx
push eax
call dword [sym.imp.zmathdll.dll_public:_class_CPoint____thiscall_ZPointArray::operator___int_]
mov ecx, dword [eax + 4]
push ecx
mov ecx, ebx
mov edx, dword [eax]
push edx
push 0
call dword [sym.imp.zmathdll.dll_public:_class_CPoint____thiscall_ZPointArray::operator___int_]
mov ecx, dword [eax + 4]
push ecx
lea ecx, [esp + 0x98]
mov edx, dword [eax]
push edx
call dword [sym.imp.zmathdll.dll_public:_double___thiscall_ZData::M_SPtoP_class_CPoint__class_CPoint_]
fcomp qword [0x66e960]
fnstsw ax
test ah, 1
je 0x548edb
mov ecx, dword [esp + 0x2c]
push esi
mov eax, dword [ecx + 8]
push eax
call sub.MFC42.DLL_CPtrArray::SetAtGrow
push 0x34
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
xor edi, edi
mov byte [esp + 0xd8], 0xd
cmp esi, edi
je 0x548892
push 2
lea ecx, [esi + 4]
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZPointArray::constructor_int_]
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov eax, dword [sym.imp.zmathdll.dll_const_ZPolyline::vftable]
mov dword [esi + 0x30], edi
mov dword [esi], eax
mov dword [esi + 0x24], 1
mov byte [esp + 0xd8], 6
mov edi, 1
jmp 0x548edb
xor esi, esi
mov byte [esp + 0xd8], 6
mov edi, 1
jmp 0x548edb
push 0x6a62ac
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jne 0x548a14
cmp edi, 0xffffffff
jne 0x54894a
push 0x34
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
xor edi, edi
mov byte [esp + 0xd8], 0xe
cmp esi, edi
je 0x54890e
push 2
lea ecx, [esi + 4]
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZPointArray::constructor_int_]
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov ecx, dword [sym.imp.zmathdll.dll_const_ZPolyline::vftable]
mov dword [esi + 0x30], edi
mov dword [esi], ecx
mov dword [esi + 0x24], 1
jmp 0x548910
xor esi, esi
push 0x6a62ac
lea ecx, [esp + 0x10]
mov byte [esp + 0xdc], 6
call sub.MFC42.DLL_CString::TrimLeft_1
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.MSVCRT.dll_atof]
fmul qword [esp + 0x50]
add esp, 4
fadd qword [esp + 0x3c]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x10], eax
jmp 0x548edb
xor ebx, ebx
cmp esi, ebx
je 0x54898f
cmp edi, ebx
je 0x54897d
cmp edi, 1
je 0x54897d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
fcomp qword [0x66eb10]
fnstsw ax
test ah, 0x41
jne 0x54897d
mov ecx, dword [esp + 0x2c]
push esi
mov eax, dword [ecx + 8]
push eax
call sub.MFC42.DLL_CPtrArray::SetAtGrow
jmp 0x54898f
lea ecx, [esi + 4]
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZPointArray::destructor_void_]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
push 0x34
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
cmp esi, ebx
mov byte [esp + 0xd8], 0xf
je 0x5489d6
push 2
lea ecx, [esi + 4]
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZPointArray::constructor_int_]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov ecx, dword [sym.imp.zmathdll.dll_const_ZPolyline::vftable]
mov dword [esi + 0x30], ebx
mov dword [esi], ecx
mov dword [esi + 0x24], 1
jmp 0x5489d8
xor esi, esi
push 0x6a62ac
lea ecx, [esp + 0x10]
mov byte [esp + 0xdc], 6
call sub.MFC42.DLL_CString::TrimLeft_1
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.MSVCRT.dll_atof]
fmul qword [esp + 0x50]
add esp, 4
fadd qword [esp + 0x3c]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x10], eax
xor edi, edi
jmp 0x548edb
push 0x6ac490
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jne 0x548aed
push 0x6ac490
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimLeft_1
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fmul qword [esp + 0x50]
add esp, 4
fadd qword [esp + 0x3c]
call sub.MSVCRT.dll__ftol
cmp edi, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x548a7e
mov eax, dword [ebx + 0x2d6]
xor edi, edi
cmp eax, edi
jle 0x548a88
mov ecx, dword [ebx + 0x2d2]
dec eax
push 1
push eax
mov esi, dword [ecx + eax*4]
mov ecx, dword [esp + 0x34]
call sub.MFC42.DLL_CPtrArray::RemoveAt
mov edi, 2
jmp 0x548edb
push 0x34
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x38], esi
cmp esi, edi
mov byte [esp + 0xd8], 0x10
je 0x548adc
push 2
lea ecx, [esi + 4]
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZPointArray::constructor_int_]
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov edx, dword [sym.imp.zmathdll.dll_const_ZPolyline::vftable]
mov dword [esi + 0x30], edi
mov dword [esi], edx
mov dword [esi + 0x24], 1
mov byte [esp + 0xd8], 6
xor edi, edi
jmp 0x548edb
xor esi, esi
mov byte [esp + 0xd8], 6
xor edi, edi
jmp 0x548edb
push 0x6ac48c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jne 0x548b44
test edi, edi
je 0x548b0d
cmp edi, 2
je 0x548b0d
cmp edi, 3
jne 0x548b44
push 0x6ac48c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimLeft_1
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.MSVCRT.dll_atof]
fmul qword [esp + 0x50]
add esp, 4
fadd qword [esp + 0x3c]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x10], eax
mov edi, 2
jmp 0x548edb
push 0x6ac488
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jne 0x548b97
push 0x6ac488
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimLeft_1
mov ecx, dword [esp + 0xc]
push ecx
call dword [sym.imp.MSVCRT.dll_atof]
fmul qword [esp + 0x50]
add esp, 4
fadd qword [esp + 0x3c]
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x30]
mov edi, 4
add eax, ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0x30], eax
jmp 0x548edb
push 0x6ac484
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Find_2
test eax, eax
jne 0x548be0
push 0x6ac484
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::TrimLeft_1
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.MSVCRT.dll_atof]
fmul qword [esp + 0x50]
add esp, 4
fadd qword [esp + 0x3c]
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x10], eax
mov edi, 6
jmp 0x548edb
mov ecx, dword [esp + 0xc]
mov al, byte [ecx]
cmp al, 0x30
jl 0x548bee
cmp al, 0x39
jle 0x548c2a
cmp al, 0x2d
je 0x548c2a
test esi, esi
je 0x548ed2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
fcomp qword [0x66eb10]
fnstsw ax
test ah, 0x41
jne 0x548ec0
mov ecx, dword [esp + 0x2c]
push esi
mov eax, dword [ecx + 8]
push eax
call sub.MFC42.DLL_CPtrArray::SetAtGrow
xor esi, esi
or edi, 0xffffffff
jmp 0x548edb
test esi, esi
je 0x548edb
push ecx
call dword [sym.imp.MSVCRT.dll_atof]
fmul qword [esp + 0x50]
add esp, 4
cmp edi, 7
ja case.0x548c49.1
jmp dword [edi*4 + 0x548fd4]
call sub.MSVCRT.dll__ftol
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], eax
push ecx
mov ecx, esi
call dword [sym.imp.zmathdll.dll_public:_int___thiscall_ZPolyline::AddPoint_class_CPoint_const__]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov edi, 1
mov eax, dword [ecx + 0x2d6]
test eax, eax
mov dword [esp + 0x18], eax
jle 0x548edb
mov edx, ecx
mov ecx, dword [esp + 0x18]
mov eax, dword [edx + 0x2d2]
mov ebx, dword [eax + ecx*4 - 4]
mov ecx, ebx
call dword [sym.imp.zmathdll.dll_public:_int___thiscall_ZPolyline::GetPointNum_void_const]
dec eax
lea ecx, [ebx + 4]
push eax
call dword [sym.imp.zmathdll.dll_public:_class_CPoint____thiscall_ZPointArray::operator___int_]
mov edx, dword [eax]
push 0
lea ecx, [ebx + 4]
mov dword [esp + 0x5c], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x60], eax
call dword [sym.imp.zmathdll.dll_public:_class_CPoint____thiscall_ZPointArray::operator___int_]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [esp + 0x5c]
mov edx, dword [eax]
mov eax, dword [esp + 0x60]
push edx
push eax
push ecx
lea ecx, [esp + 0x9c]
call dword [sym.imp.zmathdll.dll_public:_double___thiscall_ZData::M_SPtoP_class_CPoint__class_CPoint_]
fcomp qword [0x66e960]
fnstsw ax
test ah, 0x41
jne 0x548edb
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push eax
push ecx
push edx
lea ecx, [esp + 0x9c]
call dword [sym.imp.zmathdll.dll_public:_double___thiscall_ZData::M_SPtoP_class_CPoint__class_CPoint_]
fld qword [esp + 0x4c]
fadd st(0), st(0)
fcompp
fnstsw ax
test ah, 0x41
jne 0x548edb
lea ecx, [esi + 4]
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZPointArray::destructor_void_]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea eax, [esp + 0x10]
mov ecx, ebx
mov esi, ebx
push eax
call dword [sym.imp.zmathdll.dll_public:_int___thiscall_ZPolyline::AddPoint_class_CPoint_const__]
mov ecx, dword [esp + 0x18]
push edi
dec ecx
push ecx
mov ecx, dword [esp + 0x34]
call sub.MFC42.DLL_CPtrArray::RemoveAt
mov edi, 3
jmp 0x548edb
call sub.MSVCRT.dll__ftol
lea edx, [esp + 0x10]
mov ecx, esi
push edx
mov dword [esp + 0x18], eax
call dword [sym.imp.zmathdll.dll_public:_int___thiscall_ZPolyline::AddPoint_class_CPoint_const__]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov edi, 3
jmp 0x548edb
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x10]
add eax, ecx
push edx
mov ecx, esi
mov dword [esp + 0x18], eax
call dword [sym.imp.zmathdll.dll_public:_int___thiscall_ZPolyline::AddPoint_class_CPoint_const__]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov edi, 5
jmp 0x548edb
fadd qword [esp + 0x3c]
call sub.MSVCRT.dll__ftol
mov ecx, dword [esp + 0x30]
mov edi, 4
add eax, ecx
mov dword [esp + 0x10], eax
jmp 0x548edb
call sub.MSVCRT.dll__ftol
mov dword [esp + 0x14], eax
mov edi, 7
jmp 0x548edb
fmul qword [0x66fa40]
sub esp, 8
lea ecx, [esp + 0x94]
fstp qword [esp]
call dword [sym.imp.zmathdll.dll_public:_double___thiscall_ZData::M_Radian_double_]
fstp qword [esp + 0x1c]
push 0x68
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x38], eax
test eax, eax
mov byte [esp + 0xd8], 0x11
je 0x548e59
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push edx
push ecx
lea edx, [esp + 0x18]
lea ecx, [esp + 0x38]
push edx
push ecx
mov ecx, eax
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZArc::constructor_class_CPoint___class_CPoint___double_]
mov dword [esp + 0x1c], eax
jmp 0x548e61
mov dword [esp + 0x1c], 0
mov edi, dword [esp + 0x1c]
mov byte [esp + 0xd8], 6
mov ecx, edi
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZArc::Build_void_]
lea ecx, [esi + 4]
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZPointArray::Flush_void_]
mov ecx, edi
call dword [sym.imp.zmathdll.dll_public:_int___thiscall_ZPolyline::GetPointNum_void_const]
mov ebx, eax
xor edi, edi
test ebx, ebx
jle 0x548eaa
mov edx, dword [esp + 0x1c]
push edi
lea ecx, [edx + 4]
call dword [sym.imp.zmathdll.dll_public:_class_CPoint____thiscall_ZPointArray::operator___int_]
push eax
mov ecx, esi
call dword [sym.imp.zmathdll.dll_public:_int___thiscall_ZPolyline::AddPoint_class_CPoint_const__]
inc edi
cmp edi, ebx
jl 0x548e8e
mov ecx, dword [esp + 0x2c]
push esi
mov eax, dword [ecx + 8]
push eax
call sub.MFC42.DLL_CPtrArray::SetAtGrow
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x548ed2
lea ecx, [esi + 4]
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZPointArray::destructor_void_]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
xor esi, esi
or edi, 0xffffffff
jmp 0x548edb
fstp st(0)
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x200]
mov edx, dword [eax + 0x1fc]
cmp ecx, edx
jl 0x548514
test esi, esi
je 0x548f2d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
fcomp qword [0x66eb10]
fnstsw ax
test ah, 0x41
jne 0x548f1b
mov ecx, dword [esp + 0x2c]
push esi
mov eax, dword [ecx + 8]
push eax
call sub.MFC42.DLL_CPtrArray::SetAtGrow
jmp 0x548f2d
lea ecx, [esi + 4]
call dword [sym.imp.zmathdll.dll_public:_void___thiscall_ZPointArray::destructor_void_]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0x204]
push ecx
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 0x7c]
mov byte [esp + 0xd8], 5
call fcn.0063dc20
mov dword [esp + 0x60], 0x66f06c
lea ecx, [esp + 0x70]
mov byte [esp + 0xd8], 0x12
call fcn.0063d7fa
lea ecx, [esp + 0xc]
mov dword [esp + 0x60], 0x66e8a8
mov byte [esp + 0xd8], 1
call fcn.0063d7fa
mov ecx, dword [esp + 0x94]
mov byte [esp + 0xd8], 0
test ecx, ecx
je 0x548f9d
mov edx, dword [ecx]
push 1
call dword [edx]
lea ecx, [ebp + 8]
mov dword [esp + 0x94], 0
mov dword [esp + 0xd8], 0xffffffff
call fcn.0063d7fa
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4