Function at 0x410760
Capabilities:
Move file

Disassembly:
push 0xffffffffffffffff
push 0x4493a4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x33c
push esi
mov esi, dword [esp + 0x350]
push edi
xor edi, edi
cmp esi, edi
mov dword [esp + 8], ecx
je 0x410a5e
push ebx
push ebp
push edi
lea ecx, [esp + 0x20]
call fcn.00401080
lea eax, [esi + 4]
lea ecx, [esp + 0x1fc]
push eax
mov dword [esp + 0x358], edi
mov dword [esp + 0x234], 1
mov dword [esp + 0x22c], edi
call sub.MFC42.DLL_CString::operator_2
lea ebp, [esi + 0x804]
lea ecx, [esp + 0x210]
push ebp
call sub.MFC42.DLL_CString::operator_2
lea ebx, [esi + 0x908]
lea ecx, [esp + 0x200]
push ebx
call sub.MFC42.DLL_CString::operator_2
lea eax, [esi + 0xa0c]
lea ecx, [esp + 0x204]
push eax
mov dword [esp + 0x18], eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esi + 0xe20]
mov edx, dword [esi + 0xe24]
mov eax, dword [esi + 0xe18]
mov dword [esp + 0x21c], ecx
mov ecx, dword [esi + 0xe1c]
mov dword [esp + 0x220], edx
mov edx, dword [esi + 0xe14]
mov dword [esp + 0x214], eax
mov eax, dword [esi + 0xe10]
mov dword [esp + 0x218], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20c], edx
mov dword [esp + 0x208], eax
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 1
jne 0x41096c
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 0x52c], 1
jne 0x41093d
mov edx, dword [esp + 0x210]
mov esi, dword [sym.imp.MSVCRT.dll__mbsicmp]
push ebp
push edx
call esi
add esp, 8
test eax, eax
jne 0x4108a3
mov eax, dword [esp + 0x200]
push ebx
push eax
call esi
add esp, 8
test eax, eax
je 0x41093d
push ebx
push ebp
lea ecx, [esp + 0x250]
push 0x45e228
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea edx, [esp + 0x200]
lea eax, [esp + 0x210]
lea ecx, [esp + 0x18]
push edx
push eax
push ecx
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
lea edx, [esp + 0x248]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 0x18]
mov esi, eax
call sub.MFC42.DLL_CString::CString
cmp esi, edi
je 0x41093d
mov edi, dword [esp + 0x210]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x200]
or ecx, 0xffffffff
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
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x204]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x14]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
call fcn.0040c5a0
lea ecx, [esp + 0x234]
mov dword [esp + 0x354], 0xb
call sub.MFC42.DLL_CStringArray::CStringArray
lea ecx, [esp + 0x210]
mov byte [esp + 0x354], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x204]
mov byte [esp + 0x354], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x200]
mov byte [esp + 0x354], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1fc]
mov byte [esp + 0x354], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1bc]
mov byte [esp + 0x354], 6
call sub.MFC42.DLL_CEdit::CEdit
lea ecx, [esp + 0x17c]
mov byte [esp + 0x354], 5
call sub.MFC42.DLL_CEdit::CEdit
lea ecx, [esp + 0x13c]
mov byte [esp + 0x354], 4
call sub.MFC42.DLL_CEdit::CEdit
lea ecx, [esp + 0xfc]
mov byte [esp + 0x354], 3
call sub.MFC42.DLL_CComboBox::CComboBox
lea ecx, [esp + 0xbc]
mov byte [esp + 0x354], 2
call sub.MFC42.DLL_CButton::CButton
lea ecx, [esp + 0x7c]
mov byte [esp + 0x354], 1
call sub.MFC42.DLL_CButton::CButton
lea ecx, [esp + 0x1c]
mov dword [esp + 0x354], 0xffffffff
call sub.MFC42.DLL_CDialog::CDialog
pop ebp
pop ebx
mov ecx, dword [esp + 0x344]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x348
ret 4