Function at 0x4c1d42
Capabilities:
Move file

Disassembly:
mov eax, 0x4f53b3
call fcn.004e1580
sub esp, 0x170
mov eax, dword [ebp + 8]
push ebx
push edi
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x10], edi
je 0x4c1d6e
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x52a488
push eax
call dword [ecx]
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], edi
cmp eax, edi
je 0x4c20ea
mov dword [ebp - 0x18], edi
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
push eax
mov byte [ebp - 4], 1
call dword [ecx + 0x14]
cmp dword [ebp - 0x18], edi
je 0x4c20d0
push dword [ebp - 0x18]
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantInit]
call ebx
test eax, eax
jbe 0x4c20d0
push esi
push edi
lea ecx, [ebp - 0x17c]
call fcn.0041ef83
push dword [ebp - 0x18]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x54]
push eax
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x58]
push eax
call sub.MFC42.DLL_CString::operator_1
push 0x52fdc0
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x17c]
mov dword [ebp - 0x4c], edi
call sub.MFC42.DLL_CDialog::DoModal
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp eax, 1
jne 0x4c20a6
lea eax, [ebp - 0x58]
lea ecx, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::CString_1
push 0x5f
lea eax, [ebp - 0x1c]
push dword [ebp - 0x14]
mov byte [ebp - 4], 4
push eax
call fcn.004d11ba
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x40], edi
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x40]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 6
call dword [ecx + 0x3c]
push dword [ebp - 0x40]
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x30]
push eax
call sub.MFC42.DLL_operator_3
mov edi, dword [eax]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 8
call sub.MFC42.DLL_operator_3
mov eax, dword [eax]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [ebp - 0x1c]
mov edi, eax
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
test edi, edi
je 0x4c2055
push 0xffffffffffffffff
push dword [ebp - 0x14]
call fcn.0040294f
pop ecx
mov dword [ebp - 0x1c], eax
pop ecx
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x1c]
mov byte [ebp - 4], 9
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
push dword [ebp + 8]
call fcn.004b66b8
and dword [ebp - 0x34], 0
pop ecx
mov byte [ebp - 4], 0xa
call fcn.004cbba4
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push eax
call dword [ecx + 0x30]
test eax, eax
jl 0x4c203d
mov eax, dword [ebp - 0x34]
and dword [ebp - 0x2c], 0
test eax, eax
je 0x4c1f18
mov ecx, dword [eax]
lea edx, [ebp - 0x2c]
push edx
push 0x52b4e8
push eax
call dword [ecx]
cmp dword [ebp - 0x2c], 0
mov byte [ebp - 4], 0xb
je 0x4c202c
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x44]
push eax
call sub.MFC42.DLL_operator_3
mov edi, 0x52a1c4
mov byte [ebp - 4], 0xc
push edi
push eax
lea eax, [ebp - 0x28]
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
call fcn.0040294f
pop ecx
mov dword [ebp - 0x30], eax
pop ecx
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x3c]
push eax
call sub.MFC42.DLL_operator_3
push edi
push eax
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 0xf
push eax
call sub.MFC42.DLL_operator_2
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
call fcn.0040294f
pop ecx
mov dword [ebp - 0x28], eax
pop ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0x10
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
and dword [ebp + 8], 0
mov eax, dword [ebp - 0x10]
lea edx, [ebp + 8]
push edx
push eax
mov ecx, dword [eax]
mov byte [ebp - 4], 0x12
call dword [ecx + 0x10]
lea eax, [ebp - 0x3c]
push 0xc
push eax
call fcn.0041aab4
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
call fcn.0040294f
add esp, 0x10
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x3c]
call sub.MFC42.DLL_CString::CString
push dword [ebp + 8]
call ebx
push eax
lea ecx, [ebp - 0x38]
push dword [ebp + 8]
call fcn.0041d9b3
push dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
push dword [ebp - 0x38]
mov ecx, dword [eax]
push dword [ebp - 0x30]
push eax
call dword [ecx + 0x38]
push dword [ebp - 0x38]
call esi
push dword [ebp + 8]
call esi
push dword [ebp - 0x28]
call esi
push dword [ebp - 0x30]
call esi
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 0xa
test eax, eax
je 0x4c203d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x34]
mov byte [ebp - 4], 9
test eax, eax
je 0x4c204e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x1c]
call esi
jmp 0x4c2087
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x4c2079
cmp eax, 0xb7
push 0xffffffffffffffff
push 0x10
je 0x4c2072
push 0xef3f
jmp 0x4c2082
push 0xef3e
jmp 0x4c2082
push 0xffffffffffffffff
push 0x10
push 0xef3d
call sub.MFC42.DLL_AfxMessageBox_1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x40]
call esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
xor edi, edi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 1
call fcn.0041f080
push dword [ebp - 0x18]
call esi
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
pop esi
jmp 0x4c20e0
push dword [ebp - 0x18]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
cmp eax, edi
je 0x4c20ea
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 4