Function at 0x52b680
Capabilities:
Change the wallpaper

Disassembly:
sub esp, 0x31c
mov eax, dword [0x5e68f0]
xor eax, esp
mov dword [esp + 0x318], eax
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
push edi
mov dword [esp + 0x10], eax
test eax, eax
jne 0x52b6cf
mov ebp, dword [sym.imp.USER32.dll_GetSysColor]
xor edi, edi
lea ebx, [esi + 0xb8]
push edi
call ebp
push ebx
mov ecx, esi
mov dword [ebx - 0x7c], eax
call fcn.0052af30
inc edi
add ebx, 4
cmp edi, 0x1f
jl 0x52b6b3
jmp 0x52ba5a
push str.SYSMETRICS
mov dword [esi + 0x16c], 1
call fcn.00534780
push 0x1f4
mov dword [esp + 0x20], eax
lea eax, [esp + 0x13c]
push 0
push eax
call fcn.0050fd50
add esp, 0x10
push 0
lea ecx, [esp + 0x138]
push ecx
push 0x1f4
push 0x29
mov dword [esp + 0x144], 0x1f4
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
lea ebx, [esi + 4]
mov ecx, ebx
call fcn.00417588
mov edi, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
lea edx, [esp + 0x14c]
push edx
call edi
push eax
mov ecx, ebx
call fcn.00417530
lea ebp, [esi + 0x14]
mov ecx, ebp
call fcn.00417588
lea eax, [esp + 0x1b0]
push eax
call edi
push eax
mov ecx, ebp
call fcn.00417530
lea ebp, [esi + 0xc]
mov ecx, ebp
call fcn.00417588
lea ecx, [esp + 0x214]
push ecx
call edi
push eax
mov ecx, ebp
call fcn.00417530
push 0
lea eax, [esi + 0x134]
push eax
push 0
push 5
mov dword [eax], 1
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 5
call edi
push 6
mov dword [esi + 0x138], eax
call edi
push 0x2d
mov dword [esi + 0x13c], eax
call edi
push 0x2e
mov dword [esi + 0x140], eax
call edi
push 0x15
mov dword [esi + 0x144], eax
call edi
push 3
mov dword [esi + 0x148], eax
call edi
push 2
mov dword [esi + 0x14c], eax
call edi
push 0x14
mov dword [esi + 0x150], eax
mov dword [esi + 0x168], eax
call edi
mov edx, dword [esp + 0x10]
mov dword [esi + 0x154], eax
mov eax, dword [edx + 0x40]
mov ecx, dword [eax + 0x20]
push 4
mov dword [esp + 0x18], ecx
call edi
lea ebp, [esi + 0x158]
push 0x33
mov dword [ebp], eax
mov dword [esi + 0x160], eax
call edi
test byte [esp + 0x14], 1
lea edi, [esi + 0x15c]
mov dword [edi], eax
mov dword [esi + 0x164], eax
je 0x52b976
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push ebp
push 0x4b5
push 0
push 0
push edx
call fcn.0053a630
inc dword [ebp]
mov eax, dword [esp + 0x18]
mov ebp, dword [esp + 0x10]
push edi
push 0x4b7
push 0
push 0
push eax
mov ecx, ebp
call fcn.0053a630
inc dword [edi]
mov edi, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push ecx
xor eax, eax
push 0x4b2
push eax
push eax
push edi
mov ecx, ebp
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], eax
call fcn.0053a630
test eax, eax
jl 0x52b89e
mov eax, dword [esp + 0x1c]
test eax, eax
jle 0x52b89e
mov dword [esi + 0x150], eax
mov dword [esi + 0x148], eax
lea edx, [esp + 0x14]
push edx
push 0x4b3
push 0
push 0
push edi
mov ecx, ebp
call fcn.0053a630
test eax, eax
jl 0x52b8cc
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x52b8cc
mov dword [esi + 0x154], eax
mov dword [esi + 0x14c], eax
lea eax, [esp + 0x20]
push eax
push 0x321
push 0
push 0
push edi
mov ecx, ebp
call fcn.0053a710
test eax, eax
jl 0x52b900
mov ecx, ebx
call fcn.00417588
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
mov ecx, ebx
call fcn.00417530
lea edx, [esp + 0xd8]
push edx
push 0x322
push 0
push 0
push edi
mov ecx, ebp
call fcn.0053a710
test eax, eax
jl 0x52b93d
lea ebx, [esi + 0x14]
mov ecx, ebx
call fcn.00417588
lea eax, [esp + 0xd8]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
mov ecx, ebx
call fcn.00417530
lea ecx, [esp + 0x7c]
push ecx
push 0x323
push 0
push 0
push edi
mov ecx, ebp
call fcn.0053a710
test eax, eax
jl 0x52b97a
lea edi, [esi + 0xc]
mov ecx, edi
call fcn.00417588
lea edx, [esp + 0x7c]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
mov ecx, edi
call fcn.00417530
jmp 0x52b97a
mov ebp, dword [esp + 0x10]
xor ebx, ebx
lea edi, [esi + 0xb8]
mov eax, dword [edi - 0x7c]
lea ecx, [esp + 0x10]
push ecx
lea edx, [ebx + 0x641]
push edx
push 0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x24]
push 0
push eax
mov ecx, ebp
mov dword [edi - 0x7c], 0xffffffff
call fcn.0053a6b0
test eax, eax
jge 0x52b9c8
mov ecx, dword [ebx*4 + 0x5ac8c0]
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0x40]
push edx
call fcn.0052b560
mov eax, dword [esp + 0x10]
mov dword [edi - 0x7c], eax
cmp dword [esp + 0x14], eax
jne 0x52b9da
cmp dword [edi], 0
jne 0x52b9ef
push edi
mov ecx, esi
call fcn.0052af30
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [edi], eax
inc ebx
add edi, 4
cmp ebx, 0x1f
jl 0x52b982
mov ecx, dword [esi + 0x8c]
mov edx, dword [esi + 0x7c]
mov eax, dword [esi + 0x94]
mov dword [esi + 0x30], ecx
mov ecx, dword [esi + 0x90]
mov dword [esi + 0x38], ecx
lea edi, [esi + 0x20]
push edi
mov ecx, esi
mov dword [esi + 0x34], edx
mov dword [esi + 0x2c], eax
call fcn.0052af30
mov edx, dword [esi + 0x78]
mov ebx, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push edx
call ebx
mov dword [edi], eax
lea eax, [esi + 0x24]
push eax
mov ecx, esi
call fcn.0052af30
lea edi, [esi + 0x28]
push edi
mov ecx, esi
call fcn.0052af30
mov ecx, dword [esi + 0x50]
push ecx
call ebx
mov dword [edi], eax
mov dword [esi + 0x16c], 0
mov ecx, dword [esp + 0x328]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0050c2f2
add esp, 0x31c
ret