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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44480e
mov eax, dword fs:[0]
push eax
sub esp, 0x640
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
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 0x4134ee
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 0x4132c1
mov eax, dword [esi]
jmp 0x4132c3
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 0x4132e1
mov eax, dword [ebx]
jmp 0x4132e3
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 [0x469aec]
test al, 1
jne 0x41337e
or eax, 1
mov dword [0x469aec], eax
xor eax, eax
mov dword [0x469ad0], 7
mov dword [0x469acc], 0
mov word [0x469abc], ax
mov dword [0x469ae8], 7
mov dword [0x469ae4], eax
mov word [0x469ad4], ax
push 2
push 0x458a08
mov ecx, 0x469abc
mov byte [ebp - 4], 3
call fcn.00405570
push 6
push str.eCyber
mov ecx, 0x469ad4
call fcn.00405570
push 0x4486b0
call fcn.00441527
add esp, 4
mov byte [ebp - 4], 0
cmp dword [0x469ae8], 8
mov eax, 0x469ad4
cmovae eax, dword [0x469ad4]
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 [0x469f00]
test al, 1
jne 0x4133d1
or eax, 1
push 0x4486c0
mov dword [0x469f00], eax
call fcn.00441527
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 0x458b44
lea eax, [ebp - 0x420]
push 0x208
push eax
call fcn.00401b90
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 0x4134ae
push dword [ebp - 0x62c]
push str.CUninstalltools::RemoveDirFromVector__DeleteFolder_succeed:_path___s_
call dword [sym.imp.isafepxy.dll_ISAFE_WriteProgramLogNoMask]
add esp, 8
jmp 0x4134c9
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 0x4132b7
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.004413e6
mov esp, ebp
pop ebp
ret