Function at 0x4074c0
Capabilities:
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e39a
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x435700]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push str.CCommunicatorConfig::saveConfig
mov eax, 0x1c
mov ecx, str.._srcCommunicatorConfig.cpp
call fcn.00418730
push eax
push 0x4357bc
lea ecx, [ebp - 0x6c]
call fcn.00405e00
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call dword [sym.imp.mgxml_wrapper.dll_public:_void___thiscall_CXmlDocument::constructor_void_]
push 0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call dword [sym.imp.mgxml_wrapper.dll_public:_void___thiscall_CXmlNode::constructor_class_TiXmlNode__]
push str.__xml_version_1.0__encoding_UTF_8_____Update__
lea ecx, [ebp - 0x30]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push 1
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call dword [sym.imp.mgxml_wrapper.dll_public:_void___thiscall_CXmlDocument::initFromString_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___int_]
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [ebp - 0x70]
call dword [sym.imp.mgxml_wrapper.dll_public:_class_CXmlNode___thiscall_CXmlDocument::getDocumentRoot_void_]
mov edx, dword [eax]
mov dword [ebp - 0x78], edx
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x78]
push ecx
lea edx, [ebp - 0x70]
push edx
mov ecx, edi
mov dword [ebp - 0x74], eax
call fcn.00406db0
mov ecx, edi
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.mgcommon.dll__IsFileExist_4]
test eax, eax
je 0x4075b7
mov ecx, edi
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
test bl, 1
je 0x4075b7
mov ecx, edi
dec ebx
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
lea ecx, [ebp - 0x70]
call dword [sym.imp.mgxml_wrapper.dll_public:_void___thiscall_CXmlDocument::saveToFile_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
mov ecx, edi
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov ecx, edi
or esi, 1
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 1
call dword [sym.imp.mgxml_wrapper.dll_public:_void___thiscall_CXmlDocument::destructor_void_]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0xffffffff
call fcn.00405ea0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041d649
mov esp, ebp
pop ebp
ret