Function at 0x4107fe
Capabilities:
Delete registry key

Disassembly:
push ebp
lea ebp, [esp - 0xff8]
sub esp, 0xff8
push 0xffffffffffffffff
push 0x41a343
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
mov eax, dword [0x433028]
xor eax, ebp
mov dword [ebp + 0xff4], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
call dword [sym.imp.pcoshelper.dll_Ordinal_656]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], eax
call dword [0x424328]
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.pcoshelper.dll_Ordinal_1024]
lea ecx, [ebp - 0x10]
mov dword [esp], str.OneClickCure
call dword [0x424498]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
mov edi, dword [sym.imp.pcoshelper.dll_Ordinal_1048]
push eax
call edi
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str.Registry_Optimizer
lea ecx, [ebp - 0x10]
call dword [0x424498]
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 2
call edi
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
push str.SYSCLEAN
mov ecx, esi
call dword [sym.imp.pcoshelper.dll_Ordinal_1082]
cmp dword [ebp - 0x18], ebx
jne 0x4109b9
lea eax, [ebp - 0x18]
mov esi, Ordinal_5
push eax
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x18], esi
call dword [sym.imp.pcoshelper.dll_Ordinal_66]
push ebx
mov byte [ebp - 4], 3
push dword [ebp - 0x14]
lea ecx, [ebp - 0x38]
push esi
mov dword [ebp - 0x34], 0x20019
call dword [sym.imp.pcoshelper.dll_Ordinal_932]
test eax, eax
je 0x4109a8
lea ecx, [ebp - 0x10]
call dword [0x424328]
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 4
mov esi, dword [sym.imp.pcoshelper.dll_Ordinal_406]
push eax
call esi
mov edi, eax
mov byte [ebp - 4], 5
mov dword [esp], 0x4263a8
push str.IDS_SPC_OPTIMWIZARD_EXISTS
lea eax, [ebp - 0x18]
push eax
mov ecx, 0x434888
call dword [sym.imp.pcoshelper.dll_Ordinal_727]
mov byte [ebp - 4], 6
push dword [edi]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0xc
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea eax, [ebp - 0x1c]
push eax
call esi
mov eax, dword [eax]
pop ecx
push 0x40
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x38]
call dword [sym.imp.pcoshelper.dll_Ordinal_284]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], bl
call dword [sym.imp.pcoshelper.dll_Ordinal_131]
jmp 0x410a46
lea eax, [ebp - 0xfc]
push eax
call fcn.004101b6
push esi
lea ebx, [ebp - 0xfc]
mov byte [ebp - 4], 7
call fcn.004104a8
call fcn.00410af7
mov byte [esi + 0x133], al
test al, al
jne 0x4109f2
push dword [ebp - 0x14]
push Ordinal_5
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea eax, [ebp]
push eax
call fcn.00410b72
lea eax, [ebp]
mov byte [ebp - 4], 8
mov dword [esi + 0x20], eax
mov dword [0x433df8], eax
lea eax, [ebp - 0xfc]
push eax
lea ecx, [ebp]
call dword [sym.imp.pcoshelper.dll_Ordinal_669]
lea ecx, [ebp]
call sub.mfc90u.dll_CDialog::DoModal
mov byte [ebp - 4], 7
lea ecx, [ebp]
mov dword [ebp], vtable.CSyscleanDlg.0
call dword [sym.imp.pcoshelper.dll_Ordinal_93]
lea eax, [ebp - 0xfc]
push eax
mov byte [ebp - 4], 0
call fcn.00410a74
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xff4]
xor ecx, ebp
call fcn.004179ba
add ebp, 0xff8
leave
ret