Function at 0x1400056a0
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x78
mov rax, qword [0x140019188]
xor rax, rsp
mov qword [rsp + 0x68], rax
call fcn.140005220
mov rcx, qword [rax + 8]
cmp dword [rcx], 5
jbe 0x14000544a
movabs rdx, 0x200000000000
test qword [rcx + 0x10], rdx
je 0x14000544a
mov rax, qword [rcx + 0x18]
and rax, rdx
cmp rax, qword [rcx + 0x18]
jne 0x14000544a
and dword [rsp + 0x64], 0
lea rax, [rsp + 0x30]
mov qword [rsp + 0x58], rax
lea rdx, [0x140015627]
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.140001090
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140010160
add rsp, 0x78
ret
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
call fcn.14000532c
mov dword [rbp + 0x30], 4
lea rax, [rbp + 0x30]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
xor r12d, r12d
mov qword [rsp + 0x20], r12
lea r9d, [r12 + 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 0x140005743
cmp dword [rbp + 0x48], r12d
je 0x140005743
jmp 0x140005732
mov edx, 2
mov rcx, rbx
call fcn.14000f1f0
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 0x140005714
int3
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], rbx
lea rax, [rbp - 0x30]
mov qword [rbp - 0x10], rax
mov byte [rbp - 8], 1
lea rdx, [rbp - 0x30]
call fcn.140006f40
mov esi, eax
test eax, eax
jns 0x140005812
mov rcx, qword [rbp + 0x28]
mov r9d, eax
lea r8, str.onecoreuap_analog_sdk_simulation_servicesperceptionsimulationexemain.cpp
mov edx, 0xa5
call fcn.140003590
nop
mov r15, r12
mov rdi, qword [rbp - 0x30]
mov r14, qword [rbp - 0x28]
sub r14, rdi
add r14, 3
shr r14, 2
cmp rdi, qword [rbp - 0x28]
cmova r14, r12
test r14, r14
je 0x1400057cc
mov ecx, dword [rdi]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRevokeClassObject]
nop dword [rax + rax]
lea rdi, [rdi + 4]
inc r15
cmp r15, r14
jne 0x1400057ae
mov rdi, qword [rbp - 0x30]
test rdi, rdi
je 0x140005935
mov rdx, qword [rbp - 0x20]
sub rdx, rdi
and rdx, 0xfffffffffffffffc
cmp rdx, 0x1000
mov rax, rdi
jb 0x140005805
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000591d
mov rcx, rdi
call fcn.1400105fc
jmp 0x140005935
lea rdx, [rbp - 0x30]
call fcn.14000708c
mov esi, eax
test eax, eax
jns 0x140005880
mov rcx, qword [rbp + 0x28]
mov r9d, eax
lea r8, str.onecoreuap_analog_sdk_simulation_servicesperceptionsimulationexemain.cpp
mov edx, 0xa6
call fcn.140003590
nop
mov r15, r12
mov rdi, qword [rbp - 0x30]
mov r14, qword [rbp - 0x28]
sub r14, rdi
add r14, 3
shr r14, 2
cmp rdi, qword [rbp - 0x28]
cmova r14, r12
test r14, r14
je 0x1400057cc
mov ecx, dword [rdi]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRevokeClassObject]
nop dword [rax + rax]
lea rdi, [rdi + 4]
inc r15
cmp r15, r14
jne 0x140005861
jmp 0x1400057c8
lea rdi, [rbx + 0x38]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
nop dword [rax + rax]
lea rdx, [rbx + 0x60]
lea rax, [rbp - 0x30]
cmp rax, rdx
je 0x1400058d0
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 0x1400058d4
mov r8, qword [rbp - 0x30]
test rdi, rdi
je 0x1400058ec
mov rcx, rdi
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 0x140005932
mov rdx, qword [rbp - 0x20]
sub rdx, r8
and rdx, 0xfffffffffffffffc
mov rax, r8
cmp rdx, 0x1000
jb 0x14000592a
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000592a
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop dword [rax + rax]
int3
mov rcx, r8
call fcn.1400105fc
mov esi, r12d
test esi, esi
jns 0x140005971
mov edx, 3
mov rcx, rbx
call fcn.14000f1f0
mov rcx, rbx
call fcn.1400059a0
mov dword [rbx + 0x14], 1
mov dword [rbx + 0x1c], r12d
mov qword [rbx + 0x24], r12
lea rdx, [rbx + 0x10]
mov rcx, qword [rbx + 0x30]
call qword [sym.imp.api_ms_win_service_core_l1_1_0.dll_SetServiceStatus]
nop dword [rax + rax]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
jmp 0x1400053c8