Function at 0x4055a0
Capabilities:
Set registry value

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [esp + 0x14]
push eax
push 0x20006
xor esi, esi
push esi
push str.Control_PanelDesktop
push reloc.K7UI.dll_Ordinal_1
mov dword [esp + 0x24], 1
mov dword [esp + 0x28], esi
xor ebx, ebx
call edi
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x40560a
mov ecx, dword [esp + 0x14]
push 2
push 0x417a40
push 1
push esi
push 0x417a44
push ecx
call ebp
test eax, eax
jne 0x4055fb
lea ebx, [esi + 1]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, esi
jne 0x40560e
mov dword [esp + 0x10], esi
lea eax, [esp + 0x14]
push eax
push 0x20006
push esi
push str.Control_PanelDesktopWindowMetrics
push reloc.K7UI.dll_Ordinal_1
mov dword [esp + 0x28], esi
xor ebx, ebx
call edi
test eax, eax
jne 0x40565b
mov ecx, dword [esp + 0x14]
push 2
push 0x417a40
push 1
push esi
push str.MinAnimate
push ecx
call ebp
test eax, eax
jne 0x40564c
lea ebx, [eax + 1]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, esi
jne 0x40565f
mov dword [esp + 0x10], esi
lea eax, [esp + 0x14]
push eax
push 0x20006
push esi
push str.Control_PanelDesktop
push reloc.K7UI.dll_Ordinal_1
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
xor ebx, ebx
call edi
test eax, eax
jne 0x4056b0
mov edx, dword [esp + 0x14]
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push esi
push str.SmoothScroll
push edx
call ebp
test eax, eax
jne 0x4056a1
lea ebx, [eax + 1]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, esi
jne 0x4056b4
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x14]
push ecx
push 0x20006
push esi
push str.Control_PanelDesktop
push reloc.K7UI.dll_Ordinal_1
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
xor ebx, ebx
call edi
test eax, eax
jne 0x405705
mov eax, dword [esp + 0x14]
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push esi
push str.WindowArrangementActive
push eax
call ebp
test eax, eax
jne 0x4056f6
lea ebx, [eax + 1]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, esi
jne 0x405709
mov dword [esp + 0x10], esi
lea edx, [esp + 0x14]
push edx
push 0x20006
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
push reloc.K7UI.dll_Ordinal_1
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
xor ebx, ebx
call edi
test eax, eax
jne 0x40575a
mov ecx, dword [esp + 0x14]
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push esi
push str.TaskBarAnimations
push ecx
call ebp
test eax, eax
jne 0x40574b
lea ebx, [eax + 1]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, esi
jne 0x40575e
mov dword [esp + 0x10], esi
lea eax, [esp + 0x14]
push eax
push 0x20006
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
push reloc.K7UI.dll_Ordinal_1
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
xor ebx, ebx
call edi
test eax, eax
jne 0x4057af
mov edx, dword [esp + 0x14]
push 4
lea ecx, [esp + 0x1c]
push ecx
push 4
push esi
push str.DisablePreviewDesktop
push edx
call ebp
test eax, eax
jne 0x4057a0
lea ebx, [eax + 1]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, esi
jne 0x4057b3
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x14]
push ecx
push 0x20006
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionExplorer
push reloc.K7UI.dll_Ordinal_1
mov dword [esp + 0x2c], esi
mov dword [esp + 0x28], esi
xor ebx, ebx
call edi
test eax, eax
jne 0x405804
mov eax, dword [esp + 0x14]
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push esi
push str.NoWindowMinimizingShortcuts
push eax
call ebp
test eax, eax
jne 0x4057f5
lea ebx, [eax + 1]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, esi
jne 0x405808
mov dword [esp + 0x10], esi
lea edx, [esp + 0x14]
push edx
push 0x20006
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerVisualEffects
push reloc.K7UI.dll_Ordinal_1
mov dword [esp + 0x2c], 3
mov dword [esp + 0x28], esi
xor ebx, ebx
call edi
test eax, eax
jne 0x40585d
mov ecx, dword [esp + 0x14]
push 4
lea eax, [esp + 0x1c]
push eax
push 4
push esi
push str.VisualFXSetting
push ecx
call ebp
test eax, eax
jne 0x40584e
lea ebx, [eax + 1]
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, esi
jne 0x405867
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret