Function at 0x140005eac
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rdi, rcx
call fcn.140060914
mov rcx, qword [rax]
mov rax, qword [rcx]
lea r8, str.Enter_updtShimAPIClass::GetVerifierInfo
mov edx, 3
mov rax, qword [rax + 0x38]
call qword [case.0x140050ed0.0]
lea rbx, [rdi + 0x1f8]
xor r14d, r14d
mov dword [rbx], r14d
mov byte [rdi + 0x220], r14b
lea rsi, [rdi + 0x200]
lea r8d, [r14 + 7]
lea rdx, [0x1400e6608]
mov rcx, rsi
call fcn.140001a78
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlSession_ManagerMemory_Management
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140005fd2
call fcn.140060914
lea r9d, [r14 + 1]
mov r8, qword [rax]
lea edx, [r14 + 2]
lea rcx, [rsp + 0x50]
call fcn.14000c3c0
nop
lea rbx, [rax + 0x10]
lea rdx, str._GetVerifierInfo__Open_key:
mov rcx, rbx
call fcn.140015a24
lea rdx, str.SYSTEMCurrentControlSetControlSession_ManagerMemory_Management
mov rcx, rbx
call fcn.140015a24
lea rdx, str._failed
mov rcx, rbx
call fcn.140015a24
nop
lea rcx, [rbp - 8]
call fcn.14000c350
lea rax, [rbp - 8]
mov qword [rbp + 0x90], rax
lea rax, vtable.std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__.0
mov qword [rbp - 8], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.140067b68
xor al, al
jmp 0x14000611f
mov dword [rbp + 0x98], 4
lea rax, [rbp + 0x98]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.VerifyDriverLevel
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x140006031
call fcn.140060914
mov rcx, qword [rax]
mov rax, qword [rcx]
lea r8, str.Query_VerifyDriverLevel_failed
mov edx, 2
mov rax, qword [rax + 0x38]
call qword [case.0x140050ed0.0]
jmp 0x1400060e3
mov dword [rbp + 0x98], r14d
lea rax, [rbp + 0x98]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea rdx, str.VerifyDrivers
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400060e3
mov word [rbp + 0x90], r14w
mov edx, dword [rbp + 0x98]
shr rdx, 1
inc rdx
lea r8, [rbp + 0x90]
lea rcx, [rsp + 0x30]
call fcn.14000c2c0
nop
lea rax, [rbp + 0x98]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.VerifyDrivers
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rdx, qword [rsp + 0x30]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r14w
jne 0x1400060c6
mov rcx, rsi
call fcn.140001a78
nop
lea rcx, [rsp + 0x30]
call fcn.14000e960
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbx], r14d
setne al
mov byte [rdi + 0x220], al
call fcn.140060914
mov rcx, qword [rax]
mov rax, qword [rcx]
lea r8, str.Exit_updtShimAPIClass::GetVerifierInfo
mov edx, 3
mov rax, qword [rax + 0x38]
call qword [case.0x140050ed0.0]
mov al, 1
add rsp, 0x160
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret