Function at 0x1401f81a0
Capabilities:
Change the wallpaper
Check if file exists
Delete registry value
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rbx, rcx
xor dil, dil
mov eax, dword [rcx + 0x8c]
cmp eax, 2
jne 0x1401f831f
mov r14d, 1
mov r8d, r14d
lea rdx, [0x140347f58]
add rcx, 8
call fcn.1401ff110
test al, al
je 0x1401f8266
xor r8d, r8d
movzx edx, r14b
lea rcx, [rbx + 8]
call fcn.1400ec370
mov rsi, rax
test rax, rax
je 0x1401f8546
mov rdx, qword [rbx + 0x78]
or rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x1401f8220
add ecx, ecx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rdx
mov r9d, dword [rbx + 0x88]
xor r8d, r8d
lea rdx, [0x140348ca0]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
sete dil
mov rax, qword [rsi]
mov edx, r14d
mov rcx, rsi
call qword [rax]
jmp 0x1401f8546
cmp dword [rbx + 0x14], 0
je 0x1401f8546
mov edx, 0x5c
mov rcx, qword [rbx + 8]
call fcn.1402bcbec
mov rsi, rax
test rax, rax
je 0x1401f8546
sub rsi, qword [rbx + 8]
sar rsi, 1
test esi, esi
jle 0x1401f8546
lea r8d, [rsi + 1]
lea rdx, [rbp - 0x28]
lea rcx, [rbx + 8]
call fcn.1402011d0
nop
mov r9d, esi
xor r8d, r8d
lea rdx, [rbp - 0x38]
lea rcx, [rbx + 8]
call fcn.140201490
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x38]
call fcn.1400ec370
mov rsi, rax
test rax, rax
je 0x1401f82fc
mov r9d, dword [rbx + 0x88]
mov r8, qword [rbx + 0x78]
mov rdx, qword [rbp - 0x28]
mov rcx, rax
call fcn.1401b2f00
movzx edi, al
mov r8, qword [rsi]
mov edx, r14d
mov rcx, rsi
call qword [r8]
nop
cmp dword [rbp - 0x30], 0
jle 0x1401f830c
mov rcx, qword [rbp - 0x38]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x20], 0
jle 0x1401f8546
mov rcx, qword [rbp - 0x28]
jmp 0x1401f8541
cmp eax, 1
jne 0x1401f8546
add rbx, 8
mov r14d, eax
mov r8d, eax
lea rdx, [0x140347f58]
mov rcx, rbx
call fcn.1401ff110
test al, al
je 0x1401f8455
xor eax, eax
mov qword [rbp - 0x30], rax
mov edx, dword [rbx + 0xc]
test edx, edx
jne 0x1401f8363
lea rax, [0x140348ca0]
mov qword [rbp - 0x38], rax
jmp 0x1401f8384
lea rcx, [rbp - 0x38]
call fcn.1401ff260
movsxd r9, dword [rbx + 0xc]
mov eax, dword [rbp - 0x30]
inc eax
movsxd rdx, eax
mov r8, qword [rbx]
mov rcx, qword [rbp - 0x38]
call fcn.1402bd21c
mov edx, dword [rbx + 0xc]
lea rcx, [rbp - 0x38]
call fcn.140200570
nop
mov edx, dword [rbp - 0x2c]
dec edx
mov r8d, r14d
lea rcx, [rbp - 0x38]
call fcn.140200670
cmp dword [rbp - 0x2c], 0
je 0x1401f8450
mov edx, 0x5c
mov rcx, qword [rbp - 0x38]
call fcn.1402bcbec
mov rbx, rax
test rax, rax
je 0x1401f8450
sub rbx, qword [rbp - 0x38]
sar rbx, 1
test ebx, ebx
jle 0x1401f8450
lea r8d, [rbx + 1]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x38]
call fcn.1402011d0
nop
mov r9d, ebx
xor r8d, r8d
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x38]
call fcn.140201490
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x28]
call fcn.1400ec370
mov rbx, rax
test rax, rax
je 0x1401f8430
mov rdx, qword [rbp - 0x18]
mov rcx, rax
call fcn.1400eb970
movzx edi, dil
test al, al
cmovne edi, r14d
mov r8, qword [rbx]
mov edx, r14d
mov rcx, rbx
call qword [r8]
nop
cmp dword [rbp - 0x20], 0
jle 0x1401f8440
mov rcx, qword [rbp - 0x28]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x10], 0
jle 0x1401f8450
mov rcx, qword [rbp - 0x18]
call fcn.1402b9c20
nop
jmp 0x1401f8537
cmp dword [rbx + 0xc], 0
je 0x1401f8546
mov edx, 0x5c
mov rcx, qword [rbx]
call fcn.1402bcbec
mov rsi, rax
test rax, rax
je 0x1401f8546
sub rsi, qword [rbx]
sar rsi, 1
test esi, esi
jle 0x1401f8546
lea r8d, [rsi + 1]
lea rdx, [rbp - 0x38]
mov rcx, rbx
call fcn.1402011d0
nop
mov r9d, esi
xor r8d, r8d
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.140201490
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x18]
call fcn.1400ec370
mov rsi, rax
test rax, rax
je 0x1401f8527
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rax + 8]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ebx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x1401f850a
xor r8d, r8d
lea rdx, str.NoChangingWallpaper
lea rcx, [rbp - 0x38]
call fcn.1401ff540
test al, al
je 0x1401f8505
lea r9d, [rbx + 3]
xor r8d, r8d
xor edx, edx
lea ecx, [rbx + 0x14]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
mov dil, 1
jmp 0x1401f851b
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, dil
cmp eax, 2
cmove edi, r14d
mov rax, qword [rsi]
mov edx, r14d
mov rcx, rsi
call qword [rax]
nop
cmp dword [rbp - 0x10], 0
jle 0x1401f8537
mov rcx, qword [rbp - 0x18]
call fcn.1402b9c20
nop
cmp dword [rbp - 0x30], 0
jle 0x1401f8546
mov rcx, qword [rbp - 0x38]
call fcn.1402b9c20
movzx eax, dil
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret