Function at 0x140004d10
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140019188]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rcx
call fcn.140004a60
mov rcx, qword [rax + 8]
movabs r13, 0x200000000000
cmp dword [rcx], 5
jbe 0x140004d94
test qword [rcx + 0x10], r13
je 0x140004d94
mov rax, qword [rcx + 0x18]
and rax, r13
cmp rax, qword [rcx + 0x18]
jne 0x140004d94
lea rax, [rbp + 0xf]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
lea rdx, [0x140014bd4]
call fcn.1400010a0
mov dword [rbp - 0x19], 4
lea rax, [rbp - 0x19]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x15]
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]
test eax, eax
jne 0x140004e26
cmp dword [rbp - 0x15], r12d
je 0x140004e26
jmp 0x140004e1b
mov dword [rdi + 0x14], 2
mov dword [rdi + 0x1c], r12d
mov dword [rdi + 0x28], r12d
mov ecx, dword [0x1400191d4]
lea eax, [rcx + 1]
mov dword [0x1400191d4], eax
mov dword [rdi + 0x24], ecx
lea rdx, [rdi + 0x10]
mov rcx, qword [rdi + 0x30]
call qword [sym.imp.api_ms_win_service_core_l1_1_0.dll_SetServiceStatus]
mov ecx, 0x1f4
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_IsDebuggerPresent]
test eax, eax
je 0x140004de1
int3
mov qword [rbp + 0xf], r12
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x17], xmm0
mov qword [rbp - 0x11], rdi
lea rax, [rbp + 0xf]
mov qword [rbp - 9], rax
movups xmm0, xmmword [rbp - 0x11]
movdqu xmmword [rbp - 0x11], xmm0
mov byte [rbp - 1], 1
lea rdx, [rbp + 0xf]
call fcn.1400064bc
mov esi, eax
test eax, eax
jns 0x140004efb
mov rcx, qword [rbp + 0x5f]
mov r9d, eax
lea r8, str.onecoreuap_analog_sdk_simulation_servicesperceptionsimulationexemain.cpp
mov edx, 0xa5
call fcn.140002bd4
nop
mov r15, r12
mov rbx, qword [rbp + 0xf]
mov r14, qword [rbp + 0x17]
sub r14, rbx
add r14, 3
shr r14, 2
cmp rbx, qword [rbp + 0x17]
cmova r14, r12
test r14, r14
je 0x140004eb2
mov ecx, dword [rbx]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRevokeClassObject]
lea rbx, [rbx + 4]
inc r15
cmp r15, r14
jne 0x140004e9a
mov rbx, qword [rbp + 0xf]
test rbx, rbx
je 0x140005049
mov rdx, qword [rbp + 0x1f]
sub rdx, rbx
and rdx, 0xfffffffffffffffc
mov rax, rbx
cmp rdx, 0x1000
jb 0x140004eee
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004eee
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14000f518
jmp 0x140005049
lea rdx, [rbp + 0xf]
call fcn.140006608
mov esi, eax
test eax, eax
jns 0x140004fa6
mov rcx, qword [rbp + 0x5f]
mov r9d, eax
lea r8, str.onecoreuap_analog_sdk_simulation_servicesperceptionsimulationexemain.cpp
mov edx, 0xa6
call fcn.140002bd4
nop
mov r15, r12
mov rbx, qword [rbp + 0xf]
mov r14, qword [rbp + 0x17]
sub r14, rbx
add r14, 3
shr r14, 2
cmp rbx, qword [rbp + 0x17]
cmova r14, r12
test r14, r14
je 0x140004f62
mov ecx, dword [rbx]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoRevokeClassObject]
lea rbx, [rbx + 4]
inc r15
cmp r15, r14
jne 0x140004f4a
mov rbx, qword [rbp + 0xf]
test rbx, rbx
je 0x140005049
mov rdx, qword [rbp + 0x1f]
sub rdx, rbx
and rdx, 0xfffffffffffffffc
mov rax, rbx
cmp rdx, 0x1000
jb 0x140004eee
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004eee
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
nop
lea rbx, [rdi + 0x38]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
lea rdx, [rdi + 0x60]
lea rax, [rbp + 0xf]
cmp rax, rdx
je 0x140004ff0
mov rax, qword [rbp + 0xf]
mov r8, qword [rdx]
mov qword [rbp + 0xf], r8
mov qword [rdx], rax
mov rcx, qword [rbp + 0x17]
mov rax, qword [rdx + 8]
mov qword [rbp + 0x17], rax
mov qword [rdx + 8], rcx
mov rcx, qword [rbp + 0x1f]
mov rax, qword [rdx + 0x10]
mov qword [rbp + 0x1f], rax
mov qword [rdx + 0x10], rcx
jmp 0x140004ff4
mov r8, qword [rbp + 0xf]
test rbx, rbx
je 0x140005006
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov r8, qword [rbp + 0xf]
test r8, r8
je 0x140005046
mov rdx, qword [rbp + 0x1f]
sub rdx, r8
and rdx, 0xfffffffffffffffc
mov rax, r8
cmp rdx, 0x1000
jb 0x14000503e
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000503e
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.14000f518
mov esi, r12d
test esi, esi
jns 0x140005055
mov rcx, rdi
call fcn.14000e188
call fcn.140004a60
mov rcx, qword [rax + 8]
cmp dword [rcx], 5
jbe 0x140005093
test qword [rcx + 0x10], r13
je 0x140005093
mov rax, qword [rcx + 0x18]
and rax, r13
cmp rax, qword [rcx + 0x18]
jne 0x140005093
lea rax, [rbp + 0xf]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 2
lea rdx, [0x140014d54]
call fcn.1400010a0
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14000f050
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret