Function at 0x140051110
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x50
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor ebp, ebp
lea rax, str.CWavesSysSvcService::CheckForUpgradeDowngrade
mov qword [rsp + 0x28], rax
lea r8, [0x1404675c0]
mov edx, 0x2c2
mov qword [rsp + 0x20], rbp
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vistawavessyssvcwavessyssvcservice.cpp
lea r9d, [rbp + 2]
call fcn.140039f30
xor sil, sil
call fcn.1400606b0
cmp eax, 0x5313
jl 0x14005121e
lea rax, [rsp + 0x38]
mov qword [rsp + 0x38], rbp
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioSettings
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x38]
lea ebx, [rbp + 1]
test rcx, rcx
je 0x1400511e8
lea rax, [rsp + 0x40]
mov dword [rsp + 0x44], ebp
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
mov qword [rsp + 0x20], rbp
lea rdx, str.LastOsVersion
mov dword [rsp + 0x40], ebp
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
mov ebx, ebp
cmp eax, 2
sete bl
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test bl, bl
je 0x14005121e
lea rax, str.CWavesSysSvcService::CheckForUpgradeDowngrade____UpgradeDowngradeHelper.IsLegacyToCapxAPOUpgrade____clean_installation.
mov r9d, 2
mov qword [rsp + 0x28], rax
lea r8, [0x1404675c0]
mov edx, 0x2cb
mov qword [rsp + 0x20], rbp
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vistawavessyssvcwavessyssvcservice.cpp
call fcn.140039f30
mov sil, 1
mov qword [rsp + 0x60], rdi
call fcn.1400ff650
dec eax
cmp eax, 0x5311
ja 0x140051271
call fcn.1400606b0
cmp eax, 0x5313
jl 0x140051271
lea rax, str.CWavesSysSvcService::CheckForUpgradeDowngrade____UpgradeDowngradeHelper.IsUpgradeOS____clean_installation.
mov r9d, 2
mov qword [rsp + 0x28], rax
lea r8, [0x1404675c0]
mov edx, 0x2d3
mov qword [rsp + 0x20], rbp
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vistawavessyssvcwavessyssvcservice.cpp
call fcn.140039f30
jmp 0x140051419
call fcn.1400607d0
mov edi, eax
call fcn.1400606b0
mov ebx, eax
call fcn.1400606b0
cmp eax, 0x5313
jl 0x140051322
test ebx, ebx
jle 0x140051322
cmp edi, 0xffffffff
jle 0x140051322
call fcn.1400ff650
cmp ebx, eax
jne 0x140051322
call fcn.1400ff700
cmp edi, eax
jle 0x140051322
lea rax, str.CWavesSysSvcService::CheckForUpgradeDowngrade____UpgradeDowngradeHelper.IsUpgradeOSUBR
mov r9d, 2
mov qword [rsp + 0x28], rax
lea r8, [0x1404675c0]
mov edx, 0x2d9
mov qword [rsp + 0x20], rbp
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vistawavessyssvcwavessyssvcservice.cpp
call fcn.140039f30
call fcn.140051d00
test al, al
jne 0x140051414
lea rax, str.CWavesSysSvcService::CheckForUpgradeDowngrade____UpgradeDowngradeHelper.IsUpgradeOSUBR____clean_installation.
mov r9d, 2
mov qword [rsp + 0x28], rax
lea r8, [0x1404675c0]
mov edx, 0x2dc
mov qword [rsp + 0x20], rbp
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vistawavessyssvcwavessyssvcservice.cpp
call fcn.140039f30
jmp 0x140051419
call fcn.1400ff650
cmp eax, 0x5313
jl 0x14005136e
call fcn.1400606b0
cmp eax, 0x5313
jge 0x14005136e
lea rax, str.CWavesSysSvcService::CheckForUpgradeDowngrade____UpgradeDowngradeHelper.IsDowngradeOS____clean_installation.
mov r9d, 2
mov qword [rsp + 0x28], rax
lea r8, [0x1404675c0]
mov edx, 0x2e3
mov qword [rsp + 0x20], rbp
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vistawavessyssvcwavessyssvcservice.cpp
call fcn.140039f30
jmp 0x140051419
call fcn.1400607d0
mov edi, eax
call fcn.1400606b0
mov ebx, eax
call fcn.1400606b0
cmp eax, 0x5313
jl 0x140051414
test ebx, ebx
jle 0x140051414
cmp edi, 0xffffffff
jle 0x140051414
call fcn.1400ff650
cmp ebx, eax
jne 0x140051414
call fcn.1400ff700
cmp edi, eax
jge 0x140051414
lea rax, str.CWavesSysSvcService::CheckForUpgradeDowngrade____UpgradeDowngradeHelper.IsDowngradeOSUBR
mov r9d, 2
mov qword [rsp + 0x28], rax
lea r8, [0x1404675c0]
mov edx, 0x2e9
mov qword [rsp + 0x20], rbp
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vistawavessyssvcwavessyssvcservice.cpp
call fcn.140039f30
call fcn.140051d00
test al, al
jne 0x140051414
lea rax, str.CWavesSysSvcService::CheckForUpgradeDowngrade____UpgradeDowngradeHelper.IsDowngradeOSUBR____clean_installation.
mov r9d, 2
mov qword [rsp + 0x28], rax
lea r8, [0x1404675c0]
mov edx, 0x2ec
mov qword [rsp + 0x20], rbp
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vistawavessyssvcwavessyssvcservice.cpp
call fcn.140039f30
jmp 0x140051419
test sil, sil
je 0x140051454
lea rax, str.CWavesSysSvcService::CheckForUpgradeDowngrade____clean_installation____UpgradeDowngradeHelper.CopyCabToDriversDirectory.
mov r9d, 2
mov qword [rsp + 0x28], rax
lea r8, [0x1404675c0]
mov edx, 0x2f3
mov qword [rsp + 0x20], rbp
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vistawavessyssvcwavessyssvcservice.cpp
call fcn.140039f30
lea rcx, [rsp + 0x30]
call fcn.1400ff110
jmp 0x140051456
xor al, al
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140202880
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x50
pop rsi
ret