Function at 0x14009045c
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x2f0
mov rax, qword [0x1400ca1c0]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov dword [rsp + 0x7c], edx
mov r12, rcx
mov qword [rbp - 0x60], rcx
mov r8b, 1
mov rdx, rcx
lea rcx, [rbp - 0x30]
call fcn.140049a74
nop
xor r14d, r14d
mov qword [rbp - 0x58], r14
mov edi, r14d
mov dword [rsp + 0x50], r14d
lea r13, section..data
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x40], r14
mov r9d, 0x20219
lea r8, str.SoftwareMicrosoftMediaPlayerPreferencesHME_
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x50]
call fcn.140005e00
mov ebx, eax
test eax, eax
jne 0x1400909e8
mov dword [rsp + 0x78], pe_nt_image_headers64
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x78]
lea r8, [rbp - 0x20]
mov edx, edi
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0x103
je 0x1400909e3
test eax, eax
jne 0x1400909a6
lea rdx, str.SoftwareMicrosoftMediaPlayerPreferencesHME_
lea rcx, [rsp + 0x48]
call fcn.140017070
nop
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x48]
call fcn.14000ee80
mov qword [rbp - 0x78], r14
mov qword [rbp - 0x70], r14
mov qword [rbp - 0x68], r14
mov r9d, 0x20219
mov r8, qword [rsp + 0x48]
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x78]
call fcn.140005e00
test eax, eax
je 0x1400905a8
lea rcx, [rbp - 0x78]
call fcn.140006bec
nop
lea rcx, [rsp + 0x48]
call fcn.1400043f0
nop
jmp 0x140090992
lea rcx, [rsp + 0x60]
call fcn.1400096e0
nop
lea r8, [rsp + 0x60]
lea rdx, str.SharedLibraryPath
lea rcx, [rbp - 0x78]
call fcn.140005978
test eax, eax
je 0x1400905d8
lea rcx, [rsp + 0x60]
call fcn.1400043f0
jmp 0x14009058e
lea rcx, [rsp + 0x58]
call fcn.1400096e0
nop
lea r8, [rsp + 0x58]
lea rdx, str.DisplayName
lea rcx, [rbp - 0x78]
call fcn.140005978
test eax, eax
je 0x140090608
lea rcx, [rsp + 0x58]
call fcn.1400043f0
jmp 0x1400905cc
lea r8, [rsp + 0x44]
lea rdx, str.AlwaysAllowMachineToSleep
lea rcx, [rbp - 0x78]
call fcn.14003ac44
mov ecx, dword [rsp + 0x44]
test eax, eax
cmovne ecx, r14d
mov dword [rsp + 0x44], ecx
mov byte [rsp + 0x41], r14b
mov byte [rsp + 0x40], 1
lea rcx, [rbp - 0x80]
call fcn.1400096e0
nop
lea rdi, [r12 + 0x28]
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.14008f34c
mov rsi, qword [rbp - 0x80]
cmp dword [rsi - 0x10], r14d
je 0x14009069c
mov byte [rsp + 0x41], 1
lea rdx, [0x1400acdc4]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
nop dword [rax + rax]
test eax, eax
sete byte [rsp + 0x40]
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140089de8
test rax, rax
je 0x14009069c
mov rdx, rax
mov rcx, rdi
call fcn.14008f4dc
mov qword [rbp - 0x38], r14
lea rdx, [0x1400acdc4]
mov rbx, qword [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
nop dword [rax + rax]
test eax, eax
jne 0x1400906c7
mov r15b, 1
jmp 0x140090768
mov r15b, r14b
lea rax, [rbp - 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x38]
mov edx, 1
mov r8d, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
nop dword [rax + rax]
test eax, eax
je 0x14009073a
mov r15b, 1
mov rcx, qword [section..data]
cmp rcx, r13
je 0x140090768
test byte [rcx + 0x1c], 2
je 0x140090768
cmp byte [rcx + 0x19], 5
jb 0x140090768
mov edx, SafeArrayGetDim
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, [0x1400b8d58]
mov rcx, qword [rcx + 0x10]
call fcn.140052770
jmp 0x140090768
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140089de8
test rax, rax
jne 0x14009075c
mov r8, rbx
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.14008f874
jmp 0x140090768
lea rcx, [rax + 8]
mov rdx, rbx
call fcn.14000a900
mov r13b, 1
lea rcx, [rsp + 0x68]
call fcn.1400096e0
nop
lea r14, [r12 + 0x58]
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x20]
mov rcx, r14
call fcn.14008f304
mov rdi, qword [rsp + 0x58]
test al, al
je 0x1400907b5
mov rdx, rdi
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
nop dword [rax + rax]
test eax, eax
jne 0x1400907b5
xor r14d, r14d
mov r13b, r14b
jmp 0x14009081c
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x68]
call fcn.140009f30
mov byte [rsp + 0x70], 0
cmp dword [rsp + 0x44], 1
sete r12b
mov byte [rsp + 0x71], r12b
lea rdx, [rbp - 0x20]
mov rcx, r14
call fcn.14008ee34
test rax, rax
jne 0x1400907fb
lea r8, [rsp + 0x68]
lea rdx, [rbp - 0x20]
mov rcx, r14
call fcn.14008f74c
jmp 0x140090815
lea r14, [rax + 8]
lea rdx, [rsp + 0x68]
mov rcx, r14
call fcn.140009f30
mov byte [r14 + 8], 0
mov byte [r14 + 9], r12b
xor r14d, r14d
mov r12, qword [rbp - 0x60]
cmp dword [rsp + 0x7c], r14d
je 0x140090947
mov al, byte [rsp + 0x40]
cmp byte [rsp + 0x41], r14b
je 0x140090836
test al, al
je 0x14009089c
test r15b, r15b
jne 0x140090898
mov rcx, qword [section..data]
lea r13, section..data
cmp rcx, r13
je 0x140090880
test byte [rcx + 0x1c], 2
je 0x140090880
cmp byte [rcx + 0x19], 5
jb 0x140090880
mov edx, SafeArrayGetDim
mov qword [rsp + 0x28], rdi
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9, rbx
lea r8, [0x1400b8d58]
mov rcx, qword [rcx + 0x10]
call fcn.14005dac0
cmp dword [rsp + 0x44], 1
sete al
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], rdi
mov r8, rbx
xor edx, edx
jmp 0x1400908ea
test al, al
jne 0x1400908f8
test r15b, r15b
je 0x1400908f8
mov rcx, qword [section..data]
lea r13, section..data
cmp rcx, r13
je 0x1400908d8
test byte [rcx + 0x1c], 2
je 0x1400908d8
cmp byte [rcx + 0x19], 5
jb 0x1400908d8
mov edx, SafeArrayGetDim
mov r9, rsi
lea r8, [0x1400b8d58]
mov rcx, qword [rcx + 0x10]
call fcn.140043490
mov byte [rsp + 0x28], r14b
mov qword [rsp + 0x20], r14
mov r8, rsi
mov edx, 1
lea r9, [rbp - 0x20]
mov rcx, r12
call fcn.140090350
jmp 0x14009094e
test r13b, r13b
je 0x140090922
cmp dword [rsp + 0x44], 1
sete al
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x20]
mov r8, rbx
mov edx, 2
mov rcx, r12
call fcn.140090350
cmp dword [rsp + 0x44], 1
sete al
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x20]
mov r8, rbx
mov edx, 3
mov rcx, r12
call fcn.140090350
lea r13, section..data
lea rcx, [rsp + 0x68]
call fcn.1400043f0
nop
lea rcx, [rbp - 0x80]
call fcn.1400043f0
nop
lea rcx, [rsp + 0x58]
call fcn.1400043f0
nop
lea rcx, [rsp + 0x60]
call fcn.1400043f0
nop
lea rcx, [rbp - 0x78]
call fcn.140006bec
nop
lea rcx, [rsp + 0x48]
call fcn.1400043f0
nop
mov edi, dword [rsp + 0x50]
lea rcx, [rbp - 0x50]
call fcn.140006bec
inc edi
mov dword [rsp + 0x50], edi
jmp 0x1400904c4
jle 0x1400909b1
movzx ebx, ax
or ebx, 0x80070000
mov rcx, qword [section..data]
cmp rcx, r13
je 0x1400909f3
test byte [rcx + 0x1c], 2
je 0x1400909f3
cmp byte [rcx + 0x19], 5
jb 0x1400909f3
mov edx, SafeArrayDestroy
mov r9d, ebx
lea r8, [0x1400b8d58]
mov rcx, qword [rcx + 0x10]
call fcn.1400438d8
jmp 0x1400909f3
mov ebx, r14d
jmp 0x1400909f3
jle 0x1400909f3
movzx ebx, ax
or ebx, 0x80070000
lea rcx, [rbp - 0x50]
call fcn.140006bec
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x140090a12
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x30]
call fcn.140049f84
mov eax, ebx
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140044080
lea r11, [rsp + 0x2f0]
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