Function at 0x40d620
Capabilities:
Copy file
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x422798
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
lea eax, [esp + 0x40]
lea ecx, [esp]
push eax
mov dword [esp + 0x38], 1
call sub.MFC42.DLL_CString::CString_1
lea ecx, [esp + 4]
mov byte [esp + 0x34], 2
call fcn.00421016
mov ecx, dword [esp + 0x44]
mov edx, dword [0x43191c]
push ecx
push edx
lea eax, [esp + 0xc]
push 0x42e1cc
push eax
mov byte [esp + 0x44], 3
call sub.MFC42.DLL_CString::Format_1
mov ecx, dword [esp + 0x10]
add esp, 0x10
push 2
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov eax, dword [esp]
test eax, eax
je 0x40d7f9
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x18]
call fcn.00421016
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x1c]
mov edx, dword [esp + 0x4c]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 2
mov byte [esp + 0x44], 4
mov eax, dword [eax - 8]
add eax, 3
push eax
call sub.MFC42.DLL_operatornew
mov edi, dword [esp + 0x54]
mov ebp, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x54]
mov eax, dword [eax - 8]
mov byte [eax + ebp + 1], 0
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx - 8]
mov byte [eax + ebp + 2], 0
mov edx, dword [esp + 0x58]
mov dword [esp + 0x28], ebp
mov eax, dword [edx - 8]
add eax, 3
push eax
call sub.MFC42.DLL_operatornew
mov edi, dword [esp + 0x5c]
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 8
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx - 8]
mov byte [eax + ebx + 1], 0
mov edx, dword [esp + 0x54]
mov eax, dword [edx - 8]
mov byte [eax + ebx + 2], 0
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x2c], ebx
mov word [esp + 0x30], 0x214
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
test ebp, ebp
je 0x40d789
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
test ebx, ebx
je 0x40d796
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x44], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x44], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x44], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x50]
mov byte [esp + 0x44], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov dword [esp + 0x44], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 0xc
push 0
push 0
push 0x42f0b0
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 4]
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x40]
mov byte [esp + 0x34], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x44]
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2c]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x38
ret 0xc