Function at 0x412f96
Capabilities:
Move file

Disassembly:
mov eax, 0x4e4aa9
call fcn.004e1580
sub esp, 0x27c
push ebx
push esi
push edi
mov dword [ebp - 0x34], ecx
call fcn.004cbba4
mov esi, eax
xor edi, edi
cmp esi, edi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x48], esi
je 0x412fc5
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov dword [ebp - 4], edi
mov dword [ebp - 0x30], edi
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
push ecx
push esi
mov byte [ebp - 4], 1
call dword [eax + 0x34]
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x10], edi
cmp eax, edi
je 0x412ff1
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push 0x52a608
push eax
call dword [ecx]
cmp dword [ebp - 0x10], edi
mov byte [ebp - 4], 2
je 0x413462
mov ebx, dword [ebp + 8]
push 0xffffffffffffffff
push ebx
call fcn.0040294f
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
push 0x52fdc0
mov byte [ebp - 4], 3
call fcn.0040294f
mov dword [ebp + 8], eax
push str..part
push ebx
mov byte [ebp - 4], 4
call fcn.0040fe78
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 0x18
cmp eax, edi
mov dword [ebp - 0x3c], eax
je 0x413191
push ebx
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_4
push str..met
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call fcn.004e090c
lea eax, [ebp - 0x288]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x413167
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_3
push 0x491
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::LoadStringA
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_3
push 0x490
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::LoadStringA
push dword [ebp - 0x24]
mov eax, dword [ebp - 0x34]
push edi
push 0x1004
push dword [ebp - 0x20]
push edi
push edi
push 1
push dword [eax + 0x20]
lea eax, [ebp - 0x34]
push eax
call fcn.004d2e2c
add esp, 0x24
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x24]
cmp dword [eax - 8], edi
jne 0x413154
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
push dword [ebp + 8]
call esi
push dword [ebp - 0x14]
call esi
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp eax, edi
je 0x413129
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
and byte [ebp - 4], 0
cmp eax, edi
je 0x41313a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x40]
or dword [ebp - 4], 0xffffffff
cmp eax, edi
je 0x413492
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x413492
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
jmp 0x41316e
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [ebp + 8]
mov edi, dword [ebp - 0x1c]
call esi
push 0xffffffffffffffff
push edi
call fcn.0040294f
pop ecx
mov dword [ebp + 8], eax
pop ecx
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
xor edi, edi
push dword [ebp + 8]
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xf4]
push edi
lea ecx, [ebp - 0x148]
call fcn.00437ece
push dword [ebp - 0x30]
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 9
call fcn.00437fc8
push ebx
lea ecx, [ebp - 0x148]
call fcn.00437fda
lea ecx, [ebp - 0x148]
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 7
jne 0x4132b7
cmp dword [ebp - 0x3c], edi
jne 0x4132a5
test byte [ebp - 0x4f], 6
je 0x4132a5
push edi
lea ecx, [ebp - 0x1ec]
call fcn.00438799
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 2
je 0x413282
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_3
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x1ec]
push eax
mov byte [ebp - 4], 0xb
call fcn.0043884e
push dword [ebp + 8]
mov edi, dword [ebp - 0x18]
call esi
push 0xffffffffffffffff
push edi
call fcn.0040294f
pop ecx
mov dword [ebp + 8], eax
mov eax, dword [ebp - 0x10]
pop ecx
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xf8]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 9
call fcn.004134f8
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 4
call fcn.00412f2f
jmp 0x41318f
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xf8]
lea ecx, [ebp - 0x1ec]
mov byte [ebp - 4], 9
call fcn.004134f8
jmp 0x4134e4
push 0xffffffffffffffff
push edi
push 0x48f
call sub.MFC42.DLL_AfxMessageBox_1
jmp 0x4134e4
cmp eax, 2
jne 0x4132d0
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xf8]
jmp 0x4134e4
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x28]
push edx
lea edx, [ebp - 0x2c]
mov ecx, dword [eax]
push edx
push dword [ebp - 0x14]
mov byte [ebp - 4], 0xd
push eax
call dword [ecx + 0x104]
test eax, eax
jge 0x413307
push 0xffffffffffffffff
push edi
push 0x497
call sub.MFC42.DLL_AfxMessageBox_1
jmp 0x4134da
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x20]
push ebx
push eax
mov byte [ebp - 4], 0xe
call fcn.004d2921
pop ecx
pop ecx
push dword [ebp - 0x34]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x38]
push eax
call sub.MFC42.DLL_operator_3
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 0x12
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x28]
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString_2
cmp dword [ebp - 0x3c], edi
mov byte [ebp - 4], 0x13
je 0x4133b8
push 0xffffffffffffffff
push 4
push 0x492
call sub.MFC42.DLL_AfxMessageBox_1
cmp eax, 6
jne 0x4134a3
push edi
push 1
push dword [ebp - 0x38]
lea ecx, [ebp - 0x250]
push ebx
call fcn.0041e4b9
lea ecx, [ebp - 0x250]
mov byte [ebp - 4], 0x14
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 1
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x250]
je 0x4133b3
call fcn.0041353f
jmp 0x4134c2
call fcn.0041353f
mov eax, dword [ebp - 0x10]
lea edx, [ebp + 8]
push edx
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x100]
lea eax, [ebp - 0x44]
push ebx
push eax
call fcn.004d2921
pop ecx
pop ecx
push dword [ebp + 8]
mov edi, dword [eax]
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x15
call sub.MFC42.DLL_CString::CString_2
push dword [ebp - 0x18]
mov eax, dword [eax]
mov byte [ebp - 4], 0x16
push edi
push eax
call fcn.0040ff80
add esp, 0xc
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0x15
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x13
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x10]
push dword [ebp - 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xf8]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x28]
call esi
push dword [ebp - 0x2c]
call esi
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 4
call fcn.00412f2f
xor edi, edi
push dword [ebp + 8]
call esi
push dword [ebp - 0x14]
call esi
mov esi, dword [ebp - 0x40]
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 1
cmp eax, edi
je 0x413473
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x30]
and byte [ebp - 4], 0
cmp eax, edi
je 0x413484
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
cmp esi, edi
je 0x413492
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
push dword [ebp - 0x38]
push ebx
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x4133b8
push 0xffffffffffffffff
push edi
push 0x809b
call sub.MFC42.DLL_AfxMessageBox_1
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x28]
call esi
push dword [ebp - 0x2c]
call esi
lea ecx, [ebp - 0x148]
mov byte [ebp - 4], 4
call fcn.00412f2f
jmp 0x413455