Function at 0x1001c6c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d7d84
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x10145188]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xbc], ebx
call dword [0x100ec970]
lea eax, [ebp - 0xac]
push eax
mov dword [ebp - 4], 0
mov esi, dword [sym.imp.Configuration.dll_class_cm_configuration::ConfigurationManager____cdecl_cm_configuration::GetConfigurationManager_void_]
push str.file_save_path
call esi
mov edi, dword [sym.imp.Configuration.dll_public:_bool___thiscall_cm_configuration::ConfigurationManager::get_property_wchar_t_const___class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____]
mov ecx, eax
call edi
push str.Ohter_4
call dword [sym.imp.DuiLib_u.dll_public:_static_wchar_t_const____cdecl_DuiLib::CPaintManagerUI::GetStringById_wchar_t_const__]
add esp, 4
push eax
lea ecx, [ebp - 0xb8]
call dword [0x100ec95c]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0xac]
cmp dword [ecx - 0xc], 0
jne 0x1001c764
lea edx, [ebp - 0xac]
push edx
push str.DesktopPath
call esi
mov ecx, eax
call edi
mov eax, dword [ebp - 0xac]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x1001c8c1
push 3
lea ecx, [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0xac]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
mov eax, dword [eax]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
lea ecx, [ebp - 0xb0]
sete byte [ebp - 0xa5]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
cmp byte [ebp - 0xa5], 0
je 0x1001c7c4
push 0x100f3968
lea ecx, [ebp - 0xac]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov edx, dword [ebp - 0xb8]
mov eax, dword [edx - 0xc]
push eax
lea eax, [ebp - 0xb0]
push eax
lea ecx, [ebp - 0xac]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Right]
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xb8]
push ecx
mov ecx, eax
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
lea ecx, [ebp - 0xb0]
setne byte [ebp - 0xa5]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
cmp byte [ebp - 0xa5], 0
je 0x1001c882
push 1
lea edx, [ebp - 0xb0]
push edx
lea ecx, [ebp - 0xac]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Right]
push 0x100ee440
mov ecx, eax
mov byte [ebp - 4], 3
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Compare]
test eax, eax
lea ecx, [ebp - 0xb0]
setne byte [ebp - 0xa5]
mov byte [ebp - 4], 1
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
cmp byte [ebp - 0xa5], 0
je 0x1001c86f
push 0x100ee440
lea ecx, [ebp - 0xac]
call dword [0x100ec930]
lea eax, [ebp - 0xb8]
push eax
lea ecx, [ebp - 0xac]
call dword [0x100ec92c]
mov ecx, dword [ebp - 0xac]
push ecx
call esi
test eax, eax
jne 0x1001c8c1
push ecx
lea edx, [ebp - 0xac]
mov ecx, esp
mov dword [ebp - 0xb0], esp
push edx
call dword [0x100ec964]
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.Common.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_COMMON::CreateLocation_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____]
add esp, 8
lea ecx, [ebp - 0xb0]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx edx, word [ebp - 0x1a]
movzx eax, word [ebp - 0x1e]
movzx ecx, word [ebp - 0x20]
push edx
mov edx, dword [ebp - 0xac]
push eax
push ecx
push edx
lea esi, [ebx + 0x4ec]
push str._s_d__02d__02d
push esi
call dword [sym.imp.DuiLib_u.dll_public:_int___cdecl_DuiLib::CDuiString::Format_wchar_t_const__]
mov edi, dword [sym.imp.DuiLib_u.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
add esp, 0x18
mov ecx, esi
call edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001c93b
mov ecx, esi
call edi
push ecx
mov ecx, esp
mov dword [ebp - 0xb4], esp
push eax
call dword [0x100ec95c]
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.Common.dll_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______cdecl_COMMON::CreateLocation_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t____]
add esp, 8
lea ecx, [ebp - 0xb0]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
push 0x100ee440
mov ecx, esi
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CDuiString_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__]
push str.Ed_Input
lea ecx, [ebx + 0x2c]
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
push str.Lb_Error
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x570], eax
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CControlUI____thiscall_DuiLib::CPaintManagerUI::FindControl_wchar_t_const__const]
push str.FileSend_92
mov dword [ebx + 0x574], eax
mov edi, 1
call dword [sym.imp.DuiLib_u.dll_public:_static_wchar_t_const____cdecl_DuiLib::CPaintManagerUI::GetStringById_wchar_t_const__]
add esp, 4
push eax
lea ecx, [ebp - 0xa4]
push ecx
mov ecx, esi
call dword [sym.imp.DuiLib_u.dll_public:_class_DuiLib::CDuiString___thiscall_DuiLib::CDuiString::operator_wchar_t_const__]
mov ecx, eax
mov byte [ebp - 4], 4
call dword [sym.imp.DuiLib_u.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::operator_wchar_t_const__void_const]
push eax
lea ecx, [ebp - 0xac]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [ebp - 0xa4]
mov byte [ebp - 4], 1
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
mov edx, dword [ebp - 0xac]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001cb30
lea ecx, [ebp - 0xb4]
call dword [0x100ec970]
push edi
push str.FileSend_92
mov byte [ebp - 4], 5
call dword [sym.imp.DuiLib_u.dll_public:_static_wchar_t_const____cdecl_DuiLib::CPaintManagerUI::GetStringById_wchar_t_const__]
add esp, 4
push eax
lea eax, [ebp - 0xb4]
push str._s_d
push eax
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x10
mov ecx, esi
call dword [sym.imp.DuiLib_u.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
lea ecx, [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0xb4]
mov ebx, eax
call fcn.10001dc0
add esp, 4
push eax
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov edx, dword [ebp - 0xac]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001caf2
lea ecx, [ebp - 0xb4]
inc edi
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0xb4]
call dword [0x100ec970]
push edi
push str.FileSend_92
mov byte [ebp - 4], 5
call dword [sym.imp.DuiLib_u.dll_public:_static_wchar_t_const____cdecl_DuiLib::CPaintManagerUI::GetStringById_wchar_t_const__]
add esp, 4
push eax
lea eax, [ebp - 0xb4]
push str._s_d
push eax
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x10
mov ecx, esi
call dword [sym.imp.DuiLib_u.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
lea ecx, [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0xb4]
mov ebx, eax
call fcn.10001dc0
add esp, 4
push eax
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [ebp - 0xb0]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov edx, dword [ebp - 0xac]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1001ca5b
mov eax, dword [ebp - 0xb4]
mov esi, dword [ebp - 0xbc]
mov ecx, dword [esi + 0x570]
push eax
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CEditUI::SetHint_wchar_t_const__]
mov ecx, dword [esi + 0x570]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xb4]
mov edx, dword [edx + 0xcc]
push eax
call edx
lea ecx, [ebp - 0xb4]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
jmp 0x1001cb6e
mov edi, dword [sym.imp.DuiLib_u.dll_public:_static_wchar_t_const____cdecl_DuiLib::CPaintManagerUI::GetStringById_wchar_t_const__]
push str.FileSend_92
call edi
mov ecx, dword [ebx + 0x570]
add esp, 4
push eax
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CEditUI::SetHint_wchar_t_const__]
mov eax, dword [ebx + 0x570]
mov esi, dword [eax]
push str.FileSend_92
call edi
mov ecx, dword [ebx + 0x570]
mov edx, dword [esi + 0xcc]
add esp, 4
push eax
call edx
lea ecx, [ebp - 0xb8]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
lea ecx, [ebp - 0xac]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_cla]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100d0962
mov esp, ebp
pop ebp
ret