Function at 0x471640
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ce6b7
mov eax, dword fs:[0]
push eax
sub esp, 0x4d4
mov eax, dword [0x4fefc0]
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 0x4716b0
mov eax, dword [ecx]
call dword [eax + 0xe0]
test eax, eax
je 0x4716a9
cmp dword [ebx + 0x7c], 0
je 0x47169d
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 0x4716b0
xor eax, eax
jmp 0x471d04
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 0x471cf3
push eax
lea eax, [ebp - 0x49c]
push eax
call fcn.0047ad20
push dword [ebp - 0x47c]
lea eax, [ebp - 0x474]
mov byte [ebp - 4], 1
push eax
call fcn.0047aba0
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.0047aba0
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.004771b0
add esp, 8
test eax, eax
je 0x471842
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 0x471842
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.0047e2b0
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.0047e2b0
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.00464b20
push 0x4df4ac
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.004a3ec0
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.004771b0
add esp, 8
test eax, eax
je 0x471c55
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x478]
push eax
call fcn.0047e2b0
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 0x4e014c
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 0x4dfc48
push eax
lea eax, [ebp - 0x48c]
mov byte [ebp - 4], 0x12
push eax
call fcn.00466a10
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.0048a2f0
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.00466990
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.0047e720
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.004725c0
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 [0x51c4b8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x51b5a8]
cmp eax, dword [ecx + 4]
jg 0x471d20
push dword [ebp - 0x474]
mov ecx, 0x51b57c
call fcn.00467840
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.004771b0
add esp, 8
test eax, eax
je 0x471c7c
lea eax, [ebp - 0x490]
push eax
lea ecx, [ebp - 0x4e0]
call fcn.004a88d0
lea ecx, [ebp - 0x4e0]
call fcn.004759c0
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.004bf553
mov esp, ebp
pop ebp
ret
push 0x51b5a8
call fcn.004bf4cb
add esp, 4
cmp dword [0x51b5a8], 0xffffffff
jne 0x471c0a
mov ecx, 0x51b57c
mov byte [ebp - 4], 0x1d
call fcn.00462140
push 0x4dc790
call fcn.004bf43a
push 0x51b5a8
mov byte [ebp - 4], 0x1a
call fcn.004bf47a
add esp, 8
jmp 0x471c0a