Function at 0x1000fc50
Capabilities:
Copy file
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x1001e7e2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1dc
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], ebx
call dword [sym.imp.EoRezoTools_17.dll_public:_void___thiscall_CRegistry::constructor_void_]
lea ebp, [edi + 0x140]
lea eax, [esp + 0x4c]
push ebp
push str.Software_
push eax
mov dword [esp + 0x200], ebx
call sub.MFC42.DLL_operator_2
push 0x1002c7c8
lea ecx, [esp + 0x54]
push eax
push ecx
mov byte [esp + 0x200], 1
call sub.MFC42.DLL_operator_1
lea esi, [edi + 0x144]
lea edx, [esp + 0x44]
push esi
push eax
push edx
mov byte [esp + 0x200], 2
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push str.Config
push eax
lea eax, [esp + 0x2c]
push SysReAllocString
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x204], 3
call dword [sym.imp.EoRezoTools_17.dll_public:_class_CString___thiscall_CRegistry::ReadStringKey_struct_HKEY_____char_const___char_const__]
lea ecx, [esp + 0x44]
mov byte [esp + 0x1f4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0x1f4], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x4c]
mov byte [esp + 0x1f4], 5
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x24]
cmp dword [ecx - 8], ebx
jne 0x100101bb
lea ecx, [esp + 0x3c]
call dword [sym.imp.EoRezoTools_17.dll_public:_void___thiscall_CTools::constructor_void_]
lea ecx, [esp + 0x58]
mov byte [esp + 0x1f4], 8
call sub.MFC42.DLL_CFile::CFile
lea edx, [esp + 0x20]
push ebx
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x1fc], 9
call dword [sym.imp.EoRezoTools_17.dll_public:_class_CString___thiscall_CTools::GetAppDataDir_int_]
mov ecx, dword [esi]
lea ebx, [edi + 4]
mov edx, ecx
push ecx
mov ecx, dword [ebp]
push edx
mov edx, dword [eax]
push ecx
push edx
push str._s_s_s_s.cfg
push ebx
mov byte [esp + 0x20c], 0xa
call sub.MFC42.DLL_CString::Format
add esp, 0x18
lea ecx, [esp + 0x20]
mov byte [esp + 0x1f4], 9
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebx]
lea ecx, [esp + 0xd4]
push ecx
push eax
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
jne 0x1000ff53
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_1
lea edx, [esp + 0x2c]
push 1
push edx
lea ecx, [esp + 0x44]
mov byte [esp + 0x1fc], 0xb
call dword [sym.imp.EoRezoTools_17.dll_public:_class_CString___thiscall_CTools::GetAppDataDir_int_]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x1f8], 0xc
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1f4], 0xb
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0xd4]
push eax
push ecx
call sub.MFC42.DLL_CFile::GetStatus
test eax, eax
jne 0x1000fe1d
mov edx, dword [esp + 0x14]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push ebp
lea eax, [esp + 0x4c]
push str.Software_
push eax
call sub.MFC42.DLL_operator_2
push 0x1002c7c8
lea ecx, [esp + 0x58]
push eax
push ecx
mov byte [esp + 0x200], 0xd
call sub.MFC42.DLL_operator_1
push esi
lea edx, [esp + 0x30]
push eax
push edx
mov byte [esp + 0x200], 0xe
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push str.PathInstall
push eax
lea eax, [esp + 0x28]
push reloc.OLEAUT32.dll_SysReAllocString
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x204], 0xf
call dword [sym.imp.EoRezoTools_17.dll_public:_class_CString___thiscall_CRegistry::ReadStringKey_struct_HKEY_____char_const___char_const__]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1f4], 0x13
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0x1f4], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x48]
mov byte [esp + 0x1f4], 0x11
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebx]
lea edx, [esp + 0x20]
push 0x1002c7c8
lea eax, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x44], ecx
call sub.MFC42.DLL_operator_1
push esi
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x200], 0x14
call sub.MFC42.DLL_operator
push str..cfg
lea edx, [esp + 0x20]
push eax
push edx
mov byte [esp + 0x200], 0x15
call sub.MFC42.DLL_operator_1
mov ecx, dword [esp + 0x38]
mov eax, dword [eax]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x1f4], 0x14
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x1f4], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x1f4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x1f4], 9
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebx]
add edi, 0x40
push eax
mov ecx, edi
call dword [sym.imp.EoRezoTools_17.dll_public:_bool___thiscall_CXmlParser::Load_XML_Document_char_const__]
mov ecx, edi
call sym.EoRss.dll_public:_void___thiscall_CXmlEoRss::OrderChannelsByCategory_void_
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_1
push str.Server.cfg
lea edx, [esp + 0x20]
push esi
push edx
mov byte [esp + 0x200], 0x16
call sub.MFC42.DLL_operator_1
mov dword [esp + 0x10], eax
lea eax, [esp + 0x18]
push 0
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x1fc], 0x17
call dword [sym.imp.EoRezoTools_17.dll_public:_class_CString___thiscall_CTools::GetAppDataDir_int_]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
mov byte [esp + 0x1f4], 0x18
mov edx, dword [ecx]
mov ecx, dword [esi]
push edx
mov edx, dword [ebp]
push ecx
push edx
push eax
lea ecx, [esp + 0x40]
push str._s_s_s_s
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0x18
lea ecx, [esp + 0x18]
mov byte [esp + 0x1f4], 0x17
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1f4], 0x16
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x30]
mov ecx, edi
push edx
call sym.EoRss.dll_public:_long_int___thiscall_CXmlEoRss::UpdateRSSFromServer_char_const__
mov ecx, edi
mov dword [esp + 0x10], eax
call sym.EoRss.dll_public:_void___thiscall_CXmlEoRss::OrderChannelsByCategory_void_
mov eax, dword [esp + 0x10]
test eax, eax
jl 0x10010187
push 0x1d0
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x1f4], 0x19
je 0x10010042
push 0
mov ecx, eax
call sym.EoRss.dll_public:_void___thiscall_CDlgOptEoRss::constructor_class_CWnd__
mov dword [esp + 0x14], eax
jmp 0x1001004e
mov dword [esp + 0x14], 0
mov eax, dword [esp + 0x14]
test eax, eax
mov byte [esp + 0x1f4], 0x16
je 0x10010187
push 0
lea ecx, [esp + 0x6c]
mov dword [eax + 0x1b8], edi
call fcn.1000cfd0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x68]
push eax
mov byte [esp + 0x1f8], 0x1a
call fcn.1000d1d0
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CDialog::DoModal
push 0x1002cca4
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::operator_1
push ebp
lea ecx, [esp + 0x20]
push str.Software_
push ecx
call sub.MFC42.DLL_operator_2
push 0x1002c7c8
lea edx, [esp + 0x1c]
push eax
push edx
mov byte [esp + 0x200], 0x1b
call sub.MFC42.DLL_operator_1
push esi
push eax
lea eax, [esp + 0x18]
mov byte [esp + 0x1fc], 0x1c
push eax
call sub.MFC42.DLL_operator
mov ecx, dword [esp + 0x24]
mov eax, dword [eax]
push ecx
push str.Config
push eax
push SysReAllocString
lea ecx, [esp + 0x38]
mov byte [esp + 0x204], 0x1d
call dword [sym.imp.EoRezoTools_17.dll_public:_unsigned_long_int___thiscall_CRegistry::SetStringKey_struct_HKEY_____char_const___char_const___char_const__]
lea ecx, [esp + 0x10]
mov byte [esp + 0x1f4], 0x1c
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov byte [esp + 0x1f4], 0x1b
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1f4], 0x1a
call sub.MFC42.DLL_CString::CString
mov ebx, dword [ebx]
mov ecx, edi
push ebx
call sym.EoRss.dll_public:_int___thiscall_CXmlEoRss::Build_char_const__
mov dword [esp + 0x34], 1
lea edx, [esp + 0xc8]
mov dword [esp + 0xc8], 0x100218ec
mov dword [esp + 0x38], edx
lea ecx, [esp + 0xc8]
mov byte [esp + 0x1f4], 0x1f
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x68]
mov dword [esp + 0xc8], 0x10021900
mov byte [esp + 0x1f4], 0x16
call fcn.1001bf74
lea ecx, [esp + 0x30]
mov byte [esp + 0x1f4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x58]
mov byte [esp + 0x1f4], 8
call fcn.1001c280
lea ecx, [esp + 0x3c]
mov byte [esp + 0x1f4], 5
call dword [sym.imp.EoRezoTools_17.dll_public_virtual:_void___thiscall_CTools::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x1f4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov dword [esp + 0x1f4], 0xffffffff
call dword [sym.imp.EoRezoTools_17.dll_public_virtual:_void___thiscall_CRegistry::destructor_void_]
mov ecx, dword [esp + 0x1ec]
mov eax, dword [esp + 0x34]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1e8
ret