Function at 0x41b860
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x456278
mov eax, dword fs:[0]
push eax
sub esp, 0xa50
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
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call sub.MSVCR110.dll_memset
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push eax
call sub.MSVCR110.dll_memset
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
call sub.MSVCR110.dll_memset
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, 0x30
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 0x41b975
mov eax, dword [0x482718]
test al, 1
jne 0x41b954
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 0x41b9d8
mov eax, dword [0x482718]
test al, 1
jne 0x41b9bf
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 eax, dword [0x4826e0]
test al, 1
jne 0x41b9f6
or eax, 1
push 0x45ae80
mov dword [0x4826e0], eax
call fcn.004521b7
add esp, 4
sub esp, 8
lea eax, [ebp - 0x830]
push eax
call fcn.00444100
mov esi, dword [ebx + 0x54]
cmp esi, dword [ebx + 0x58]
je 0x41bbc8
mov edi, dword [sym.imp.ouilibx.dll_public:_int___thiscall_OUI::COString::Replace_wchar_t_const___wchar_t_const__]
cmp dword [esi + 0x14], 8
jb 0x41ba21
mov eax, dword [esi]
jmp 0x41ba23
mov eax, esi
push eax
lea ecx, [ebp - 0xa3c]
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 0x41ba41
mov eax, dword [ebx]
jmp 0x41ba43
mov eax, ebx
push eax
push str.__INSTDIR_
lea ecx, [ebp - 0xa3c]
call edi
lea eax, [ebp - 0x628]
push eax
push str.__DEFUALT_USER_
lea ecx, [ebp - 0xa3c]
call edi
lea eax, [ebp - 0x218]
push eax
push str.__CURRENT_USER_
lea ecx, [ebp - 0xa3c]
call edi
lea eax, [ebp - 0x830]
push eax
push str.__DESKTEMP_
lea ecx, [ebp - 0xa3c]
call edi
mov eax, dword [0x4826e0]
test al, 1
jne 0x41baab
or eax, 1
push 0x45ae80
mov dword [0x4826e0], eax
call fcn.004521b7
add esp, 4
lea ecx, [ebp - 0xa3c]
call dword [sym.imp.ouilibx.dll_public:_wchar_t_const____thiscall_OUI::COString::operator_wchar_t_const__void_const]
mov edi, eax
xorps xmm0, xmm0
movq qword [ebp - 0xa4c], xmm0
mov eax, 0x614
mov word [ebp - 0xa4c], ax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0xa38], ax
lea eax, [ebp - 0xa36]
movq qword [ebp - 0xa5c], xmm0
mov dword [ebp - 0xa44], 0
mov word [ebp - 0xa40], 0
push eax
movq qword [ebp - 0xa54], xmm0
mov dword [ebp - 0xa46], 0
mov dword [ebp - 0xa5c], 0
mov dword [ebp - 0xa42], 0
call sub.MSVCR110.dll_memset
push edi
push 0x46f344
lea eax, [ebp - 0xa38]
push 0x208
push eax
call fcn.00401c10
lea eax, [ebp - 0xa38]
add esp, 0x1c
mov dword [ebp - 0xa54], eax
lea eax, [ebp - 0xa5c]
push eax
mov dword [ebp - 0xa58], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
test al, al
je 0x41bb88
push dword [ebp - 0xa3c]
push str.CUninstalltools::RemoveConfigDir__DeleteFolder_succeed:_path___s_
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 8
jmp 0x41bba3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0xa3c]
push str.CUninstalltools::RemoveConfigDir__DeleteFolder_failed:_path___s__err___d_
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 0xc
lea ecx, [ebp - 0xa3c]
mov dword [ebp - 4], 0xffffffff
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::destructor_void_]
mov edi, dword [sym.imp.ouilibx.dll_public:_int___thiscall_OUI::COString::Replace_wchar_t_const___wchar_t_const__]
add esi, 0x18
cmp esi, dword [ebx + 0x58]
jne 0x41ba17
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