Function at 0x140026004
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 [0x1400502a8]
xor rax, rsp
mov qword [rbp + 0x180], rax
xor r15d, r15d
mov rbx, rcx
cmp qword [rcx + 0x38], r15
je 0x1400262d6
cmp qword [rcx + 0x30], r15
je 0x1400262d6
mov rax, qword [rcx + 0x58]
test edx, edx
je 0x14002606e
test rax, rax
je 0x140026067
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbx + 0x58], r15
mov rax, r15
lea rdi, [rbx + 0x58]
test rax, rax
jne 0x1400262d1
mov qword [rsp + 0x40], r15
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rdx, str.SoftwareMicrosoftMultimediaComponents
mov qword [rsp + 0x30], r15
mov r14d, 0x2001f
mov dword [rsp + 0x28], r14d
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], r15d
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x60], r15
mov esi, r15d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400262c1
mov rcx, rbx
mov qword [rsp + 0x58], r15
call fcn.140025ddc
mov qword [rsp + 0x40], r15
lea rcx, str.Installed
test eax, eax
lea rdx, str.Informational
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
cmovne rdx, rcx
mov rcx, qword [rsp + 0x60]
xor r9d, r9d
mov qword [rsp + 0x30], r15
xor r8d, r8d
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400262b2
mov rax, qword [rbx + 0x30]
lea r8, [0x140044d20]
mov r9, qword [rbx + 0x38]
lea rcx, [rbp - 0x80]
mov edx, 0xff
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x50], r15d
call fcn.140001734
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], r14d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400262a7
cmp dword [rsp + 0x50], 2
lea esi, [rax + 1]
jne 0x140026236
mov dword [rsp + 0x54], esi
mov dword [rsp + 0x50], 0x200
cmp qword [rbx + 0x28], r15
je 0x140026239
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, [0x14003fa00]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140026239
cmp dword [rsp + 0x54], esi
jne 0x140026239
xorps xmm0, xmm0
lea r8, [rsp + 0x68]
lea rdx, [0x1400424e8]
movsd qword [rsp + 0x70], xmm0
lea rcx, [rbp - 0x80]
movsd qword [rsp + 0x68], xmm0
call qword [sym.imp.msvcrt.dll_swscanf]
test eax, eax
je 0x140026239
mov rcx, qword [rbx + 0x28]
lea r8, [rsp + 0x70]
lea rdx, [0x1400424e8]
call qword [sym.imp.msvcrt.dll_swscanf]
test eax, eax
je 0x140026239
movsd xmm0, qword [rsp + 0x68]
mov eax, r15d
comisd xmm0, xmmword [rsp + 0x70]
setbe al
mov dword [rbx + 0x14], eax
jmp 0x140026239
mov dword [rbx + 0x14], esi
mov r9, qword [rbx + 0x28]
or r14, 0xffffffffffffffff
test r9, r9
je 0x140026275
mov rdx, qword [rdi]
test rdx, rdx
je 0x140026275
mov rax, r14
inc rax
cmp word [r9 + rax*2], r15w
jne 0x140026251
mov ecx, dword [rbx + 0x14]
lea eax, [rax*2 + 2]
lea r8, [0x14003fa00]
mov dword [rsp + 0x20], eax
call fcn.14001a8c0
mov r9, qword [rbx + 0x18]
test r9, r9
je 0x1400262a7
mov rdx, qword [rdi]
test rdx, rdx
je 0x1400262a7
inc r14
cmp word [r9 + r14*2], r15w
jne 0x140026286
mov ecx, dword [rbx + 0x14]
lea eax, [r14*2 + 2]
xor r8d, r8d
mov dword [rsp + 0x20], eax
call fcn.14001a8c0
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x1400262d1
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400262d1
call fcn.14003c454
mov qword [rdi], r15
mov rax, qword [rdi]
jmp 0x1400262e3
mov ecx, 0x8000ffff
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14003c810
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