Function at 0x1400147bc
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 r13, r8
mov r12, rdx
mov ebx, 0x620
xor edx, edx
mov rcx, r9
mov r8, rbx
mov r14, r9
xor edi, edi
call sub.MSVCR90.dll_memset
mov dword [r14], ebx
mov ebx, CView::CView
lea rcx, [rsp + 0x50]
mov r8, rbx
xor edx, edx
call sub.MSVCR90.dll_memset
lea r8, [rsp + 0x50]
mov rdx, r13
mov rcx, r12
mov dword [rsp + 0x50], ebx
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInstallParamsW]
cmp eax, edi
je 0x140014b5a
or dword [rsp + 0x58], 0x4000800
lea r8, [rsp + 0x50]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupDiSetDeviceInstallParamsW]
lea esi, [rdi + 1]
mov rdx, r13
mov rcx, r12
mov r8d, esi
cmp eax, edi
je 0x140014892
call qword [sym.imp.SETUPAPI.dll_SetupDiBuildDriverInfoList]
cmp eax, edi
je 0x140014b5a
xor r9d, r9d
mov r8d, esi
mov rdx, r13
mov rcx, r12
mov qword [rsp + 0x20], r14
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDriverInfoW]
cmp eax, edi
setne dil
mov eax, edi
jmp 0x140014b5c
and dword [rsp + 0x58], 0xfbfff7ff
xor r9d, r9d
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], 2
call qword [sym.imp.SETUPAPI.dll_SetupDiOpenDevRegKey]
or rcx, 0xffffffffffffffff
mov rbp, rax
cmp rax, rcx
je 0x140014b54
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, rbp
mov dword [rsp + 0x44], CPictureHolder::CPictureHolder
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x140014b51
cmp dword [rsp + 0x40], esi
jne 0x140014b51
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, rbp
mov dword [rsp + 0x44], reloc.mfc90u.dll_COleStreamFile::COleStreamFile
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x140014b51
cmp dword [rsp + 0x40], esi
jne 0x140014b51
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, rbp
mov dword [rsp + 0x44], reloc.mfc90u.dll_COleStreamFile::COleStreamFile
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, edi
jne 0x140014b51
cmp dword [rsp + 0x40], esi
jne 0x140014b51
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, rbp
mov dword [rsp + 0x44], reloc.mfc90u.dll_COleStreamFile::COleStreamFile
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp ebx, edi
jne 0x140014b5a
cmp dword [rsp + 0x40], esi
jne 0x140014b5a
xor r9d, r9d
lea rax, [rsp + 0xad0]
mov qword [rsp + 0x30], rdi
lea r8d, [r9 + 0xb]
mov rdx, r13
mov rcx, r12
mov dword [rsp + 0x28], reloc.mfc90u.dll_COleStreamFile::COleStreamFile
mov qword [rsp + 0x20], rax
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyW]
cmp eax, edi
je 0x140014b5a
bts dword [rsp + 0x54], 0x10
bts dword [rsp + 0x58], 0xb
lea r8, [rsp + 0x50]
mov rdx, r13
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupDiSetDeviceInstallParamsW]
cmp eax, edi
je 0x140014b5a
mov r8d, esi
mov rdx, r13
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupDiBuildDriverInfoList]
cmp eax, edi
je 0x140014b5a
mov ebx, edi
xor r9d, r9d
mov r8d, esi
mov rdx, r13
mov rcx, r12
mov qword [rsp + 0x20], r14
call qword [sym.imp.SETUPAPI.dll_SetupDiEnumDriverInfoW]
cmp eax, edi
je 0x140014b3d
lea rdx, [rsp + 0xad0]
lea rcx, [r14 + 0x210]
call qword [sym.imp.MSVCR90.dll_wcscmp]
cmp eax, edi
jne 0x140014b2c
lea rcx, [r14 + reloc.mfc90u.dll_CObList::AddTail]
lea rdx, [rsp + 0x8d0]
call qword [sym.imp.MSVCR90.dll_wcscmp]
cmp eax, edi
jne 0x140014b2c
lea r9, [rsp + 0x2a0]
mov r8, r14
mov rdx, r13
mov rcx, r12
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x2a0], CToolBar::CommandToIndex
mov dword [rsp + 0x20], CToolBar::CommandToIndex
call qword [sym.imp.SETUPAPI.dll_SetupDiGetDriverInfoDetailW]
cmp eax, edi
jne 0x140014af8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140014b2c
lea rdx, [rsp + 0xed0]
lea rcx, [rsp + reloc.mfc90u.dll_CMiniFrameWnd::CMiniFrameWnd]
call qword [sym.imp.MSVCR90.dll_wcscmp]
cmp eax, edi
jne 0x140014b2c
lea rdx, [rsp + 0xcd0]
lea rcx, [rsp + 0x6c8]
call qword [sym.imp.MSVCR90.dll_wcscmp]
cmp eax, edi
je 0x140014b36
add ebx, esi
mov r9d, ebx
jmp 0x140014a68
mov edi, esi
jmp 0x14001488b
mov r8d, esi
mov rdx, r13
mov rcx, r12
call qword [sym.imp.SETUPAPI.dll_SetupDiDestroyDriverInfoList]
jmp 0x14001488b
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
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