Function at 0x4153c9
Capabilities:
Change the wallpaper

Disassembly:
mov eax, 0x4e443d
call fcn.004afe60
sub esp, 0x28
push ebx
push esi
push edi
mov esi, 0x5194ec
push esi
mov dword [ebp - 0x1c], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
mov dword [ebp - 4], ebx
call fcn.00443b90
lea ecx, [ebp - 0x18]
call fcn.0041d14d
or edi, 0xffffffff
cmp byte [0x518e80], bl
je 0x41543c
push 3
push dword [ebp + 8]
push ebx
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edi, eax
neg edi
sbb edi, edi
inc edi
jne 0x41543c
mov eax, dword [0x519454]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x4155db
cmp dword [ebp - 0x18], ebx
jne 0x4155db
call eax
jmp 0x4155db
push esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 2
call fcn.00443b90
lea ecx, [ebp - 0x14]
call fcn.0041d14d
lea eax, [ebp - 0x10]
push eax
push 0x503a28
push 1
push ebx
push 0x503a38
mov byte [ebp - 4], 3
mov byte [0x518e80], 0xff
call dword [0x519458]
cmp eax, ebx
push ebx
jge 0x41548d
push ebx
push eax
push str._DEBUG_WALL_CoCreateInstance__
jmp 0x41553c
xor eax, eax
mov dword [ebp - 0x34], 0xc
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
inc eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
lea edx, [ebp - 0x34]
push edx
push eax
call dword [ecx + 0x2c]
cmp eax, ebx
jge 0x4154c4
push ebx
push ebx
push eax
push str._DEBUG_WALL_SetDesktopItemOptions__
mov ecx, 0x519150
call fcn.004291c2
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push ebx
push dword [ebp + 8]
push eax
call dword [ecx + 0x14]
cmp eax, ebx
jge 0x4154e7
push ebx
push ebx
push eax
push str._DEBUG_WALL_SetWallpaper__
mov ecx, 0x519150
call fcn.004291c2
xor eax, eax
push ebx
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
mov eax, dword [ebp - 0x10]
or dword [ebp - 0x24], 2
lea edx, [ebp - 0x28]
push edx
mov dword [ebp - 0x28], 8
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
cmp eax, ebx
jge 0x41551c
push ebx
push ebx
push eax
push str._DEBUG_WALL_SetWallpaperOptions__
mov ecx, 0x519150
call fcn.004291c2
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push 7
push eax
mov byte [0x518e80], 1
call dword [ecx + 0xc]
mov edi, eax
cmp edi, ebx
jge 0x415548
push ebx
push ebx
push edi
push str._DEBUG_WALL_ApplyChanges__
mov ecx, 0x519150
call fcn.004291c2
jmp 0x415551
xor edi, edi
mov byte [0x518e80], 2
mov eax, dword [0x519454]
cmp eax, ebx
mov byte [ebp - 4], 2
je 0x415565
cmp dword [ebp - 0x14], ebx
jne 0x415565
call eax
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
cmp eax, ebx
je 0x41557d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp edi, ebx
je 0x4155c6
push 3
push dword [ebp + 8]
push ebx
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov dword [ebp - 0x14], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp - 0x14], ebx
je 0x4155a1
xor edi, edi
jmp 0x4155af
cmp dword [ebp - 0x10], ebx
jne 0x4155b4
cmp eax, ebx
mov edi, eax
jne 0x4155af
xor edi, edi
inc edi
cmp dword [ebp - 0x14], ebx
jne 0x4155c6
push ebx
push ebx
push eax
push str._DEBUG_WALL_SystemParametersInfo__
mov ecx, 0x519150
call fcn.004291c2
mov eax, dword [0x519454]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x4155d9
cmp dword [ebp - 0x18], ebx
jne 0x4155d9
call eax
mov ebx, edi
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
leave
ret