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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b7b80
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
mov ebp, ecx
push esi
push edi
push 0x4e6998
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 0x45d4d9
mov ecx, ebp
call fcn.00457c10
jmp 0x45d832
test esi, esi
jne 0x45d4e9
mov ecx, ebp
call fcn.00457a10
jmp 0x45d832
cmp esi, 2
je 0x45d4f7
cmp esi, 3
jne 0x45d832
mov eax, dword [ebp + 0xb0]
mov edi, dword [sym.imp.MSVCRT.dll__mbscmp]
push 0x4e6998
push eax
call edi
add esp, 8
test eax, eax
je 0x45d832
mov eax, dword [ebp + 0xb0]
push 0x4e01dc
push eax
call edi
add esp, 8
test eax, eax
je 0x45d832
lea ecx, [esp + 0x50]
call sub.MFC42.DLL_CString::CString_2
cmp esi, 2
mov dword [esp + 0x48], 0
jne 0x45d821
mov eax, dword [ebp + 0xc8]
or esi, 0xffffffff
cmp eax, esi
jne 0x45d55f
mov dword [esp + 0x48], esi
jmp 0x45d829
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 0x45d598
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 0x45d5cd
test eax, eax
jne 0x45d578
mov eax, dword [ebp + 0xc8]
test eax, eax
jne 0x45d604
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 0x45d5d6
mov dword [esp + 0x48], esi
jmp 0x45d829
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 0x45d66d
mov edi, dword [ebp + 0x74]
mov esi, dword [ebp + 0x48]
lea eax, [ebp + 0xb0]
push 0x4e01dc
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 0x4e01dc
push 0x4e386c
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 0x45d7ed
jmp 0x45d6e9
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 0x4e01dc
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 0x4e01dc
push 0x4e386c
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 0x45d6df
mov ecx, ebp
call sub.MFC42.DLL_CWnd::GetParentFrame
push eax
push 0x4c4028
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.004558d0
mov ecx, ebp
call fcn.00459970
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