Function at 0x4df518
Capabilities:
Change the wallpaper
Copy file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x4df520
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004049fc
xor eax, eax
push ebp
push 0x4df75a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4df562
xor eax, eax
mov dword [ebp - 8], eax
push 3
lea eax, [ebp - 8]
push eax
push 0
push 0x14
call sub.user32.dll_SystemParametersInfoA
jmp 0x4df72a
mov eax, dword [ebp - 4]
call fcn.0046c3fc
test al, al
je 0x4df72a
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00409a60
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0xc]
call fcn.00408d5c
mov eax, dword [ebp - 0xc]
mov edx, 0x4df770
call fcn.00404958
je 0x4df5aa
mov eax, dword [ebp - 0xc]
mov edx, 0x4df780
call fcn.00404958
jne 0x4df72a
lea edx, [ebp - 0x24]
mov eax, 0x105
call fcn.004a802c
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x10]
mov edx, dword [0x537288]
call fcn.00404860
mov edx, 0x20
mov eax, dword [ebp - 0x10]
call fcn.004097ac
mov eax, dword [ebp - 0xc]
mov edx, 0x4df780
call fcn.00404958
jne 0x4df606
push 0
lea eax, [ebp - 0x10]
call fcn.00404a64
push eax
lea eax, [ebp - 4]
call fcn.00404a64
push eax
call sub.kernel32.dll_CopyFileA
mov byte [ebp - 0x19], 0x32
jmp 0x4df6b3
mov dl, 1
mov eax, dword [0x4753b4]
call fcn.00475668
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x4220f8]
call fcn.004286fc
mov dword [ebp - 0x18], eax
mov dl, 7
mov eax, dword [ebp - 0x18]
call fcn.00429c74
xor eax, eax
push ebp
push 0x4df699
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
call fcn.00428cc4
xor ecx, ecx
xor edx, edx
call fcn.00423b28
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov byte [ebp - 0x19], 0x32
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4df6a3
mov eax, dword [ebp - 0x14]
call fcn.00403750
mov eax, dword [ebp - 0x18]
call fcn.00403750
lea edx, [ebp - 0x28]
mov eax, 0x106
call fcn.004a802c
mov eax, dword [ebp - 0x28]
push eax
lea edx, [ebp - 0x2c]
mov eax, 0xb0
call fcn.004a802c
mov eax, dword [ebp - 0x2c]
mov ecx, 0x4df790
pop edx
call fcn.0046ae00
lea edx, [ebp - 0x30]
mov eax, 0x107
call fcn.004a802c
mov eax, dword [ebp - 0x30]
push eax
lea edx, [ebp - 0x34]
mov eax, 0xb0
call fcn.004a802c
mov eax, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x38]
mov dl, byte [ebp - 0x19]
call fcn.0040473c
mov ecx, dword [ebp - 0x38]
pop eax
pop edx
call fcn.0046ae00
push 3
lea eax, [ebp - 0x10]
call fcn.00404a64
push eax
push 0
push 0x14
call sub.user32.dll_SystemParametersInfoA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4df761
lea eax, [ebp - 0x38]
mov edx, 7
call fcn.00404580
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00404580
lea eax, [ebp - 4]
call fcn.0040455c
ret