Function at 0x14001b274
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, CGopherFileFind::IsDots
call fcn.1403c3130
sub rsp, rax
mov rax, qword [0x1404f5550]
xor rax, rsp
mov qword [rsp + COccManager::IsDialogMessageW], rax
mov rbp, r8
mov rsi, rdx
mov ebx, CView::CView
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8, rbx
mov r12, r9
xor r13d, r13d
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x50]
mov rdx, rbp
mov rcx, rsi
mov dword [rsp + 0x50], ebx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstallParamsW]
test eax, eax
je 0x14001b60d
or dword [rsp + 0x58], 0x4000800
lea r8, [rsp + 0x50]
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiSetDeviceInstallParamsW]
lea r14d, [r13 + 1]
test eax, eax
je 0x14001b336
mov r8d, r14d
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiBuildDriverInfoList]
test eax, eax
je 0x14001b60d
xor r9d, r9d
mov r8d, r14d
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], r12
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDriverInfoW]
test eax, eax
je 0x14001b33e
mov al, r14b
jmp 0x14001b60f
and dword [rsp + 0x58], 0xfbfff7ff
xor r9d, r9d
mov r8d, r14d
mov rdx, rbp
mov rcx, rsi
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], 2
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
or rcx, 0xffffffffffffffff
mov rdi, rax
cmp rax, rcx
je 0x14001b607
lea rax, [rsp + 0x44]
lea r9, [rsp + 0x40]
lea rdx, str.InfPath
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x8c]
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x44], CPictureHolder::CPictureHolder
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001b604
cmp dword [rsp + 0x40], r14d
jne 0x14001b604
lea rax, [rsp + 0x44]
lea r9, [rsp + 0x40]
lea rdx, str.ProviderName
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x8d0]
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x44], reloc.mfc90u.dll_COleStreamFile::COleStreamFile
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001b604
cmp dword [rsp + 0x40], r14d
jne 0x14001b604
lea rax, [rsp + 0x44]
lea r9, [rsp + 0x40]
lea rdx, str.InfSection
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xed0]
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x44], reloc.mfc90u.dll_COleStreamFile::COleStreamFile
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001b604
cmp dword [rsp + 0x40], r14d
jne 0x14001b604
lea rax, [rsp + 0x44]
lea r9, [rsp + 0x40]
lea rdx, str.DriverDesc
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xcd0]
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x44], reloc.mfc90u.dll_COleStreamFile::COleStreamFile
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rdi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14001b60d
cmp dword [rsp + 0x40], r14d
jne 0x14001b60d
and qword [rsp + 0x30], r13
lea rax, [rsp + 0xad0]
lea r8d, [rbx + 0xb]
xor r9d, r9d
mov rdx, rbp
mov rcx, rsi
mov dword [rsp + 0x28], reloc.mfc90u.dll_COleStreamFile::COleStreamFile
mov qword [rsp + 0x20], rax
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
test eax, eax
je 0x14001b60d
bts dword [rsp + 0x54], 0x10
bts dword [rsp + 0x58], 0xb
lea r8, [rsp + 0x50]
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiSetDeviceInstallParamsW]
test eax, eax
je 0x14001b60d
mov r8d, r14d
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiBuildDriverInfoList]
test eax, eax
je 0x14001b60d
xor r9d, r9d
mov r8d, r14d
mov rdx, rbp
mov rcx, rsi
mov qword [rsp + 0x20], r12
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDriverInfoW]
test eax, eax
je 0x14001b5ed
lea rdx, [rsp + 0xad0]
lea rcx, [r12 + 0x210]
call qword [sym.imp.MSVCR90.dll_wcscmp]
test eax, eax
jne 0x14001b5dd
lea rcx, [r12 + reloc.mfc90u.dll_CObList::AddTail]
lea rdx, [rsp + 0x8d0]
call qword [sym.imp.MSVCR90.dll_wcscmp]
test eax, eax
jne 0x14001b5dd
and qword [rsp + 0x28], r13
lea r9, [rsp + 0x2a0]
mov r8, r12
mov rdx, rbp
mov rcx, rsi
mov dword [rsp + 0x2a0], CToolBar::CommandToIndex
mov dword [rsp + 0x20], CToolBar::CommandToIndex
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDriverInfoDetailW]
test eax, eax
jne 0x14001b5a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14001b5dd
lea rdx, [rsp + 0xed0]
lea rcx, [rsp + reloc.mfc90u.dll_CMiniFrameWnd::CMiniFrameWnd]
call qword [sym.imp.MSVCR90.dll_wcscmp]
test eax, eax
jne 0x14001b5dd
lea rdx, [rsp + 0xcd0]
lea rcx, [rsp + 0x6c8]
call qword [sym.imp.MSVCR90.dll_wcscmp]
test eax, eax
je 0x14001b5e8
add ebx, r14d
mov r9d, ebx
jmp 0x14001b517
mov r13d, r14d
jmp 0x14001b5fc
mov r8d, r14d
mov rdx, rbp
mov rcx, rsi
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDriverInfoList]
test r13d, r13d
setne al
jmp 0x14001b60f
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov rcx, qword [rsp + 0x10d0]
xor rcx, rsp
call fcn.1403c2380
add rsp, 0x10e0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret