Function at 0x408cb0
Capabilities:
Copy file
Move file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x41da28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push ebp
push esi
push edi
mov al, byte [esp + 0x7c]
xor ebp, ebp
mov dword [esp + 0x70], ebp
mov byte [esp + 0x44], al
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
lea ecx, [esp + 0x44]
lea edx, [esp + 0x78]
push ecx
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push edx
mov byte [esp + 0x7c], 1
call sub.MFC42.DLL_CString::CString_1
call fcn.0040a3d0
mov eax, dword [esp + 0x50]
add esp, 8
cmp eax, ebp
jne 0x408d17
mov dword [esp + 0x18], ebp
jmp 0x408d24
mov ecx, dword [esp + 0x4c]
sub ecx, eax
sar ecx, 2
mov dword [esp + 0x18], ecx
lea ecx, [esp + 0x54]
call fcn.0041c964
lea eax, [esp + 0x14]
mov byte [esp + 0x70], 2
push eax
call fcn.00409a80
add esp, 4
mov eax, dword [esp + 0x7c]
mov byte [esp + 0x70], 3
cmp eax, ebp
je 0x408dd5
mov edi, str.UpgradeBackup_
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push str.UpgradeBackup_
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x408dd5
mov edi, str.UpgradeBackup_
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x14]
repne scasb al, byte es:[edi]
mov edx, dword [edx - 8]
lea eax, [esp + 0x10]
not ecx
dec ecx
sub edx, ecx
lea ecx, [esp + 0x14]
push edx
push eax
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x74], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
push str.delfileconfig.dat
lea edx, [esp + 0x20]
push ecx
push edx
call sub.MFC42.DLL_operator_2
mov eax, dword [esp + 0x1c]
push ebp
push 0x1001
push eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x7c], 5
call sub.MFC42.DLL_CStdioFile::Open
mov eax, dword [esp + 0x18]
xor esi, esi
cmp eax, ebp
jle 0x409029
mov ebp, dword [sym.imp.KERNEL32.dll_CopyFileA]
mov ecx, dword [esp + 0x48]
lea edx, [ecx + esi*4]
lea ecx, [esp + 0x10]
push edx
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x7c]
mov byte [esp + 0x70], 6
test eax, eax
je 0x408e62
lea eax, [esp + 0x20]
push eax
call fcn.00409a80
add esp, 4
mov eax, dword [eax]
push 0x42b064
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 7
call sub.MFC42.DLL_CString::Replace
mov byte [esp + 0x70], 6
lea ecx, [esp + 0x20]
jmp 0x408eb1
lea ecx, [esp + 0x28]
push ecx
call fcn.00409a80
add esp, 4
push str.UpgradeBackup_
lea edx, [esp + 0x28]
push eax
push edx
mov byte [esp + 0x7c], 8
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push 0x42b064
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 9
call sub.MFC42.DLL_CString::Replace
lea ecx, [esp + 0x24]
mov byte [esp + 0x70], 8
call sub.MFC42.DLL_CString::CString
mov byte [esp + 0x70], 6
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x30]
push ecx
push edx
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 0xa
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x2c]
mov byte [esp + 0x70], 6
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.dbghelp.dll_MakeSureDirectoryPathExists]
mov edi, str..toolsilentupgradeNeedZip
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [esp + 0x48]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x34]
push ecx
lea ecx, [edx + esi*4]
call sub.MFC42.DLL_CString::Right
mov eax, dword [eax]
push str..toolsilentupgradeNeedZip
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x30]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x408f85
push ecx
lea eax, [esp + 0x14]
mov edi, esp
mov dword [esp + 0x40], esp
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call sub.MFC42.DLL_CString::CString_1
push edi
call fcn.00409b70
add esp, 8
push esi
lea ecx, [esp + 0x4c]
mov byte [esp + 0x78], 0xb
call fcn.00409300
push ecx
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x78], 6
call fcn.00416780
add esp, 8
jmp 0x40900c
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x10]
push 0
push edx
mov eax, dword [ecx + esi*4]
push eax
call ebp
test eax, eax
jne 0x40900c
lea eax, [esp + 0x10]
push str..del
lea ecx, [esp + 0x38]
push eax
push ecx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
mov edx, dword [esp + 0x10]
push eax
push edx
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x10]
push str..del_r_n
lea ecx, [esp + 0x3c]
push eax
push ecx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea ecx, [esp + 0x54]
push eax
mov byte [esp + 0x74], 0xc
call sub.MFC42.DLL_CStdioFile::WriteString
lea ecx, [esp + 0x38]
mov byte [esp + 0x70], 6
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x10]
push 0
push ecx
mov eax, dword [edx + esi*4]
push eax
call ebp
lea ecx, [esp + 0x10]
mov byte [esp + 0x70], 5
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
inc esi
cmp esi, eax
jl 0x408e16
xor ebp, ebp
lea ecx, [esp + 0x54]
call sub.MFC42.DLL_CStdioFile::Close
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x70], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0x70], 1
call sub.MFC42.DLL_CStdioFile::CStdioFile
mov eax, dword [esp + 0x4c]
mov esi, dword [esp + 0x48]
cmp esi, eax
mov byte [esp + 0x70], 0
mov edi, eax
je 0x409081
mov ecx, esi
call sub.MFC42.DLL_CString::CString
add esi, 4
cmp esi, edi
jne 0x40906f
mov esi, dword [esp + 0x48]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x78]
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x70], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x68]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x64
ret