Function at 0x410bc0
Capabilities:
Check if file exists
Copy file
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x444497
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x467060]
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 - 0x260], ebx
push str.ignore
mov edx, ebx
lea ecx, [ebp - 0x238]
call fcn.0040d130
add esp, 4
mov dword [ebp - 4], 0
mov esi, dword [ebx + 0x6c]
mov edx, dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::constructor_wchar_t_const__]
mov edi, dword [sym.imp.ouilibx.dll_public:_wchar_t____thiscall_OUI::COString::GetBuffer_int_]
cmp esi, dword [ebx + 0x70]
je 0x410e56
lea ebx, [ebx]
cmp dword [esi + 0x14], 8
jb 0x410c3a
mov eax, dword [esi]
jmp 0x410c3c
mov eax, esi
push eax
lea ecx, [ebp - 0x21c]
call edx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x224], 8
mov ebx, dword [sym.imp.ouilibx.dll_public:_int___thiscall_OUI::COString::Replace_wchar_t_const___wchar_t_const__]
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
push str.__INSTDIR_
lea ecx, [ebp - 0x21c]
call ebx
push 0x44aca8
push 0x44b720
lea ecx, [ebp - 0x21c]
call ebx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x21c]
push 0
call edi
mov ebx, eax
lea ecx, [ebp - 0x218]
mov eax, ecx
mov edi, 0x104
sub ebx, eax
lea esp, [esp]
lea edx, [edi + 0x7ffffefa]
test edx, edx
je 0x410cde
movzx eax, word [ebx + ecx]
test ax, ax
je 0x410cde
mov word [ecx], ax
add ecx, 2
dec edi
jne 0x410cc0
jmp 0x410ce2
test edi, edi
jne 0x410ce5
sub ecx, 2
xor eax, eax
mov word [ecx], ax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [0x469f00]
test al, 1
jne 0x410d15
or eax, 1
push 0x4486c0
mov dword [0x469f00], eax
call fcn.00441527
add esp, 4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x410d70
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x410d70
mov eax, dword [0x46a9cc]
test al, 1
jne 0x410d57
or eax, 1
push 0x448830
mov dword [0x46a9cc], eax
call fcn.00441527
add esp, 4
lea eax, [ebp - 0x218]
push eax
push str.Failed_to_create_directory_:__s
push 0x46a9c8
call fcn.0043aff0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x410d7a
mov eax, dword [esi]
jmp 0x410d7c
mov eax, esi
push eax
mov eax, dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::constructor_wchar_t_const__]
lea ecx, [ebp - 0x220]
call eax
mov ebx, dword [ebp - 0x260]
mov byte [ebp - 4], 2
cmp dword [ebx + 0x14], 8
jb 0x410d9e
mov eax, dword [ebx]
jmp 0x410da0
mov eax, ebx
mov edi, dword [sym.imp.ouilibx.dll_public:_int___thiscall_OUI::COString::Replace_wchar_t_const___wchar_t_const__]
push eax
push str.__INSTDIR_
lea ecx, [ebp - 0x220]
call edi
push 0x44aca8
push 0x44b720
lea ecx, [ebp - 0x220]
call edi
mov edi, dword [sym.imp.ouilibx.dll_public:_wchar_t____thiscall_OUI::COString::GetBuffer_int_]
push 0
lea ecx, [ebp - 0x220]
call edi
lea edx, [ebp - 0x218]
mov ecx, eax
call fcn.0041cd20
lea ecx, [ebp - 0x220]
test eax, eax
jne 0x410e09
lea eax, [ebp - 0x218]
push eax
push 0
call edi
push eax
push str.CInstalltools::BackUpIgnoreFiles__CopyFolder_succeed__src___s__des___s_
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 0xc
jmp 0x410e24
push eax
lea eax, [ebp - 0x218]
push eax
push 0
call edi
push eax
push str.CInstalltools::BackUpIgnoreFiles__CopyFolder_failed__src___s__dst___s__err___d_
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 0x10
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 1
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::destructor_void_]
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::destructor_void_]
mov edx, dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::constructor_wchar_t_const__]
add esi, 0x18
cmp esi, dword [ebx + 0x70]
jne 0x410c30
mov esi, dword [ebx + 0x78]
cmp esi, dword [ebx + 0x7c]
je 0x4110a9
jmp 0x410e6a
mov edx, dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::constructor_wchar_t_const__]
cmp dword [esi + 0x14], 8
jb 0x410e74
mov eax, dword [esi]
jmp 0x410e76
mov eax, esi
push eax
lea ecx, [ebp - 0x220]
call edx
mov byte [ebp - 4], 3
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
push str.__INSTDIR_
lea ecx, [ebp - 0x220]
call dword [sym.imp.ouilibx.dll_public:_int___thiscall_OUI::COString::Replace_wchar_t_const___wchar_t_const__]
push 0x44aca8
push 0x44b720
lea ecx, [ebp - 0x220]
call dword [sym.imp.ouilibx.dll_public:_int___thiscall_OUI::COString::Replace_wchar_t_const___wchar_t_const__]
cmp dword [esi + 0x14], 8
jb 0x410ec9
mov eax, dword [esi]
jmp 0x410ecb
mov eax, esi
push eax
mov eax, dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::constructor_wchar_t_const__]
lea ecx, [ebp - 0x21c]
call eax
mov byte [ebp - 4], 4
cmp dword [ebx + 0x14], 8
jb 0x410ee7
mov eax, dword [ebx]
jmp 0x410ee9
mov eax, ebx
mov ebx, dword [sym.imp.ouilibx.dll_public:_int___thiscall_OUI::COString::Replace_wchar_t_const___wchar_t_const__]
push eax
push str.__INSTDIR_
lea ecx, [ebp - 0x21c]
call ebx
push 0x44aca8
push 0x44b720
lea ecx, [ebp - 0x21c]
call ebx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x220]
push 0
call edi
mov ebx, eax
lea edx, [ebp - 0x218]
mov eax, edx
mov edi, 0x104
sub ebx, eax
jmp 0x410f50
lea ecx, [edi + 0x7ffffefa]
test ecx, ecx
je 0x410f6e
movzx eax, word [ebx + edx]
test ax, ax
je 0x410f6e
mov word [edx], ax
add edx, 2
dec edi
jne 0x410f50
jmp 0x410f72
test edi, edi
jne 0x410f75
sub edx, 2
xor eax, eax
mov word [edx], ax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [0x469f00]
test al, 1
jne 0x410fa5
or eax, 1
push 0x4486c0
mov dword [0x469f00], eax
call fcn.00441527
add esp, 4
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x411000
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
test eax, eax
je 0x411000
mov eax, dword [0x46a9cc]
test al, 1
jne 0x410fe7
or eax, 1
push 0x448830
mov dword [0x46a9cc], eax
call fcn.00441527
add esp, 4
lea eax, [ebp - 0x218]
push eax
push str.Failed_to_create_directory_:__s
push 0x46a9c8
call fcn.0043aff0
add esp, 0xc
mov edi, dword [sym.imp.ouilibx.dll_public:_wchar_t____thiscall_OUI::COString::GetBuffer_int_]
push 0
push 0
lea ecx, [ebp - 0x220]
call edi
push eax
push 0
lea ecx, [ebp - 0x21c]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x41104e
push 0
lea ecx, [ebp - 0x220]
call edi
push eax
push 0
lea ecx, [ebp - 0x21c]
call edi
push eax
push str.CInstalltools::BackUpIgnoreFiles__CopyFile_succeed__src___s__des___s_
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 0xc
jmp 0x411079
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
lea ecx, [ebp - 0x220]
call edi
push eax
push 0
lea ecx, [ebp - 0x21c]
call edi
push eax
push str.CInstalltools::BackUpIgnoreFiles__CopyFile_failed__src___s__dst___s__err___d_
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 0x10
mov byte [ebp - 4], 3
mov ebx, dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::destructor_void_]
lea ecx, [ebp - 0x21c]
call ebx
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 0
call ebx
mov ebx, dword [ebp - 0x260]
add esi, 0x18
cmp esi, dword [ebx + 0x7c]
jne 0x410e64
mov esi, dword [ebx + 0x84]
cmp esi, dword [ebx + 0x88]
je 0x4111e9
jmp 0x4110c0
cmp dword [esi + 0x14], 8
jb 0x4110ca
mov eax, dword [esi]
jmp 0x4110cc
mov eax, esi
push eax
lea ecx, [ebp - 0x21c]
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::constructor_wchar_t_const__]
mov byte [ebp - 4], 5
cmp dword [ebp - 0x224], 8
mov edi, dword [sym.imp.ouilibx.dll_public:_int___thiscall_OUI::COString::Replace_wchar_t_const___wchar_t_const__]
lea eax, [ebp - 0x238]
cmovae eax, dword [ebp - 0x238]
push eax
push str.__INSTDIR_
lea ecx, [ebp - 0x21c]
call edi
push 0x44aca8
push 0x44b720
lea ecx, [ebp - 0x21c]
call edi
mov eax, dword [0x46a8ec]
test al, 1
jne 0x411135
or eax, 1
push 0x448710
mov dword [0x46a8ec], eax
call fcn.00441527
add esp, 4
lea ecx, [ebp - 0x21c]
call dword [sym.imp.ouilibx.dll_public:_wchar_t_const____thiscall_OUI::COString::operator_wchar_t_const__void_const]
mov edi, eax
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4111a6
lea eax, [ebp - 0x25c]
push eax
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x41117c
mov eax, dword [ebp - 0x25c]
and eax, 0xffffff7f
test al, 1
je 0x41117c
xor eax, 1
push eax
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x4111a6
push 0
lea ecx, [ebp - 0x21c]
call dword [sym.imp.ouilibx.dll_public:_wchar_t____thiscall_OUI::COString::GetBuffer_int_]
push eax
push str.CInstalltools::BackUpIgnoreFiles__ForceRemoveFile_succeed:_path___s_
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 8
jmp 0x4111ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
lea ecx, [ebp - 0x21c]
call dword [sym.imp.ouilibx.dll_public:_wchar_t____thiscall_OUI::COString::GetBuffer_int_]
push eax
push str.CInstalltools::BackUpIgnoreFiles__ForceRemoveFile_failed:_path___s__err___d_
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 0xc
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 0
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::destructor_void_]
add esi, 0x18
cmp esi, dword [ebx + 0x88]
jne 0x4110c0
cmp dword [ebp - 0x224], 8
jb 0x411201
push dword [ebp - 0x238]
call dword [sym.imp.MSVCR110.dll_void___cdecl_operator_delete_void__]
add esp, 4
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.004413e6
mov esp, ebp
pop ebp
ret