Function at 0x14000a5e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x58
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov rdi, rcx
lea rcx, [0x140130040]
call fcn.140001078
lea rcx, [section..data]
call fcn.140001078
mov qword [0x140131dc0], rdi
mov r8, rdi
lea rdx, [0x14000b1b0]
lea rcx, str.SensorDataService
call qword [sym.imp.api_ms_win_service_core_l1_1_0.dll_RegisterServiceCtrlHandlerExW]
mov qword [rdi + 0x38], rax
xor r12d, r12d
test rax, rax
jne 0x14000a662
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, eax
lea rcx, str.RegisterServiceCtrlHandlerEx
call fcn.14000a3c4
jmp 0x14000a901
mov dword [rdi + 0x18], 0x10
mov dword [rdi + 0x28], r12d
mov dword [rsp + 0x20], 0xbb8
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 2]
mov rcx, rdi
call fcn.14000b0dc
mov r13d, 1
mov ecx, r13d
call qword [sym.imp.api_ms_win_core_winrt_l1_1_0.dll_RoInitialize]
mov ebx, eax
mov dword [rbp + 0x60], eax
test eax, eax
jns 0x14000a6b5
mov edx, eax
lea rcx, str.CoInitializeEx
call fcn.14000a3c4
mov r9d, ebx
jmp 0x14000a835
lea r8, [rdi + 8]
xor edx, edx
mov ecx, r13d
call fcn.14000bf20
mov esi, eax
test eax, eax
jns 0x14000a6d5
lea rcx, str.CreateEventHR
jmp 0x14000a82b
mov dword [rbp + 0x50], r12d
lea r14, [rdi + 0x40]
lea rdx, [rbp + 0x50]
mov rcx, r14
call fcn.14000b6b8
mov esi, eax
test eax, eax
jns 0x14000a6fb
lea rcx, str.MakeAndInitialize_ThreadPool_
jmp 0x14000a82b
mov qword [rbp + 0x58], rdi
mov rax, qword [r14]
mov qword [rbp + 0x48], rax
lea r15, [rdi + 0x80]
lea r8, [rbp + 0x58]
lea rdx, [rbp + 0x48]
mov rcx, r15
call fcn.14000b7cc
test eax, eax
jns 0x14000a72d
lea rcx, str.MakeAndInitialize_TimerWorkItem_
jmp 0x14000a82b
mov dword [rbp + 0x50], r12d
mov dword [rbp + 0x48], r12d
mov dword [rbp + 0x58], 4
lea rax, [rbp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x10
lea r8, str.IdleShutdownInMS
lea rdx, [0x1400dcf78]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
jne 0x14000a78b
cmp dword [rbp + 0x50], 4
jne 0x14000a78b
cmp dword [rbp + 0x58], 4
mov edx, dword [rbp + 0x48]
je 0x14000a790
mov edx, 0x2710
mov dword [rdi], edx
mov rcx, qword [r15]
call fcn.140056080
test eax, eax
jns 0x14000a7aa
lea rcx, str.TimerWorkItem::RunAsync
jmp 0x14000a82b
mov rdx, rdi
mov rcx, qword [r14]
call fcn.14000ebb4
mov esi, eax
test eax, eax
jns 0x14000a7c4
lea rcx, str.ConnectionManager::StaticInit
jmp 0x14000a82b
mov rcx, qword [r14]
call fcn.1400115ec
mov esi, eax
test eax, eax
jns 0x14000a7db
lea rcx, str.SourceManager::StaticInit
jmp 0x14000a82b
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, rdi
call fcn.14000b0dc
lea rcx, [rbp + 0x58]
call fcn.14000ec90
nop
mov rcx, qword [rax]
call fcn.14000f338
mov esi, eax
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x14000a820
mov qword [rbp + 0x58], r12
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [case.0x1400581da.0]
test esi, esi
jns 0x14000a850
lea rcx, str.ConnectionManager::Start
mov edx, esi
call fcn.14000a3c4
mov r9d, esi
mov dword [rsp + 0x20], r12d
mov r8d, 0x42a
mov edx, r13d
mov rcx, rdi
call fcn.14000b0dc
jmp 0x14000a8f7
or edx, 0xffffffff
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
cmp qword [0x140131f00], r12
je 0x14000a886
call fcn.14000f5f4
mov rcx, qword [0x140131f00]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400581da.0]
mov qword [0x140131f00], r12
call fcn.14001195c
mov rcx, qword [r15]
call fcn.14005610c
mov rcx, qword [r14]
test rcx, rcx
je 0x14000a8ab
mov qword [r14], r12
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1400581da.0]
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
mov rcx, rdi
call fcn.14000b0dc
mov rcx, qword [0x140130060]
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister]
mov qword [0x140130060], r12
mov dword [0x140130040], r12d
mov rcx, qword [0x140130020]
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister]
mov qword [0x140130020], r12
mov dword [section..data], r12d
test ebx, ebx
js 0x14000a901
call qword [sym.imp.api_ms_win_core_winrt_l1_1_0.dll_RoUninitialize]
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret