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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x280]
sub rsp, 0x380
mov qword [rbp + 0x200], 0xfffffffffffffffe
mov qword [rsp + 0x3c8], rbx
mov r12, rdx
xor edi, edi
mov qword [rbp + 0x108], rdi
mov dword [rbp + 0x110], edi
mov qword [rbp + 0x118], rdi
mov esi, edi
mov dword [rbp + 0x2d0], edi
mov r9d, 0x2001f
lea r8, str.SOFTWARELenovoAudioIntegrated
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x108]
call fcn.14000e2b0
mov dword [rbp + 0x38], eax
mov r14, qword [rbp + 0x108]
test eax, eax
jne 0x140040b54
mov r15d, 0xff
mov dword [rbp - 0x20], r15d
mov r13d, r15d
mov dword [rbp], r15d
mov dword [rbp + 0x10], r15d
mov dword [rbp + 0x20], r15d
mov dword [rbp + 0x28], r15d
mov dword [rbp + 0x48], 4
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2d0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1f8]
xor r8d, r8d
lea rdx, str.BFStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, 2
jne 0x14003fd50
mov dword [rbp + 0x50], r15d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 4]
xor r8d, r8d
lea rdx, str.BFStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp + 0x58], r15d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x58]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 4]
xor r8d, r8d
lea rdx, str.KNStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp + 0x60], r15d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 4]
xor r8d, r8d
lea rdx, str.FFStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp + 0x68], r15d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x68]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 4]
xor r8d, r8d
lea rdx, str.AECStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp + 0x70], r15d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x70]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 4]
xor r8d, r8d
lea rdx, str.NSStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp + 0x78], r15d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x78]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 4]
xor r8d, r8d
lea rdx, str.DMStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [rbp + 0x80], r15d
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 4]
xor r8d, r8d
lea rdx, str.VRStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x140040b87
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0x88], rax
lea rdx, [rbp + 0x88]
mov rcx, r12
call fcn.140006b90
mov esi, eax
mov rbx, qword [rbp + 0x88]
test eax, eax
je 0x14003fd2d
mov dword [rbp + 0x2d8], edi
test byte [r12 + 0x168], 4
je 0x14003fa7b
movups xmm0, xmmword [0x140282ae8]
movaps xmmword [rbp + 0x210], xmm0
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x2d8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [rdi + 2]
lea rdx, [rbp + 0x210]
mov rcx, rbx
call fcn.1400115d0
test eax, eax
je 0x14003fa7b
mov eax, dword [rbp + 0x2d8]
mov dword [rbp - 0x68], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
lea r9d, [rdi + 4]
xor r8d, r8d
lea rdx, str.AECStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test byte [r12 + 0x168], 1
je 0x14003faf4
movups xmm0, xmmword [0x140282ae8]
movaps xmmword [rbp + 0x220], xmm0
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x2d8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x220]
mov rcx, rbx
call fcn.1400115d0
test eax, eax
je 0x14003faf4
mov eax, dword [rbp + 0x2d8]
mov dword [rbp - 0x60], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.NSStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test byte [r12 + 0x168], 2
je 0x14003fb6e
movups xmm0, xmmword [0x140282ae8]
movaps xmmword [rbp + 0x270], xmm0
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x2d8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [rbp + 0x270]
mov rcx, rbx
call fcn.1400115d0
test eax, eax
je 0x14003fb6e
mov eax, dword [rbp + 0x2d8]
mov dword [rbp - 0x58], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.BFStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movups xmm0, xmmword [0x140282ae8]
movaps xmmword [rbp + 0x230], xmm0
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x2d8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 0x33]
lea rdx, [rbp + 0x230]
mov rcx, rbx
call fcn.1400115d0
test eax, eax
je 0x14003fbdd
mov eax, dword [rbp + 0x2d8]
mov dword [rbp - 0x50], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.KNStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movups xmm0, xmmword [0x140282ae8]
movaps xmmword [rbp + 0x240], xmm0
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x2d8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 0x32]
lea rdx, [rbp + 0x240]
mov rcx, rbx
call fcn.1400115d0
test eax, eax
je 0x14003fc4c
mov eax, dword [rbp + 0x2d8]
mov dword [rbp - 0x48], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.FFStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movups xmm0, xmmword [0x140282ae8]
movaps xmmword [rbp + 0x250], xmm0
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x2d8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 0x34]
lea rdx, [rbp + 0x250]
mov rcx, rbx
call fcn.1400115d0
test eax, eax
je 0x14003fcbb
mov eax, dword [rbp + 0x2d8]
mov dword [rbp - 0x40], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DMStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
movups xmm0, xmmword [0x140282ae8]
movaps xmmword [rbp + 0x260], xmm0
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x2d8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 0x3d]
lea rdx, [rbp + 0x260]
mov rcx, rbx
call fcn.1400115d0
mov esi, eax
test eax, eax
je 0x14003fd2d
mov eax, dword [rbp + 0x2d8]
mov dword [rbp - 0x38], eax
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.VRStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003fd49
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r14, qword [rbp + 0x108]
mov eax, dword [r12 + 0x168]
bt eax, 0x12
jae 0x14003fe24
mov qword [rsp + 0x50], rdi
xor eax, eax
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0xb8], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x140281148]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402811c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14003fdb0
mov rcx, qword [rsp + 0x50]
jmp 0x14003ff2f
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rbp + 0xa8]
mov qword [rsp + 0x20], rdx
lea r9, [0x140281b78]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x14003fda6
lea rcx, [rbp + 0xa8]
cmp word [rbp + 0xa8], 0x13
je 0x14003fdf5
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x14003fda6
mov eax, dword [rbp + 0xb0]
mov dword [rbp + 0x2d0], eax
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14003fe18
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test byte [rbp + 0x2d0], 2
jmp 0x14003ffad
test al, 2
je 0x14003fedc
mov qword [rsp + 0x48], rdi
xor eax, eax
mov qword [rbp + 0xc0], rax
mov qword [rbp + 0xc8], rax
mov qword [rbp + 0xd0], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [0x140281148]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402811c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14003fe7a
mov rcx, qword [rsp + 0x48]
jmp 0x14003ff2f
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rbp + 0xc0]
mov qword [rsp + 0x20], rdx
lea r9, [0x140281ba8]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x14003fe70
lea rcx, [rbp + 0xc0]
cmp word [rbp + 0xc0], 0x13
je 0x14003febf
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x14003fe70
mov eax, dword [rbp + 0xc8]
mov dword [rbp + 0x2d0], eax
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x48]
jmp 0x14003ff9b
bt eax, 0x1b
jae 0x14003ffba
mov qword [rsp + 0x40], rdi
xor eax, eax
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0xe0], rax
mov qword [rbp + 0xe8], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x140281148]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402811c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14003ff3e
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14003ff3a
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, edi
jmp 0x14003ffb7
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rbp + 0xd8]
mov qword [rsp + 0x20], rdx
lea r9, [0x1402818f0]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x14003ff2a
lea rcx, [rbp + 0xd8]
cmp word [rbp + 0xd8], 0x13
je 0x14003ff83
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x14003ff2a
mov eax, dword [rbp + 0xe0]
mov dword [rbp + 0x2d0], eax
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14003ffa6
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp dword [rbp + 0x2d0], 0
mov esi, 1
mov r15d, esi
jne 0x14003ffba
mov r15d, edi
mov dword [rbp - 0x30], 4
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2d0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1f4]
xor r8d, r8d
lea rdx, str.BFStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x14004002b
cmp dword [rbp + 0x2d0], r15d
je 0x14004002b
mov dword [rbp - 0x28], r15d
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x28]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.BFStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test dword [r12 + 0x168], 0x40000
je 0x140040111
mov qword [rsp + 0x38], rdi
xor eax, eax
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], rax
mov qword [rbp + 0x100], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x140281148]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402811c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140040097
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140040091
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, edi
mov ebx, edi
jmp 0x140040114
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [rbp + 0xf0]
mov qword [rsp + 0x20], rdx
lea r9, [0x140281938]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x140040081
lea rcx, [rbp + 0xf0]
cmp word [rbp + 0xf0], 0x13
je 0x1400400dc
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x140040081
mov eax, dword [rbp + 0xf8]
mov dword [rbp + 0x2d0], eax
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400400ff
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, 1
cmp dword [rbp + 0x2d0], 0
je 0x140040093
mov ebx, esi
jmp 0x140040114
mov ebx, dword [rbp - 0x20]
mov dword [rbp - 0x1c], 4
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2d0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1f0]
xor r8d, r8d
lea rdx, str.KNStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x140040183
cmp dword [rbp + 0x2d0], ebx
je 0x140040183
mov dword [rbp - 0x18], ebx
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.KNStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test dword [r12 + 0x168], 0x40000
je 0x140040257
mov qword [rsp + 0x58], rdi
xor eax, eax
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], rax
mov qword [rbp + 0xa0], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x140281148]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402811c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400401e3
mov rcx, qword [rsp + 0x58]
jmp 0x1400402b4
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea rdx, [rbp + 0x90]
mov qword [rsp + 0x20], rdx
lea r9, [0x140281b78]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x1400401d9
lea rcx, [rbp + 0x90]
cmp word [rbp + 0x90], 0x13
je 0x140040228
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x1400401d9
mov eax, dword [rbp + 0x98]
mov dword [rbp + 0x2d0], eax
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14004024b
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test byte [rbp + 0x2d0], 0xc
jmp 0x140040332
mov rax, qword [rbp + 0x2c0]
test byte [rax + 0xcf0], 3
je 0x14004033f
mov qword [rsp + 0x30], rdi
xor eax, eax
mov qword [rbp + 0x120], rax
mov qword [rbp + 0x128], rax
mov qword [rbp + 0x130], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x140281148]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402811c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400402c3
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400402bf
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, edi
jmp 0x14004033c
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rbp + 0x120]
mov qword [rsp + 0x20], rdx
lea r9, [0x1402818c0]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x1400402af
lea rcx, [rbp + 0x120]
cmp word [rbp + 0x120], 0x13
je 0x140040308
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x1400402af
mov eax, dword [rbp + 0x128]
mov dword [rbp + 0x2d0], eax
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14004032b
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp dword [rbp + 0x2d0], 0
mov esi, 1
mov r13d, esi
jne 0x14004033f
mov r13d, edi
mov dword [rbp - 0x10], 4
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2d0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1ec]
xor r8d, r8d
lea rdx, str.FFStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x1400403b0
cmp dword [rbp + 0x2d0], r13d
je 0x1400403b0
mov dword [rbp - 8], r13d
mov dword [rsp + 0x28], 4
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.FFStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [r12 + 0x168]
bt eax, 0x12
jae 0x14004048d
mov qword [rsp + 0x60], rdi
xor eax, eax
mov qword [rbp + 0x138], rax
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x148], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x140281148]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402811c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140040410
mov rcx, qword [rsp + 0x60]
jmp 0x1400404de
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea rdx, [rbp + 0x138]
mov qword [rsp + 0x20], rdx
lea r9, [0x140281b78]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x140040406
lea rcx, [rbp + 0x138]
cmp word [rbp + 0x138], 0x13
je 0x140040455
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x140040406
mov eax, dword [rbp + 0x140]
mov dword [rbp + 0x2d0], eax
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140040478
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, 1
test byte [rbp + 0x2d0], sil
je 0x1400404eb
mov ebx, esi
jmp 0x14004062d
test al, 4
je 0x140040554
mov qword [rsp + 0x68], rdi
xor eax, eax
mov qword [rbp + 0x150], rax
mov qword [rbp + 0x158], rax
mov qword [rbp + 0x160], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [0x140281148]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402811c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400404f2
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x1400404e9
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, edi
mov ebx, edi
jmp 0x14004062d
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea rdx, [rbp + 0x150]
mov qword [rsp + 0x20], rdx
lea r9, [0x140281bc0]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x1400404d9
lea rcx, [rbp + 0x150]
cmp word [rbp + 0x150], 0x13
je 0x140040537
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x1400404d9
mov eax, dword [rbp + 0x158]
mov dword [rbp + 0x2d0], eax
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x68]
jmp 0x140040609
bt eax, 0x1c
jae 0x14004062a
mov qword [rsp + 0x70], rdi
xor eax, eax
mov qword [rbp + 0x168], rax
mov qword [rbp + 0x170], rax
mov qword [rbp + 0x178], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [0x140281148]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402811c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400405ac
mov rcx, qword [rsp + 0x70]
jmp 0x1400404de
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea rdx, [rbp + 0x168]
mov qword [rsp + 0x20], rdx
lea r9, [0x1402818d8]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x1400405a2
lea rcx, [rbp + 0x168]
cmp word [rbp + 0x168], 0x13
je 0x1400405f1
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x1400405a2
mov eax, dword [rbp + 0x170]
mov dword [rbp + 0x2d0], eax
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140040614
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, 1
cmp dword [rbp + 0x2d0], 0
je 0x1400404eb
mov ebx, esi
jmp 0x14004062d
mov ebx, dword [rbp]
mov dword [rbp + 4], 4
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2d0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1e0]
xor r8d, r8d
lea rdx, str.AECStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x14004069c
cmp dword [rbp + 0x2d0], ebx
je 0x14004069c
mov dword [rbp + 8], ebx
mov dword [rsp + 0x28], 4
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.AECStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [r12 + 0x168]
test al, 1
je 0x14004076b
mov qword [rsp + 0x78], rdi
xor eax, eax
mov qword [rbp + 0x180], rax
mov qword [rbp + 0x188], rax
mov qword [rbp + 0x190], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [0x140281148]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402811c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140040709
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140040700
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, edi
mov ebx, edi
jmp 0x14004083f
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea rdx, [rbp + 0x180]
mov qword [rsp + 0x20], rdx
lea r9, [0x140281bd8]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x1400406f0
lea rcx, [rbp + 0x180]
cmp word [rbp + 0x180], 0x13
je 0x14004074e
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x1400406f0
mov eax, dword [rbp + 0x188]
mov dword [rbp + 0x2d0], eax
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x78]
jmp 0x14004081b
bt eax, 0x1a
jae 0x14004083c
mov qword [rbp - 0x80], rdi
xor eax, eax
mov qword [rbp + 0x198], rax
mov qword [rbp + 0x1a0], rax
mov qword [rbp + 0x1a8], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [0x140281148]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402811c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400407c0
mov rcx, qword [rbp - 0x80]
jmp 0x1400406f5
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
lea rdx, [rbp + 0x198]
mov qword [rsp + 0x20], rdx
lea r9, [0x140281908]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x1400407b7
lea rcx, [rbp + 0x198]
cmp word [rbp + 0x198], 0x13
je 0x140040804
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x1400407b7
mov eax, dword [rbp + 0x1a0]
mov dword [rbp + 0x2d0], eax
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140040826
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, 1
cmp dword [rbp + 0x2d0], 0
je 0x140040702
mov ebx, esi
jmp 0x14004083f
mov ebx, dword [rbp + 0x10]
mov dword [rbp + 0x14], 4
lea rax, [rbp + 0x14]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2d0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1fc]
xor r8d, r8d
lea rdx, str.NSStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x1400408ae
cmp dword [rbp + 0x2d0], ebx
je 0x1400408ae
mov dword [rbp + 0x18], ebx
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.NSStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test dword [r12 + 0x168], 0x40000
je 0x14004098f
mov qword [rbp - 0x78], rdi
xor eax, eax
mov qword [rbp + 0x1b0], rax
mov qword [rbp + 0x1b8], rax
mov qword [rbp + 0x1c0], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea r9, [0x140281148]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402811c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140040917
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140040911
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, edi
mov ebx, edi
jmp 0x140040992
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
lea rdx, [rbp + 0x1b0]
mov qword [rsp + 0x20], rdx
lea r9, [0x140281920]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x140040902
lea rcx, [rbp + 0x1b0]
cmp word [rbp + 0x1b0], 0x13
je 0x14004095b
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x140040902
mov eax, dword [rbp + 0x1b8]
mov dword [rbp + 0x2d0], eax
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14004097d
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, 1
cmp dword [rbp + 0x2d0], 0
je 0x140040913
mov ebx, esi
jmp 0x140040992
mov ebx, dword [rbp + 0x20]
mov dword [rbp + 0x24], 4
lea rax, [rbp + 0x24]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2d0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1e4]
xor r8d, r8d
lea rdx, str.DMStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x140040a01
cmp dword [rbp + 0x2d0], ebx
je 0x140040a01
mov dword [rbp + 0x40], ebx
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DMStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test dword [r12 + 0x168], 0x40000
je 0x140040ae2
mov qword [rbp - 0x70], rdi
xor eax, eax
mov qword [rbp + 0x1c8], rax
mov qword [rbp + 0x1d0], rax
mov qword [rbp + 0x1d8], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [0x140281148]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1402811c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140040a6a
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140040a64
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, edi
mov ebx, edi
jmp 0x140040ae5
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
lea rdx, [rbp + 0x1c8]
mov qword [rsp + 0x20], rdx
lea r9, [0x140281860]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x140040a55
lea rcx, [rbp + 0x1c8]
cmp word [rbp + 0x1c8], 0x13
je 0x140040aae
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x140040a55
mov eax, dword [rbp + 0x1d0]
mov dword [rbp + 0x2d0], eax
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140040ad0
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, 1
cmp dword [rbp + 0x2d0], 0
je 0x140040a66
mov ebx, esi
jmp 0x140040ae5
mov ebx, dword [rbp + 0x28]
mov dword [rbp + 0x2c], 4
lea rax, [rbp + 0x2c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x2d0]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x1e8]
xor r8d, r8d
lea rdx, str.VRStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test esi, esi
je 0x140040b54
cmp dword [rbp + 0x2d0], ebx
je 0x140040b54
mov dword [rbp + 0x30], ebx
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.VRStatus
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [rbp + 0x38], 0
sete dil
test r14, r14
je 0x140040b6a
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rbx, qword [rsp + 0x3c8]
add rsp, 0x380
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005680
int3