Function at 0x14003f3f0
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.14000ddf0
mov dword [rbp + 0x38], eax
mov r14, qword [rbp + 0x108]
test eax, eax
jne 0x1400407a4
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 0x14003f9a0
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.14004aa80
mov rcx, rax
test rax, rax
je 0x1400407d7
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 0x14003f97d
mov dword [rbp + 0x2d8], edi
test byte [r12 + 0x168], 4
je 0x14003f6cb
movups xmm0, xmmword [0x140282930]
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.140011110
test eax, eax
je 0x14003f6cb
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 0x14003f744
movups xmm0, xmmword [0x140282930]
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.140011110
test eax, eax
je 0x14003f744
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 0x14003f7be
movups xmm0, xmmword [0x140282930]
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.140011110
test eax, eax
je 0x14003f7be
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 [0x140282930]
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.140011110
test eax, eax
je 0x14003f82d
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 [0x140282930]
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.140011110
test eax, eax
je 0x14003f89c
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 [0x140282930]
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.140011110
test eax, eax
je 0x14003f90b
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 [0x140282930]
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.140011110
mov esi, eax
test eax, eax
je 0x14003f97d
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 0x14003f999
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 0x14003fa74
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, [0x140280f88]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140280ff0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14003fa00
mov rcx, qword [rsp + 0x50]
jmp 0x14003fb7f
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rbp + 0xa8]
mov qword [rsp + 0x20], rdx
lea r9, [0x1402819a8]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x14003f9f6
lea rcx, [rbp + 0xa8]
cmp word [rbp + 0xa8], 0x13
je 0x14003fa45
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x14003f9f6
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 0x14003fa68
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test byte [rbp + 0x2d0], 2
jmp 0x14003fbfd
test al, 2
je 0x14003fb2c
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, [0x140280f88]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140280ff0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14003faca
mov rcx, qword [rsp + 0x48]
jmp 0x14003fb7f
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rbp + 0xc0]
mov qword [rsp + 0x20], rdx
lea r9, [0x1402819d8]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x14003fac0
lea rcx, [rbp + 0xc0]
cmp word [rbp + 0xc0], 0x13
je 0x14003fb0f
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x14003fac0
mov eax, dword [rbp + 0xc8]
mov dword [rbp + 0x2d0], eax
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x48]
jmp 0x14003fbeb
bt eax, 0x1b
jae 0x14003fc0a
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, [0x140280f88]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140280ff0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14003fb8e
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14003fb8a
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, edi
jmp 0x14003fc07
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rbp + 0xd8]
mov qword [rsp + 0x20], rdx
lea r9, [0x140281720]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x14003fb7a
lea rcx, [rbp + 0xd8]
cmp word [rbp + 0xd8], 0x13
je 0x14003fbd3
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x14003fb7a
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 0x14003fbf6
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp dword [rbp + 0x2d0], 0
mov esi, 1
mov r15d, esi
jne 0x14003fc0a
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 0x14003fc7b
cmp dword [rbp + 0x2d0], r15d
je 0x14003fc7b
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 0x14003fd61
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, [0x140280f88]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140280ff0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14003fce7
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14003fce1
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, edi
mov ebx, edi
jmp 0x14003fd64
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [rbp + 0xf0]
mov qword [rsp + 0x20], rdx
lea r9, [0x140281768]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x14003fcd1
lea rcx, [rbp + 0xf0]
cmp word [rbp + 0xf0], 0x13
je 0x14003fd2c
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x14003fcd1
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 0x14003fd4f
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, 1
cmp dword [rbp + 0x2d0], 0
je 0x14003fce3
mov ebx, esi
jmp 0x14003fd64
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 0x14003fdd3
cmp dword [rbp + 0x2d0], ebx
je 0x14003fdd3
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 0x14003fea7
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, [0x140280f88]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140280ff0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14003fe33
mov rcx, qword [rsp + 0x58]
jmp 0x14003ff04
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea rdx, [rbp + 0x90]
mov qword [rsp + 0x20], rdx
lea r9, [0x1402819a8]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x14003fe29
lea rcx, [rbp + 0x90]
cmp word [rbp + 0x90], 0x13
je 0x14003fe78
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x14003fe29
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 0x14003fe9b
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test byte [rbp + 0x2d0], 0xc
jmp 0x14003ff82
mov rax, qword [rbp + 0x2c0]
test byte [rax + 0xcf0], 3
je 0x14003ff8f
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, [0x140280f88]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140280ff0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14003ff13
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14003ff0f
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, edi
jmp 0x14003ff8c
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rbp + 0x120]
mov qword [rsp + 0x20], rdx
lea r9, [0x1402816f0]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x14003feff
lea rcx, [rbp + 0x120]
cmp word [rbp + 0x120], 0x13
je 0x14003ff58
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x14003feff
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 0x14003ff7b
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp dword [rbp + 0x2d0], 0
mov esi, 1
mov r13d, esi
jne 0x14003ff8f
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 0x140040000
cmp dword [rbp + 0x2d0], r13d
je 0x140040000
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 0x1400400dd
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, [0x140280f88]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140280ff0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140040060
mov rcx, qword [rsp + 0x60]
jmp 0x14004012e
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea rdx, [rbp + 0x138]
mov qword [rsp + 0x20], rdx
lea r9, [0x1402819a8]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x140040056
lea rcx, [rbp + 0x138]
cmp word [rbp + 0x138], 0x13
je 0x1400400a5
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x140040056
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 0x1400400c8
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, 1
test byte [rbp + 0x2d0], sil
je 0x14004013b
mov ebx, esi
jmp 0x14004027d
test al, 4
je 0x1400401a4
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, [0x140280f88]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140280ff0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140040142
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140040139
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, edi
mov ebx, edi
jmp 0x14004027d
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea rdx, [rbp + 0x150]
mov qword [rsp + 0x20], rdx
lea r9, [0x1402819f0]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x140040129
lea rcx, [rbp + 0x150]
cmp word [rbp + 0x150], 0x13
je 0x140040187
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x140040129
mov eax, dword [rbp + 0x158]
mov dword [rbp + 0x2d0], eax
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x68]
jmp 0x140040259
bt eax, 0x1c
jae 0x14004027a
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, [0x140280f88]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140280ff0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400401fc
mov rcx, qword [rsp + 0x70]
jmp 0x14004012e
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
lea rdx, [rbp + 0x168]
mov qword [rsp + 0x20], rdx
lea r9, [0x140281708]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x1400401f2
lea rcx, [rbp + 0x168]
cmp word [rbp + 0x168], 0x13
je 0x140040241
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x1400401f2
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 0x140040264
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, 1
cmp dword [rbp + 0x2d0], 0
je 0x14004013b
mov ebx, esi
jmp 0x14004027d
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 0x1400402ec
cmp dword [rbp + 0x2d0], ebx
je 0x1400402ec
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 0x1400403bb
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, [0x140280f88]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140280ff0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140040359
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140040350
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, edi
mov ebx, edi
jmp 0x14004048f
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea rdx, [rbp + 0x180]
mov qword [rsp + 0x20], rdx
lea r9, [0x140281a08]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x140040340
lea rcx, [rbp + 0x180]
cmp word [rbp + 0x180], 0x13
je 0x14004039e
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x140040340
mov eax, dword [rbp + 0x188]
mov dword [rbp + 0x2d0], eax
call qword [sym.imp.ole32.dll_PropVariantClear]
nop
mov rcx, qword [rsp + 0x78]
jmp 0x14004046b
bt eax, 0x1a
jae 0x14004048c
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, [0x140280f88]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140280ff0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140040410
mov rcx, qword [rbp - 0x80]
jmp 0x140040345
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
lea rdx, [rbp + 0x198]
mov qword [rsp + 0x20], rdx
lea r9, [0x140281738]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x140040407
lea rcx, [rbp + 0x198]
cmp word [rbp + 0x198], 0x13
je 0x140040454
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x140040407
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 0x140040476
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, 1
cmp dword [rbp + 0x2d0], 0
je 0x140040352
mov ebx, esi
jmp 0x14004048f
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 0x1400404fe
cmp dword [rbp + 0x2d0], ebx
je 0x1400404fe
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 0x1400405df
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, [0x140280f88]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140280ff0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140040567
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140040561
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, edi
mov ebx, edi
jmp 0x1400405e2
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
lea rdx, [rbp + 0x1b0]
mov qword [rsp + 0x20], rdx
lea r9, [0x140281750]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x140040552
lea rcx, [rbp + 0x1b0]
cmp word [rbp + 0x1b0], 0x13
je 0x1400405ab
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x140040552
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 0x1400405cd
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, 1
cmp dword [rbp + 0x2d0], 0
je 0x140040563
mov ebx, esi
jmp 0x1400405e2
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 0x140040651
cmp dword [rbp + 0x2d0], ebx
je 0x140040651
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 0x140040732
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, [0x140280f88]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140280ff0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400406ba
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1400406b4
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, edi
mov ebx, edi
jmp 0x140040735
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
lea rdx, [rbp + 0x1c8]
mov qword [rsp + 0x20], rdx
lea r9, [0x140281690]
mov r8d, 1
mov rdx, qword [r12]
call qword [rax + 0x50]
test eax, eax
js 0x1400406a5
lea rcx, [rbp + 0x1c8]
cmp word [rbp + 0x1c8], 0x13
je 0x1400406fe
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x1400406a5
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 0x140040720
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov esi, 1
cmp dword [rbp + 0x2d0], 0
je 0x1400406b6
mov ebx, esi
jmp 0x140040735
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 0x1400407a4
cmp dword [rbp + 0x2d0], ebx
je 0x1400407a4
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 0x1400407ba
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