Function at 0x140006e90
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1400344c8]
xor rax, rsp
mov qword [rsp + 0x68], rax
lea rdx, [0x140006a80]
lea rcx, [0x140034e50]
call fcn.1400088c4
mov rcx, qword [rax + 8]
cmp dword [rcx], 5
jbe 0x140006bcc
movabs rdx, 0x200000000000
test qword [rcx + 0x10], rdx
je 0x140006bcc
mov rax, qword [rcx + 0x18]
and rax, rdx
cmp rax, qword [rcx + 0x18]
jne 0x140006bcc
and dword [rsp + 0x64], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x58], rax
lea rdx, [0x14002d297]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x30], 0x1000000
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov dword [rsp + 0x60], 8
call fcn.140001164
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14001ae50
add rsp, 0x78
ret
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x70
mov rdi, rcx
call fcn.140006a90
mov dword [rbp + 0x20], 4
lea rax, [rbp + 0x20]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
mov r9d, 0x10
lea r8, str.WaitForDebugger
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPerceptionSimulationService
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
nop dword [rax + rax]
test eax, eax
jne 0x140006f27
cmp dword [rbp + 0x38], eax
je 0x140006f27
jmp 0x140006f16
mov edx, 2
mov rcx, rdi
call fcn.14000a264
mov ecx, 0x1f4
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
nop dword [rax + rax]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
nop dword [rax + rax]
test eax, eax
je 0x140006ef8
int3
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
and qword [rbp - 0x20], 0
mov qword [rbp - 0x18], rdi
lea rax, [rbp - 0x30]
mov qword [rbp - 0x10], rax
mov byte [rbp - 8], 1
lea rdx, [rbp - 0x30]
call fcn.140008a58
test eax, eax
jns 0x140006fb3
mov rcx, qword [rbp + 0x18]
mov r9d, eax
lea r8, str.mrcommon_sdk_simulation_servicesperceptionsimulationexemain.cpp
mov edx, 0xad
call fcn.140003ee0
nop
mov rsi, qword [rbp - 0x28]
mov rbx, qword [rbp - 0x30]
cmp rbx, rsi
je 0x140006f92
mov ecx, dword [rbx]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRevokeClassObject]
nop dword [rax + rax]
add rbx, 4
cmp rbx, rsi
jne 0x140006f77
mov rbx, qword [rbp - 0x30]
test rbx, rbx
je 0x1400070e2
mov rdx, qword [rbp - 0x20]
sub rdx, rbx
and rdx, 0xfffffffffffffffc
mov rcx, rbx
call fcn.140008e84
jmp 0x1400070e2
lea rdx, [rbp - 0x30]
call fcn.140008bbc
test eax, eax
jns 0x140006fff
mov rcx, qword [rbp + 0x18]
mov r9d, eax
lea r8, str.mrcommon_sdk_simulation_servicesperceptionsimulationexemain.cpp
mov edx, 0xae
call fcn.140003ee0
nop
mov rsi, qword [rbp - 0x28]
mov rbx, qword [rbp - 0x30]
cmp rbx, rsi
je 0x140006f92
mov ecx, dword [rbx]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRevokeClassObject]
nop dword [rax + rax]
add rbx, 4
cmp rbx, rsi
jne 0x140006fe6
jmp 0x140006f8e
lea rdx, [rbp - 0x30]
call fcn.140008d20
test eax, eax
jns 0x140007052
mov rcx, qword [rbp + 0x18]
mov r9d, eax
lea r8, str.mrcommon_sdk_simulation_servicesperceptionsimulationexemain.cpp
mov edx, 0xaf
call fcn.140003ee0
nop
mov rsi, qword [rbp - 0x28]
mov rbx, qword [rbp - 0x30]
cmp rbx, rsi
je 0x140006f92
mov ecx, dword [rbx]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRevokeClassObject]
nop dword [rax + rax]
add rbx, 4
cmp rbx, rsi
jne 0x140007036
jmp 0x140006f8e
lea rbx, [rdi + 0x50]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
lea rdx, [rdi + 0x78]
lea rax, [rbp - 0x30]
cmp rax, rdx
je 0x1400070a2
mov rax, qword [rbp - 0x30]
mov r8, qword [rdx]
mov qword [rbp - 0x30], r8
mov qword [rdx], rax
mov rcx, qword [rbp - 0x28]
mov rax, qword [rdx + 8]
mov qword [rbp - 0x28], rax
mov qword [rdx + 8], rcx
mov rcx, qword [rbp - 0x20]
mov rax, qword [rdx + 0x10]
mov qword [rbp - 0x20], rax
mov qword [rdx + 0x10], rcx
jmp 0x1400070a6
mov r8, qword [rbp - 0x30]
test rbx, rbx
je 0x1400070be
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov r8, qword [rbp - 0x30]
test r8, r8
je 0x1400070d6
mov rdx, qword [rbp - 0x20]
sub rdx, r8
and rdx, 0xfffffffffffffffc
mov rcx, r8
call fcn.140008e84
mov rcx, rdi
call fcn.1400074bc
test eax, eax
jns 0x1400070ea
mov rcx, rdi
call fcn.14000a208
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
jmp 0x140006b3c