Function at 0x45d2c0
Capabilities:
Copy file
Delete file
Move file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b7c90
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
mov ebp, ecx
push esi
push edi
push 0x4e59d8
lea ecx, [ebp + 0x6c]
call sub.MFC42.DLL_CString::operator
push eax
lea ecx, [ebp + 0x68]
call sub.MFC42.DLL_CString::operator_1
mov esi, dword [esp + 0x50]
cmp esi, 1
jne 0x45d309
mov ecx, ebp
call fcn.004579f0
jmp 0x45d662
test esi, esi
jne 0x45d319
mov ecx, ebp
call fcn.004577f0
jmp 0x45d662
cmp esi, 2
je 0x45d327
cmp esi, 3
jne 0x45d662
mov eax, dword [ebp + 0xb0]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x4e59d8
push eax
call edi
add esp, 8
test eax, eax
je 0x45d662
mov eax, dword [ebp + 0xb0]
push 0x4df1d8
push eax
call edi
add esp, 8
test eax, eax
je 0x45d662
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CString::CString_2
cmp esi, 2
mov dword [esp + 0x48], 0
jne 0x45d651
mov eax, dword [ebp + 0xc8]
or esi, 0xffffffff
cmp eax, esi
jne 0x45d38f
mov dword [esp + 0x48], esi
jmp 0x45d659
mov eax, dword [ebp + 0x20]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 2
push esi
push 0x100c
push eax
call ebx
inc eax
test eax, eax
je 0x45d3c8
mov ecx, dword [ebp + 0x20]
lea edi, [eax - 1]
push 2
push edi
push 0x100c
push ecx
call ebx
mov ecx, dword [ebp + 0xc8]
inc eax
cmp edi, ecx
je 0x45d3fd
test eax, eax
jne 0x45d3a8
mov eax, dword [ebp + 0xc8]
test eax, eax
jne 0x45d434
lea eax, [ebp + 0xb0]
lea ecx, [esp + 0x50]
push eax
call sub.MFC42.DLL_CString::operator_1
push 0x5c
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::TrimRight_2
push 0x5c
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CString::ReverseFind
cmp eax, 2
jge 0x45d406
mov dword [esp + 0x48], esi
jmp 0x45d659
lea edx, [esp + 0x18]
push eax
push edx
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x4c], 1
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 0
call sub.MFC42.DLL_CString::CString
jmp 0x45d49d
mov edi, dword [ebp + 0x74]
mov esi, dword [ebp + 0x48]
lea eax, [ebp + 0xb0]
push 0x4df1d8
push eax
lea eax, [esp + 0x1c]
push eax
call sub.MFC42.DLL_operator_3
mov ecx, dword [ebp + 0xc8]
mov byte [esp + 0x48], 2
mov edx, dword [edi + ecx*4]
shl edx, 5
add edx, esi
push edx
push eax
lea eax, [esp + 0x20]
push eax
call sub.MFC42.DLL_operator_4
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0x4c], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 0
call sub.MFC42.DLL_CString::CString
or esi, 0xffffffff
push 0x4df1d8
push 0x4e28b0
lea ecx, [esp + 0x58]
call sub.MFC42.DLL_CString::Replace
mov ecx, dword [esp + 0x50]
mov eax, dword [ecx - 8]
add eax, 2
push eax
call sub.MFC42.DLL_operatornew
mov edi, dword [esp + 0x54]
mov edx, eax
mov ecx, esi
xor eax, eax
add esp, 4
mov dword [esp + 0x18], edx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 2
mov eax, ecx
mov esi, edi
mov edi, edx
push 0xffffffffffffffff
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
push 0x100c
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x5c]
mov eax, dword [ecx - 8]
mov byte [eax + edx + 1], 0
mov edx, dword [ebp + 0x20]
push edx
call ebx
inc eax
test eax, eax
je 0x45d61d
jmp 0x45d519
mov eax, dword [esp + 0x14]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea esi, [eax - 1]
mov eax, dword [ebp + 0x20]
push 2
push esi
push 0x100c
push eax
call ebx
mov edi, dword [ebp + 0x74]
mov ebx, dword [ebp + 0x48]
inc eax
push 0x4df1d8
mov dword [esp + 0x18], eax
lea eax, [ebp + 0xb0]
lea ecx, [esp + 0x20]
push eax
push ecx
call sub.MFC42.DLL_operator_3
mov edx, dword [edi + esi*4]
mov byte [esp + 0x48], 4
shl edx, 5
add edx, ebx
push edx
push eax
lea eax, [esp + 0x18]
push eax
call sub.MFC42.DLL_operator_4
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 6
call sub.MFC42.DLL_CString::CString
push 0x4df1d8
push 0x4e28b0
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
add eax, 2
push eax
call sub.MFC42.DLL_operatornew
mov edi, dword [esp + 0x14]
mov ebx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x18]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x10]
xor esi, esi
mov eax, dword [eax - 8]
mov byte [eax + ebx + 1], 0
mov ecx, dword [ebp + 0x20]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ecx
push eax
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], edx
mov word [esp + 0x34], si
mov dword [esp + 0x3a], esi
mov dword [esp + 0x3e], esi
call dword [sym.imp.SHELL32.dll_SHFileOperationA]
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x10]
mov byte [esp + 0x48], 0
call sub.MFC42.DLL_CString::CString
cmp dword [esp + 0x14], esi
jne 0x45d50f
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetParentFrame
push eax
push 0x4c4120
call sub.MFC42.DLL_AfxDynamicDownCast
mov ecx, dword [esp + 0x20]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 8
mov ecx, ebp
mov edx, esp
mov dword [esp + 0x1c], esp
push edx
call fcn.004556b0
mov ecx, ebp
call fcn.004597a0
mov dword [esp + 0x48], 0xffffffff
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret 0xc