Function at 0x405670
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x406329
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 8
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4056db
lea ecx, [ebp - 0x1c]
push ecx
call fcn.00405550
add esp, 4
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call fcn.00405cea
jmp 0x4056e7
lea edx, [ebp + 8]
lea ecx, [ebp - 0x18]
push edx
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [ebp - 0x18]
push str.RTXPlugins.xml
push eax
lea ecx, [ebp - 0x14]
push str._s_s
push ecx
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::Format
mov edx, dword [ebp - 0x14]
add esp, 0x10
add esi, 4
push edx
mov ecx, esi
call fcn.00401950
test al, al
jne 0x4057d5
push str.__xml_version_1.0__encoding_GB2312____RTXPlugins___RTXPlugins_
mov ecx, esi
call fcn.004016e0
test al, al
jne 0x4057bb
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.00405cea
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.00405cea
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.00405cea
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.00405cea
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 3
call fcn.00405cea
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.00405cea
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 1
call fcn.00405cea
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0
call fcn.00405cea
lea ecx, [ebp + 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.00405cea
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x1c
mov eax, dword [ebp - 0x14]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.00401a00
mov edx, dword [esi + 0x34]
push 0
push 0
push edx
mov ecx, esi
call fcn.004018f0
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
push eax
push str._RTXPlugins__Plugin__GUID__s__
push ecx
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov ecx, esi
push 0
call fcn.00401a60
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_2
mov edi, dword [sym.imp.MSVCRT.dll__mbsicmp]
mov byte [ebp - 4], 0xc
mov bl, 0xd
push str.Plugin
mov ecx, esi
call fcn.00401ad0
test al, al
je 0x405992
lea edx, [ebp - 0x34]
push str.GUID
push edx
mov ecx, esi
call fcn.00405b80
mov eax, dword [eax + 4]
mov byte [ebp - 4], bl
test eax, eax
jne 0x405855
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
push eax
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator_1
push 1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0xc
call dword [sym.imp.MSVCP60.dll_private:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Tidy_bool_]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x20]
push eax
push ecx
call edi
add esp, 8
test eax, eax
jne 0x405822
mov edx, dword [ebp + 0xc]
mov eax, dword [esi + 0x3c]
push edx
push str.GUID
push eax
mov ecx, esi
call fcn.00402da0
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi + 0x3c]
push ecx
push str.Name
push edx
mov ecx, esi
call fcn.00402da0
mov eax, dword [esi + 0x3c]
push 0x4094fc
push str.Author
push eax
mov ecx, esi
call fcn.00402da0
mov ecx, dword [ebp + 0x14]
mov edx, dword [esi + 0x3c]
push ecx
push str.Version
push edx
mov ecx, esi
call fcn.00402da0
mov eax, dword [ebp + 0x18]
mov ecx, dword [esi + 0x3c]
push eax
push str.Description
push ecx
mov ecx, esi
call fcn.00402da0
mov edx, dword [esi + 0x3c]
push 0x409374
push str.AutoLoad
push edx
mov ecx, esi
call fcn.00402da0
mov eax, dword [esi + 0x3c]
push 0x409364
push str.Uploaded
push eax
mov ecx, esi
call fcn.00402da0
mov ecx, dword [esi + 0x3c]
push 0x4094fc
push str.IconFile
push ecx
mov ecx, esi
call fcn.00402da0
mov edx, dword [ebp + 0x1c]
mov eax, dword [esi + 0x3c]
push edx
push str.Identifier
push eax
mov ecx, esi
call fcn.00402da0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x10]
push ecx
push edx
lea eax, [ebp - 0x1c]
push str.Plugins_s_s
push eax
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::Format
mov ecx, dword [ebp - 0x1c]
mov edx, dword [esi + 0x38]
add esp, 0x10
push 0
push ecx
push edx
mov ecx, esi
call fcn.00403490
mov eax, dword [ebp - 0x14]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.00401a00
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1c]
jmp 0x405ac4
xor al, al
test al, al
jne 0x405ac9
mov ecx, esi
call fcn.00401b40
push 0
push 0
push 0
push str.Plugin
mov ecx, esi
call fcn.00403fe0
mov edx, dword [ebp + 0xc]
mov eax, dword [esi + 0x38]
push edx
push str.GUID
push eax
mov ecx, esi
call fcn.00402da0
mov ecx, dword [ebp + 0x10]
mov edx, dword [esi + 0x38]
push ecx
push str.Name
push edx
mov ecx, esi
call fcn.00402da0
mov eax, dword [esi + 0x38]
push 0x4094fc
push str.Author
push eax
mov ecx, esi
call fcn.00402da0
mov ecx, dword [ebp + 0x14]
mov edx, dword [esi + 0x38]
push ecx
push str.Version
push edx
mov ecx, esi
call fcn.00402da0
mov eax, dword [ebp + 0x18]
mov ecx, dword [esi + 0x38]
push eax
push str.Description
push ecx
mov ecx, esi
call fcn.00402da0
mov edx, dword [esi + 0x38]
push 0x409374
push str.AutoLoad
push edx
mov ecx, esi
call fcn.00402da0
mov eax, dword [esi + 0x38]
push 0x409364
push str.Uploaded
push eax
mov ecx, esi
call fcn.00402da0
mov ecx, dword [esi + 0x38]
push 0x4094fc
push str.IconFile
push ecx
mov ecx, esi
call fcn.00402da0
mov edx, dword [ebp + 0x1c]
mov eax, dword [esi + 0x38]
push edx
push str.Identifier
push eax
mov ecx, esi
call fcn.00402da0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov ecx, dword [ebp + 0x20]
mov edx, dword [ebp + 0x10]
push ecx
push edx
lea eax, [ebp - 0x1c]
push str.Plugins_s_s
push eax
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::Format
add esp, 0x10
push 0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [esi + 0x38]
push ecx
push edx
mov ecx, esi
call fcn.00403490
mov eax, dword [ebp - 0x14]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [ebp - 0x14]
push ecx
mov ecx, esi
call fcn.00401a00
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x1c]
call fcn.00405cea
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call fcn.00405cea
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call fcn.00405cea
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 8
call fcn.00405cea
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.00405cea
lea ecx, [ebp + 8]
mov dword [ebp - 4], 5
call fcn.00405cea
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 4
call fcn.00405cea
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 3
call fcn.00405cea
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 2
call fcn.00405cea
lea ecx, [ebp + 0x18]
mov byte [ebp - 4], 1
call fcn.00405cea
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 0
call fcn.00405cea
lea ecx, [ebp + 0x20]
mov dword [ebp - 4], 0xffffffff
call fcn.00405cea
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, 1
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x1c