Function at 0x4014e0
Capabilities:
Delete registry value
Query or enumerate registry key
Query or enumerate registry value
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x403616
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
push ebp
push esi
lea ecx, [esp + 0x10]
call fcn.00403352
xor ebp, ebp
lea ecx, [esp + 8]
mov dword [esp + 0x150], ebp
call fcn.00403352
mov esi, dword [esp + 0x158]
lea eax, [esp + 0x28]
push eax
push 0xf003f
push ebp
push ebp
push esi
mov byte [esp + 0x164], 1
mov dword [esp + 0x28], ebp
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebp
jne 0x4017b1
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push edi
mov edi, dword [esp + 0x168]
mov dword [esp + 0x20], ebp
test ebp, ebp
je 0x401569
cmp ebp, 0xea
jne 0x4017a4
lea ecx, [esp + 0x44]
lea edx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x24]
push 0
push 0
push 0
lea eax, [esp + 0x5c]
push edx
mov edx, dword [esp + 0x44]
push eax
push ecx
push edx
mov dword [esp + 0x58], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x1c]
push 0x405130
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [esp + 0x4c]
lea eax, [esp + 0x10]
push edx
push 0x405130
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x170]
add esp, 0xc
push ecx
lea ecx, [esp + 0x1c]
call fcn.0040335e
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push 0xf003f
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push 0xffffffffffffffff
lea ecx, [esp + 0x1c]
mov ebp, eax
call sub.MFC42.DLL_CString::ReleaseBuffer
test ebp, ebp
jne 0x40170e
lea ecx, [esp + 0x34]
lea edx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x170]
push edx
push eax
push ebp
push edi
push ecx
mov dword [esp + 0x4c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4016ee
cmp dword [esp + 0x1c], 1
je 0x401787
mov edx, dword [esp + 0x14]
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x170]
push 4
push eax
push 4
push ebp
push edi
push ecx
call ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIconsClassicStartMenu
lea ecx, [esp + 0x14]
call fcn.0040335e
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x40]
lea eax, [esp + 0x28]
push edx
push eax
push ebp
push 0xf003f
push ebp
push ebp
push ebp
push ecx
push esi
mov dword [esp + 0x4c], ebp
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4016a7
mov ebp, dword [esp + 0x28]
test ebp, ebp
je 0x4016a7
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebp, ebp
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x2c]
push edx
push 0xf003f
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x170]
push 4
push ecx
push 4
push 0
push edi
push edx
call ebx
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebp, ebp
je 0x401787
push ebp
jmp 0x401781
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x170]
push 4
push ecx
push 4
push 0
push edi
push edx
mov dword [esp + 0x34], 0
call ebx
jmp 0x401787
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerHideDesktopIcons
lea ecx, [esp + 0x14]
call fcn.0040335e
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push 0xf003f
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x401787
push str.NewStartPanel
lea ecx, [esp + 0x14]
call fcn.0040335e
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x24]
push 0
push edx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x170]
push 4
push ecx
push 4
push 0
push edi
push edx
call ebx
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x20], eax
jmp 0x401559
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov esi, dword [esp + 0x14]
lea ecx, [esp + 8]
mov byte [esp + 0x150], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x150], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x148]
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14c
ret