Function at 0x14005a8e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x1400cd548]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rsi, r8
mov rbx, rdx
xor dil, dil
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r14w
lea edx, [r14 + 0x30]
lea rcx, [rsp + 0x40]
call fcn.14000d810
mov qword [rsp + 0x50], 0x28
mov qword [rsp + 0x58], 0x2f
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], r14
mov qword [rax + 0x20], r14
mov qword [rax + 0x28], r14
mov qword [rax + 0x30], r14
mov qword [rax + 0x38], r14
mov qword [rax + 0x40], r14
mov qword [rax + 0x48], r14
mov word [rax + 0x50], r14w
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, rax
mov r8d, dword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.ole32.dll_StringFromGUID2]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
lea r8d, [r14 + 0x4b]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionExplorerVirtualDesktopsDesktops
lea rcx, [rsp + 0x60]
call fcn.14000d670
nop
lea r8d, [r14 + 1]
lea rdx, [0x1400b8b50]
lea rcx, [rsp + 0x60]
call fcn.14000ed70
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
lea rcx, [rsp + 0x60]
call fcn.14000ed70
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rdx, qword [rsp + 0x60]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14005aaa6
mov dword [rsp + 0x30], 0x208
mov dword [rsp + 0x34], r14d
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x34]
xor r8d, r8d
lea rdx, str.Wallpaper
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005aa9a
lea rax, [rbp - 0x80]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x14005aa80
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.14000d670
mov dil, 1
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 8
jb 0x14005aae8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005aae3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ab6b
call fcn.14006ec58
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r14w
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x14005ab3a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ab35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005ab65
call fcn.14006ec58
movzx eax, dil
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14006ed70
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.14007576c
nop
call fcn.14007576c
nop
int3