Function at 0x41c6f0
Capabilities:
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x42d258
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov esi, ecx
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42.DLL_CCmdTarget::BeginWaitCursor
mov eax, dword [esp + 0x34]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString_3
push 1
push 0x5c
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 1
call fcn.00429e36
lea ecx, [esp + 0x1c]
push 1
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x34], 2
call sub.MFC42.DLL_CString::Right
mov edx, dword [esp + 0x34]
mov eax, dword [eax]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push edx
push eax
call edi
add esp, 8
lea ecx, [esp + 0x1c]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x41c795
push 0x5c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0xc]
push eax
call sub.MFC42.DLL_CString::CString_3
push 1
push 0x5c
lea ecx, [esp + 0x3c]
mov byte [esp + 0x34], 3
call fcn.00429e36
lea ecx, [esp + 0x38]
push 1
push ecx
lea ecx, [esp + 0x14]
mov byte [esp + 0x34], 4
call sub.MFC42.DLL_CString::Right
mov edx, dword [esp + 0x34]
mov eax, dword [eax]
push edx
push eax
call edi
add esp, 8
lea ecx, [esp + 0x38]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x41c802
push 0x5c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsicmp]
add esp, 8
test eax, eax
je 0x41c82b
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.IndFile.dll_public:_static_unsigned_long_int___cdecl_Tool_Resource::isFileOrFolderExist_char_const__]
add esp, 4
test eax, eax
je 0x41c872
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42.DLL_CCmdTarget::EndWaitCursor
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
add esp, 0x24
ret 8
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 5
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esi + 0x52c]
xor edi, edi
test eax, eax
mov byte [esp + 0x2c], 6
jle 0x41c983
mov ebx, dword [sym.imp.IndFile.dll_public:_static_class_CString___cdecl_Tool_Resource::convertToIndexFileName_class_CString_const___bool_]
push ebp
mov eax, dword [esi + 0x528]
lea ebp, [edi*4]
add eax, ebp
push 0
lea ecx, [esp + 0x40]
push eax
push ecx
call ebx
add esp, 0xc
push eax
lea edx, [esp + 0x18]
lea eax, [esp + 0x3c]
push edx
push eax
mov byte [esp + 0x3c], 7
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 8
call fcn.00429cec
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x3c]
mov byte [esp + 0x30], 6
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 0x528]
push 0
add ecx, ebp
lea edx, [esp + 0x28]
push ecx
push edx
call ebx
add esp, 0xc
push eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
push eax
push ecx
mov byte [esp + 0x3c], 9
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x34], 0xa
call fcn.00429cec
lea ecx, [esp + 0x20]
mov byte [esp + 0x30], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x30], 6
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
push 0
push edx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esi + 0x52c]
inc edi
cmp edi, eax
jl 0x41c8a5
pop ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x2c], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
call sub.MFC42.DLL_CString::CString
mov dword [esp + 0x2c], 0xffffffff
call sub.MFC42.DLL_AfxGetModuleState
mov ecx, dword [eax + 4]
call sub.MFC42.DLL_CCmdTarget::EndWaitCursor
mov ecx, dword [esp + 0x24]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 8