Function at 0x140011100
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x400
mov rax, qword [0x140024008]
xor rax, rsp
mov qword [rsp + 0x3f0], rax
xor r14d, r14d
lea rax, [r11 - 0x3b0]
mov r13, rdx
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], rax
mov dword [rdx], r14d
mov rsi, rcx
mov qword [rsp + 0x30], r14
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionMedia_CenterSaved_Links
xor r9d, r9d
xor r8d, r8d
mov rcx, 0xffffffff80000001
mov dword [rsp + 0x28], 0x2001f
mov qword [r11 - 0x3b8], r14
mov qword [rsp + 0x78], r14
mov dword [rsp + 0x20], r14d
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r14
mov qword [r11 - 0x3a8], r14
mov qword [r11 - 0x3b0], r14
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov rbx, qword [rsp + 0x88]
cmp eax, r14d
lea rcx, [rsp + 0x68]
cmovne rbx, r14
mov qword [rsp + 0x88], rbx
call qword [sym.imp.SHELL32.dll_SHGetMalloc]
cmp eax, r14d
mov edi, eax
jl 0x14001152f
lea rcx, [rsp + 0x80]
call qword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
cmp eax, r14d
mov edi, eax
jl 0x14001152f
mov rcx, qword [rsp + 0x80]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x30], r14
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdx
mov r9, rsi
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], r14
call qword [rax + 0x18]
cmp eax, r14d
mov edi, eax
jl 0x14001152f
mov rcx, qword [rsp + 0x80]
lea rdx, [rsp + 0x78]
lea r9, [0x14001ff00]
mov rax, qword [rcx]
mov qword [rsp + 0x20], rdx
mov rdx, qword [rsp + 0x60]
xor r8d, r8d
call qword [rax + 0x28]
cmp eax, r14d
mov edi, eax
jl 0x14001152f
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x60], r14
mov rax, qword [rcx]
lea r9, [rsp + 0x90]
lea r8d, [r14 + 0x40]
xor edx, edx
call qword [rax + 0x20]
cmp eax, r14d
mov edi, eax
jl 0x14001152f
mov esi, r14d
mov dword [rsp + 0x74], r14d
mov dword [rsp + 0x70], r14d
jne 0x140011382
mov rcx, qword [rsp + 0x90]
mov dword [rsp + 0x58], r14d
lea r9, [rsp + 0x58]
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
mov edx, 1
call qword [rax + 0x18]
cmp eax, r14d
mov edi, eax
jl 0x14001152f
cmp eax, 1
je 0x140011382
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rsp + 0x60]
lea r9, [rsp + 0xd0]
mov rax, qword [rcx]
mov r8d, 0x8000
call qword [rax + 0x58]
cmp eax, r14d
mov edi, eax
jl 0x14001152f
mov rdx, qword [rsp + 0x60]
lea r8, [rsp + 0x1e0]
lea rcx, [rsp + 0xd0]
mov r9d, 0x104
inc esi
call qword [sym.imp.SHLWAPI.dll_StrRetToBufW]
cmp eax, r14d
mov edi, eax
jl 0x14001152f
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + 0x28]
lea r8, [rsp + 0xa0]
lea rcx, [rsp + 0x1e0]
xor edx, edx
mov qword [rsp + 0x60], r14
call qword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
cmp eax, r14d
je 0x140011379
lea rdx, [rsp + 0xb4]
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
mov rcx, qword [rsp + 0x70]
cmp eax, r14d
cmovl rcx, qword [rsp + 0xb4]
mov qword [rsp + 0x70], rcx
cmp edi, r14d
je 0x140011291
mov r15d, 4
mov dword [rsp + 0x58], r14d
mov dword [rsp + 0x50], r15d
cmp rbx, r14
je 0x1400113ca
lea rax, [rsp + 0x50]
lea rdx, str.Number_of_Links
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebp, dword [rsp + 0x58]
cmp eax, r14d
je 0x1400113cd
mov ebp, r14d
mov dword [rsp + 0x58], r14d
mov dword [rsp + 0x50], r15d
cmp rbx, r14
je 0x140011410
lea rax, [rsp + 0x50]
lea rdx, str.Change_loword
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r12d, dword [rsp + 0x58]
cmp eax, r14d
je 0x140011413
mov r12d, r14d
mov dword [rsp + 0x58], r14d
mov dword [rsp + 0x50], r15d
cmp rbx, r14
je 0x140011455
lea rax, [rsp + 0x50]
lea rdx, str.Change_hiword
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x58]
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, r14d
mov eax, dword [rsp + 0x58]
je 0x140011458
mov eax, r14d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x98]
mov dword [rsp + 0x98], r12d
mov dword [rsp + 0x9c], eax
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, r14d
jge 0x1400114eb
mov eax, dword [rsp + 0x70]
mov dword [r13], 1
mov dword [rsp + 0x50], eax
cmp rbx, r14
je 0x1400114b9
lea rax, [rsp + 0x50]
lea rdx, str.Change_loword
mov r9d, r15d
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x50], eax
cmp rbx, r14
je 0x1400114eb
lea rax, [rsp + 0x50]
lea rdx, str.Change_hiword
mov r9d, r15d
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp esi, ebp
je 0x14001152f
cmp dword [r13], r14d
jne 0x140011501
cmp esi, ebp
jle 0x140011501
mov dword [r13], 1
mov dword [rsp + 0x50], esi
cmp rbx, r14
je 0x14001152f
lea rax, [rsp + 0x50]
lea rdx, str.Number_of_Links
mov r9d, r15d
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
cmp rdx, r14
je 0x140011553
cmp rcx, r14
je 0x140011553
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x60], r14
mov rdx, qword [rsp + 0x80]
cmp rdx, r14
je 0x14001156e
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x78]
cmp rdx, r14
je 0x140011586
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x68]
cmp rcx, r14
je 0x140011591
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x90]
cmp rcx, r14
je 0x1400115a4
mov rax, qword [rcx]
call qword [rax + 0x10]
cmp rbx, r14
je 0x1400115b2
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x3f0]
xor rcx, rsp
call fcn.1400012d0
mov rbx, qword [rsp + 0x450]
add rsp, 0x400
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret