Function at 0x4945b0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51aeb7
mov eax, dword fs:[0]
push eax
sub esp, 0x4d4
mov eax, dword [0x584f80]
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 0x494620
mov eax, dword [ecx]
call dword [eax + 0xe0]
test eax, eax
je 0x494619
cmp dword [ebx + 0x7c], 0
je 0x49460d
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 0x494620
xor eax, eax
jmp 0x494c74
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 0x494c63
push eax
lea eax, [ebp - 0x49c]
push eax
call fcn.0049fc80
push dword [ebp - 0x47c]
lea eax, [ebp - 0x474]
mov byte [ebp - 4], 1
push eax
call fcn.0049fb00
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.0049fb00
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.00462c50
add esp, 8
test eax, eax
je 0x4947b2
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 0x4947b2
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.004a4030
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__27]
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.004a4030
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__27]
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.00487910
push 0x536bb0
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__27]
lea eax, [ebp - 0x478]
mov byte [ebp - 4], 0xf
push eax
lea ecx, [ebp - 0x4e0]
call fcn.004ca220
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.00462c50
add esp, 8
test eax, eax
je 0x494bc5
lea eax, [ebp - 0x47c]
push eax
lea eax, [ebp - 0x478]
push eax
call fcn.004a4030
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 0x538a14
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__18]
push 0x532e9c
push eax
lea eax, [ebp - 0x48c]
mov byte [ebp - 4], 0x12
push eax
call fcn.0045ee50
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.004653d0
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.0045edd0
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.004635b0
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.004e2fb0
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 [0x5e2e08]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x58a910]
cmp eax, dword [ecx + 4]
jg 0x494c90
push dword [ebp - 0x474]
mov ecx, 0x58a8e4
call fcn.004898c0
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__26]
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.00462c50
add esp, 8
test eax, eax
je 0x494bec
lea eax, [ebp - 0x490]
push eax
lea ecx, [ebp - 0x4e0]
call fcn.004f8550
lea ecx, [ebp - 0x4e0]
call fcn.0049b100
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.00506d06
mov esp, ebp
pop ebp
ret
push 0x58a910
call fcn.00506c7e
add esp, 4
cmp dword [0x58a910], 0xffffffff
jne 0x494b7a
mov ecx, 0x58a8e4
mov byte [ebp - 4], 0x1d
call fcn.004858d0
push 0x52fc10
call fcn.00506bed
push 0x58a910
mov byte [ebp - 4], 0x1a
call fcn.00506c2d
add esp, 8
jmp 0x494b7a