Function at 0x4025a0
Capabilities:
Delete registry value
Persist via screensaver registry key
Read .ini file
Set registry value

Disassembly:
sub esp, 0x1c
mov edx, str.WindowMetrics
lea ecx, [esp + 0xc]
push ebx
push esi
xor ebx, ebx
push edi
mov esi, 1
push ebp
mov eax, dword [edx]
mov ebp, dword [edx + 4]
mov edi, dword [edx + 8]
mov dword [ecx], eax
mov dword [esp + 0x14], ebx
mov ax, word [edx + 0xc]
mov dword [ecx + 4], ebp
xor ebp, ebp
mov dword [ecx + 8], edi
mov word [ecx + 0xc], ax
cmp dword [0x40e410], ebx
je 0x4026e9
push 0x7f02
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
mov edi, dword [sym.imp.USER32.dll_SetCursor]
call edi
push 0x40e9e0
push 0x400
push 0x40ddc0
push 0x410328
push str.SCRNSAVE.EXE
push str.boot
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x400
push 0x40ddc0
call fcn.00402ed0
add esp, 8
push esi
push 0x40ddc0
call fcn.00402f80
add esp, 8
cmp eax, 3
jne 0x402649
xor esi, esi
mov byte [0x40ddc0], bl
jmp 0x402678
push 0x40e5c0
push 0x40ddc0
call fcn.00405900
add esp, 8
test eax, eax
je 0x402678
push 0x40e5c0
push 0x40ddc0
call fcn.00405790
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.SYSTEM.INI
push 0x40ddc0
push str.SCRNSAVE.EXE
push str.boot
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp byte [0x40ddc0], 1
sbb eax, eax
push 3
push 0
inc eax
push eax
push 0x11
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
lea ecx, [esp + 0x14]
push 0
push ecx
push 0
push 0xe
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
test eax, eax
jne 0x4026c6
mov dword [esp + 0x14], 0
cmp byte [0x40ddc0], 0
je 0x4026ef
cmp dword [esp + 0x14], 0
jne 0x4026ef
push 3
push 0
push 0x708
push 0xf
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
jmp 0x4026ef
mov edi, dword [sym.imp.USER32.dll_SetCursor]
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call edi
cmp dword [0x40e414], 0
je 0x40272b
push 3
push 0
call dword [sym.imp.WINMM.dll_sndPlaySoundA]
push 0
push str..current
push 1
push str.AppEventsSchemes
push Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call edi
cmp dword [0x40e418], 0
je 0x40276b
push 2
push 0
push 0
push 0x57
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0
push 0x410328
push 1
push str.Control_PanelAppearance
push Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegSetValueA]
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call edi
cmp dword [0x40e41c], 0
je 0x4028be
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 2
push 0
push 0x410328
push 0
push str.Control_PanelDesktop
push Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
je 0x4027bd
xor esi, esi
test eax, eax
jne 0x402864
push 0x40e9e0
push 0x400
push 0x40ddc0
push 0x410328
push str.TileWallpaper
push str.Control_PanelDesktop
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [0x40ddc0], 0
je 0x40280b
mov eax, dword [esp + 0x10]
push 2
push 0x40ddc0
push 1
push 0
push str.TileWallpaper
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x40280b
xor esi, esi
push 0x40e9e0
push 0x400
push 0x40ddc0
push 0x410328
push str.WallpaperStyle
push str.Control_PanelDesktop
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
cmp byte [0x40ddc0], 0
je 0x402859
mov eax, dword [esp + 0x10]
push 2
push 0x40ddc0
push 1
push 0
push str.WallpaperStyle
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x402859
xor esi, esi
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x40ddc0
push 0x40fb78
push 0x40fb40
push Ordinal_2
call fcn.00402a30
add esp, 0x10
push 2
push 0x40ddc0
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0x40ddc0
push 0x40fb70
push 0x40fb40
push Ordinal_2
call fcn.00402a30
add esp, 0x10
push 2
push 0x40ddc0
push 0
push 0x15
call dword [sym.imp.USER32.dll_SystemParametersInfoA]
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call edi
cmp dword [0x40e428], 0
je 0x4028ec
mov eax, dword [0x40e428]
mov ebp, 1
push eax
push 0
call fcn.00407750
add esp, 8
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call edi
cmp dword [0x40e428], 0
jne 0x40290e
cmp dword [0x40e42c], 0
je 0x40292a
mov eax, dword [0x40e42c]
mov ecx, dword [0x40e428]
push eax
mov ebp, 1
push ecx
mov ebx, ebp
call fcn.00407900
add esp, 8
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call edi
cmp dword [0x40e424], 0
je 0x402965
call fcn.00402b40
test esi, esi
je 0x40295c
test eax, eax
je 0x40295c
mov esi, 1
mov ebp, 1
jmp 0x40297a
xor esi, esi
mov ebp, 1
jmp 0x40297a
test ebx, ebx
je 0x40297a
push 0
push 0
push 0x15
push 0xffff
call dword [sym.imp.USER32.dll_PostMessageA]
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call edi
test ebx, ebx
je 0x4029a6
lea eax, [esp + 0x1c]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push eax
push 0x2a
push 0x1a
push 0xffff
call ebx
jmp 0x4029ac
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call edi
cmp dword [0x40e420], 0
je 0x4029e6
push 0
push 0
push 0
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
lea eax, [esp + 0x1c]
push eax
push 0x2e
push 0x1a
push 0xffff
call ebx
test ebp, ebp
je 0x402a22
lea eax, [esp + 0x10]
push eax
push 2
push 0
push str.Control_PanelAppearance
push Ordinal_2
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x402a22
mov eax, dword [esp + 0x10]
push str.Current
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1c
ret