Function at 0x426ac0
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x446548
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push 0x459194
lea ecx, [esp + 0x50]
mov dword [esp + 0x48], 0
call sub.MFC42.DLL_CString::TrimRight_1
push 0x45919c
lea ecx, [esp + 0x50]
call fcn.0043f64c
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CFileFind::CFileFind
mov eax, dword [esp + 0x4c]
push 0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x4c], 1
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x426cc2
push ebx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.0043f5d4
lea ecx, [esp + 0xc]
mov byte [esp + 0x50], 2
call fcn.0043f5d4
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 3
call fcn.0043f5d4
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileA]
mov bl, 4
mov byte [esp + 0x50], bl
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x2c]
mov edi, eax
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x426c8d
mov edx, dword [esp + 0x2c]
push 0x10
lea ecx, [esp + 0x30]
call dword [edx + 0x40]
test eax, eax
jne 0x426c8d
lea eax, [esp + 0x18]
lea ecx, [esp + 0x2c]
push eax
call sub.MFC42.DLL_CFileFind::GetFilePath
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x54], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x50], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CFileFind::GetFileName
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x54], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x50], bl
call sub.MFC42.DLL_CString::CString
push 0x5c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea edx, [esp + 0x20]
push eax
push edx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 7
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x50], bl
call sub.MFC42.DLL_CString::CString
push 0x7e
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find_1
cmp eax, 0xffffffff
je 0x426c8d
push 0x5f
push 0x7e
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Replace_1
push 0x5c
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::ReverseFind
inc eax
lea ecx, [esp + 0xc]
push eax
lea eax, [esp + 0x28]
push eax
call sub.MFC42.DLL_CString::Left
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x54], 8
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x24]
mov byte [esp + 0x50], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
lea edx, [esp + 0x14]
push ecx
lea eax, [esp + 0x2c]
push edx
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call esi
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString
test edi, edi
jne 0x426b56
lea ecx, [esp + 0x14]
mov byte [esp + 0x50], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x50], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x50], 1
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
pop ebx
lea ecx, [esp + 0x20]
mov byte [esp + 0x44], 0
call fcn.0043f6ac
lea ecx, [esp + 0x4c]
mov dword [esp + 0x44], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret 4