Function at 0x10014109
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10037ce2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x63c
mov dword [ebp - 0x628], ecx
mov eax, dword [ebp - 0x628]
mov ecx, dword [eax + 0x60]
mov edx, dword [ebp - 0x628]
mov eax, dword [edx + 0x60]
mov edx, dword [eax]
call dword [edx + 0xe4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x628]
mov ecx, dword [eax + 0x60]
mov edx, dword [ebp - 0x628]
mov eax, dword [edx + 0x60]
mov edx, dword [eax]
call dword [edx + 0xec]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x28], 1
jne 0x100143cc
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0xff4], 1
jne 0x100143cc
lea ecx, [ebp - 0x604]
call fcn.10035eca
mov dword [ebp - 4], 0
lea edx, [ebp - 0x610]
push edx
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10]
call dword [edx + 0x18]
mov dword [ebp - 0x62c], eax
mov eax, dword [ebp - 0x62c]
mov dword [ebp - 0x630], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x630]
push ecx
lea ecx, [ebp - 0x604]
call sub.MFC42.DLL_CString::operator_2
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x610]
call sub.MFC42.DLL_CString::CString
mov edx, dword [ebp - 0x604]
push edx
mov eax, dword [sym.imp.JsTools3D.dll_class_CString_G_strWorkPath]
mov ecx, dword [eax]
push ecx
push 0x100558e0
lea edx, [ebp - 0x600]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x24], 0
jne 0x10014244
lea ecx, [ebp - 0x600]
push ecx
mov edx, dword [ebp - 0x628]
mov ecx, dword [edx + 0x60]
mov eax, dword [ebp - 0x628]
mov edx, dword [eax + 0x60]
mov eax, dword [edx]
call dword [eax + 0xe8]
mov dword [ebp - 0x634], eax
mov ecx, dword [ebp - 0x634]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x634]
call dword [edx + 0x10]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x10e0]
push ecx
mov ecx, dword [ebp - 0x10]
call sub.JsTools3D.dll_public:_int___thiscall_CJsDataBase::GetTypeSGT_int_
mov dword [ebp - 0x408], eax
mov edx, dword [ebp - 0x408]
imul edx, edx, 0x350
mov eax, dword [ebp - 0x10]
lea ecx, [eax + edx + 0x2b4]
mov dword [ebp - 0x40c], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x10e4]
push eax
mov ecx, dword [ebp - 0x40c]
call sub.JsTools3D.dll_public:_int___thiscall_CJsDataBase::CTypeSGT::GetCaoZuoSGT_int_
mov dword [ebp - 0x60c], eax
push 0x48d4
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x618], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x618], 0
je 0x100142c8
push 0
mov ecx, dword [ebp - 0x618]
call sub.JsTools3D.dll_public:_void___thiscall_CPenSGT::constructor_class_COptItem__
mov dword [ebp - 0x638], eax
jmp 0x100142d2
mov dword [ebp - 0x638], 0
mov ecx, dword [ebp - 0x638]
mov dword [ebp - 0x614], ecx
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x614]
mov dword [ebp - 0x608], edx
mov eax, dword [ebp - 0x60c]
push eax
mov ecx, dword [ebp - 0x408]
push ecx
mov edx, dword [ebp - 0x608]
push edx
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x18]
call dword [edx + 0x18]
lea eax, [ebp - 0x404]
push eax
push 0x1ea
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x404]
push ecx
push 0x100558e8
lea edx, [ebp - 0x600]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x600]
push eax
mov ecx, dword [ebp - 0x608]
call sub.JsTools3D.dll_public:_int___thiscall_DXF::Write_MemDxf_To_File_char__
test eax, eax
je 0x1001435c
push 1
call sym.STools.dll_void___cdecl_InsDxf_int_
add esp, 4
mov ecx, dword [ebp - 0x608]
mov dword [ebp - 0x620], ecx
mov edx, dword [ebp - 0x620]
mov dword [ebp - 0x61c], edx
cmp dword [ebp - 0x61c], 0
je 0x10014397
push 1
mov eax, dword [ebp - 0x61c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x61c]
call dword [edx]
mov dword [ebp - 0x63c], eax
jmp 0x100143a1
mov dword [ebp - 0x63c], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x24], 0
je 0x100143b5
mov ecx, dword [ebp - 0x628]
call sym.STools.dll_protected:_void___thiscall_CDlgModify::OnStbtnExit_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x604]
call sub.MFC42.DLL_CString::CString
jmp 0x1001453a
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x3c], 0
je 0x100143e0
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
call dword [eax + 8]
lea ecx, [ebp - 0x210]
call fcn.10035eca
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x624]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x10]
call dword [eax + 0x18]
mov dword [ebp - 0x640], eax
mov ecx, dword [ebp - 0x640]
mov dword [ebp - 0x644], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x644]
push edx
lea ecx, [ebp - 0x210]
call sub.MFC42.DLL_CString::operator_2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x624]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x210]
push eax
mov ecx, dword [sym.imp.JsTools3D.dll_class_CString_G_strWorkPath]
mov edx, dword [ecx]
push edx
push 0x100558f8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea ecx, [ebp - 0x20c]
push ecx
mov edx, dword [ebp - 0x628]
mov ecx, dword [edx + 0x60]
mov eax, dword [ebp - 0x628]
mov edx, dword [eax + 0x60]
mov eax, dword [edx]
call dword [eax + 0xe8]
mov dword [ebp - 0x648], eax
mov ecx, dword [ebp - 0x648]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x648]
call dword [edx + 0x10]
mov dword [ebp - 0x14], 0
jmp 0x100144aa
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
cmp edx, dword [ecx + 0x54]
jge 0x100144d9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + eax*4 + 0x148], 0
jne 0x100144c7
jmp 0x100144a1
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
call sub.JsTools3D.dll_public:_int___thiscall_CJiSuanBase::WriteJianTu_class_CJsDataBase___int_
jmp 0x100144a1
mov dword [ebp - 0x14], 0
jmp 0x100144eb
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
cmp eax, dword [edx + 0x1c0]
jge 0x1001451d
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
cmp dword [edx + ecx*4 + 0x23c], 0
jne 0x1001450b
jmp 0x100144e2
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x18]
call sub.JsTools3D.dll_public:_int___thiscall_CJiSuanBase::WriteJiSuanShu_class_CJsDataBase___int_
jmp 0x100144e2
mov ecx, dword [ebp - 0x628]
call sub.MFC42.DLL_CDialog::OnOK
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x210]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret