Function at 0x470f60
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c50d7
mov eax, dword fs:[0]
push eax
sub esp, 0x4d4
mov eax, dword [0x4f4f98]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x484], 0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x470fd0
mov eax, dword [ecx]
call dword [eax + 0xe0]
test eax, eax
je 0x470fc9
cmp dword [ebx + 0x7c], 0
je 0x470fbd
mov ecx, dword [ebx + 4]
push 0
mov eax, dword [ecx]
call dword [eax + 0x6c]
mov ecx, dword [ebx + 4]
mov eax, dword [ecx]
call dword [eax + 0x68]
test eax, eax
je 0x470fd0
xor eax, eax
jmp 0x471624
mov eax, dword [ebx]
lea ecx, [ebp - 0x480]
push ecx
mov ecx, ebx
call dword [eax + 0x1c]
mov eax, dword [ebp - 0x480]
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
je 0x471613
push eax
lea eax, [ebp - 0x49c]
push eax
call fcn.0047a6d0
push dword [ebp - 0x480]
lea eax, [ebp - 0x474]
mov byte [ebp - 4], 1
push eax
call fcn.0047a550
add esp, 0x10
lea ecx, [ebp - 0x474]
mov byte [ebp - 4], 3
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x488]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x474]
push 4
push str..mvx
mov dword [ebp - 0x484], 2
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x488]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x474]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push dword [ebp - 0x480]
lea eax, [ebp - 0x478]
mov byte [ebp - 4], 4
push eax
call fcn.0047a550
add esp, 8
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x490]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x478]
push 4
push str..dxf
mov dword [ebp - 0x484], 9
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x490]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x478]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x488]
mov byte [ebp - 4], 7
push 0
push eax
call fcn.00476ab0
add esp, 8
test eax, eax
je 0x471162
xorps xmm0, xmm0
lea eax, [ebp - 0x240]
push 0
push eax
push dword [ebp - 0x49c]
movlpd qword [ebp - 0x240], xmm0
movlpd qword [ebp - 0x238], xmm0
movlpd qword [ebp - 0x230], xmm0
movlpd qword [ebp - 0x470], xmm0
movlpd qword [ebp - 0x468], xmm0
movlpd qword [ebp - 0x460], xmm0
call sub.mfc140u.dll_CFile::GetStatus
test eax, eax
je 0x471162
push 0
lea eax, [ebp - 0x470]
push eax
push dword [ebp - 0x488]
call sub.mfc140u.dll_CFile::GetStatus
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x47c]
push eax
call fcn.0047db20
add esp, 8
mov edi, eax
push str.SoftwareInformatix_
lea ecx, [ebp - 0x48c]
mov byte [ebp - 4], 8
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 0xa
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x474]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [esi]
push 0xf
push str.VeduteSettings
mov dword [ebp - 0x484], 0x15
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x474]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
mov eax, dword [ebx + 0x94]
lea ecx, [ebx + 0x94]
add esp, 0x14
push dword [edi]
push str.OpenDir
push dword [ebp - 0x474]
push 0x80000001
call dword [eax + 0xc]
lea ecx, [ebp - 0x474]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x48c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x47c]
push eax
call fcn.0047db20
add esp, 8
mov edi, eax
push str.SoftwareInformatix_
lea ecx, [ebp - 0x48c]
mov byte [ebp - 4], 0xb
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 0xd
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x474]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [esi]
push 0xf
push str.VeduteSettings
mov dword [ebp - 0x484], 0x25
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x474]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
mov eax, dword [ebx + 0x94]
add esp, 0x14
push dword [edi]
push str.SaveDir
push dword [ebp - 0x474]
push 0x80000001
lea ecx, [ebx + 0x94]
call dword [eax + 0xc]
lea ecx, [ebp - 0x474]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x48c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x4e0]
call fcn.004644c0
push 0x4d63fc
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 0xe
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__21]
lea eax, [ebp - 0x47c]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x4e0]
call fcn.004a3830
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 0xe
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x488]
push 0
push eax
call fcn.00476ab0
add esp, 8
test eax, eax
je 0x471575
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x47c]
push eax
call fcn.0047db20
add esp, 8
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 0x11
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x478]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x47c]
mov dword [ebp - 0x484], 0x45
push dword [eax - 0xc]
push eax
push 3
lea eax, [ebp - 0x478]
push 0x4d70f4
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea eax, [ebp - 0x498]
lea ecx, [ebp - 0x478]
push 3
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
push 0x4d6bf0
push eax
lea eax, [ebp - 0x48c]
mov byte [ebp - 4], 0x12
push eax
call fcn.004662e0
add esp, 0xc
lea ecx, [ebp - 0x498]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 0x15
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x4a0]
push eax
call fcn.00489c00
add esp, 4
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 0x17
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x494]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [esi]
push 0x10
push str.MICS.tmpVedute_
mov dword [ebp - 0x484], 0x105
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x494]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x494]
push eax
lea eax, [ebp - 0x474]
push eax
call fcn.00466260
add esp, 0x20
lea ecx, [ebp - 0x494]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x4a0]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x498]
push eax
call fcn.0047df90
add esp, 8
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 0x1c
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x478]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [esi]
push 4
push str..DXF
mov dword [ebp - 0x484], 0x205
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x478]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea eax, [ebp - 0x478]
lea ecx, [ebp - 0x474]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator_3]
lea ecx, [ebp - 0x478]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x498]
mov byte [ebp - 4], 0x1a
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x474]
push eax
call fcn.00472040
add esp, 4
push 0
push dword [ebp - 0x474]
push dword [ebp - 0x488]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov eax, dword fs:[0x2c]
mov ecx, dword [0x512438]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x511508]
cmp eax, dword [ecx + 4]
jg 0x471640
push dword [ebp - 0x474]
mov ecx, 0x5114dc
call fcn.00467040
lea eax, [ebp - 0x474]
push eax
lea ecx, [ebp - 0x490]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
lea ecx, [ebp - 0x474]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x48c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x47c]
mov byte [ebp - 4], 0xe
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x490]
push 0
push eax
call fcn.00476ab0
add esp, 8
test eax, eax
je 0x47159c
lea eax, [ebp - 0x490]
push eax
lea ecx, [ebp - 0x4e0]
call fcn.004a7d20
lea ecx, [ebp - 0x4e0]
call fcn.004752f0
lea ecx, [ebp - 0x4a4]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x4b0]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x4bc]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x4c0]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x4c4]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x4c8]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x490]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x488]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x49c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x480]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004bee1d
mov esp, ebp
pop ebp
ret
push 0x511508
call fcn.004bed2f
add esp, 4
cmp dword [0x511508], 0xffffffff
jne 0x47152a
mov ecx, 0x5114dc
mov byte [ebp - 4], 0x1d
call fcn.00461d30
push 0x4d3040
call fcn.004bebe7
push 0x511508
mov byte [ebp - 4], 0x1a
call fcn.004bece5
add esp, 8
jmp 0x47152a