Function at 0x14000c8ec
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, [0x140114038]
call fcn.140001154
lea rcx, [section..data]
call fcn.140001154
mov qword [0x140115e10], rdi
mov r8, rdi
lea rdx, [0x14000d630]
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 r13d, r13d
test rax, rax
jne 0x14000c972
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.14000c73c
jmp 0x14000ccb2
lea rsi, [rdi + 0x18]
mov dword [rsi], 0x10
mov dword [rdi + 0x28], r13d
mov dword [rsp + 0x20], 0xbb8
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 2]
mov rcx, rdi
call fcn.14000d548
mov r12d, 1
mov ecx, r12d
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 0x14000c9d6
mov edx, eax
lea rcx, str.CoInitializeEx
call fcn.14000c73c
mov dword [rdi + 0x1c], r12d
mov dword [rdi + 0x28], ebx
mov dword [rdi + 0x20], r12d
jmp 0x14000cb9e
lea r8, [rdi + 8]
xor edx, edx
mov ecx, r12d
call fcn.14000eac0
mov r14d, eax
test eax, eax
jns 0x14000ca07
lea rcx, str.CreateEventHR
mov edx, r14d
call fcn.14000c73c
mov dword [rdi + 0x1c], r12d
mov dword [rdi + 0x20], r12d
jmp 0x14000cb9a
mov dword [rbp + 0x50], r13d
lea r15, [rdi + 0x40]
lea rdx, [rbp + 0x50]
mov rcx, r15
call fcn.14000dd64
mov r14d, eax
test eax, eax
jns 0x14000ca2b
lea rcx, str.MakeAndInitialize_ThreadPool_
jmp 0x14000c9f2
mov qword [rbp + 0x58], rdi
mov rax, qword [r15]
mov qword [rbp + 0x48], rax
lea r12, [rdi + 0x80]
lea r8, [rbp + 0x58]
lea rdx, [rbp + 0x48]
mov rcx, r12
call fcn.14000deb4
test eax, eax
jns 0x14000ca5d
lea rcx, str.MakeAndInitialize_TimerWorkItem_
jmp 0x14000cb87
mov dword [rbp + 0x50], r13d
mov dword [rbp + 0x48], r13d
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, [0x1400e19a8]
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 0x14000cac1
cmp dword [rbp + 0x50], 4
jne 0x14000cac1
cmp dword [rbp + 0x58], 4
mov edx, dword [rbp + 0x48]
je 0x14000cac6
mov edx, 0x2710
mov dword [rdi], edx
mov rcx, qword [r12]
call fcn.140057f74
test eax, eax
jns 0x14000cae1
lea rcx, str.TimerWorkItem::RunAsync
jmp 0x14000cb87
mov rdx, rdi
mov rcx, qword [r15]
call fcn.1400127e4
mov r14d, eax
test eax, eax
jns 0x14000caff
lea rcx, str.ConnectionManager::StaticInit
jmp 0x14000cb87
mov rcx, qword [r15]
call fcn.1400155b8
mov r14d, eax
test eax, eax
jns 0x14000cb17
lea rcx, str.SourceManager::StaticInit
jmp 0x14000cb87
mov dword [rdi + 0x1c], 4
mov qword [rdi + 0x24], r13
mov qword [rdi + 0x2c], r13
mov eax, 1
mov dword [rdi + 0x20], eax
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.1400128e4
nop
mov rcx, qword [rax]
call fcn.140012b50
mov r14d, eax
mov rcx, qword [rbp + 0x58]
test rcx, rcx
je 0x14000cb7b
mov qword [rbp + 0x58], r13
mov rdx, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rdx + 0x10]
call qword [0x1400de008]
nop
test r14d, r14d
jns 0x14000cbc1
lea rcx, str.ConnectionManager::Start
mov edx, r14d
call fcn.14000c73c
mov eax, 1
mov dword [rdi + 0x1c], eax
mov dword [rdi + 0x20], eax
mov dword [rdi + 0x28], r14d
mov qword [rdi + 0x2c], r13
mov dword [rdi + 0x24], 0x42a
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 0x14000cca2
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 [0x140115f80], r13
je 0x14000cc07
call fcn.140012de0
mov rcx, qword [0x140115f80]
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400de008]
mov qword [0x140115f80], r13
call fcn.140015780
mov rcx, qword [r12]
call fcn.14005800c
nop
mov rcx, qword [r15]
test rcx, rcx
je 0x14000cc39
mov qword [r15], r13
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400de008]
nop
mov eax, 1
mov dword [rdi + 0x1c], eax
mov qword [rdi + 0x24], r13
mov qword [rdi + 0x2c], r13
mov dword [rdi + 0x20], eax
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 [0x140114058]
mov dword [0x140114038], r13d
mov qword [0x140114058], r13
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister]
nop dword [rax + rax]
mov rcx, qword [0x140114020]
mov dword [section..data], r13d
mov qword [0x140114020], r13
call qword [sym.imp.api_ms_win_eventing_provider_l1_1_0.dll_EventUnregister]
nop dword [rax + rax]
nop
test ebx, ebx
js 0x14000ccb2
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