Function at 0x1400722a4
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x238]
sub rsp, 0x310
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400d2258]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov dword [rbp - 0x74], edx
mov r15, rcx
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x10], rcx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov byte [rbp - 8], 1
xor r12d, r12d
mov qword [rbp - 0x58], r12
mov esi, r12d
mov dword [rsp + 0x48], r12d
or r13, 0xffffffffffffffff
lea r14, [0x1400cf018]
mov rdi, r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x68], r12
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftMediaPlayerPreferencesHME_
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140072ad3
mov eax, r12d
mov rdi, qword [rbp - 0x68]
mov qword [rbp - 0x50], rdi
test eax, eax
jne 0x140072ad3
mov dword [rbp - 0x80], 0x100
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x80]
lea r8, [rbp]
mov edx, esi
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [rax + rax]
cmp eax, 0x103
je 0x140072aba
test eax, eax
jne 0x140072a7a
lea rdx, str.SoftwareMicrosoftMediaPlayerPreferencesHME_
lea rcx, [rsp + 0x50]
call fcn.140004b44
nop
lea rcx, [rbp]
mov rax, r13
inc rax
cmp word [rcx + rax*2], r12w
jne 0x1400723d5
mov r8d, eax
lea rdx, [rbp]
lea rcx, [rsp + 0x50]
call fcn.140004550
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], r12
mov qword [rsp + 0x68], r12
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140072a75
mov rbx, qword [rsp + 0x68]
mov qword [rbp - 0x30], rbx
mov rax, qword [0x1400d1e50]
lea rdi, [0x1400d1e50]
mov rcx, rdi
mov rax, qword [rax + 0x18]
call qword [case.0x1400688bc.0]
add rax, 0x18
mov qword [rsp + 0x60], rax
lea r8, [rsp + 0x60]
lea rdx, str.SharedLibraryPath
lea rcx, [rbp - 0x30]
call fcn.14008bc14
test eax, eax
je 0x140072501
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x1400724a3
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400688bc.0]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400724ba
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x1400724e3
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400688bc.0]
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140072a10
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
jmp 0x140072a10
mov rax, qword [0x1400d1e50]
mov rcx, rdi
mov rax, qword [rax + 0x18]
call qword [case.0x1400688bc.0]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea r8, [rsp + 0x58]
lea rdx, str.DisplayName
lea rcx, [rbp - 0x30]
call fcn.14008bc14
test eax, eax
je 0x140072568
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14007247a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400688bc.0]
jmp 0x14007247a
mov dword [rbp - 0x7c], 4
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x78]
xor r8d, r8d
lea rdx, str.AlwaysAllowMachineToSleep
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400725b0
cmp dword [rbp - 0x78], 4
jne 0x1400725b0
mov eax, r12d
test eax, eax
je 0x1400725b5
mov dword [rsp + 0x44], r12d
mov byte [rsp + 0x42], r12b
mov byte [rsp + 0x40], 1
mov rax, qword [0x1400d1e50]
mov rcx, rdi
mov rax, qword [rax + 0x18]
call qword [case.0x1400688bc.0]
lea rsi, [rax + 0x18]
mov qword [rbp - 0x70], rsi
lea rdi, [r15 + 0x28]
lea rdx, [rbp]
mov rcx, rdi
call fcn.140073c08
test rax, rax
je 0x140072601
lea rdx, [rax + 8]
lea rcx, [rbp - 0x70]
call fcn.140004c84
mov rsi, qword [rbp - 0x70]
cmp dword [rsi - 0x10], r12d
je 0x140072645
mov byte [rsp + 0x42], 1
lea rdx, [0x1400ae3e8]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
nop dword [rax + rax]
test eax, eax
sete byte [rsp + 0x40]
lea rdx, [rbp]
mov rcx, rdi
call fcn.140073c08
test rax, rax
je 0x140072645
mov rdx, rax
mov rcx, rdi
call fcn.140073d70
mov qword [rbp - 0x38], r12
lea rdx, [0x1400ae3e8]
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
nop dword [rax + rax]
test eax, eax
sete r14b
mov byte [rsp + 0x41], r14b
test eax, eax
je 0x1400726ef
lea rax, [rbp - 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x38]
mov eax, 1
mov r8d, eax
mov edx, eax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
nop dword [rax + rax]
test eax, eax
je 0x1400726ef
mov r14b, 1
mov byte [rsp + 0x41], r14b
mov rcx, qword [0x1400cf018]
lea rdx, [0x1400cf018]
cmp rcx, rdx
je 0x14007273c
test byte [rcx + 0x1c], 2
je 0x14007273c
cmp byte [rcx + 0x19], 5
jb 0x14007273c
mov edx, SafeArrayDestroy
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, [0x1400b8e88]
mov rcx, qword [rcx + 0x10]
call fcn.14000542c
test r14b, r14b
jne 0x14007273c
lea rdx, [rbp]
mov rcx, rdi
call fcn.140073c08
test rax, rax
jne 0x140072716
mov r8, rbx
lea rdx, [rbp]
mov rcx, rdi
call fcn.140073a5c
jmp 0x14007273c
lea rcx, [rax + 8]
test rbx, rbx
jne 0x140072724
mov eax, r12d
jmp 0x140072731
mov rax, r13
inc rax
cmp word [rbx + rax*2], r12w
jne 0x140072727
mov r8d, eax
mov rdx, rbx
call fcn.140004f30
mov r13b, 1
mov rax, qword [0x1400d1e50]
lea rcx, [0x1400d1e50]
mov rax, qword [rax + 0x18]
call qword [case.0x1400688bc.0]
add rax, 0x18
mov qword [rsp + 0x70], rax
lea r12, [r15 + 0x58]
lea rdx, [rbp]
mov rcx, r12
call fcn.14007402c
mov rdi, qword [rsp + 0x58]
test rax, rax
je 0x1400727bb
lea r14, [rax + 8]
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.140004c84
mov al, byte [r14 + 8]
mov byte [rsp + 0x78], al
mov al, byte [r14 + 9]
mov byte [rsp + 0x79], al
mov rdx, rdi
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
nop dword [rax + rax]
test eax, eax
jne 0x1400727bb
xor r12d, r12d
mov r13b, r12b
jmp 0x140072824
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x70]
call fcn.140004c84
mov byte [rsp + 0x78], 0
cmp dword [rsp + 0x44], 1
sete r15b
mov byte [rsp + 0x79], r15b
lea rdx, [rbp]
mov rcx, r12
call fcn.14007402c
test rax, rax
jne 0x140072804
lea r8, [rsp + 0x70]
lea rdx, [rbp]
mov rcx, r12
call fcn.140073e80
xor r12d, r12d
jmp 0x140072820
lea r14, [rax + 8]
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.140004c84
xor r12d, r12d
mov byte [r14 + 8], r12b
mov byte [r14 + 9], r15b
mov r15, qword [rbp - 0x60]
cmp dword [rbp - 0x74], r12d
je 0x140072909
mov cl, byte [rsp + 0x40]
cmp byte [rsp + 0x42], r12b
je 0x140072841
test cl, cl
je 0x140072a1b
mov al, byte [rsp + 0x41]
test al, al
jne 0x1400728b2
mov rcx, qword [0x1400cf018]
lea r14, [0x1400cf018]
cmp rcx, r14
je 0x14007288e
test byte [rcx + 0x1c], 2
je 0x14007288e
cmp byte [rcx + 0x19], 5
jb 0x14007288e
mov edx, SafeArrayDestroy
mov qword [rsp + 0x28], rdi
lea rax, [rbp]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [0x1400b8e88]
mov rcx, qword [rcx + 0x10]
call fcn.14001fa38
cmp dword [rsp + 0x44], 1
sete al
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], rdi
mov r8, rbx
xor edx, edx
lea r9, [rbp]
mov rcx, r15
call fcn.140072b54
jmp 0x140072910
test cl, cl
je 0x140072a1f
test r13b, r13b
je 0x1400728e4
cmp dword [rsp + 0x44], 1
sete al
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], rdi
lea r9, [rbp]
mov r8, rbx
mov edx, 2
mov rcx, r15
call fcn.140072b54
cmp dword [rsp + 0x44], 1
sete al
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], rdi
lea r9, [rbp]
mov r8, rbx
mov edx, 3
mov rcx, r15
call fcn.140072b54
lea r14, [0x1400cf018]
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
or r13, 0xffffffffffffffff
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14007293d
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400688bc.0]
nop
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x140072965
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400688bc.0]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x14007298e
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400688bc.0]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x1400729b7
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400688bc.0]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400729ce
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x1400729f7
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400688bc.0]
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x140072a0c
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov esi, dword [rsp + 0x48]
inc esi
mov dword [rsp + 0x48], esi
jmp 0x14007231b
mov al, byte [rsp + 0x41]
test al, al
je 0x1400728ba
mov rcx, qword [0x1400cf018]
lea r14, [0x1400cf018]
cmp rcx, r14
je 0x140072a5e
test byte [rcx + 0x1c], 2
je 0x140072a5e
cmp byte [rcx + 0x19], 5
jb 0x140072a5e
mov edx, SafeArrayDestroy
mov r9, rsi
lea r8, [0x1400b8e88]
mov rcx, qword [rcx + 0x10]
call fcn.14000351c
mov byte [rsp + 0x28], r12b
mov qword [rsp + 0x20], r12
mov r8, rsi
mov edx, 1
jmp 0x1400728a4
jmp 0x1400724ba
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x1400cf018]
cmp rcx, r14
je 0x140072ae1
test byte [rcx + 0x1c], 2
je 0x140072ae1
cmp byte [rcx + 0x19], 5
jb 0x140072ae1
mov edx, SafeArrayDestroy
mov r9d, ebx
lea r8, [0x1400b8e88]
mov rcx, qword [rcx + 0x10]
call fcn.1400035c4
jmp 0x140072ae1
test rdi, rdi
je 0x140072ace
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov ebx, r12d
jmp 0x140072af5
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test rdi, rdi
je 0x140072af5
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x140072b0b
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
nop
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov eax, ebx
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400a37d0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret