Function at 0xbd1574
Capabilities:
Change the wallpaper

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
mov esi, 0xbe0d60
push esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
push str._DBG_
push 7
call fcn.00bd1b2c
push str.make_desktop_image_r_n
push 8
call fcn.00bd1b2c
add esp, 0x10
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
push 0
call dword [sym.imp.user32.dll_GetDC]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
test ebx, ebx
je 0xbd17ac
push ebx
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0xbd17a3
push edi
push 8
push ebx
call dword [sym.imp.gdi32.dll_GetDeviceCaps]
push 0xa
mov edi, eax
pop eax
push eax
push ebx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.gdi32.dll_GetDeviceCaps]
push eax
push edi
push ebx
mov dword [ebp - 4], eax
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x14], eax
test eax, eax
je 0xbd179b
push eax
push esi
call dword [sym.imp.gdi32.dll_SelectObject]
push 0x5a
push ebx
call dword [sym.imp.gdi32.dll_GetDeviceCaps]
push 0x48
push eax
push 0x12
call dword [sym.imp.kernel32.dll_MulDiv]
xor ecx, ecx
neg eax
push ecx
push ecx
push 4
push ecx
push ecx
push 1
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push eax
mov dword [ebp - 0x20], eax
call dword [sym.imp.gdi32.dll_CreateFontW]
mov dword [ebp - 0x24], eax
test eax, eax
je 0xbd1792
push eax
push esi
call dword [sym.imp.gdi32.dll_SelectObject]
push 1
push esi
call dword [sym.imp.gdi32.dll_SetBkMode]
push 0xffffff
push esi
call dword [sym.imp.gdi32.dll_SetTextColor]
push 2
call dword [sym.imp.gdi32.dll_GetStockObject]
mov edx, dword [ebp - 4]
and dword [ebp - 0x34], 0
and dword [ebp - 0x30], 0
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x2c], edi
push eax
push esi
mov dword [ebp - 0x28], edx
call dword [sym.imp.user32.dll_FillRect]
mov ecx, dword [ebp - 4]
mov eax, ecx
imul eax, edi
cdq
idiv dword [ebp - 0xc]
test eax, eax
jle 0xbd172e
xor eax, eax
mov dword [ebp - 8], eax
test edi, edi
jle 0xbd172e
mov ebx, esi
and dword [ebp - 0xc], 0
test ecx, ecx
jle 0xbd1720
push 0xffffffffffffffff
push 0
call fcn.00bd297b
xor edx, edx
mov ecx, 0xc8
div ecx
push 0xffffffffffffffff
movzx esi, dl
push 0
shl esi, 8
call fcn.00bd297b
push 0x1e
pop ecx
xor edx, edx
div ecx
push 0xffffffffffffffff
movzx edi, dl
or edi, esi
push 0
shl edi, 8
call fcn.00bd297b
add esp, 0x18
mov esi, dword [ebp - 0xc]
xor edx, edx
push 0x1e
pop ecx
div ecx
movzx eax, dl
or eax, edi
push eax
push esi
push dword [ebp - 8]
push ebx
call dword [sym.imp.gdi32.dll_SetPixel]
mov ecx, dword [ebp - 4]
inc esi
mov dword [ebp - 0xc], esi
cmp esi, ecx
jl 0xbd16b8
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp eax, edi
jl 0xbd16b0
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebp - 4]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
push 0x11
sub ecx, eax
lea eax, [ebp - 0x34]
sub ecx, dword [ebp - 0x20]
push eax
push 0xffffffffffffffff
push dword [0xbe0ca4]
mov dword [ebp - 0x30], ecx
push esi
call dword [sym.imp.user32.dll_DrawTextW]
call fcn.00bd146f
mov edi, eax
test edi, edi
je 0xbd1789
push edi
push ebx
push dword [ebp - 0x14]
call fcn.00bd12ba
add esp, 0xc
push 3
push edi
push 0
push 0x14
call dword [sym.imp.user32.dll_SystemParametersInfoW]
push edi
call fcn.00bd1c8e
pop ecx
push dword [ebp - 0x24]
call dword [sym.imp.gdi32.dll_DeleteObject]
push dword [ebp - 0x14]
call dword [sym.imp.gdi32.dll_DeleteObject]
push esi
call dword [sym.imp.gdi32.dll_DeleteDC]
pop edi
push ebx
push 0
call dword [sym.imp.user32.dll_ReleaseDC]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret