Function at 0x1401fb7e0
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 0x1401fb95f
mov r14d, 1
mov r8d, r14d
lea rdx, [0x14034c088]
add rcx, 8
call fcn.140202750
test al, al
je 0x1401fb8a6
xor r8d, r8d
movzx edx, r14b
lea rcx, [rbx + 8]
call fcn.1400ed8e0
mov rsi, rax
test rax, rax
je 0x1401fbb86
mov rdx, qword [rbx + 0x78]
or rcx, 0xffffffffffffffff
nop dword [rax]
inc rcx
cmp word [rdx + rcx*2], 0
jne 0x1401fb860
add ecx, ecx
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rdx
mov r9d, dword [rbx + 0x88]
xor r8d, r8d
lea rdx, [0x14034d1a0]
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 0x1401fbb86
cmp dword [rbx + 0x14], 0
je 0x1401fbb86
mov edx, 0x5c
mov rcx, qword [rbx + 8]
call fcn.1402c00ac
mov rsi, rax
test rax, rax
je 0x1401fbb86
sub rsi, qword [rbx + 8]
sar rsi, 1
test esi, esi
jle 0x1401fbb86
lea r8d, [rsi + 1]
lea rdx, [rbp - 0x28]
lea rcx, [rbx + 8]
call fcn.140204810
nop
mov r9d, esi
xor r8d, r8d
lea rdx, [rbp - 0x38]
lea rcx, [rbx + 8]
call fcn.140204ad0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x38]
call fcn.1400ed8e0
mov rsi, rax
test rax, rax
je 0x1401fb93c
mov r9d, dword [rbx + 0x88]
mov r8, qword [rbx + 0x78]
mov rdx, qword [rbp - 0x28]
mov rcx, rax
call fcn.1401b4f60
movzx edi, al
mov r8, qword [rsi]
mov edx, r14d
mov rcx, rsi
call qword [r8]
nop
cmp dword [rbp - 0x30], 0
jle 0x1401fb94c
mov rcx, qword [rbp - 0x38]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x20], 0
jle 0x1401fbb86
mov rcx, qword [rbp - 0x28]
jmp 0x1401fbb81
cmp eax, 1
jne 0x1401fbb86
add rbx, 8
mov r14d, eax
mov r8d, eax
lea rdx, [0x14034c088]
mov rcx, rbx
call fcn.140202750
test al, al
je 0x1401fba95
xor eax, eax
mov qword [rbp - 0x30], rax
mov edx, dword [rbx + 0xc]
test edx, edx
jne 0x1401fb9a3
lea rax, [0x14034d1a0]
mov qword [rbp - 0x38], rax
jmp 0x1401fb9c4
lea rcx, [rbp - 0x38]
call fcn.1402028a0
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.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rbp - 0x38]
call fcn.140203bb0
nop
mov edx, dword [rbp - 0x2c]
dec edx
mov r8d, r14d
lea rcx, [rbp - 0x38]
call fcn.140203cb0
cmp dword [rbp - 0x2c], 0
je 0x1401fba90
mov edx, 0x5c
mov rcx, qword [rbp - 0x38]
call fcn.1402c00ac
mov rbx, rax
test rax, rax
je 0x1401fba90
sub rbx, qword [rbp - 0x38]
sar rbx, 1
test ebx, ebx
jle 0x1401fba90
lea r8d, [rbx + 1]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x38]
call fcn.140204810
nop
mov r9d, ebx
xor r8d, r8d
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x38]
call fcn.140204ad0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x28]
call fcn.1400ed8e0
mov rbx, rax
test rax, rax
je 0x1401fba70
mov rdx, qword [rbp - 0x18]
mov rcx, rax
call fcn.1400ecee0
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 0x1401fba80
mov rcx, qword [rbp - 0x28]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x10], 0
jle 0x1401fba90
mov rcx, qword [rbp - 0x18]
call fcn.1402bd0e0
nop
jmp 0x1401fbb77
cmp dword [rbx + 0xc], 0
je 0x1401fbb86
mov edx, 0x5c
mov rcx, qword [rbx]
call fcn.1402c00ac
mov rsi, rax
test rax, rax
je 0x1401fbb86
sub rsi, qword [rbx]
sar rsi, 1
test esi, esi
jle 0x1401fbb86
lea r8d, [rsi + 1]
lea rdx, [rbp - 0x38]
mov rcx, rbx
call fcn.140204810
nop
mov r9d, esi
xor r8d, r8d
lea rdx, [rbp - 0x18]
mov rcx, rbx
call fcn.140204ad0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x18]
call fcn.1400ed8e0
mov rsi, rax
test rax, rax
je 0x1401fbb67
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 0x1401fbb4a
xor r8d, r8d
lea rdx, str.NoChangingWallpaper
lea rcx, [rbp - 0x38]
call fcn.140202b80
test al, al
je 0x1401fbb45
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 0x1401fbb5b
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 0x1401fbb77
mov rcx, qword [rbp - 0x18]
call fcn.1402bd0e0
nop
cmp dword [rbp - 0x30], 0
jle 0x1401fbb86
mov rcx, qword [rbp - 0x38]
call fcn.1402bd0e0
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