Function at 0x140026f28
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x290
mov rax, qword [0x1400592a0]
xor rax, rsp
mov qword [rbp + 0x180], rax
xor r15d, r15d
mov rbx, rcx
cmp qword [rcx + 0x38], r15
je 0x14002722a
cmp qword [rcx + 0x30], r15
je 0x14002722a
mov rax, qword [rcx + 0x58]
test edx, edx
je 0x140026f9b
test rax, rax
je 0x140026f91
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov qword [rbx + 0x58], r15
lea rdi, [rbx + 0x58]
jmp 0x140026fa8
lea rdi, [rcx + 0x58]
test rax, rax
jne 0x140027225
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rdx, str.SoftwareMicrosoftMultimediaComponents
mov qword [rsp + 0x30], r15
mov esi, 0x2001f
mov dword [rsp + 0x28], esi
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r15d
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x60], r15
mov r14d, r15d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140027210
mov rcx, rbx
mov qword [rsp + 0x58], r15
call fcn.1400294e0
mov qword [rsp + 0x40], r15
lea rcx, str.Informational
test eax, eax
lea rdx, str.Installed
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
cmove rdx, rcx
mov rcx, qword [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x30], r15
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400271fa
mov rax, qword [rbx + 0x30]
lea r8, [0x14004df50]
mov r9, qword [rbx + 0x38]
lea rcx, [rbp - 0x80]
mov edx, 0xff
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x50], r15d
call fcn.140010e44
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rdx, [rbp - 0x80]
mov qword [rsp + 0x38], rdi
xor r9d, r9d
mov qword [rsp + 0x30], r15
xor r8d, r8d
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400271e9
cmp dword [rsp + 0x50], 2
lea r14d, [rax + 1]
jne 0x140027178
mov dword [rsp + 0x54], r14d
mov dword [rsp + 0x50], 0x200
cmp qword [rbx + 0x28], r15
je 0x14002717c
mov rcx, qword [rdi]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x54]
lea rax, [rbp - 0x80]
xor r8d, r8d
lea rdx, [0x140048c28]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x14002717c
cmp dword [rsp + 0x54], r14d
jne 0x14002717c
xorps xmm0, xmm0
lea r8, [rsp + 0x68]
lea rdx, [0x14004b718]
movsd qword [rsp + 0x70], xmm0
lea rcx, [rbp - 0x80]
movsd qword [rsp + 0x68], xmm0
call fcn.1400025b4
test eax, eax
je 0x14002717c
mov rcx, qword [rbx + 0x28]
lea r8, [rsp + 0x70]
lea rdx, [0x14004b718]
call fcn.1400025b4
test eax, eax
je 0x14002717c
movsd xmm0, qword [rsp + 0x68]
mov eax, r15d
comisd xmm0, xmmword [rsp + 0x70]
setbe al
mov dword [rbx + 0x14], eax
jmp 0x14002717c
mov dword [rbx + 0x14], r14d
mov rcx, qword [rbx + 0x28]
or rsi, 0xffffffffffffffff
test rcx, rcx
je 0x1400271b8
mov rax, rsi
inc rax
cmp word [rcx + rax*2], r15w
jne 0x14002718c
mov rdx, qword [rdi]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x30], eax
lea r8, [0x140048c28]
mov qword [rsp + 0x28], rcx
mov ecx, dword [rbx + 0x14]
call fcn.14001cb9c
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x1400271e9
inc rsi
cmp word [rcx + rsi*2], r15w
jne 0x1400271c1
mov rdx, qword [rdi]
lea eax, [rsi*2 + 2]
mov dword [rsp + 0x30], eax
xor r8d, r8d
mov qword [rsp + 0x28], rcx
mov ecx, dword [rbx + 0x14]
call fcn.14001cb9c
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop dword [rax + rax]
test r14d, r14d
jne 0x140027225
mov rcx, qword [rdi]
test rcx, rcx
je 0x140027225
mov edx, 4
call fcn.140001818
mov qword [rdi], r15
mov rax, qword [rdi]
jmp 0x14002723d
mov ecx, 0x8000ffff
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
xor eax, eax
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400017f0
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret