Function at 0x403e90
Capabilities:
Copy file
Create directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4069b3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x3c8
push ebx
push esi
mov ebx, ecx
push edi
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ebx
call sub.MFC42.DLL_CString::CString_2
push 0x21
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [ebp - 0x14]
mov ecx, ebx
push eax
push 0x401
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
push 0x40e
mov ecx, ebx
call sub.MFC42.DLL_CWnd::GetDlgItem
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
push 0x9a
push 0
mov ecx, dword [esi + 0x20]
push 0x464
push ecx
mov dword [ebp - 0x30], esi
call edi
mov edx, dword [esi + 0x20]
push 0xffff0000
push 0xffffffffffffffff
push 0x465
push edx
call edi
lea eax, [ebp - 0x1d0]
push eax
call fcn.00405620
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 4
lea ecx, [ebp - 0x1d0]
lea edx, [ebp - 0x2d4]
push ecx
push edx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x2d4]
push str.Backup
push eax
call edi
lea ecx, [ebp - 0x2d4]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x7c]
call fcn.00405ce4
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CException::CException
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_2
push 0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
mov dword [ebp - 0x50], 0x407b70
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xffffffff
call sub.MFC42.DLL_CString::operator
lea edx, [ebp - 0x1d0]
lea eax, [ebp - 0x3d8]
push edx
push eax
mov byte [ebp - 4], 4
call esi
push str.BackupRecover.bat
lea ecx, [ebp - 0x3d8]
push ecx
call edi
mov ecx, 0xc
mov esi, str.echo__WPS_2000_Smart_Recover__r_ncopy_._.._y
lea edi, [ebp - 0xcc]
lea edx, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push edx
lea eax, [ebp - 0x3d8]
push 0x1001
push eax
lea ecx, [ebp - 0x7c]
movsb byte es:[edi], byte [esi]
call sub.MFC42.DLL_CFile::Open
lea ecx, [ebp - 0x38]
call sub.MFC42.DLL_AFX_EXCEPTION_LINK::AFX_EXCEPTION_LINK
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 6
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edx, [ebp - 0xcc]
push eax
push edx
lea ecx, [ebp - 0x7c]
call sub.MFC42.DLL_CFile::Write
lea ecx, [ebp - 0x7c]
call sub.MFC42.DLL_CFile::Close
jmp 0x40403a
mov dword [ebp - 4], 4
call sub.MFC42.DLL_AfxTryCleanup
lea ecx, [ebp - 0x6c]
call fcn.00405cea
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 8
push ecx
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_1
push 0x40a370
lea edx, [ebp - 0x18]
push eax
push edx
mov byte [ebp - 4], 9
call sub.MFC42.DLL_operator
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x14]
xor edi, edi
push edi
push eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x1c], edi
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x4040ce
lea ecx, [ebp - 0x6c]
call sub.MFC42.DLL_CFileFind::FindNextFileA
mov esi, eax
test esi, esi
je 0x4040cb
lea ecx, [ebp - 0x6c]
call sub.MFC42.DLL_CFileFind::GetLength
add edi, eax
test esi, esi
jne 0x4040af
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x6c]
call sub.MFC42.DLL_CFileFind::Close
mov ecx, dword [ebp - 0x14]
push 0
push ecx
lea ecx, [ebp - 0x6c]
call sub.MFC42.DLL_CFileFind::FindFile
lea edx, [ebp - 0x1d0]
lea ecx, [ebp - 0x24]
push edx
mov esi, eax
call sub.MFC42.DLL_CString::CString_1
lea eax, [ebp - 0x2d4]
lea ecx, [ebp - 0x20]
push eax
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString_1
push 0x40a
mov ecx, ebx
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x28], 0
call sub.MFC42.DLL_CWnd::GetDlgItem
test esi, esi
mov dword [ebp - 0x18], eax
je 0x40426e
lea ecx, [ebp - 0x6c]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [ebp - 0x3c]
mov esi, eax
push ecx
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x2c], esi
call sub.MFC42.DLL_CFileFind::GetFileName
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x14]
cmp byte [eax], 0x2e
je 0x4041b9
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [ebp - 0x1d0]
push eax
push edx
call edi
lea eax, [ebp - 0x1d0]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
and eax, 0x10
cmp al, 0x10
je 0x4041b9
lea ecx, [ebp - 0x2d4]
push 0x40a138
push ecx
call edi
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x2d4]
push edx
push eax
call edi
lea ecx, [ebp - 0x2d4]
push 0
lea edx, [ebp - 0x1d0]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov eax, dword [ebp - 0x24]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x1d0]
push eax
push ecx
call edi
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x2d4]
push edx
push eax
call edi
test esi, esi
je 0x40426e
lea ecx, [ebp - 0x6c]
call sub.MFC42.DLL_CFileFind::GetLength
mov ecx, dword [ebp - 0x28]
push 0
add ecx, eax
push 0x64
push 0
push ecx
mov dword [ebp - 0x28], ecx
call fcn.00406200
mov ecx, dword [ebp - 0x1c]
push 0
push ecx
push edx
push eax
call fcn.00406190
mov esi, eax
cmp esi, 0x64
jbe 0x404213
xor esi, esi
push esi
lea edx, [ebp - 0x14]
push str._d__
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [ebp - 0x14]
add esp, 0xc
lea ecx, [ebp - 0x38]
push eax
push ecx
call edi
lea edx, [ebp - 0x38]
lea eax, [ebp - 0x14]
push edx
push 0x25
push eax
call sub.MFC42.DLL_AfxFormatString1
mov ecx, dword [ebp - 0x14]
push ecx
push 0x40c
mov ecx, ebx
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov edx, dword [ebp - 0x18]
push 0
push esi
push 0x402
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [ebp - 0x2c]
test esi, esi
jne 0x40412a
push 8
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::LoadStringA
mov ecx, dword [ebp - 0x14]
push ecx
push 0x401
mov ecx, ebx
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov edx, dword [ebp - 0x18]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push 0
mov eax, dword [edx + 0x20]
push 0x402
push eax
call edi
push 0x40a628
push 0x40c
mov ecx, ebx
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
mov esi, dword [ebp - 0x30]
push 0
push 0
push 0x466
mov ecx, dword [esi + 0x20]
push ecx
call edi
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x464
push edx
call edi
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
lea ecx, [ebp - 0x98]
call fcn.00405cea
lea eax, [ebp - 0x1d0]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::operator
push str.WpsUpd.dll
lea ecx, [ebp - 0x14]
call fcn.00405e2e
mov ecx, dword [ebp - 0x14]
push 0
push ecx
lea ecx, [ebp - 0x98]
call sub.MFC42.DLL_CFileFind::FindFile
lea ecx, [ebp - 0x98]
mov esi, eax
call sub.MFC42.DLL_CFileFind::Close
test esi, esi
je 0x404332
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CFileFind::CFileFind
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CFileFind::CFileFind
mov dword [ebp - 0x50], 0x407b70
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x50], 0x407438
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CFile::CFile
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret