Function at 0x14004ad40
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2e0
mov qword [rsp + 0x2d0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rbp, rdx
xor esi, esi
mov rbx, rsi
mov edi, esi
mov dword [rax + 0x18], esi
mov qword [rsp + 0x78], rsi
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x2001f
xor r8d, r8d
lea rdx, str.SOFTWARELenovoAudioIntegrated
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004c242
mov dword [rsp + 0x30], esi
mov r12, qword [rsp + 0x78]
mov rbx, r12
mov qword [rsp + 0x168], rbx
mov r13d, 0xff
mov dword [rsp + 0xb8], r13d
mov r14d, r13d
mov r15d, r13d
mov dword [rsp + 0x110], r13d
mov dword [rsp + 0x100], r13d
mov dword [rsp + 0x84], r13d
mov dword [rsp + 0xa8], 4
lea rax, [rsp + 0xa8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x330]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x238]
xor r8d, r8d
lea rdx, str.BFStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14004b421
cmp eax, 2
jne 0x14004b421
mov dword [rsp + 0xb0], r13d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 4]
xor r8d, r8d
lea rdx, str.BFStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0xc0], r13d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 4]
xor r8d, r8d
lea rdx, str.KNStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0xd0], r13d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 4]
xor r8d, r8d
lea rdx, str.FFStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0xe0], r13d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 4]
xor r8d, r8d
lea rdx, str.AECStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0xf0], r13d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 4]
xor r8d, r8d
lea rdx, str.NSStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x130], r13d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x130]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 4]
xor r8d, r8d
lea rdx, str.DMStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rsp + 0x140], r13d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x140]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 4]
xor r8d, r8d
lea rdx, str.VRStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call fcn.1400578b4
mov rcx, rax
mov eax, esi
test rcx, rcx
setne al
test eax, eax
jne 0x14004afc6
mov ecx, 0x80004005
call fcn.1400120d0
int3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x170], rax
lea rdx, [rsp + 0x170]
mov rcx, rbp
call fcn.1400032c0
mov edi, eax
mov rbx, qword [rsp + 0x170]
test eax, eax
je 0x14004b3e9
mov dword [rsp + 0x338], esi
test byte [rbp + 0x160], 4
je 0x14004b097
lea rcx, [rsp + 0x260]
mov rax, qword [0x1400b7118]
mov qword [rcx], rax
mov rax, qword [0x1400b7120]
mov qword [rcx + 8], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x338]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 2]
lea rdx, [rsp + 0x260]
mov rcx, rbx
call fcn.140012660
test eax, eax
je 0x14004b097
mov eax, dword [rsp + 0x338]
mov dword [rsp + 0x150], eax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x150]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.AECStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test byte [rbp + 0x160], 1
je 0x14004b12c
lea rcx, [rsp + 0x2b0]
mov rax, qword [0x1400b7118]
mov qword [rcx], rax
mov rax, qword [0x1400b7120]
mov qword [rcx + 8], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x338]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x2b0]
mov rcx, rbx
call fcn.140012660
test eax, eax
je 0x14004b12c
mov eax, dword [rsp + 0x338]
mov dword [rsp + 0x160], eax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x160]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.NSStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test byte [rbp + 0x160], 2
je 0x14004b1c2
lea rcx, [rsp + 0x280]
mov rax, qword [0x1400b7118]
mov qword [rcx], rax
mov rax, qword [0x1400b7120]
mov qword [rcx + 8], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x338]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [rsp + 0x280]
mov rcx, rbx
call fcn.140012660
test eax, eax
je 0x14004b1c2
mov eax, dword [rsp + 0x338]
mov dword [rsp + 0x158], eax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x158]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.BFStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rcx, [rsp + 0x2c0]
mov rax, qword [0x1400b7118]
mov qword [rcx], rax
mov rax, qword [0x1400b7120]
mov qword [rcx + 8], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x338]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 0x33]
lea rdx, [rsp + 0x2c0]
mov rcx, rbx
call fcn.140012660
test eax, eax
je 0x14004b24b
mov eax, dword [rsp + 0x338]
mov dword [rsp + 0x90], eax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.KNStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rcx, [rsp + 0x2a0]
mov rax, qword [0x1400b7118]
mov qword [rcx], rax
mov rax, qword [0x1400b7120]
mov qword [rcx + 8], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x338]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 0x32]
lea rdx, [rsp + 0x2a0]
mov rcx, rbx
call fcn.140012660
test eax, eax
je 0x14004b2d4
mov eax, dword [rsp + 0x338]
mov dword [rsp + 0x118], eax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x118]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.FFStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rcx, [rsp + 0x270]
mov rax, qword [0x1400b7118]
mov qword [rcx], rax
mov rax, qword [0x1400b7120]
mov qword [rcx + 8], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x338]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 0x34]
lea rdx, [rsp + 0x270]
mov rcx, rbx
call fcn.140012660
test eax, eax
je 0x14004b35d
mov eax, dword [rsp + 0x338]
mov dword [rsp + 0xa0], eax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DMStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rcx, [rsp + 0x290]
mov rax, qword [0x1400b7118]
mov qword [rcx], rax
mov rax, qword [0x1400b7120]
mov qword [rcx + 8], rax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x338]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 0x3d]
lea rdx, [rsp + 0x290]
mov rcx, rbx
call fcn.140012660
mov edi, eax
test eax, eax
je 0x14004b3e9
mov eax, dword [rsp + 0x338]
mov dword [rsp + 0x148], eax
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x148]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.VRStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14004b414
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rsp + 0x168]
mov r12, qword [rsp + 0x78]
jmp 0x14004b421
mov rbx, qword [rsp + 0x168]
mov r12, qword [rsp + 0x78]
mov eax, dword [rbp + 0x160]
bt eax, 0x12
jae 0x14004b547
mov qword [rsp + 0x60], rsi
xor eax, eax
mov qword [rsp + 0x1a8], rax
mov qword [rsp + 0x1b0], rax
mov qword [rsp + 0x1b8], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x1400b7098]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400b7058]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14004b48f
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14004b488
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, esi
jmp 0x14004b542
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea rdx, [rsp + 0x1a8]
mov qword [rsp + 0x20], rdx
lea r9, [0x1400b6230]
mov r8d, 1
mov rdx, qword [rbp]
call qword [rax + 0x50]
test eax, eax
jns 0x14004b4d0
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14004b4cc
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, esi
jmp 0x14004b542
cmp word [rsp + 0x1a8], 0x13
je 0x14004b4fe
lea rcx, [rsp + 0x1a8]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14004b4fa
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, esi
jmp 0x14004b542
mov eax, dword [rsp + 0x1b0]
mov dword [rsp + 0x330], eax
lea rcx, [rsp + 0x1a8]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14004b52b
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, 1
test byte [rsp + 0x330], 2
je 0x14004b542
mov r13d, edi
jmp 0x14004b5c3
mov r13d, esi
jmp 0x14004b5c3
test al, 2
je 0x14004b585
mov r9d, 1
lea r8, [rsp + 0x330]
lea rdx, [0x1400b6200]
mov rcx, rbp
call fcn.140004930
mov edi, eax
test eax, eax
je 0x14004b580
cmp dword [rsp + 0x330], 0
je 0x14004b580
mov r13d, 1
jmp 0x14004b5c3
mov r13d, esi
jmp 0x14004b5c3
bt eax, 0x1b
jae 0x14004b5c3
mov r9d, 1
lea r8, [rsp + 0x330]
lea rdx, [0x1400b64b8]
mov rcx, rbp
call fcn.140004930
mov edi, eax
test eax, eax
je 0x14004b5c0
cmp dword [rsp + 0x330], 0
je 0x14004b5c0
mov r13d, 1
jmp 0x14004b5c3
mov r13d, esi
mov dword [rsp + 0xac], 4
lea rax, [rsp + 0xac]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x330]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x244]
xor r8d, r8d
lea rdx, str.BFStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test edi, edi
je 0x14004b647
cmp dword [rsp + 0x330], r13d
je 0x14004b647
mov dword [rsp + 0x128], r13d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x128]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.BFStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
bt dword [rbp + 0x160], 0x12
jae 0x14004b768
mov qword [rsp + 0x50], rsi
xor eax, eax
mov qword [rsp + 0x208], rax
mov qword [rsp + 0x210], rax
mov qword [rsp + 0x218], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x1400b7098]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400b7058]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14004b6b3
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14004b6ac
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, esi
jmp 0x14004b763
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rsp + 0x208]
mov qword [rsp + 0x20], rdx
lea r9, [0x1400b6470]
mov r8d, 1
mov rdx, qword [rbp]
call qword [rax + 0x50]
test eax, eax
jns 0x14004b6f4
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14004b6f0
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, esi
jmp 0x14004b763
cmp word [rsp + 0x208], 0x13
je 0x14004b722
lea rcx, [rsp + 0x208]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14004b71e
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, esi
jmp 0x14004b763
mov eax, dword [rsp + 0x210]
mov dword [rsp + 0x330], eax
lea rcx, [rsp + 0x208]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14004b74f
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, 1
cmp dword [rsp + 0x330], 0
je 0x14004b763
mov r13d, edi
jmp 0x14004b770
mov r13d, esi
jmp 0x14004b770
mov r13d, dword [rsp + 0xb8]
mov dword [rsp + 0xf8], 4
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x330]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x24c]
xor r8d, r8d
lea rdx, str.KNStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test edi, edi
je 0x14004b7f4
cmp dword [rsp + 0x330], r13d
je 0x14004b7f4
mov dword [rsp + 0xc8], r13d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.KNStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
bt dword [rbp + 0x160], 0x12
jae 0x14004b91b
mov qword [rsp + 0x38], rsi
xor eax, eax
mov qword [rsp + 0x1d8], rax
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x1e8], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x1400b7098]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400b7058]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14004b860
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14004b859
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, esi
jmp 0x14004b913
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [rsp + 0x1d8]
mov qword [rsp + 0x20], rdx
lea r9, [0x1400b6230]
mov r8d, 1
mov rdx, qword [rbp]
call qword [rax + 0x50]
test eax, eax
jns 0x14004b8a1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14004b89d
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, esi
jmp 0x14004b913
cmp word [rsp + 0x1d8], 0x13
je 0x14004b8cf
lea rcx, [rsp + 0x1d8]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14004b8cb
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, esi
jmp 0x14004b913
mov eax, dword [rsp + 0x1e0]
mov dword [rsp + 0x330], eax
lea rcx, [rsp + 0x1d8]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14004b8fc
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, 1
test byte [rsp + 0x330], 0xc
je 0x14004b913
mov r14d, edi
jmp 0x14004ba46
mov r14d, esi
jmp 0x14004ba46
mov rax, qword [rsp + 0x320]
mov eax, dword [rax + 0x9b8]
test al, 1
jne 0x14004b935
test al, 2
je 0x14004ba46
mov qword [rsp + 0x40], rsi
xor eax, eax
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x198], rax
mov qword [rsp + 0x1a0], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x1400b7098]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400b7058]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14004b993
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14004b98c
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, esi
jmp 0x14004ba43
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0x190]
mov qword [rsp + 0x20], rdx
lea r9, [0x1400b6500]
mov r8d, 1
mov rdx, qword [rbp]
call qword [rax + 0x50]
test eax, eax
jns 0x14004b9d4
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14004b9d0
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, esi
jmp 0x14004ba43
cmp word [rsp + 0x190], 0x13
je 0x14004ba02
lea rcx, [rsp + 0x190]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14004b9fe
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, esi
jmp 0x14004ba43
mov eax, dword [rsp + 0x198]
mov dword [rsp + 0x330], eax
lea rcx, [rsp + 0x190]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14004ba2f
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, 1
cmp dword [rsp + 0x330], 0
je 0x14004ba43
mov r14d, edi
jmp 0x14004ba46
mov r14d, esi
mov dword [rsp + 0xfc], 4
lea rax, [rsp + 0xfc]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x330]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x254]
xor r8d, r8d
lea rdx, str.FFStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test edi, edi
je 0x14004baca
cmp dword [rsp + 0x330], r14d
je 0x14004baca
mov dword [rsp + 0xd8], r14d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.FFStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [rbp + 0x160]
bt eax, 0x12
jae 0x14004bbf0
mov qword [rsp + 0x48], rsi
xor eax, eax
mov qword [rsp + 0x1c0], rax
mov qword [rsp + 0x1c8], rax
mov qword [rsp + 0x1d0], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [0x1400b7098]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400b7058]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14004bb38
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14004bb31
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, esi
jmp 0x14004bbeb
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rsp + 0x1c0]
mov qword [rsp + 0x20], rdx
lea r9, [0x1400b6230]
mov r8d, 1
mov rdx, qword [rbp]
call qword [rax + 0x50]
test eax, eax
jns 0x14004bb79
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14004bb75
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, esi
jmp 0x14004bbeb
cmp word [rsp + 0x1c0], 0x13
je 0x14004bba7
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14004bba3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, esi
jmp 0x14004bbeb
mov eax, dword [rsp + 0x1c8]
mov dword [rsp + 0x330], eax
lea rcx, [rsp + 0x1c0]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14004bbd4
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, 1
test byte [rsp + 0x330], dil
je 0x14004bbeb
mov r15d, edi
jmp 0x14004bc6c
mov r15d, esi
jmp 0x14004bc6c
test al, 4
je 0x14004bc2e
mov r9d, 1
lea r8, [rsp + 0x330]
lea rdx, [0x1400b61e8]
mov rcx, rbp
call fcn.140004930
mov edi, eax
test eax, eax
je 0x14004bc29
cmp dword [rsp + 0x330], 0
je 0x14004bc29
mov r15d, 1
jmp 0x14004bc6c
mov r15d, esi
jmp 0x14004bc6c
bt eax, 0x1c
jae 0x14004bc6c
mov r9d, 1
lea r8, [rsp + 0x330]
lea rdx, [0x1400b64d0]
mov rcx, rbp
call fcn.140004930
mov edi, eax
test eax, eax
je 0x14004bc69
cmp dword [rsp + 0x330], 0
je 0x14004bc69
mov r15d, 1
jmp 0x14004bc6c
mov r15d, esi
mov dword [rsp + 0x104], 4
lea rax, [rsp + 0x104]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x330]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x250]
xor r8d, r8d
lea rdx, str.AECStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test edi, edi
je 0x14004bcf0
cmp dword [rsp + 0x330], r15d
je 0x14004bcf0
mov dword [rsp + 0xe8], r15d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0xe8]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.AECStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [rbp + 0x160]
test al, 1
je 0x14004be11
mov qword [rsp + 0x58], rsi
xor eax, eax
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0x1f8], rax
mov qword [rsp + 0x200], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x1400b7098]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400b7058]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14004bd5c
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14004bd55
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, esi
jmp 0x14004be0c
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea rdx, [rsp + 0x1f0]
mov qword [rsp + 0x20], rdx
lea r9, [0x1400b61d0]
mov r8d, 1
mov rdx, qword [rbp]
call qword [rax + 0x50]
test eax, eax
jns 0x14004bd9d
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14004bd99
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, esi
jmp 0x14004be0c
cmp word [rsp + 0x1f0], 0x13
je 0x14004bdcb
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14004bdc7
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, esi
jmp 0x14004be0c
mov eax, dword [rsp + 0x1f8]
mov dword [rsp + 0x330], eax
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14004bdf8
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, 1
cmp dword [rsp + 0x330], 0
je 0x14004be0c
mov r13d, edi
jmp 0x14004be59
mov r13d, esi
jmp 0x14004be59
bt eax, 0x1a
jae 0x14004be51
mov r9d, 1
lea r8, [rsp + 0x330]
lea rdx, [0x1400b64a0]
mov rcx, rbp
call fcn.140004930
mov edi, eax
test eax, eax
je 0x14004be4c
cmp dword [rsp + 0x330], 0
je 0x14004be4c
mov r13d, 1
jmp 0x14004be59
mov r13d, esi
jmp 0x14004be59
mov r13d, dword [rsp + 0x110]
mov dword [rsp + 0x80], 4
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x330]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x23c]
xor r8d, r8d
lea rdx, str.NSStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test edi, edi
je 0x14004bedd
cmp dword [rsp + 0x330], r13d
je 0x14004bedd
mov dword [rsp + 0x120], r13d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x120]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.NSStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
bt dword [rbp + 0x160], 0x12
jae 0x14004bffe
mov qword [rsp + 0x68], rsi
xor eax, eax
mov qword [rsp + 0x220], rax
mov qword [rsp + 0x228], rax
mov qword [rsp + 0x230], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [0x1400b7098]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400b7058]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14004bf49
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14004bf42
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, esi
jmp 0x14004bff9
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea rdx, [rsp + 0x220]
mov qword [rsp + 0x20], rdx
lea r9, [0x1400b6488]
mov r8d, 1
mov rdx, qword [rbp]
call qword [rax + 0x50]
test eax, eax
jns 0x14004bf8a
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14004bf86
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, esi
jmp 0x14004bff9
cmp word [rsp + 0x220], 0x13
je 0x14004bfb8
lea rcx, [rsp + 0x220]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14004bfb4
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, esi
jmp 0x14004bff9
mov eax, dword [rsp + 0x228]
mov dword [rsp + 0x330], eax
lea rcx, [rsp + 0x220]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14004bfe5
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, 1
cmp dword [rsp + 0x330], 0
je 0x14004bff9
mov r13d, edi
jmp 0x14004c006
mov r13d, esi
jmp 0x14004c006
mov r13d, dword [rsp + 0x100]
mov dword [rsp + 0x138], 4
lea rax, [rsp + 0x138]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x330]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x248]
xor r8d, r8d
lea rdx, str.DMStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test edi, edi
je 0x14004c08a
cmp dword [rsp + 0x330], r13d
je 0x14004c08a
mov dword [rsp + 0x108], r13d
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x108]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DMStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
bt dword [rbp + 0x160], 0x12
jae 0x14004c1a9
mov qword [rsp + 0x70], rsi
xor eax, eax
mov qword [rsp + 0x178], rax
mov qword [rsp + 0x180], rax
mov qword [rsp + 0x188], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [0x1400b7098]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400b7058]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14004c0f6
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14004c0ef
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, esi
jmp 0x14004c1a5
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea rdx, [rsp + 0x178]
mov qword [rsp + 0x20], rdx
lea r9, [0x1400b6578]
mov r8d, 1
mov rdx, qword [rbp]
call qword [rax + 0x50]
test eax, eax
jns 0x14004c137
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14004c133
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, esi
jmp 0x14004c1a5
cmp word [rsp + 0x178], 0x13
je 0x14004c165
lea rcx, [rsp + 0x178]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14004c161
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, esi
jmp 0x14004c1a5
mov eax, dword [rsp + 0x180]
mov dword [rsp + 0x330], eax
lea rcx, [rsp + 0x178]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14004c192
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov edi, 1
cmp dword [rsp + 0x330], 0
je 0x14004c1a5
mov ebp, edi
jmp 0x14004c1b0
mov ebp, esi
jmp 0x14004c1b0
mov ebp, dword [rsp + 0x84]
mov dword [rsp + 0x88], 4
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x330]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x240]
xor r8d, r8d
lea rdx, str.VRStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test edi, edi
je 0x14004c23e
cmp dword [rsp + 0x330], ebp
je 0x14004c238
mov dword [rsp + 0x98], ebp
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x98]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.VRStatus
mov rcx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [rsp + 0x30]
jmp 0x14004c242
mov eax, dword [rsp + 0x30]
jmp 0x14004c242
mov eax, dword [rsp + 0x30]
test eax, eax
sete sil
test rbx, rbx
je 0x14004c256
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov rbx, qword [rsp + 0x328]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret