Function at 0x1400531a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1401339d8]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, rcx
call fcn.140014190
lea r9, [0x1400e8328]
lea r8, str.ProgrammableKey::PKRegistrySetting::CreateManageabilityPolicy
xor edx, edx
mov rcx, rax
call fcn.14009cf00
xor r15d, r15d
mov ebx, r15d
mov qword [rsp + 0x60], rbx
call fcn.140014190
cmp byte [rax + 0x64], r15b
je 0x140053245
lea ecx, [r15 + 0x28]
call fcn.140095e50
mov rbx, rax
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14005323d
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
movups xmmword [rbx + 0x10], xmm0
mov qword [rbx + 0x20], rax
call fcn.140014190
lea r8, str.ProgrammableKey::PKRegistrySetting::CreateManageabilityPolicy
mov rdx, rax
mov rcx, rbx
call fcn.140098570
mov rbx, rax
jmp 0x140053240
mov rbx, r15
mov qword [rsp + 0x60], rbx
call fcn.140014190
lea r9, str.Check_whether_system_is_MIK_managed
lea r8, str.ProgrammableKey::PKRegistrySetting::IsMIKManaged
mov edx, 3
mov rcx, rax
call fcn.14009cf00
mov dword [rsp + 0x70], r15d
lea rsi, [rdi + 0xb8]
mov r8, rsi
cmp qword [rsi + 0x18], 8
jb 0x14005327e
mov r8, qword [rsi]
lea r14, [rdi + 0x50]
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x14005328f
mov rdx, qword [r14]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
mov r9d, 0xffff
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
je 0x1400533b5
call fcn.140014190
lea r9, str.IsManaged_key_not_found.
lea r8, str.ProgrammableKey::PKRegistrySetting::IsMIKManaged
mov edx, 2
mov rcx, rax
call fcn.14009cf00
lea rdx, [rdi + 0x138]
lea rcx, [rsp + 0x40]
call fcn.14001beb0
mov rdx, rax
mov rcx, rdi
call fcn.140054730
test al, al
jne 0x140053317
lea rdx, [rdi + 0x138]
lea rcx, [rsp + 0x40]
call fcn.14001beb0
mov rdx, rax
mov rcx, rdi
call fcn.140053600
lea rdx, [rdi + 0x158]
lea rcx, [rsp + 0x40]
call fcn.14001beb0
mov rdx, rax
mov rcx, rdi
call fcn.140054730
test al, al
je 0x140053353
lea rdx, [rdi + 0x158]
lea rcx, [rsp + 0x40]
call fcn.14001beb0
mov rdx, rax
mov rcx, rdi
call fcn.140053db0
call fcn.140014190
lea r9, [0x1400e8328]
lea r8, str.ProgrammableKey::PKRegistrySetting::CreateManageabilityPolicy
mov edx, 1
mov rcx, rax
call fcn.14009cf00
nop
test rbx, rbx
je 0x14005338f
mov rcx, rbx
call fcn.140099040
mov edx, 0x28
mov rcx, rbx
call fcn.140095e90
nop
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400964b0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
cmp dword [rsp + 0x70], 0
jne 0x1400533cd
call fcn.140014190
lea r9, str.IsManaged_key_is_empty.
jmp 0x1400532c7
cmp qword [rsi + 0x18], 8
jb 0x1400533d7
mov rsi, qword [rsi]
cmp qword [r14 + 0x18], 8
jb 0x1400533e1
mov r14, qword [r14]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, 0xffff
mov r8, rsi
mov rdx, r14
mov rcx, qword [rdi + 0x20]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
je 0x140053439
call fcn.140014190
lea r9, str.IsManaged_is_empty.
lea r8, str.ProgrammableKey::PKRegistrySetting::IsMIKManaged
mov edx, 5
mov rcx, rax
call fcn.14009cf00
jmp 0x1400532db
call fcn.140014190
mov ecx, dword [rsp + 0x68]
mov dword [rsp + 0x20], ecx
lea r9, str.Read_this_managed_state_from_registry:__d
lea r8, str.ProgrammableKey::PKRegistrySetting::IsMIKManaged
mov edx, 2
mov rcx, rax
call fcn.14009cf00
mov eax, dword [rdi + 0x198]
cmp dword [rsp + 0x68], eax
jne 0x1400532db
lea rdx, [rdi + 0x158]
lea rcx, [rsp + 0x40]
call fcn.14001beb0
mov rdx, rax
mov rcx, rdi
call fcn.140054730
test al, al
jne 0x1400534ad
lea rdx, [rdi + 0x158]
lea rcx, [rsp + 0x40]
call fcn.14001beb0
mov rdx, rax
mov rcx, rdi
call fcn.140053600
lea rdx, [rdi + 0x138]
lea rcx, [rsp + 0x40]
call fcn.14001beb0
mov rdx, rax
mov rcx, rdi
call fcn.140054730
test al, al
je 0x140053353
lea rdx, [rdi + 0x138]
lea rcx, [rsp + 0x40]
call fcn.14001beb0
mov rdx, rax
mov rcx, rdi
call fcn.140053db0
jmp 0x140053353