Function at 0x140117fe0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xcd0
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rsp + 0xcc0], rax
mov rdi, rcx
xor r12b, r12b
mov byte [rsp + 0x40], r12b
xor ebx, ebx
mov dword [rsp + 0x44], ebx
mov qword [rsp + 0x48], rbx
mov r15d, 1
mov dword [rsp + 0x60], r15d
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x4a0]
call fcn.1401cff00
mov dword [rsp + 0xf8], 0x208
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x290]
call fcn.1401cff00
mov dword [rsp + 0xb0], 0x208
mov qword [rsp + 0xd8], rbx
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], 7
mov word [rsp + 0xd8], bx
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0xd0], 7
mov word [rsp + 0xb8], bx
mov qword [rsp + 0x100], rbx
mov qword [rsp + 0x110], rbx
mov qword [rsp + 0x118], 7
mov word [rsp + 0x100], bx
mov qword [rsp + 0x120], rbx
mov qword [rsp + 0x130], rbx
mov qword [rsp + 0x138], 7
mov word [rsp + 0x120], bx
mov qword [rsp + 0x1c0], rbx
movdqa xmm0, xmmword [0x14023bab0]
movdqa xmmword [rsp + 0x1d0], xmm0
mov word [rsp + 0x1c0], bx
mov qword [rsp + 0x1e0], rbx
movdqa xmmword [rsp + 0x1f0], xmm0
mov word [rsp + 0x1e0], bx
mov qword [rsp + 0x210], rbx
movdqa xmmword [rsp + 0x220], xmm0
mov word [rsp + 0x210], bx
mov qword [rsp + 0x230], rbx
movdqa xmmword [rsp + 0x240], xmm0
mov word [rsp + 0x230], bx
mov qword [rsp + 0x250], rbx
movdqa xmmword [rsp + 0x260], xmm0
mov word [rsp + 0x250], bx
mov qword [rsp + 0x270], rbx
movdqa xmmword [rsp + 0x280], xmm0
mov word [rsp + 0x270], bx
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1401181a8
mov rdx, qword [rdi]
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], 7
mov word [rsp + 0x68], bx
mov r8, qword [rdi + 0x10]
lea rcx, [rsp + 0x68]
call fcn.140018360
nop
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rcx, qword [rsp + 0x68]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rsp + 0x140]
call fcn.1401ab2e4
mov edx, eax
test eax, eax
jne 0x14011823e
mov ecx, dword [rsp + 0x150]
bt ecx, 0xa
jae 0x140118233
mov eax, dword [rsp + 0x154]
cmp eax, 0xa000000c
jne 0x140118225
lea ecx, [rdx + 4]
jmp 0x140118257
cmp eax, 0xa0000003
jne 0x140118233
mov ecx, 0xa
jmp 0x140118257
and ecx, 0x10
or ecx, 0x20
shr ecx, 4
jmp 0x140118257
sub eax, 2
je 0x140118254
sub eax, 1
je 0x140118254
sub eax, 0x32
je 0x140118254
cmp eax, 0x46
mov ecx, ebx
jne 0x140118257
mov ecx, r15d
mov dword [rsp + 0x90], edx
lea rax, [0x1402bf5e0]
mov qword [rsp + 0x98], rax
movaps xmm0, xmmword [rsp + 0x90]
movdqa xmmword [rsp + 0x90], xmm0
test ecx, ecx
je 0x140118334
cmp ecx, 1
sete sil
lea rcx, [rsp + 0x68]
call fcn.1400272a0
test sil, sil
je 0x140118450
lea rcx, [rsp + 0x270]
call fcn.1400272a0
lea rcx, [rsp + 0x250]
call fcn.1400272a0
lea rcx, [rsp + 0x230]
call fcn.1400272a0
lea rcx, [rsp + 0x210]
call fcn.1400272a0
lea rcx, [rsp + 0x1e0]
call fcn.1400272a0
lea rcx, [rsp + 0x1c0]
call fcn.1400272a0
nop
mov rdx, qword [rsp + 0x138]
cmp rdx, 8
jb 0x140118349
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x120]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140118344
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140118ca8
jmp 0x140118344
mov sil, 1
test edx, edx
jne 0x140118cae
jmp 0x14011828d
call fcn.1401a9460
mov qword [rsp + 0x130], rbx
mov qword [rsp + 0x138], 7
mov word [rsp + 0x120], bx
mov qword [rsp + 0x110], rbx
mov qword [rsp + 0x118], 7
mov word [rsp + 0x100], bx
mov rdx, qword [rsp + 0xd0]
cmp rdx, 8
jb 0x1401183c9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xb8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401183c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140118cc8
call fcn.1401a9460
mov qword [rsp + 0xc8], rbx
mov qword [rsp + 0xd0], 7
mov word [rsp + 0xb8], bx
mov rdx, qword [rsp + 0xf0]
cmp rdx, 8
jb 0x14011842d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140118428
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140118cce
call fcn.1401a9460
mov qword [rsp + 0xe8], rbx
mov qword [rsp + 0xf0], 7
mov word [rsp + 0xd8], bx
mov al, 1
jmp 0x140118c7b
xorps xmm0, xmm0
movups xmmword [rsp + 0x180], xmm0
movups xmmword [rsp + 0x190], xmm0
movups xmmword [rsp + 0x1a0], xmm0
movups xmmword [rsp + 0x1b0], xmm0
mov rdx, rdi
lea rcx, [rsp + 0x180]
call fcn.1400fce50
nop
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], 7
mov word [rsp + 0x90], bx
mov r8d, 7
lea rdx, [0x140233938]
lea rcx, [rsp + 0x90]
call fcn.140018360
nop
mov rdi, qword [rsp + 0x180]
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x140]
call fcn.140018e70
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x160], xmm0
mov qword [rsp + 0x170], rax
lea rdx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 8
cmovae rdx, qword [rsp + 0x90]
lea r9, [rsp + 0x160]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.SETUPAPI.dll_SetupFindFirstLineW]
lea rcx, [rsp + 0x140]
call fcn.1400272a0
nop
mov r8, qword [rsp + 0xa8]
cmp r8, 8
jb 0x140118557
inc r8
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x90]
call fcn.140023c60
lea rdx, [rsp + 0x1c0]
lea rcx, [rsp + 0x180]
call fcn.140136080
mov r9d, 2
xor r8d, r8d
xor edx, edx
lea rcx, str.23LM4_H
call qword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov rsi, rax
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
je 0x140118b72
xorps xmm0, xmm0
movups xmmword [rsp + 0x140], xmm0
movups xmmword [rsp + 0x150], xmm0
mov dword [rsp + 0x140], 0x20
mov r14d, ebx
mov rdi, 0xffffffffffffffff
lea r13, str.SoftwareComponent
nop word [rax + rax]
lea r8, [rsp + 0x140]
mov edx, r14d
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x140118b72
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x208
lea rax, [rsp + 0x6b0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 9]
lea rdx, [rsp + 0x140]
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
cmp eax, 1
jne 0x140118ba8
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x8c0]
call fcn.1401cff00
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0xac0]
call fcn.1401cff00
lea rax, [rsp + 0x6b0]
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140118660
lea rdx, [rsp + 0x6b0]
lea rcx, [rsp + 0xb8]
call fcn.140018360
lea rdx, [rsp + 0xb8]
cmp qword [rsp + 0xd0], 8
setae r11b
mov r10, qword [rsp + 0xb8]
cmovae rdx, r10
mov r9, qword [rsp + 0xc8]
test r9, r9
je 0x1401186df
lea rcx, [r9 - 1]
mov rax, rdi
cmp rcx, rax
cmovb rax, rcx
lea r8, [rdx + rax*2]
cmp word [r8], 0x5c
je 0x1401186d7
cmp r8, rdx
je 0x1401186df
sub r8, 2
cmp word [r8], 0x5c
jne 0x1401186c7
sub r8, rdx
sar r8, 1
jmp 0x1401186e2
mov r8, rdi
cmp r8, 0xffffffffffffffff
je 0x140118765
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], 7
cmp r9, r8
cmovb r8, r9
lea rdx, [rsp + 0xb8]
test r11b, r11b
cmovne rdx, r10
lea rcx, [rsp + 0x68]
call fcn.140018360
lea rcx, [rsp + 0xd8]
call fcn.1400272a0
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsp + 0xd8], xmm0
movups xmm1, xmmword [rsp + 0x78]
movups xmmword [rsp + 0xe8], xmm1
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], 7
mov word [rsp + 0x68], bx
lea rcx, [rsp + 0x68]
call fcn.1400272a0
lea r8, [rsp + 0xd8]
cmp qword [rsp + 0xf0], 8
cmovae r8, qword [rsp + 0xd8]
lea rdx, str.SYSTEMCurrentControlSetControlClass_s
lea rcx, [rsp + 0x8c0]
call fcn.1400a3d70
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rsp + 0x8c0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14011886c
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
lea rcx, [rsp + 0x188]
call fcn.1400272a0
nop
lea rcx, [rsp + 0x270]
call fcn.1400272a0
lea rcx, [rsp + 0x250]
call fcn.1400272a0
lea rcx, [rsp + 0x230]
call fcn.1400272a0
lea rcx, [rsp + 0x210]
call fcn.1400272a0
lea rcx, [rsp + 0x1e0]
call fcn.1400272a0
lea rcx, [rsp + 0x1c0]
call fcn.1400272a0
nop
lea rcx, [rsp + 0x120]
call fcn.1400272a0
nop
lea rcx, [rsp + 0x100]
call fcn.1400272a0
nop
lea rcx, [rsp + 0xb8]
call fcn.1400272a0
nop
lea rcx, [rsp + 0xd8]
call fcn.1400272a0
xor al, al
jmp 0x140118c7b
lea rax, [rsp + 0xf8]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x4a0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, str.Class
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140118ba8
lea rax, [rsp + 0x4a0]
mov r8, rdi
inc r8
cmp word [rax + r8*2], 0
jne 0x1401188b3
lea rdx, [rsp + 0x4a0]
lea rcx, [rsp + 0x100]
call fcn.140018360
lea r9, [rsp + 0x100]
cmp qword [rsp + 0x118], 8
cmovae r9, qword [rsp + 0x100]
mov r10, qword [rsp + 0x110]
mov rcx, r10
cmp r10, 0x11
mov eax, 0x11
cmova rcx, rax
mov rax, r13
test rcx, rcx
je 0x140118952
movzx edx, word [r9]
mov r8d, MsiOpenDatabaseW
cmp dx, r8w
jb 0x140118ba8
sub r9, r13
cmp dx, r8w
ja 0x140118ba8
cmp rcx, 1
je 0x140118952
dec rcx
add rax, 2
movzx edx, word [r9 + rax]
movzx r8d, word [rax]
cmp dx, r8w
jae 0x140118928
inc r14d
jmp 0x1401185d0
cmp r10, 0x11
jne 0x140118ba8
lea r8, [rsp + 0x6b0]
lea rdx, str.SYSTEMCurrentControlSetControlClass_s
lea rcx, [rsp + 0xac0]
call fcn.1400a3d70
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, [rsp + 0xac0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140118a0c
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
lea rcx, [rsp + 0x188]
call fcn.1400272a0
nop
lea rcx, [rsp + 0x1c0]
call fcn.1400fdba0
nop
lea rcx, [rsp + 0x120]
call fcn.1400272a0
nop
lea rcx, [rsp + 0x100]
call fcn.1400272a0
nop
lea rcx, [rsp + 0xb8]
call fcn.1400272a0
nop
lea rcx, [rsp + 0xd8]
call fcn.1400272a0
xor al, al
jmp 0x140118c7b
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x290]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, str.DriverDesc
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140118ba8
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], 7
mov word [rsp + 0x90], bx
lea rax, [rsp + 0x290]
mov r8, rdi
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140118a80
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x90]
call fcn.140018360
nop
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x78], rbx
mov qword [rsp + 0x80], 7
mov word [rsp + 0x68], bx
mov r8d, 0x17
lea rdx, str.AMD_UWP_Version_Control
lea rcx, [rsp + 0x68]
call fcn.140018360
nop
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x68]
call fcn.1400a8800
test eax, eax
jne 0x140118b90
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x290]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, str.DriverVersion
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140118b90
lea rax, [rsp + 0x290]
nop
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140118b30
mov r8, rdi
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x120]
call fcn.140018360
mov ebx, r15d
mov dword [rsp + 0x44], ebx
lea rcx, [rsp + 0x68]
call fcn.1400272a0
nop
lea rcx, [rsp + 0x90]
call fcn.1400272a0
nop
mov rcx, qword [rsp + 0x180]
call qword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
lea rcx, [rsp + 0x188]
call fcn.1400272a0
nop
jmp 0x140118bc5
lea rcx, [rsp + 0x68]
call fcn.1400272a0
nop
lea rcx, [rsp + 0x90]
call fcn.1400272a0
inc r14d
jmp 0x1401185d0
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
test ebx, ebx
je 0x140118bf1
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0x250]
call fcn.1400a8800
movzx r12d, r12b
test eax, eax
cmove r12d, r15d
lea rcx, [rsp + 0x270]
call fcn.1400272a0
lea rcx, [rsp + 0x250]
call fcn.1400272a0
lea rcx, [rsp + 0x230]
call fcn.1400272a0
lea rcx, [rsp + 0x210]
call fcn.1400272a0
lea rcx, [rsp + 0x1e0]
call fcn.1400272a0
lea rcx, [rsp + 0x1c0]
call fcn.1400272a0
nop
lea rcx, [rsp + 0x120]
call fcn.1400272a0
nop
lea rcx, [rsp + 0x100]
call fcn.1400272a0
nop
lea rcx, [rsp + 0xb8]
call fcn.1400272a0
nop
lea rcx, [rsp + 0xd8]
call fcn.1400272a0
movzx eax, r12b
mov rcx, qword [rsp + 0xcc0]
xor rcx, rsp
call fcn.1401a9440
lea r11, [rsp + 0xcd0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.1401e37cc
nop
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x90]
lea rcx, str.exists
call fcn.140067eb0
nop
call fcn.1401e37cc
nop
call fcn.1401e37cc
int3