Function at 0x471530
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9c57
mov eax, dword fs:[0]
push eax
sub esp, 0x4d4
mov eax, dword [0x4fafc0]
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 0x4715a0
mov eax, dword [ecx]
call dword [eax + 0xe0]
test eax, eax
je 0x471599
cmp dword [ebx + 0x7c], 0
je 0x47158d
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 0x4715a0
xor eax, eax
jmp 0x471bf4
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 0x471be3
push eax
lea eax, [ebp - 0x49c]
push eax
call fcn.0047a9e0
push dword [ebp - 0x480]
lea eax, [ebp - 0x474]
mov byte [ebp - 4], 1
push eax
call fcn.0047a860
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], 4
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.0047a860
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], 0x12
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.00477000
add esp, 8
test eax, eax
je 0x471732
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 0x471732
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.0047df30
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], 0x2a
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.0047df30
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], 0xb
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.00464980
push 0x4db4ac
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.004a35d0
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.00477000
add esp, 8
test eax, eax
je 0x471b45
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x47c]
push eax
call fcn.0047df30
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], 0x4a
push dword [eax - 0xc]
push eax
push 3
lea eax, [ebp - 0x478]
push 0x4dc14c
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 0x4dbc48
push eax
lea eax, [ebp - 0x48c]
mov byte [ebp - 4], 0x12
push eax
call fcn.00466880
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.00489ee0
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], 0x10a
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.00466800
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.0047e3a0
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], 0x20a
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.00472410
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 [0x518498]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x517588]
cmp eax, dword [ecx + 4]
jg 0x471c10
push dword [ebp - 0x474]
mov ecx, 0x51755c
call fcn.004676b0
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.00477000
add esp, 8
test eax, eax
je 0x471b6c
lea eax, [ebp - 0x490]
push eax
lea ecx, [ebp - 0x4e0]
call fcn.004a7dd0
lea ecx, [ebp - 0x4e0]
call fcn.00475840
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.004beb23
mov esp, ebp
pop ebp
ret
push 0x517588
call fcn.004bea9b
add esp, 4
cmp dword [0x517588], 0xffffffff
jne 0x471afa
mov ecx, 0x51755c
mov byte [ebp - 4], 0x1d
call fcn.004621d0
push 0x4d7de0
call fcn.004bea0a
push 0x517588
mov byte [ebp - 4], 0x1a
call fcn.004bea4a
add esp, 8
jmp 0x471afa