Function at 0x140014934
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x1400b0e58]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rdx
mov qword [rbp - 1], rdx
and qword [rbp - 0x21], 0
and qword [rsp + 0x40], 0
lea rax, [rbp - 0x21]
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionSpectrumCapabilities
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x140014b27
xor ebx, ebx
xorps xmm0, xmm0
movups xmmword [rbp + 0x27], xmm0
movups xmmword [rbp + 0x37], xmm0
mov dword [rbp - 0x19], 0x10
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rbp + 7], xmm1
mov qword [rbp + 0x17], rax
mov dword [rbp + 0x1f], eax
mov dword [rbp - 0x25], 0x1c
and dword [rbp - 0x29], eax
lea rax, [rbp - 0x25]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 7]
mov qword [rsp + 0x30], rax
and qword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x19]
lea r8, [rbp + 0x27]
mov edx, ebx
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140014ab0
lea r8, [rbp - 0x29]
lea rdx, [0x140092950]
lea rcx, [rbp + 0x27]
call fcn.14007f830
cmp eax, 1
jne 0x140014aa9
mov ecx, dword [rbp - 0x29]
call fcn.14001420c
cmp dword [rbp - 0x25], 0x1c
jne 0x140014a8d
mov ecx, dword [rbp - 0x29]
call fcn.14001420c
cmp rax, qword [rbp + 7]
jne 0x140014a8d
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140014aa9
lea rax, [rbp + 7]
mov qword [rbp - 9], rax
mov eax, dword [rbp - 0x29]
mov dword [rbp - 0x11], eax
mov rax, qword [rcx]
movabs r10, 0x9d89b6bb3c5a5070
lea r8, [rbp - 9]
lea rdx, [rbp - 0x11]
mov rax, qword [rax + 0x10]
call qword [case.0x140063591.0]
jmp 0x140014aa9
lea rdx, [rbp + 0x27]
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
test eax, eax
je 0x1400149b4
inc ebx
jmp 0x1400149b4
cmp eax, 0x103
je 0x140014b27
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x140014ae2
mov rcx, qword [rbp + 0x5f]
mov r9d, ebx
lea r8, str.analoginput_spectrumcomponentscapabilityhandler.cpp
mov edx, 0xf8
call fcn.140005fe4
nop
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x140014af8
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140014b23
mov r8, qword [rcx]
cmp rcx, rdi
setne dl
movabs r10, 0xed1dae5b305f0370
mov rax, qword [r8 + 0x20]
call qword [case.0x140063591.0]
and qword [rdi + 0x38], 0
mov eax, ebx
jmp 0x140014b6a
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x140014b3d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop dword [rax + rax]
nop
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x140014b68
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
movabs r10, 0xed1dae5b305f0370
mov rax, qword [rax + 0x20]
call qword [case.0x140063591.0]
and qword [rdi + 0x38], 0
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14007e5c0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret