Function at 0x464f73
Capabilities:
Copy file
Delete file

Disassembly:
mov eax, 0x4ec750
call fcn.004e1580
sub esp, 0x34
push ebx
push esi
push edi
mov edi, ecx
mov eax, dword [edi + 0x88]
cmp eax, 1
jne 0x46519f
lea eax, [ebp - 0x20]
push 0xc
push eax
call fcn.0041aab4
push dword [edi + 0x10]
lea esi, [edi + 0x10]
lea eax, [ebp - 0x1c]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.004d298e
push dword [ebp - 0x1c]
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 1
push eax
call fcn.004d169d
push dword [ebp - 0x1c]
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 2
push eax
call fcn.004d166f
add esp, 0x20
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_3
push 0x52fdc0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString_3
push dword [ebp - 0x20]
mov byte [ebp - 4], 6
call fcn.004d1b65
test eax, eax
pop ecx
jne 0x46501d
push 0xffffffffffffffff
push ebx
push 0xef3b
jmp 0x4651b9
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x38]
push eax
call sub.MFC42.DLL_operator_3
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
push ecx
push eax
lea eax, [ebp - 0x34]
push eax
call sub.MFC42.DLL_operator_3
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
push ecx
push eax
lea eax, [ebp - 0x30]
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
push ebx
push dword [ebp - 0x10]
call fcn.004d1e1a
pop ecx
test eax, eax
pop ecx
je 0x465103
push dword [ebp - 0x24]
lea eax, [ebp - 0x14]
push 0x52a2a4
push eax
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x40]
push 0x52c70c
push eax
call sub.MFC42.DLL_operator
push 0x52c708
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
inc dword [ebp - 0x24]
cmp dword [ebp - 0x24], 0x7fffffff
jl 0x465020
mov edi, dword [edi + 0x7c]
mov edi, dword [edi + 0x20]
cmp edi, 0xe
je 0x46512d
cmp edi, 0xf
je 0x46512d
mov eax, dword [esi]
push 1
push dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push dword [esi]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
jmp 0x46513d
mov eax, dword [esi]
push 1
push dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edi, eax
cmp edi, ebx
je 0x4651b1
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
push 1
pop eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
push 0xffffffffffffffff
push ebx
push 0xef3c
call sub.MFC42.DLL_AfxMessageBox_1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4651a2