Function at 0x641d30
Capabilities:
Change the wallpaper

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x74f330]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x1c]
push edi
mov dword [ebp - 0x218], eax
test eax, eax
jne 0x641d8c
xor edi, edi
lea ebx, [esi + 0xb8]
lea ecx, [ecx]
push edi
call dword [0x69ba24]
push ebx
mov ecx, esi
mov dword [ebx - 0x7c], eax
call fcn.006414e0
inc edi
add ebx, 4
cmp edi, 0x1f
jl 0x641d60
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b851f
mov esp, ebp
pop ebp
ret
push str.SYSMETRICS
mov dword [esi + 0x16c], 1
call fcn.0064ba10
push 0x154
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.005b8ac0
add esp, 0x10
push 0
lea ecx, [ebp - 0x20c]
push ecx
push 0x154
push 0x29
mov dword [ebp - 0x20c], 0x154
call dword [0x69b904]
lea ecx, [esi + 4]
call fcn.004bb388
mov ebx, dword [0x69b1e4]
lea edx, [ebp - 0x1f4]
push edx
call ebx
push eax
lea ecx, [esi + 4]
call fcn.004bb32e
lea ecx, [esi + 0x14]
call fcn.004bb388
lea eax, [ebp - 0x1b0]
push eax
call ebx
push eax
lea ecx, [esi + 0x14]
call fcn.004bb32e
lea ecx, [esi + 0xc]
call fcn.004bb388
lea ecx, [ebp - 0x16c]
push ecx
call ebx
push eax
lea ecx, [esi + 0xc]
call fcn.004bb32e
push 0
lea eax, [esi + 0x134]
push eax
push 0
push 5
mov dword [eax], 1
call dword [0x69b904]
mov edi, dword [0x69b9d0]
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 [ebp - 0x218]
mov dword [esi + 0x154], eax
mov eax, dword [edx + 0x40]
mov ecx, dword [eax + 0x20]
push 4
mov dword [ebp - 0x214], ecx
call edi
lea ebx, [esi + 0x158]
push 0x33
mov dword [ebx], eax
mov dword [esi + 0x160], eax
call edi
test byte [ebp - 0x214], 1
lea edi, [esi + 0x15c]
mov dword [edi], eax
mov dword [esi + 0x164], eax
je 0x64203c
mov edx, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x218]
push ebx
push 0x4b5
push 0
push 0
push edx
call fcn.006518f0
inc dword [ebx]
mov ebx, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x218]
push edi
push 0x4b7
push 0
push 0
push ebx
call fcn.006518f0
inc dword [edi]
mov edi, dword [ebp - 0x218]
lea ecx, [ebp - 0x210]
push ecx
xor eax, eax
push 0x4b2
push eax
push eax
push ebx
mov ecx, edi
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x214], eax
call fcn.006518f0
test eax, eax
js 0x641f68
mov eax, dword [ebp - 0x210]
test eax, eax
jle 0x641f68
mov dword [esi + 0x150], eax
mov dword [esi + 0x148], eax
lea edx, [ebp - 0x214]
push edx
push 0x4b3
push 0
push 0
push ebx
mov ecx, edi
call fcn.006518f0
test eax, eax
js 0x641f9a
mov eax, dword [ebp - 0x214]
test eax, eax
jle 0x641f9a
mov dword [esi + 0x154], eax
mov dword [esi + 0x14c], eax
lea eax, [ebp - 0x40]
push eax
push 0x321
push 0
push 0
push ebx
mov ecx, edi
call fcn.006519f0
test eax, eax
js 0x641fce
lea ecx, [esi + 4]
call fcn.004bb388
lea ecx, [ebp - 0x40]
push ecx
call dword [0x69b1e4]
push eax
lea ecx, [esi + 4]
call fcn.004bb32e
lea edx, [ebp - 0xb8]
push edx
push 0x322
push 0
push 0
push ebx
mov ecx, edi
call fcn.006519f0
test eax, eax
js 0x642008
lea ecx, [esi + 0x14]
call fcn.004bb388
lea eax, [ebp - 0xb8]
push eax
call dword [0x69b1e4]
push eax
lea ecx, [esi + 0x14]
call fcn.004bb32e
lea ecx, [ebp - 0x7c]
push ecx
push 0x323
push 0
push 0
push ebx
mov ecx, edi
call fcn.006519f0
test eax, eax
js 0x64203c
lea ecx, [esi + 0xc]
call fcn.004bb388
lea edx, [ebp - 0x7c]
push edx
call dword [0x69b1e4]
push eax
lea ecx, [esi + 0xc]
call fcn.004bb32e
xor ebx, ebx
lea edi, [esi + 0xb8]
mov eax, dword [edi - 0x7c]
lea ecx, [ebp - 0x210]
push ecx
mov ecx, dword [ebp - 0x218]
lea edx, [ebx + 0x641]
push edx
push 0
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x21c]
push 0
push eax
mov dword [edi - 0x7c], 0xffffffff
call fcn.00651990
test eax, eax
jns 0x64209e
mov ecx, dword [ebx*4 + 0x701980]
mov eax, dword [ebp - 0x218]
lea edx, [ebp - 0x210]
mov dword [ebp - 0x210], ecx
mov ecx, dword [eax + 0x40]
push edx
call fcn.00641c90
mov eax, dword [ebp - 0x210]
mov dword [edi - 0x7c], eax
cmp dword [ebp - 0x214], eax
jne 0x6420b4
cmp dword [edi], 0
jne 0x6420cb
push edi
mov ecx, esi
call fcn.006414e0
mov ecx, dword [ebp - 0x210]
push ecx
call dword [0x69b240]
mov dword [edi], eax
inc ebx
add edi, 4
cmp ebx, 0x1f
jl 0x642044
mov edx, dword [esi + 0x8c]
mov ecx, dword [esi + 0x94]
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x30], edx
mov edx, dword [esi + 0x90]
mov dword [esi + 0x2c], ecx
lea edi, [esi + 0x20]
push edi
mov ecx, esi
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], edx
call fcn.006414e0
mov eax, dword [esi + 0x78]
mov ebx, dword [0x69b240]
push eax
call ebx
lea ecx, [esi + 0x24]
push ecx
mov ecx, esi
mov dword [edi], eax
call fcn.006414e0
lea edi, [esi + 0x28]
push edi
mov ecx, esi
call fcn.006414e0
mov edx, dword [esi + 0x50]
push edx
call ebx
mov ecx, dword [ebp - 4]
mov dword [edi], eax
pop edi
mov dword [esi + 0x16c], 0
pop esi
xor ecx, ebp
pop ebx
call fcn.005b851f
mov esp, ebp
pop ebp
ret