Function at 0x140014440
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 [0x1400ade58]
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 0x140014633
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 0x1400145bc
lea r8, [rbp - 0x29]
lea rdx, [0x1400908f0]
lea rcx, [rbp + 0x27]
call fcn.14007d8c0
cmp eax, 1
jne 0x1400145b5
mov ecx, dword [rbp - 0x29]
call fcn.140013d0c
cmp dword [rbp - 0x25], 0x1c
jne 0x140014599
mov ecx, dword [rbp - 0x29]
call fcn.140013d0c
cmp rax, qword [rbp + 7]
jne 0x140014599
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x1400145b5
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.0x1400620e5.0]
jmp 0x1400145b5
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 0x1400144c0
inc ebx
jmp 0x1400144c0
cmp eax, 0x103
je 0x140014633
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
jns 0x1400145ee
mov rcx, qword [rbp + 0x5f]
mov r9d, ebx
lea r8, str.analoginput_spectrumcomponentscapabilityhandler.cpp
mov edx, 0xf8
call fcn.140005c34
nop
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x140014604
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 0x14001462f
mov r8, qword [rcx]
cmp rcx, rdi
setne dl
movabs r10, 0xed1dae5b305f0370
mov rax, qword [r8 + 0x20]
call qword [case.0x1400620e5.0]
and qword [rdi + 0x38], 0
mov eax, ebx
jmp 0x140014676
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x140014649
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 0x140014674
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
movabs r10, 0xed1dae5b305f0370
mov rax, qword [rax + 0x20]
call qword [case.0x1400620e5.0]
and qword [rdi + 0x38], 0
xor eax, eax
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.14007c650
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret