Function at 0x14019fe88
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x140412700]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov rsi, rcx
xor r12d, r12d
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x78], r12
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14019f89e
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14001d845.0]
mov qword [rbp - 0x78], r12
lea rcx, [rbp - 0x78]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jns 0x14019f8b8
mov r14b, r12b
jmp 0x14019fda0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], rax
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x60], xmm1
mov qword [rbp - 0x50], r12
mov rdi, qword [rsi]
mov rbx, qword [rdi]
jmp 0x14019f950
lea r9, [rbx + 0x10]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14019fded
mov rax, qword [rcx]
cmp qword [r9 + 0x18], 7
jbe 0x14019f8f7
mov r9, qword [r9]
mov qword [rsp + 0x30], r12
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r12
xor r8d, r8d
xor edx, edx
mov rax, qword [rax + 0x18]
call qword [case.0x14001d845.0]
test eax, eax
js 0x14019f95f
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x70], rax
mov rdx, qword [rbp - 0x58]
cmp rdx, qword [rbp - 0x50]
je 0x14019f93c
mov qword [rdx], rax
add qword [rbp - 0x58], 8
jmp 0x14019f94a
lea r8, [rsp + 0x70]
lea rcx, [rbp - 0x60]
call fcn.14000d0c4
mov rbx, qword [rbx]
mov rdi, qword [rsi]
cmp rbx, rdi
jne 0x14019f8d9
mov rax, qword [rbp - 0x58]
cmp rax, qword [rbp - 0x60]
jne 0x14019f967
mov r14b, r12b
jmp 0x14019fd96
xor edx, edx
mov r8d, 0x80
lea rcx, [rbp - 0x40]
call fcn.1402bf2e0
mov rdi, qword [rdi]
add rdi, 0x10
lea r8, [rbp - 0x40]
lea rdx, [0x1403a1370]
mov r15, 0xffffffff80000000
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ecx, r12d
test eax, eax
sete cl
mov ebx, ecx
lea r8, [rbp - 0x40]
lea r8, [r8 + rbx*8]
lea rdx, str.AllFileSystemObjects
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ecx, r12d
test eax, eax
sete cl
lea r14d, [rcx + rbx]
mov rcx, rdi
cmp qword [rdi + 0x18], 7
jbe 0x14019f9d5
mov rcx, qword [rdi]
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x14019fa27
lea r8, [rbp - 0x40]
lea r8, [r8 + r14*8]
lea rdx, str.Folder
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ecx, r12d
test eax, eax
sete cl
lea ebx, [rcx + r14]
lea r8, [rbp - 0x40]
lea r8, [r8 + rbx*8]
lea rdx, str.Directory
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov r14d, r12d
test eax, eax
sete r14b
add r14d, ebx
cmp qword [rdi + 0x18], 7
jbe 0x14019fa31
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test rax, rax
je 0x14019fad3
cmp word [rax], 0x2e
jne 0x14019fad3
lea r8, [rsp + 0x78]
mov rdx, rax
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14019fad3
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x40]
call fcn.1402bf2e0
mov dword [rbp - 0x70], 0x104
lea rax, [rbp - 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14036ac58]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14019fac8
lea r8, [rbp - 0x40]
lea r8, [r8 + r14*8]
lea rdx, [rbp + 0x40]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov ecx, r12d
test eax, eax
sete cl
add r14d, ecx
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x80], r12
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14019faf1
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14001d845.0]
mov qword [rbp - 0x80], r12
lea rcx, [rbp - 0x60]
call fcn.14017c344
mov r8, qword [rbp - 0x58]
sub r8, qword [rbp - 0x60]
sar r8, 3
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], r14d
lea rcx, [0x14019f820]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rbp - 0x78]
mov qword [rsp + 0x20], rcx
mov r9, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_CDefFolderMenu_Create2]
mov r15d, eax
mov edi, r14d
mov r14d, 1
test rdi, rdi
je 0x14019fb6a
mov rbx, r12
mov rcx, qword [rbp + rbx*8 - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rbx, r14
cmp rbx, rdi
jl 0x14019fb57
test r15d, r15d
jns 0x14019fb77
mov r14b, r12b
jmp 0x14019fd7f
mov rcx, qword [rbp - 0x80]
mov qword [rsi + 0x10], rcx
mov qword [rbp - 0x48], r12
mov rdi, r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x70], rcx
test rcx, rcx
je 0x14019fba0
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001d845.0]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x68], rax
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14019fbe2
mov qword [rsp + 0x70], r12
mov rax, qword [rcx]
lea r8, [rsp + 0x70]
lea rdx, [0x1403a8e28]
mov rax, qword [rax]
call qword [case.0x14001d845.0]
mov ebx, eax
mov rdi, r12
test eax, eax
cmovns rdi, qword [rsp + 0x70]
mov qword [rbp - 0x48], rdi
jmp 0x14019fbeb
mov qword [rbp - 0x68], r12
mov ebx, 0x80004002
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14019fc01
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14001d845.0]
mov ecx, 0x80000000
lea eax, [rbx + rcx]
test ecx, eax
jne 0x14019fc19
cmp ebx, 0x80004002
jne 0x14019fdf8
test rdi, rdi
je 0x14019fc22
mov qword [rsi + 0x10], rdi
mov qword [rbp - 0x68], r12
mov rbx, r12
mov qword [rbp - 0x68], rbx
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x50], rcx
test rcx, rcx
je 0x14019fc48
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14001d845.0]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14019fc8d
mov qword [rsp + 0x68], r12
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
lea rdx, [0x1403a8e38]
mov rax, qword [rax]
call qword [case.0x14001d845.0]
mov r15d, eax
mov rbx, r12
test eax, eax
cmovns rbx, qword [rsp + 0x68]
mov qword [rbp - 0x68], rbx
jmp 0x14019fc98
mov qword [rsp + 0x60], r12
mov r15d, 0x80004002
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14019fcaf
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14001d845.0]
mov ecx, 0x80000000
lea eax, [r15 + rcx]
test ecx, eax
jne 0x14019fcc9
cmp r15d, 0x80004002
jne 0x14019fde4
test rbx, rbx
je 0x14019fcd2
mov qword [rsi + 0x10], rbx
mov rcx, qword [rsi + 0x10]
mov rax, qword [rcx]
mov dword [rsp + 0x28], reloc.OLEAUT32.dll_SafeArrayLock
mov edx, dword [rsi + 0x34]
mov dword [rsp + 0x20], edx
mov r9d, dword [rsi + 0x30]
xor r8d, r8d
mov rdx, qword [rsi + 0x28]
mov rax, qword [rax + 0x18]
call qword [case.0x14001d845.0]
test eax, eax
jns 0x14019fd06
mov r14b, r12b
jmp 0x14019fd53
mov rcx, qword [rsi + 0x18]
cmp rcx, rdi
je 0x14019fd2c
mov qword [rsi + 0x18], rdi
mov rdi, r12
mov qword [rbp - 0x48], r12
test rcx, rcx
je 0x14019fd2c
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14001d845.0]
mov rcx, qword [rsi + 0x20]
cmp rcx, rbx
je 0x14019fd53
mov qword [rsi + 0x20], rbx
mov rbx, r12
mov qword [rbp - 0x68], rbx
test rcx, rcx
je 0x14019fd53
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14001d845.0]
nop
test rbx, rbx
je 0x14019fd69
mov rax, qword [rbx]
mov rcx, rbx
mov rax, qword [rax + 0x10]
call qword [case.0x14001d845.0]
nop
test rdi, rdi
je 0x14019fd7f
mov rax, qword [rdi]
mov rcx, rdi
mov rax, qword [rax + 0x10]
call qword [case.0x14001d845.0]
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14019fd96
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14001d845.0]
nop
lea rcx, [rbp - 0x60]
call fcn.14017c234
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14019fdb6
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x14001d845.0]
mov al, r14b
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.1402194b0
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, r15d
call fcn.140277da0
nop
mov ecx, 0x80004003
call fcn.140277da0
nop
mov ecx, ebx
call fcn.140277da0
int3
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx + 0x28]
jmp 0x14019fead
mov rcx, qword [rbx + 0x28]
xor edx, edx
mov r8d, 0x400
call qword [sym.imp.USER32.dll_DeleteMenu]
mov rcx, qword [rbx + 0x28]
call qword [sym.imp.USER32.dll_GetMenuItemCount]
test eax, eax
jg 0x14019fe97
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp 0x14019f848