Function at 0x4409a0
Capabilities:
Copy file
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x49c062
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ebp, [esi + 0x110]
lea edi, [esi + 0x114]
xor ebx, ebx
push ebp
mov ecx, edi
mov dword [esp + 0x18], ebx
call dword [0x49f214]
push 0x2e
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::ReverseFind]
cmp eax, ebx
jle 0x440b96
push eax
lea eax, [esp + 0x14]
push eax
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Left]
push str..new
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x30], ebx
call fcn.00401050
add esp, 0xc
push eax
mov ecx, edi
mov byte [esp + 0x28], 1
call dword [0x49f214]
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [esi + 0x128]
push ebx
push ebx
mov ecx, ebp
mov dword [esp + 0x20], eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esi + 0x128]
call dword [eax + 0x28]
test eax, eax
je 0x440af7
mov eax, dword [esi + 0x118]
push ebx
push 0x1001
mov ecx, edi
mov dword [esp + 0x20], eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov eax, dword [esp + 0x24]
lea ebx, [esi + 0x118]
mov ecx, ebx
call dword [eax + 0x28]
test eax, eax
je 0x440aca
lea ecx, [esi + 0x74]
call fcn.00484b80
test eax, eax
mov dword [esp + 0x14], eax
jg 0x440ab2
mov ecx, 0x4bd0ec
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0
push 0x4a727c
push esi
call fcn.0048f5d0
add esp, 0x10
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x54]
mov edx, dword [esi + 0x128]
lea ecx, [esi + 0x128]
call dword [edx + 0x54]
jmp 0x440b13
mov ecx, 0x4bd0ec
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0
push 0x4a7264
push esi
call fcn.0048f5d0
mov edx, dword [esi + 0x128]
lea ecx, [esi + 0x128]
add esp, 0x10
call dword [edx + 0x54]
jmp 0x440b13
mov ecx, 0x4bd0ec
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0
push 0x4a7238
push esi
call fcn.0048f5d0
add esp, 0x10
mov ecx, ebp
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push eax
call ebx
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x440bb6
push edi
mov ecx, ebp
call dword [0x49f214]
push 0x2e
mov ecx, ebp
call dword [sym.imp.MFC71.DLL_ATL::CStringT::ReverseFind]
test eax, eax
jle 0x440b8c
push 0
push eax
mov ecx, ebp
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::SetAt]
push 0
mov ecx, ebp
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
jne 0x440bab
mov ecx, 0x4bd0ec
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0
push 0x4a720c
push esi
call fcn.0048f5d0
add esp, 0x10
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call ebx
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret