Function at 0x14000e318
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, 0x48
mov rdi, rcx
lea rcx, [0x140108038]
call fcn.140001154
lea rcx, [section..data]
call fcn.140001154
mov qword [0x140109e10], rdi
mov r8, rdi
lea rdx, [0x14000f090]
lea rcx, str.SensorDataService
call qword [sym.imp.api_ms_win_service_core_l1_1_0.dll_RegisterServiceCtrlHandlerExW]
nop dword [rax + rax]
mov qword [rdi + 0x38], rax
xor r12d, r12d
test rax, rax
jne 0x14000e39e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov edx, eax
lea rcx, str.RegisterServiceCtrlHandlerEx
call fcn.14000eb58
jmp 0x14000e6ba
lea rsi, [rdi + 0x18]
mov dword [rsi], 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.14000f26c
mov r13d, 1
mov ecx, r13d
call qword [sym.imp.api_ms_win_core_winrt_l1_1_0.dll_RoInitialize]
nop dword [rax + rax]
mov ebx, eax
mov dword [rbp + 0x60], eax
test eax, eax
jns 0x14000e421
mov edx, eax
lea rcx, str.CoInitializeEx
call fcn.14000eb58
mov dword [rdi + 0x1c], r13d
mov dword [rdi + 0x24], 0x42a
mov dword [rdi + 0x28], ebx
mov qword [rdi + 0x2c], r12
mov dword [rdi + 0x20], r13d
mov rdx, rsi
mov rcx, qword [rdi + 0x38]
call qword [sym.imp.api_ms_win_service_core_l1_1_0.dll_SetServiceStatus]
nop dword [rax + rax]
nop
jmp 0x14000e6ba
lea r8, [rdi + 8]
xor edx, edx
mov ecx, r13d
call fcn.14000d8a4
mov ebx, eax
test eax, eax
jns 0x14000e471
lea rcx, str.CreateEventHR
mov edx, ebx
call fcn.14000eb58
mov dword [rdi + 0x1c], r13d
mov dword [rdi + 0x24], 0x42a
mov dword [rdi + 0x28], ebx
mov qword [rdi + 0x2c], r12
mov dword [rdi + 0x20], r13d
mov rdx, rsi
mov rcx, qword [rdi + 0x38]
call qword [sym.imp.api_ms_win_service_core_l1_1_0.dll_SetServiceStatus]
nop dword [rax + rax]
jmp 0x14000e6ae
mov dword [rbp + 0x50], r12d
lea r14, [rdi + 0x40]
lea rdx, [rbp + 0x50]
mov rcx, r14
call fcn.14000cd58
mov ebx, eax
test eax, eax
jns 0x14000e494
lea rcx, str.MakeAndInitialize_ThreadPool_
jmp 0x14000e43c
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.14000ce74
test eax, eax
jns 0x14000e4c6
lea rcx, str.MakeAndInitialize_TimerWorkItem_
jmp 0x14000e43c
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, [0x1400d42b8]
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 0x14000e52a
cmp dword [rbp + 0x50], 4
jne 0x14000e52a
cmp dword [rbp + 0x58], 4
mov edx, dword [rbp + 0x48]
je 0x14000e52f
mov edx, 0x2710
mov dword [rdi], edx
mov rcx, qword [r15]
call fcn.140054564
test eax, eax
jns 0x14000e549
lea rcx, str.TimerWorkItem::RunAsync
jmp 0x14000e43c
mov rdx, rdi
mov rcx, qword [r14]
call fcn.140014b68
mov ebx, eax
test eax, eax
jns 0x14000e566
lea rcx, str.ConnectionManager::StaticInit
jmp 0x14000e43c
mov rcx, qword [r14]
call fcn.140020cd0
mov ebx, eax
test eax, eax
jns 0x14000e580
lea rcx, str.SourceManager::StaticInit
jmp 0x14000e43c
mov dword [rdi + 0x1c], 4
mov qword [rdi + 0x24], r12
mov qword [rdi + 0x2c], r12
mov dword [rdi + 0x20], r13d
mov rdx, rsi
mov rcx, qword [rdi + 0x38]
call qword [sym.imp.api_ms_win_service_core_l1_1_0.dll_SetServiceStatus]
nop dword [rax + rax]
lea rcx, [rbp + 0x58]
call fcn.140013e60
nop
mov rcx, qword [rax]
call fcn.140014b28
mov ebx, eax
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x14000e5d5
mov qword [rbp + 0x58], r12
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [0x1400d1188]
nop
test ebx, ebx
jns 0x14000e5e5
lea rcx, str.ConnectionManager::Start
jmp 0x14000e43c
or edx, 0xffffffff
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
cmp qword [0x140109f88], r12
je 0x14000e621
call fcn.1400148d8
mov rcx, qword [0x140109f88]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400d1188]
mov qword [0x140109f88], r12
call fcn.140020e64
mov rcx, qword [r15]
call fcn.140054470
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x14000e648
mov qword [r14], r12
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400d1188]
nop
mov dword [rdi + 0x1c], r13d
mov qword [rdi + 0x24], r12
mov qword [rdi + 0x2c], r12
mov dword [rdi + 0x20], r13d
mov rdx, rsi
mov rcx, qword [rdi + 0x38]
call qword [sym.imp.api_ms_win_service_core_l1_1_0.dll_SetServiceStatus]
nop dword [rax + rax]
mov rcx, qword [0x140108058]
mov dword [0x140108038], r12d
mov qword [0x140108058], r12
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister]
nop dword [rax + rax]
mov rcx, qword [0x140108020]
mov dword [section..data], r12d
mov qword [0x140108020], r12
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister]
nop dword [rax + rax]
nop
call qword [sym.imp.api_ms_win_core_winrt_l1_1_0.dll_RoUninitialize]
nop dword [rax + rax]
add rsp, 0x48
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret