Function at 0x40dcbc
Capabilities:
Delete registry key

Disassembly:
push 0x2c
mov eax, 0x41a4a0
call fcn.0041805c
mov dword [ebp - 0x24], ecx
xor esi, esi
push esi
lea eax, [ebp - 0x28]
push eax
push ecx
call fcn.0040d74d
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x28]
cmp dword [eax - 0xc], esi
jne 0x40dd35
cmp byte [0x4349bb], 0
jne 0x40dd35
push 0x4263a8
push str.SCANTAB_SELECT_DRIVES
lea eax, [ebp - 0x2c]
push eax
mov ecx, 0x434888
call dword [sym.imp.pcoshelper.dll_Ordinal_727]
push 1
push esi
push esi
mov byte [ebp - 4], 1
mov eax, dword [eax]
push 0x10
push eax
call dword [sym.imp.pcoshelper.dll_Ordinal_258]
add esp, 0x14
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0
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 dword [ebp - 0x24]
call fcn.0040d8a9
jmp 0x40e01d
mov dword [ebp - 0x10], esi
call dword [sym.imp.pcoshelper.dll_Ordinal_562]
push eax
lea ecx, [ebp - 0x18]
call dword [0x424498]
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 2
call dword [sym.imp.pcoshelper.dll_Ordinal_406]
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
mov esi, dword [sym.imp.pcoshelper.dll_Ordinal_1048]
push eax
call esi
add esp, 0xc
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
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 - 0x18]
push eax
lea ecx, [ebp - 0x34]
call dword [0x42433c]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call dword [0x42433c]
mov edi, str.LocationDrives
push edi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call dword [0x424498]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 6
call esi
pop ecx
pop ecx
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ebx, str.LocationFolders
push ebx
lea ecx, [ebp - 0x20]
call dword [0x424498]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x30]
push eax
mov byte [ebp - 4], 7
call esi
pop ecx
pop ecx
lea ecx, [ebp - 0x20]
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 - 0x20]
call dword [0x424328]
push 0xe000
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 8
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::LoadStringW]
push 1
push 0x5c
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x18]
call fcn.0040a739
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.0040a739
add esp, 0x10
lea ecx, [ebp - 0x2c]
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], 0xd
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 - 0x14]
push eax
lea ecx, [ebp - 0x1c]
call dword [0x42433c]
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
call dword [0x424498]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0xf
call esi
pop ecx
pop ecx
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xe
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 ebx
lea ecx, [ebp - 0x2c]
call dword [0x424498]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 0x10
call esi
pop ecx
pop ecx
lea ecx, [ebp - 0x2c]
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 dword [ebp - 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push Ordinal_5
call esi
push dword [ebp - 0x1c]
push Ordinal_5
call esi
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]
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]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov esi, dword [ebp - 0x24]
and dword [ebp - 0x14], 0
add esi, 0x19c
mov eax, esi
call fcn.004037ed
test eax, eax
jle 0x40df77
push dword [ebp - 0x14]
mov ecx, esi
call sub.mfc90u.dll_CListCtrl::GetCheck
test eax, eax
je 0x40df68
push 0
push dword [ebp - 0x14]
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call sub.mfc90u.dll_CListCtrl::GetItemText
lea ecx, [ebp - 0x20]
call dword [0x424328]
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push 0x42a0d8
push eax
mov byte [ebp - 4], 0x12
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0xc
push dword [ebp - 0x2c]
mov ecx, 0x434888
push dword [ebp - 0x20]
push edi
call sub.mfc90u.dll_CWinApp::WriteProfileStringW
inc dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
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 - 0x2c]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
inc dword [ebp - 0x14]
mov eax, esi
call fcn.004037ed
cmp dword [ebp - 0x14], eax
jl 0x40defe
mov esi, dword [ebp - 0x24]
add esi, 0x290
xor edi, edi
mov eax, esi
mov dword [ebp - 0x10], edi
call fcn.004037ed
test eax, eax
jle 0x40e002
push edi
mov ecx, esi
call sub.mfc90u.dll_CListCtrl::GetCheck
test eax, eax
je 0x40dff6
push 0
push edi
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call sub.mfc90u.dll_CListCtrl::GetItemText
lea ecx, [ebp - 0x20]
call dword [0x424328]
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
push 0x42a0d8
push eax
mov byte [ebp - 4], 0x14
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0xc
push dword [ebp - 0x2c]
mov ecx, 0x434888
push dword [ebp - 0x20]
push ebx
call sub.mfc90u.dll_CWinApp::WriteProfileStringW
inc dword [ebp - 0x10]
lea ecx, [ebp - 0x20]
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 - 0x2c]
mov byte [ebp - 4], 5
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
inc edi
call fcn.004037ed
cmp edi, eax
jl 0x40df90
lea ecx, [ebp - 0x30]
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 - 0x34]
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 - 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 - 0x28]
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 fcn.004180fb
ret