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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4562ce
mov eax, dword fs:[0]
push eax
sub esp, 0x640
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
lea eax, [ebp - 0x628]
push eax
push 0
push 0
push 0x17
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
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 - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, dword [ebx + 0x3c]
cmp esi, dword [ebx + 0x40]
je 0x41b63e
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 0x41b411
mov eax, dword [esi]
jmp 0x41b413
mov eax, esi
push eax
lea ecx, [ebp - 0x62c]
call dword [sym.imp.ouilibx.dll_public:_void___thiscall_OUI::COString::constructor_wchar_t_const__]
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 8
jb 0x41b431
mov eax, dword [ebx]
jmp 0x41b433
mov eax, ebx
push eax
push str.__INSTDIR_
lea ecx, [ebp - 0x62c]
call edi
lea eax, [ebp - 0x628]
push eax
push str.__SMPROGRAMS_
lea ecx, [ebp - 0x62c]
call edi
mov eax, dword [0x482718]
test al, 1
jne 0x41b4ce
or eax, 1
mov dword [0x482718], eax
xor eax, eax
mov dword [0x4826fc], 7
mov dword [0x4826f8], 0
mov word [0x4826e8], ax
mov dword [0x482714], 7
mov dword [0x482710], eax
mov word [0x482700], ax
push 2
push 0x46f1e8
mov ecx, 0x4826e8
mov byte [ebp - 4], 3
call fcn.00406c00
push 6
push str.eCyber
mov ecx, 0x482700
call fcn.00406c00
push 0x45aea0
call fcn.004521b7
add esp, 4
mov byte [ebp - 4], 0
cmp dword [0x482714], 8
mov eax, 0x482700
cmovae eax, dword [0x482700]
push eax
push str.__PRODUCT_NAME_
lea ecx, [ebp - 0x62c]
call edi
lea eax, [ebp - 0x218]
push eax
push str.__SYSDIR_
lea ecx, [ebp - 0x62c]
call edi
mov eax, dword [0x4826e0]
test al, 1
jne 0x41b521
or eax, 1
push 0x45ae80
mov dword [0x4826e0], eax
call fcn.004521b7
add esp, 4
lea ecx, [ebp - 0x62c]
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 - 0x63c], xmm0
mov eax, 0x614
mov word [ebp - 0x63c], ax
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
movq qword [ebp - 0x64c], xmm0
mov dword [ebp - 0x634], 0
mov word [ebp - 0x630], 0
push eax
movq qword [ebp - 0x644], xmm0
mov dword [ebp - 0x636], 0
mov dword [ebp - 0x64c], 0
mov dword [ebp - 0x632], 0
call sub.MSVCR110.dll_memset
push edi
push 0x46f344
lea eax, [ebp - 0x420]
push 0x208
push eax
call fcn.00401c10
lea eax, [ebp - 0x420]
add esp, 0x1c
mov dword [ebp - 0x644], eax
lea eax, [ebp - 0x64c]
push eax
mov dword [ebp - 0x648], 3
call dword [sym.imp.SHELL32.dll_SHFileOperationW]
test eax, eax
sete al
test al, al
je 0x41b5fe
push dword [ebp - 0x62c]
push str.CUninstalltools::RemoveDirFromVector__DeleteFolder_succeed:_path___s_
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 8
jmp 0x41b619
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x62c]
push str.CUninstalltools::RemoveDirFromVector__DeleteFolder_failed:_path___s__err___d_
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 0xc
lea ecx, [ebp - 0x62c]
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 + 0x40]
jne 0x41b407
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