Function at 0x406dd0
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 [0x429004]
xor eax, esp
mov dword [esp + 0x2c4], eax
push esi
push edi
mov edi, dword [0x42a340]
lea eax, [esp + 0xb8]
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]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [eax*4 + 4]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [esp + 0x14], esi
test esi, esi
je 0x40703d
push edi
push esi
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 + 0x20], eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [esp + 0x1c]
mov edi, eax
push edi
mov dword [esp + 0x18], edi
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [esp + 0x74]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push esi
push edi
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 0x219
lea eax, [esp + 0x80]
mov dword [esp + 0x88], edi
mov edi, dword [esp + 0x18]
push eax
push edi
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x94], esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push edi
push dword [esp + 0x20]
call dword [sym.imp.USER32.dll_DrawTextA]
mov eax, 0x4d42
mov word [esp + 0x64], ax
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
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
push dword [esp + 0x18]
mov dword [esp + 0x3c], eax
imul eax, dword [esp + 0x38]
mov dword [esp + 0x40], 0x100001
movups xmm0, xmmword [esp + 0x34]
mov dword [esp + 0x44], 0
mov dword [esp + 0x4c], 0
add eax, eax
mov dword [esp + 0x50], 0
movups xmmword [esp + 0x90], xmm0
mov dword [esp + 0x48], eax
movups xmm0, xmmword [esp + 0x44]
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
movups xmmword [esp + 0xa0], xmm0
movq xmm0, qword [esp + 0x54]
movq qword [esp + 0xb0], xmm0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov esi, dword [esp + 0x10]
push 0
push 0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x30]
push eax
push 0
lea eax, [esp + 0x9c]
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
test eax, eax
jne 0x407057
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
push 0
call eax
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
mov ecx, dword [esp + 0x2c4]
xor ecx, esp
call fcn.00409fba
mov esp, ebp
pop ebp
ret
push eax
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push 0
push 0
push esi
push dword [esp + 0x48]
push dword [esp + 0x48]
push 0
push 0
push dword [esp + 0x34]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x18]
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 dword [esp + 0x14], eax
cmp eax, 0xffffffff
je 0x40702c
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea ecx, [esp + 0x2c]
push 0
push ecx
push 0xe
lea ecx, [esp + 0x70]
mov dword [esp + 0x38], 0
push ecx
push eax
call esi
push 0
lea eax, [esp + 0x30]
push eax
push 0x28
lea eax, [esp + 0x3c]
push eax
push dword [esp + 0x24]
call esi
push 0
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x4c]
push dword [esp + 0x34]
push dword [esp + 0x24]
call esi
push dword [esp + 0x14]
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 + 0x1c]
call esi
mov eax, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push edi
push 0
call eax
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
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 0x40703d
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 ecx, [esp + 0xbc]
push ecx
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [esp + 0x2cc]
mov eax, 1
pop edi
pop esi
xor ecx, esp
call fcn.00409fba
mov esp, ebp
pop ebp
ret