Function at 0x41bbf0
Capabilities:
Check if file exists
Delete file
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4560f8
mov eax, dword fs:[0]
push eax
sub esp, 0x854
mov eax, dword [0x47f060]
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 - 0x85c], ebx
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
call sub.MSVCR110.dll_memset
add esp, 0xc
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 eax, [ebp - 0x420]
push eax
push 1
push 0xffffffffffffffff
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
mov esi, 0x482700
test eax, eax
jne 0x41bd14
mov eax, dword [0x482718]
test al, 1
jne 0x41bcf3
or eax, 1
mov dword [0x482718], eax
mov dword [ebp - 4], 0
call fcn.00443180
push 0x45aea0
call fcn.004521b7
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [0x482714], 8
mov eax, esi
cmovae eax, dword [0x482700]
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x628]
push eax
call edi
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x41bd77
mov eax, dword [0x482718]
test al, 1
jne 0x41bd5e
or eax, 1
mov dword [0x482718], eax
mov dword [ebp - 4], 1
call fcn.00443180
push 0x45aea0
call fcn.004521b7
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [0x482714], 8
lea eax, [ebp - 0x218]
cmovae esi, dword [0x482700]
push esi
push eax
push eax
call edi
mov esi, dword [ebx + 0x60]
cmp esi, dword [ebx + 0x64]
je 0x41beff
mov edi, dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
lea esp, [esp]
cmp dword [esi + 0x14], 8
jb 0x41bd9a
mov eax, dword [esi]
jmp 0x41bd9c
mov eax, esi
push eax
lea ecx, [ebp - 0x834]
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::constructor_wchar_t_const__]
mov dword [ebp - 4], 2
cmp dword [ebx + 0x14], 8
jb 0x41bdb8
mov ebx, dword [ebx]
push ebx
mov ebx, dword [sym.imp.ouilibx.dll_public:_int___thiscall_OUI::COString::Replace_wchar_t_const___wchar_t_const__]
push str.__INSTDIR_
lea ecx, [ebp - 0x834]
call ebx
lea eax, [ebp - 0x628]
push eax
push str.__DEFUALT_USER_
lea ecx, [ebp - 0x834]
call ebx
lea eax, [ebp - 0x218]
push eax
push str.__CURRENT_USER_
lea ecx, [ebp - 0x834]
call ebx
lea eax, [ebp - 0x830]
push eax
push str.__DESKTEMP_
lea ecx, [ebp - 0x834]
call ebx
lea ecx, [ebp - 0x834]
call dword [sym.imp.ouilibx.dll_public:_int___thiscall_OUI::COString::GetLength_void_const]
push eax
lea ecx, [ebp - 0x834]
call dword [sym.imp.ouilibx.dll_public:_wchar_t____thiscall_OUI::COString::GetBuffer_int_]
mov ebx, eax
push 0x45f878
push ebx
call dword [sym.imp.MSVCR110.dll_wcsstr]
add esp, 8
test eax, eax
jne 0x41bebd
mov eax, dword [0x483128]
test al, 1
jne 0x41be58
or eax, 1
push 0x45aee0
mov dword [0x483128], eax
call fcn.004521b7
add esp, 4
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41bea9
lea eax, [ebp - 0x858]
push eax
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x41be91
mov eax, dword [ebp - 0x858]
and eax, 0xffffff7f
test al, 1
je 0x41be91
xor eax, 1
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x41bea9
push ebx
push str.CUninstalltools::DeleteConfigFile__ForceRemoveFile_succeed:_path___s_
call edi
add esp, 8
jmp 0x41beda
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str.CUninstalltools::DeleteConfigFile__ForceRemoveFile_failed:_path___s__err___d_
call edi
add esp, 0xc
jmp 0x41beda
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push ebx
mov edi, eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push edi
push ebx
call fcn.0041a7b0
mov edi, dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
lea ecx, [ebp - 0x834]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::destructor_void_]
mov ebx, dword [ebp - 0x85c]
add esi, 0x18
cmp esi, dword [ebx + 0x64]
jne 0x41bd90
mov al, 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.00452076
mov esp, ebp
pop ebp
ret