Function at 0x1002ae52
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100395ce
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
mov eax, 0x15a4
call fcn.10036c30
mov dword [ebp - 0x159c], ecx
cmp dword [0x10056160], 0
jne 0x1002aead
call fcn.100134d0
mov dword [ebp - 0x15a0], eax
mov eax, dword [ebp - 0x15a0]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x15a0]
call dword [edx + 0x90]
mov ecx, dword [ebp - 0x159c]
call sym.STools.dll_public:_void___thiscall_CBaseMFrame::SaveGongCheng_void_
mov dword [0x10056160], 0
push 0
lea ecx, [ebp - 0x1394]
call fcn.10030d10
mov dword [ebp - 4], 0
mov ecx, dword [sym.imp.JsTools3D.dll_class_CString_G_strWorkPath]
call fcn.10004600
test eax, eax
je 0x1002af7a
lea eax, [ebp - 0x1588]
push eax
push 0x1ea
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x1588]
push ecx
push 0x10056178
mov edx, dword [sym.imp.JsTools3D.dll_class_CString_G_strWorkPath]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push str._
push 1
lea eax, [ebp - 0x1590]
push eax
mov ecx, dword [sym.imp.JsTools3D.dll_class_CString_G_strWorkPath]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x15a4], eax
mov ecx, dword [ebp - 0x15a4]
mov dword [ebp - 0x15a8], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x15a8]
push edx
call fcn.10006030
mov byte [ebp - 0x158c], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1590]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x158c]
and eax, 0xff
test eax, eax
je 0x1002af7a
push 0x10056180
mov ecx, dword [sym.imp.JsTools3D.dll_class_CString_G_strWorkPath]
call fcn.10035f84
mov ecx, dword [sym.imp.JsTools3D.dll_class_CString_G_strWorkPath]
push ecx
lea ecx, [ebp - 0x12d0]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x1394]
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 1
jne 0x1002b0aa
lea edx, [ebp - 0x12d0]
push edx
mov ecx, dword [sym.imp.JsTools3D.dll_class_CString_G_strWorkPath]
call sub.MFC42.DLL_CString::operator_2
push 0x10056184
push 1
lea eax, [ebp - 0x1598]
push eax
mov ecx, dword [sym.imp.JsTools3D.dll_class_CString_G_strWorkPath]
call sub.MFC42.DLL_CString::Right
mov dword [ebp - 0x15ac], eax
mov ecx, dword [ebp - 0x15ac]
mov dword [ebp - 0x15b0], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x15b0]
push edx
call fcn.10006030
mov byte [ebp - 0x1594], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1598]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1594]
and eax, 0xff
test eax, eax
je 0x1002b021
push 0x10056188
mov ecx, dword [sym.imp.JsTools3D.dll_class_CString_G_strWorkPath]
call fcn.10035f84
mov ecx, dword [sym.imp.JsTools3D.dll_class_CString_G_strWorkPath]
call sym.STools.dll_public:_int___thiscall_Cp_dbl2::get_ID_void_
push eax
mov ecx, dword [sym.STools.dll_class_CGongChengData_G_GongChengData]
push ecx
push 0x1005618c
lea edx, [ebp - 0x200]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x200]
push eax
mov ecx, dword [ebp - 0x159c]
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [ebp - 0x12c8]
push ecx
mov ecx, 0x1005bed4
call sub.MFC42.DLL_CString::operator_2
lea edx, [ebp - 0x12cc]
push edx
mov ecx, 0x1005bed8
call sub.MFC42.DLL_CString::operator_2
lea eax, [ebp - 0x12c4]
push eax
mov ecx, 0x1005bedc
call sub.MFC42.DLL_CString::operator_2
mov ecx, sym.STools.dll_class_CGongChengData_G_GongChengData
call sym.STools.dll_public:_int___thiscall_CGongChengData::ReadData_void_
mov ecx, dword [ebp - 0x159c]
mov dword [ecx + 0xc4], 1
jmp 0x1002b0be
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1394]
call fcn.1002bc60
jmp 0x1002b0db
mov ecx, dword [ebp - 0x159c]
call sym.STools.dll_protected:_void___thiscall_CBaseMFrame::OnGcData_void_
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1394]
call fcn.1002bc60
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret