Function at 0x1400d0620
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x2d8]
sub rsp, 0x3c0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1403b8c08]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
mov rdi, rcx
mov qword [rsp + 0x50], rcx
xor r15d, r15d
mov qword [rsp + 0x30], r15
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xa0]
call fcn.140289490
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [rsp + 0x38], 0x104
mov dword [rsp + 0x3c], 1
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x3c]
lea r8, str.Wallpaper
lea rdx, str.Control_PanelDesktop
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea rbx, [r15 - 1]
test eax, eax
jne 0x1400d07c3
xor r9d, r9d
lea r8, [rbp + 0xa0]
mov edx, 0x104
lea ecx, [rbx + 0x74]
call qword [sym.imp.USER32.dll_SystemParametersInfoW]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400d07c3
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x140307308]
xor edx, edx
lea r8d, [r15 + 1]
lea rcx, [0x140307328]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400d0769
mov rax, qword [rcx]
lea r9d, [r15 + 2]
mov r8d, 0x104
lea rdx, [rbp + 0xa0]
call qword [rax + 0x20]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + InitCommonControls]
mov qword [rsp + 0x30], r15
lea rcx, [rbp + 0xa0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1400d07c3
lea rcx, [rsp + 0x40]
call fcn.1400d15a0
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400d07a5
mov rdx, qword [rsp + 0x40]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.SHLWAPI.dll_StrCpyW]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400d07c3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call qword [sym.imp.ole32.dll_CoUninitialize]
call fcn.1400e97a0
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8 + InitCommonControls]
cmp al, 1
jne 0x1400d0992
movdqa xmm0, xmmword [0x1402eb9c0]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], r15b
mov r8d, 0x3e
lea rdx, str.d:jenkins.jenkinsworkspacehalodeskcoral_desktoputils.cpp
lea rcx, [rbp + 0x60]
call fcn.14000c230
nop
movdqa xmm0, xmmword [0x1402eb9c0]
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], 0
mov r8d, 3
lea rdx, [0x1402ecb4c]
lea rcx, [rbp + 0x40]
call fcn.14000c230
nop
call fcn.1400e97a0
mov r14, rax
mov r9d, 0x1e7
lea r8, [rbp + 0x60]
lea rdx, [rbp + 0x40]
lea rcx, [rsp + 0x58]
call fcn.14000e2f0
mov rsi, rax
lea rdx, str.GetCurWallPaperPath:
lea rcx, [rbp + 0x80]
call fcn.14006c570
nop
mov r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 8
jb 0x1400d087a
mov rax, qword [rax]
mov rdx, rax
mov rcx, rsi
call fcn.14000ca40
nop
mov rdx, qword [rbp + 0x98]
cmp rdx, 8
jb 0x1400d08cc
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d08c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d0a2a
call fcn.140171af0
movdqa xmm0, xmmword [0x1402ecd10]
movdqu xmmword [rbp + 0x90], xmm0
mov word [rbp + 0x80], r15w
lea rdx, [rbp + 0xa0]
mov rcx, rsi
call fcn.14000c3d0
mov rax, qword [r14]
mov rdx, rsi
mov rcx, r14
call qword [rax + 0x38]
nop
lea rcx, [rsp + 0x58]
call fcn.14000f8a0
nop
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x1400d0946
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d0941
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d0a30
call fcn.140171af0
movdqa xmm0, xmmword [0x1402eb9c0]
movdqu xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x40], 0
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x1400d0992
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d098d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400d0a36
call fcn.140171af0
call fcn.14000b190
mov rcx, rax
test rax, rax
je 0x1400d0a1f
mov rax, qword [rax]
call qword [rax + SafeArrayCopy]
add rax, 0x18
mov qword [rdi], rax
lea rax, [rbp + 0xa0]
cmp rax, 0x10000
lea rax, [rbp + 0xa0]
jae 0x1400d09d3
movzx edx, ax
mov rcx, rdi
call fcn.14000b690
jmp 0x1400d09f0
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400d09d3
mov r8d, ebx
lea rdx, [rbp + 0xa0]
mov rcx, rdi
call fcn.140010860
nop
mov rax, rdi
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.140172190
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000adf0
nop
call fcn.14028c66c
nop
call fcn.14028c66c
nop
call fcn.14028c66c
int3