Function at 0x4aaebc
Capabilities:
Change the wallpaper
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403ff8
xor eax, eax
push ebp
push 0x4ab1e6
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x4aaf0d
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 0x4ab1b3
mov eax, dword [ebp - 4]
call fcn.00408f78
test al, al
je 0x4ab1b3
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.004092f0
mov eax, dword [ebp - 0x30]
lea edx, [ebp - 0xc]
call fcn.00408954
mov eax, dword [ebp - 0xc]
mov edx, 0x4ab1fc
call fcn.00403f54
je 0x4aaf55
mov eax, dword [ebp - 0xc]
mov edx, 0x4ab20c
call fcn.00403f54
jne 0x4ab1b3
lea eax, [ebp - 0x10]
mov ecx, 0x4ab21c
mov edx, dword [0x4c926c]
call fcn.00403e90
mov edx, 0x20
mov eax, dword [ebp - 0x10]
call fcn.00408fe0
mov eax, dword [ebp - 0xc]
mov edx, 0x4ab20c
call fcn.00403f54
jne 0x4aafa2
push 0
lea eax, [ebp - 0x10]
call fcn.00404014
push eax
lea eax, [ebp - 4]
call fcn.00404014
push eax
call sub.kernel32.dll_CopyFileA
jmp 0x4ab16e
mov dl, 1
mov eax, dword [0x45d1d0]
call fcn.0045d480
mov dword [ebp - 0x14], eax
mov dl, 1
mov eax, dword [0x418a44]
call fcn.0041ef0c
mov dword [ebp - 0x18], eax
mov dl, 6
mov eax, dword [ebp - 0x18]
call fcn.00420338
xor eax, eax
push ebp
push 0x4ab154
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 + 0x48]
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.0041f478
xor ecx, ecx
xor edx, edx
call fcn.0041a3c8
mov eax, dword [0x4bce38]
mov eax, dword [eax]
call fcn.0042fe6c
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp xword [ebp - 0x40]
wait
mov eax, dword [0x4bce38]
mov eax, dword [eax]
call fcn.0042fe60
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
fld xword [ebp - 0x40]
fdivrp st(1)
fstp qword [ebp - 0x20]
wait
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fstp xword [ebp - 0x40]
wait
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x44], eax
fild dword [ebp - 0x44]
fld xword [ebp - 0x40]
fdivrp st(1)
fstp qword [ebp - 0x28]
wait
test bl, bl
je 0x4ab13b
fld qword [ebp - 0x20]
fsub qword [ebp - 0x28]
fabs
fld xword [0x4ab22c]
fcompp
fnstsw ax
sahf
jae 0x4ab13b
mov dl, 1
mov eax, dword [0x418a44]
call fcn.0041ef0c
mov ebx, eax
mov dl, 6
mov eax, ebx
call fcn.00420338
fld qword [ebp - 0x20]
fcomp qword [ebp - 0x28]
fnstsw ax
sahf
jbe 0x4ab0ee
mov eax, dword [0x4bce38]
mov eax, dword [eax]
call fcn.0042fe60
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fmul qword [ebp - 0x28]
call fcn.00402a1c
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
jmp 0x4ab121
mov eax, dword [0x4bce38]
mov eax, dword [eax]
call fcn.0042fe6c
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov eax, ebx
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x34], eax
fild dword [ebp - 0x34]
fdiv qword [ebp - 0x28]
call fcn.00402a1c
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov edx, dword [ebp - 0x18]
mov eax, ebx
call fcn.00470c8c
mov edx, dword [ebp - 0x10]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov byte [ebp - 0x29], 0x30
jmp 0x4ab14a
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov byte [ebp - 0x29], 0x32
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4ab15e
mov eax, dword [ebp - 0x14]
call fcn.00402e9c
mov eax, dword [ebp - 0x18]
call fcn.00402e9c
mov ecx, 0x4ab240
mov edx, 0x4ab24c
mov eax, 0x4ab264
call fcn.00455c80
lea eax, [ebp - 0x48]
mov dl, byte [ebp - 0x29]
call fcn.00403d6c
mov ecx, dword [ebp - 0x48]
mov eax, 0x4ab264
mov edx, 0x4ab298
call fcn.00455c80
push 3
lea eax, [ebp - 0x10]
call fcn.00404014
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 0x4ab1ed
lea eax, [ebp - 0x48]
call fcn.00403bc4
lea eax, [ebp - 0x30]
call fcn.00403bc4
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00403be8
lea eax, [ebp - 4]
call fcn.00403bc4
ret