Function at 0x5d1610
Capabilities:
Change the wallpaper

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x5d1618
push ebx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5d1e10
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x38]
mov eax, 0x16a
call fcn.006ccb24
mov edx, dword [ebp - 0x38]
mov eax, dword [0x6f31f8]
call fcn.0044f4b0
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov byte [eax + 0x28c], 0
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov edx, 2
call fcn.00501750
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov dx, word [0x5d1e1c]
call fcn.005016c0
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov dl, 2
call fcn.00501840
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov edx, 0x14
call fcn.00501504
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov edx, 5
call fcn.005013b8
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov edx, 5
call fcn.0044ebf0
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov eax, dword [eax + 0x68]
mov dl, byte [0x5d1e20]
call fcn.004284e4
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
xor edx, edx
call fcn.00501554
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov edx, 1
call fcn.005015ec
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov edx, 1
call fcn.005016ac
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov dl, 1
call fcn.0044f3a0
lea edx, [ebp - 0x3c]
mov eax, 0x1b1
call fcn.006ccb24
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
xor ecx, ecx
xor edx, edx
call fcn.00503994
lea edx, [ebp - 0x40]
mov eax, 0x1b4
call fcn.006ccb24
mov eax, dword [ebp - 0x40]
push eax
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
xor ecx, ecx
mov edx, 1
call fcn.00503994
lea edx, [ebp - 0x44]
mov eax, 0x1b2
call fcn.006ccb24
mov eax, dword [ebp - 0x44]
push eax
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
xor ecx, ecx
mov edx, 2
call fcn.00503994
lea edx, [ebp - 0x48]
mov eax, 0x1b3
call fcn.006ccb24
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
xor ecx, ecx
mov edx, 3
call fcn.00503994
mov eax, dword [0x6ec174]
mov eax, dword [eax]
push eax
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
xor ecx, ecx
mov edx, 4
call fcn.00503994
push 0
lea eax, [ebp - 0x34]
push eax
push 0
push 0x30
call sub.user32.dll_SystemParametersInfoA
mov edx, dword [ebp - 0x2c]
sub edx, 0x64
mov eax, dword [0x6f31f8]
call fcn.0044ec3c
mov eax, dword [0x6f31f8]
mov edx, dword [eax + 0x48]
sub edx, 0x1e
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
call fcn.0044ee9c
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
call fcn.0044eec8
mov edx, eax
add edx, 0x5c
mov eax, dword [0x6f31f8]
call fcn.0044ec60
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov eax, dword [eax + 0x208]
mov eax, dword [eax + 0xc]
mov edx, 0x5d1e2c
call fcn.00428440
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov eax, dword [eax + 0x208]
mov eax, dword [eax + 0xc]
mov edx, 0xa
call fcn.004284b8
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov eax, dword [eax + 0x208]
mov eax, dword [eax + 0xc]
mov dl, byte [0x5d1e20]
call fcn.004284e4
push 2
call sub.user32.dll_GetSystemMetrics
mov dword [ebp - 0x20], eax
mov edx, dword [0x6ec174]
mov edx, dword [edx]
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov eax, dword [eax + 0x208]
call fcn.00429258
mov edx, eax
mov eax, 0x1e
call fcn.0048c120
mov ecx, eax
add ecx, 0xf
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov edx, 4
call fcn.00501414
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov edx, 4
call fcn.005012dc
add eax, 4
add dword [ebp - 0x20], eax
lea eax, [ebp - 0x4c]
push eax
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
xor ecx, ecx
mov edx, 3
call fcn.0050391c
mov edx, dword [ebp - 0x4c]
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov eax, dword [eax + 0x208]
call fcn.00429258
push eax
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov eax, dword [eax + 0x208]
mov edx, 0x5d1e3c
call fcn.00429258
pop edx
call fcn.0048c120
mov ecx, eax
add ecx, 0xf
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov edx, 3
call fcn.00501414
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov edx, 3
call fcn.005012dc
add eax, 4
add dword [ebp - 0x20], eax
lea eax, [ebp - 0x50]
push eax
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
xor ecx, ecx
mov edx, 2
call fcn.0050391c
mov edx, dword [ebp - 0x50]
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov eax, dword [eax + 0x208]
call fcn.00429258
push eax
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov eax, dword [eax + 0x208]
mov edx, 0x5d1e4c
call fcn.00429258
pop edx
call fcn.0048c120
mov ecx, eax
add ecx, 0xf
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov edx, 2
call fcn.00501414
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov edx, 2
call fcn.005012dc
add eax, 4
add dword [ebp - 0x20], eax
lea eax, [ebp - 0x54]
push eax
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
xor ecx, ecx
mov edx, 1
call fcn.0050391c
mov edx, dword [ebp - 0x54]
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov eax, dword [eax + 0x208]
call fcn.00429258
push eax
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov eax, dword [eax + 0x208]
mov edx, 0x5d1e60
call fcn.00429258
pop edx
call fcn.0048c120
mov ecx, eax
add ecx, 0xf
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov edx, 1
call fcn.00501414
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov edx, 1
call fcn.005012dc
add eax, 4
add dword [ebp - 0x20], eax
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov ecx, dword [eax + 0x48]
sub ecx, dword [ebp - 0x20]
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
xor edx, edx
call fcn.00501414
mov eax, dword [0x6ec630]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
mov edx, dword [eax]
call dword [edx + 0xc4]
dec eax
test eax, eax
jl 0x5d1d9a
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x1c]
mov eax, dword [0x6ec630]
mov eax, dword [eax]
mov eax, dword [eax + 0x2f0]
mov eax, dword [eax + 0x218]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x1c]
cmp byte [eax], 0x25
jne 0x5d1d8e
lea eax, [ebp - 0x58]
push eax
mov edx, dword [ebp - 0x1c]
mov eax, 0x5d1e74
call fcn.0040528c
mov ecx, eax
dec ecx
mov edx, 2
mov eax, dword [ebp - 0x1c]
call fcn.004051a8
mov eax, dword [ebp - 0x58]
lea edx, [ebp - 0xc]
call fcn.00409540
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov ecx, dword [eax + 0x24c]
dec ecx
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
xor edx, edx
call fcn.00503994
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ebp - 0x1c]
mov eax, 0x5d1e80
call fcn.0040528c
mov ebx, eax
dec ebx
mov edx, dword [ebp - 0x1c]
mov eax, 0x5d1e74
call fcn.0040528c
sub ebx, eax
push ebx
mov edx, dword [ebp - 0x1c]
mov eax, 0x5d1e74
call fcn.0040528c
mov edx, eax
inc edx
mov eax, dword [ebp - 0x1c]
pop ecx
call fcn.004051a8
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov ecx, dword [eax + 0x24c]
dec ecx
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov edx, 1
call fcn.00503994
lea eax, [ebp - 0x14]
push eax
mov edx, dword [ebp - 0x1c]
mov eax, 0x5d1e8c
call fcn.0040528c
mov ebx, eax
dec ebx
mov edx, dword [ebp - 0x1c]
mov eax, 0x5d1e80
call fcn.0040528c
sub ebx, eax
push ebx
mov edx, dword [ebp - 0x1c]
mov eax, 0x5d1e80
call fcn.0040528c
mov edx, eax
inc edx
mov eax, dword [ebp - 0x1c]
pop ecx
call fcn.004051a8
cmp dword [ebp - 0x14], 0
jne 0x5d1c3d
lea eax, [ebp - 0x14]
mov edx, 0x5d1e98
call fcn.00404d30
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov ecx, dword [eax + 0x24c]
dec ecx
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov edx, 2
call fcn.00503994
lea eax, [ebp - 0x18]
push eax
mov edx, dword [ebp - 0x1c]
mov eax, 0x5d1ea8
call fcn.0040528c
mov ebx, eax
dec ebx
mov edx, dword [ebp - 0x1c]
mov eax, 0x5d1e8c
call fcn.0040528c
sub ebx, eax
push ebx
mov edx, dword [ebp - 0x1c]
mov eax, 0x5d1e8c
call fcn.0040528c
mov edx, eax
inc edx
mov eax, dword [ebp - 0x1c]
pop ecx
call fcn.004051a8
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov ecx, dword [eax + 0x24c]
dec ecx
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov edx, 3
call fcn.00503994
mov eax, dword [0x6ec3d8]
push eax
mov edx, dword [ebp - 0x1c]
mov eax, 0x5d1ea8
call fcn.0040528c
push eax
mov eax, dword [ebp - 0x1c]
call fcn.00404f50
pop edx
sub eax, edx
push eax
mov edx, dword [ebp - 0x1c]
mov eax, 0x5d1ea8
call fcn.0040528c
mov edx, eax
inc edx
mov eax, dword [ebp - 0x1c]
pop ecx
call fcn.004051a8
mov eax, dword [0x6ec3d8]
mov eax, dword [eax]
push eax
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov ecx, dword [eax + 0x24c]
dec ecx
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov edx, 4
call fcn.00503994
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov edx, dword [eax + 0x24c]
inc edx
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
call fcn.00501750
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
xor edx, edx
call fcn.005013a0
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
mov edx, dword [eax + 0x24c]
dec edx
mov eax, dword [0x6f31f8]
mov eax, dword [eax + 0x2f0]
call fcn.00501738
inc dword [ebp - 8]
dec dword [ebp - 0x24]
jne 0x5d1b07
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
cmp dword [eax + 0x24c], 2
jle 0x5d1de8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
mov edx, dword [eax + 0x24c]
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
call fcn.00501750
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
mov edx, dword [eax + 0x24c]
dec edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x2f0]
call fcn.00501738
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5d1e17
lea eax, [ebp - 0x58]
mov edx, 9
call fcn.00404cbc
lea eax, [ebp - 0x1c]
mov edx, 5
call fcn.00404cbc
ret