Function at 0x41cc9e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a73fa
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x438
mov dword [ebp - 0x398], ecx
cmp dword [ebp + 8], 0
jne 0x41ccd0
or eax, 0xffffffff
jmp 0x41d21d
lea eax, [ebp - 0x110]
push eax
push 0x103
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x110]
push ecx
push 0x4c06b4
lea edx, [ebp - 0x214]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov eax, dword [ebp - 0x398]
mov ecx, dword [eax + 0x1fc]
mov dword [ebp - 0x39c], ecx
cmp dword [ebp - 0x39c], 3
ja case.default.0x41cd23
mov edx, dword [ebp - 0x39c]
jmp dword [edx*4 + 0x41d22d]
mov eax, dword [ebp - 0x398]
cmp dword [eax + 0xbac], 0
jne 0x41cde1
push ecx
mov ecx, esp
mov dword [ebp - 0x344], esp
lea edx, [ebp - 0x214]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x3a0], eax
mov eax, dword [ebp - 0x3a0]
mov dword [ebp - 0x3a4], eax
mov dword [ebp - 4], 0
push ecx
mov ecx, esp
mov dword [ebp - 0x348], esp
push str.XiaoLiChi_XiePo
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x3a8], eax
mov ecx, dword [ebp - 0x3a8]
mov dword [ebp - 0x3ac], ecx
mov byte [ebp - 4], 1
push ecx
mov ecx, esp
mov dword [ebp - 0x34c], esp
push 0x4c06dc
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x3b0], eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.JsTools3D.dll_int___cdecl_SaveResouceDataToFile_class_CString__class_CString__class_CString_]
add esp, 0xc
mov dword [ebp - 0x3b4], eax
cmp dword [ebp - 0x3b4], 1
jne 0x41cddc
lea edx, [ebp - 0x214]
push edx
mov ecx, dword [ebp + 8]
call dword [sym.imp.JsTools3D.dll_public:_int___thiscall_DXF::Read_FileDxf_To_Mem_char__]
jmp 0x41ce80
push ecx
mov ecx, esp
mov dword [ebp - 0x350], esp
lea eax, [ebp - 0x214]
push eax
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x3b8], eax
mov ecx, dword [ebp - 0x3b8]
mov dword [ebp - 0x3bc], ecx
mov dword [ebp - 4], 2
push ecx
mov ecx, esp
mov dword [ebp - 0x354], esp
push str.XiaoLiChi_DieKan
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x3c0], eax
mov edx, dword [ebp - 0x3c0]
mov dword [ebp - 0x3c4], edx
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x358], esp
push 0x4c06f4
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x3c8], eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.JsTools3D.dll_int___cdecl_SaveResouceDataToFile_class_CString__class_CString__class_CString_]
add esp, 0xc
mov dword [ebp - 0x3cc], eax
cmp dword [ebp - 0x3cc], 1
jne 0x41ce80
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.JsTools3D.dll_public:_int___thiscall_DXF::Read_FileDxf_To_Mem_char__]
jmp case.default.0x41cd23
mov ecx, dword [ebp - 0x398]
cmp dword [ecx + 0xbac], 0
jne 0x41cf3c
push ecx
mov ecx, esp
mov dword [ebp - 0x35c], esp
lea edx, [ebp - 0x214]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x3d0], eax
mov eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x3d4], eax
mov dword [ebp - 4], 4
push ecx
mov ecx, esp
mov dword [ebp - 0x360], esp
push str.XiaoLiKan_XiePo
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x3d8], eax
mov ecx, dword [ebp - 0x3d8]
mov dword [ebp - 0x3dc], ecx
mov byte [ebp - 4], 5
push ecx
mov ecx, esp
mov dword [ebp - 0x364], esp
push 0x4c0708
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x3e0], eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.JsTools3D.dll_int___cdecl_SaveResouceDataToFile_class_CString__class_CString__class_CString_]
add esp, 0xc
mov dword [ebp - 0x3e4], eax
cmp dword [ebp - 0x3e4], 1
jne 0x41cf37
lea edx, [ebp - 0x214]
push edx
mov ecx, dword [ebp + 8]
call dword [sym.imp.JsTools3D.dll_public:_int___thiscall_DXF::Read_FileDxf_To_Mem_char__]
jmp 0x41cfdb
push ecx
mov ecx, esp
mov dword [ebp - 0x368], esp
lea eax, [ebp - 0x214]
push eax
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x3e8], eax
mov ecx, dword [ebp - 0x3e8]
mov dword [ebp - 0x3ec], ecx
mov dword [ebp - 4], 6
push ecx
mov ecx, esp
mov dword [ebp - 0x36c], esp
push str.XiaoLiKan_DieKan
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x3f0], eax
mov edx, dword [ebp - 0x3f0]
mov dword [ebp - 0x3f4], edx
mov byte [ebp - 4], 7
push ecx
mov ecx, esp
mov dword [ebp - 0x370], esp
push 0x4c0720
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x3f8], eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.JsTools3D.dll_int___cdecl_SaveResouceDataToFile_class_CString__class_CString__class_CString_]
add esp, 0xc
mov dword [ebp - 0x3fc], eax
cmp dword [ebp - 0x3fc], 1
jne 0x41cfdb
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.JsTools3D.dll_public:_int___thiscall_DXF::Read_FileDxf_To_Mem_char__]
jmp case.default.0x41cd23
mov ecx, dword [ebp - 0x398]
cmp dword [ecx + 0xbac], 0
jne 0x41d097
push ecx
mov ecx, esp
mov dword [ebp - 0x374], esp
lea edx, [ebp - 0x214]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x400], eax
mov eax, dword [ebp - 0x400]
mov dword [ebp - 0x404], eax
mov dword [ebp - 4], 8
push ecx
mov ecx, esp
mov dword [ebp - 0x378], esp
push str.ZongHeXLC_XiePo
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x408], eax
mov ecx, dword [ebp - 0x408]
mov dword [ebp - 0x40c], ecx
mov byte [ebp - 4], 9
push ecx
mov ecx, esp
mov dword [ebp - 0x37c], esp
push 0x4c0734
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x410], eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.JsTools3D.dll_int___cdecl_SaveResouceDataToFile_class_CString__class_CString__class_CString_]
add esp, 0xc
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 1
jne 0x41d092
lea edx, [ebp - 0x214]
push edx
mov ecx, dword [ebp + 8]
call dword [sym.imp.JsTools3D.dll_public:_int___thiscall_DXF::Read_FileDxf_To_Mem_char__]
jmp 0x41d136
push ecx
mov ecx, esp
mov dword [ebp - 0x380], esp
lea eax, [ebp - 0x214]
push eax
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x418], eax
mov ecx, dword [ebp - 0x418]
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 4], 0xa
push ecx
mov ecx, esp
mov dword [ebp - 0x384], esp
push str.ZongHeXLC_DieKan
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x420], eax
mov edx, dword [ebp - 0x420]
mov dword [ebp - 0x424], edx
mov byte [ebp - 4], 0xb
push ecx
mov ecx, esp
mov dword [ebp - 0x388], esp
push 0x4c074c
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.JsTools3D.dll_int___cdecl_SaveResouceDataToFile_class_CString__class_CString__class_CString_]
add esp, 0xc
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 1
jne 0x41d136
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.JsTools3D.dll_public:_int___thiscall_DXF::Read_FileDxf_To_Mem_char__]
jmp case.default.0x41cd23
push ecx
mov ecx, esp
mov dword [ebp - 0x38c], esp
lea edx, [ebp - 0x214]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x430], eax
mov eax, dword [ebp - 0x430]
mov dword [ebp - 0x434], eax
mov dword [ebp - 4], 0xc
push ecx
mov ecx, esp
mov dword [ebp - 0x390], esp
push str.LianXuTiaoLiuBiKan
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x438], eax
mov ecx, dword [ebp - 0x438]
mov dword [ebp - 0x43c], ecx
mov byte [ebp - 4], 0xd
push ecx
mov ecx, esp
mov dword [ebp - 0x394], esp
push 0x4c0764
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x440], eax
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.JsTools3D.dll_int___cdecl_SaveResouceDataToFile_class_CString__class_CString__class_CString_]
add esp, 0xc
mov dword [ebp - 0x444], eax
cmp dword [ebp - 0x444], 1
jne case.default.0x41cd23
lea edx, [ebp - 0x214]
push edx
mov ecx, dword [ebp + 8]
call dword [sym.imp.JsTools3D.dll_public:_int___thiscall_DXF::Read_FileDxf_To_Mem_char__]
mov eax, dword [ebp - 0x398]
mov ecx, dword [eax + 0x90]
push ecx
mov ecx, dword [sym.imp.JsTools3D.dll_class_CString_G_strWorkPath]
call fcn.00402330
push eax
push 0x4c0768
lea edx, [ebp - 0x340]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [ebp - 0x340]
push eax
mov ecx, dword [ebp + 8]
call dword [sym.imp.JsTools3D.dll_public:_int___thiscall_DXF::Write_MemDxf_To_File_char__]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4