Function at 0x406790
Capabilities:
Capture screenshot
Change the wallpaper
Get common file path
Set registry value
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x2c8
mov eax, dword [0x428004]
xor eax, esp
mov dword [esp + 0x2c4], eax
push esi
mov esi, dword [0x429278]
lea eax, [esp + 0xb4]
push edi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str._background_image.jpg
lea eax, [esp + 0xbc]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenA]
push esi
call edi
xor ecx, ecx
shl eax, 2
add eax, 4
setb cl
neg ecx
or ecx, eax
push ecx
call fcn.0040d6b1
add esp, 4
mov dword [esp + 0x14], eax
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.Fixedsys
push 0
push 0
push 0
push 2
push 1
push 0
push 0
push 0
push 0x190
push 0
push 0
push 0
push 0x12
call dword [sym.imp.GDI32.dll_CreateFontW]
push 0
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x18]
mov esi, eax
push esi
mov dword [esp + 0x18], esi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0x74]
push eax
push dword [esp + 0x18]
call edi
push eax
push dword [esp + 0x1c]
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x74]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
add eax, 3
and eax, 0xfffffffc
push 0
mov dword [esp + 0x78], eax
call esi
push 1
mov edi, eax
call esi
mov esi, eax
push esi
push edi
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [esp + 0x14]
mov dword [esp + 0x28], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xffffff
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 2
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0x211
lea eax, [esp + 0x80]
mov dword [esp + 0x8c], esi
mov esi, dword [esp + 0x18]
push eax
push esi
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x90], edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_DrawTextA]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov eax, 0x4d42
mov word [esp + 0x64], ax
xor eax, eax
push eax
mov dword [esp + 0x6a], 0
mov dword [esp + 0x6e], eax
mov dword [esp + 0x72], 0x36
mov dword [esp + 0x34], 0x28
call esi
push 1
mov dword [esp + 0x38], eax
call esi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x38], eax
imul eax, dword [esp + 0x34]
mov dword [esp + 0x3c], 0x100001
movups xmm0, xmmword [esp + 0x30]
mov dword [esp + 0x40], 0
mov dword [esp + 0x48], 0
add eax, eax
mov dword [esp + 0x4c], 0
movups xmmword [esp + 0x8c], xmm0
mov dword [esp + 0x44], eax
movups xmm0, xmmword [esp + 0x40]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
movups xmmword [esp + 0x9c], xmm0
push edi
movq xmm0, qword [esp + 0x54]
movq qword [esp + 0xb0], xmm0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0
push 0
mov esi, eax
lea eax, [esp + 0x30]
push eax
push 0
lea eax, [esp + 0x9c]
push eax
push dword [esp + 0x24]
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push dword [esp + 0x1c]
push dword [esp + 0x48]
push dword [esp + 0x48]
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
push edi
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
lea eax, [esp + 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x406b19
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0x2c]
push 0
push eax
push 0xe
lea eax, [esp + 0x70]
mov dword [esp + 0x38], 0
push eax
push edi
call esi
push 0
lea eax, [esp + 0x30]
push eax
push 0x28
lea eax, [esp + 0x3c]
push eax
push edi
call esi
push 0
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x4c]
push dword [esp + 0x34]
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [esp + 0x20]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_DeleteDC]
push dword [esp + 0x18]
call esi
push dword [esp + 0x14]
call fcn.0040d6ac
add esp, 4
lea eax, [esp + 0x24]
push eax
push str.Control_PanelDesktop
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
cmp dword [esp + 0x24], 0
je 0x406b19
lea eax, [esp + 0xb8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
push eax
lea eax, [esp + 0xbc]
push eax
push 1
push 0
push str.Wallpaper
push dword [esp + 0x38]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
lea eax, [esp + 0xbc]
push eax
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [esp + 0x2cc]
pop edi
pop esi
xor ecx, esp
call fcn.004096d4
mov esp, ebp
pop ebp
ret