Function at 0x1001c3c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d7de0
mov eax, dword fs:[0]
push eax
sub esp, 0x94
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 edi, dword [ebp + 8]
push edi
mov esi, ecx
call dword [sym.imp.DuiLib_u.dll_protected_virtual:_void___thiscall_DuiLib::WindowImplBase::OnClick_struct_DuiLib::tagTNotifyUI__]
mov ecx, dword [edi + 0x108]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
lea edx, [ebp - 0x94]
push edx
call eax
push str.Btn_Ok
mov ecx, eax
mov dword [ebp - 4], 0
call dword [sym.imp.DuiLib_u.dll_public:_bool___thiscall_DuiLib::CDuiString::operator_wchar_t_const__const]
mov dword [ebp - 4], 0xffffffff
mov edi, dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
lea ecx, [ebp - 0x94]
mov bl, al
call edi
test bl, bl
je 0x1001c650
mov ecx, dword [esi + 0x570]
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea eax, [ebp - 0x94]
push eax
call edx
mov ecx, eax
mov dword [ebp - 4], 1
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 - 0x98]
call dword [0x100ec95c]
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
call edi
mov eax, dword [ebp - 0x98]
mov eax, dword [eax - 0xc]
test eax, eax
je 0x1001c4f1
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Trim]
mov ecx, dword [ebp - 0x98]
mov eax, dword [ecx - 0xc]
test eax, eax
jne 0x1001c4de
mov edx, dword [esi + 0x574]
mov edi, dword [edx]
push str.FileSend_100
call dword [sym.imp.DuiLib_u.dll_public:_static_wchar_t_const____cdecl_DuiLib::CPaintManagerUI::GetStringById_wchar_t_const__]
mov ecx, dword [esi + 0x574]
add esp, 4
push eax
mov eax, dword [edi + 0x2c]
call eax
mov esi, dword [esi + 0x574]
mov edx, dword [esi]
mov eax, dword [edx + 0xdc]
push 1
mov ecx, esi
call eax
jmp 0x1001c644
mov ecx, dword [esi + 0x570]
call fcn.100b4540
test al, al
je 0x1001c644
lea ecx, [esi + 0x4ec]
call dword [sym.imp.DuiLib_u.dll_public:_int___thiscall_DuiLib::CDuiString::GetLength_void_const]
mov edi, dword [sym.imp.DuiLib_u.dll_public:_static_wchar_t_const____cdecl_DuiLib::CPaintManagerUI::GetStringById_wchar_t_const__]
cmp eax, 0xdc
jle 0x1001c53a
mov ecx, dword [esi + 0x574]
mov ebx, dword [ecx]
push str.FileSend_101
call edi
mov ecx, dword [esi + 0x574]
mov edx, dword [ebx + 0x2c]
add esp, 4
push eax
call edx
mov ecx, dword [esi + 0x574]
mov eax, dword [ecx]
mov edx, dword [eax + 0xdc]
push 1
call edx
mov eax, dword [ebp - 0x98]
cmp dword [eax - 0xc], 0
mov ebx, dword [sym.imp.DuiLib_u.dll_public:_wchar_t_const____thiscall_DuiLib::CDuiString::GetData_void_const]
jne 0x1001c56d
mov ecx, dword [esi + 0x570]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc8]
call eax
mov ecx, eax
call ebx
push eax
lea ecx, [ebp - 0x98]
call dword [sym.imp.mfc100u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
lea ecx, [esi + 0x4ec]
call ebx
lea ecx, [ebp - 0x9c]
push ecx
lea ecx, [ebp - 0x98]
mov ebx, eax
call fcn.10001dc0
add esp, 4
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x9c]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edx
call ebx
test eax, eax
je 0x1001c5aa
push str.FileSend_103
jmp 0x1001c5ee
push ecx
lea eax, [ebp - 0x9c]
mov ecx, esp
mov dword [ebp - 0xa0], esp
push eax
call dword [0x100ec964]
lea ecx, [ebp - 0xa0]
push ecx
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 - 0xa0]
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 - 0x9c]
push edx
call ebx
test eax, eax
jne 0x1001c61b
push str.FileSend_104
mov eax, dword [esi + 0x574]
mov ebx, dword [eax]
call edi
mov ecx, dword [esi + 0x574]
mov edx, dword [ebx + 0x2c]
add esp, 4
push eax
call edx
mov ecx, dword [esi + 0x574]
mov eax, dword [ecx]
mov edx, dword [eax + 0xdc]
push 1
call edx
jmp 0x1001c638
mov eax, dword [ebp - 0x98]
push eax
lea ecx, [esi + 0x468]
call dword [0x100eb228]
push 1
mov ecx, esi
call dword [sym.imp.DuiLib_u.dll_public:_void___thiscall_DuiLib::CWindowWnd::Close_unsigned_int_]
lea ecx, [ebp - 0x9c]
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 - 0x98]
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 4