Function at 0x471660
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d0be7
mov eax, dword fs:[0]
push eax
sub esp, 0x4d4
mov eax, dword [0x501fc0]
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 - 0x480], 0
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x4716d0
mov eax, dword [ecx]
call dword [eax + 0xe0]
test eax, eax
je 0x4716c9
cmp dword [ebx + 0x7c], 0
je 0x4716bd
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 0x4716d0
xor eax, eax
jmp 0x471d24
mov eax, dword [ebx]
lea ecx, [ebp - 0x47c]
push ecx
mov ecx, ebx
call dword [eax + 0x1c]
mov eax, dword [ebp - 0x47c]
mov dword [ebp - 4], 0
cmp dword [eax - 0xc], 0
je 0x471d13
push eax
lea eax, [ebp - 0x49c]
push eax
call fcn.0047ad50
push dword [ebp - 0x47c]
lea eax, [ebp - 0x474]
mov byte [ebp - 4], 1
push eax
call fcn.0047abd0
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 - 0x480], 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 - 0x47c]
lea eax, [ebp - 0x474]
mov byte [ebp - 4], 4
push eax
call fcn.0047abd0
add esp, 8
lea ecx, [ebp - 0x474]
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 - 0x474]
push 4
push str..dxf
mov dword [ebp - 0x480], 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 - 0x474]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x488]
mov byte [ebp - 4], 7
push 0
push eax
call fcn.004771e0
add esp, 8
test eax, eax
je 0x471862
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 0x471862
push 0
lea eax, [ebp - 0x470]
push eax
push dword [ebp - 0x488]
call sub.mfc140u.dll_CFile::GetStatus
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x478]
push eax
call fcn.0047e2c0
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 - 0x480], 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 - 0x478]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x478]
push eax
call fcn.0047e2c0
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 - 0x480], 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 - 0x478]
mov byte [ebp - 4], 7
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x4e0]
call fcn.00464b30
push 0x4e21bc
lea ecx, [ebp - 0x478]
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 - 0x478]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x4e0]
call fcn.004a3ee0
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 0xe
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x488]
push 0
push eax
call fcn.004771e0
add esp, 8
test eax, eax
je 0x471c75
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x478]
push eax
call fcn.0047e2c0
add esp, 8
lea ecx, [ebp - 0x478]
mov byte [ebp - 4], 0x11
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
lea ecx, [ebp - 0x484]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x480], 0x4a
push dword [eax - 0xc]
push eax
push 3
lea eax, [ebp - 0x484]
push 0x4e3144
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea eax, [ebp - 0x498]
lea ecx, [ebp - 0x484]
push 3
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
push 0x4e2c40
push eax
lea eax, [ebp - 0x48c]
mov byte [ebp - 4], 0x12
push eax
call fcn.00466a30
add esp, 0xc
lea ecx, [ebp - 0x498]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x484]
mov byte [ebp - 4], 0x15
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x4a0]
push eax
call fcn.0048a310
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 - 0x480], 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.004669b0
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 - 0x47c]
push eax
lea eax, [ebp - 0x498]
push eax
call fcn.0047e730
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 - 0x484]
call dword [sym.imp.mfc140u.dll_Ordinal_285]
mov eax, dword [esi]
push 4
push str..DXF
mov dword [ebp - 0x480], 0x20a
push dword [eax - 0xc]
push eax
lea eax, [ebp - 0x484]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::Concatenate]
add esp, 0x14
lea eax, [ebp - 0x484]
lea ecx, [ebp - 0x474]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator_3]
lea ecx, [ebp - 0x484]
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.004725e0
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 [0x51f4b8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x51e5a8]
cmp eax, dword [ecx + 4]
jg 0x471d40
push dword [ebp - 0x474]
mov ecx, 0x51e57c
call fcn.00467860
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 - 0x478]
mov byte [ebp - 4], 0xe
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x490]
push 0
push eax
call fcn.004771e0
add esp, 8
test eax, eax
je 0x471c9c
lea eax, [ebp - 0x490]
push eax
lea ecx, [ebp - 0x4e0]
call fcn.004a88f0
lea ecx, [ebp - 0x4e0]
call fcn.004759f0
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 - 0x47c]
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.004bf563
mov esp, ebp
pop ebp
ret
push 0x51e5a8
call fcn.004bf4db
add esp, 4
cmp dword [0x51e5a8], 0xffffffff
jne 0x471c2a
mov ecx, 0x51e57c
mov byte [ebp - 4], 0x1d
call fcn.00462150
push 0x4decc0
call fcn.004bf44a
push 0x51e5a8
mov byte [ebp - 4], 0x1a
call fcn.004bf48a
add esp, 8
jmp 0x471c2a