Function at 0x14000ad0c
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, 0x68
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov r14, rcx
lea rcx, [0x1400f2030]
call fcn.1400010dc
mov qword [0x1400f3e00], r14
mov r8, r14
lea rdx, [0x14000b760]
lea rcx, str.SensorDataService
call qword [sym.imp.api_ms_win_service_core_l1_1_1.dll_RegisterServiceCtrlHandlerExW]
mov qword [r14 + 0x38], rax
xor r13d, r13d
test rax, rax
jne 0x14000ada5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
call fcn.14000a814
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14000b0ed
cmp dword [rcx], r13d
jbe 0x14000b0ed
call fcn.14000a814
mov r8d, ebx
lea rdx, str.RegisterServiceCtrlHandler
call fcn.14000a0a8
jmp 0x14000b0ed
mov dword [r14 + 0x18], 0x10
mov dword [r14 + 0x28], r13d
mov dword [rsp + 0x20], 0xbb8
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 2]
mov rcx, r14
call fcn.14000b684
mov esi, 1
mov ecx, esi
call qword [sym.imp.api_ms_win_core_winrt_l1_1_0.dll_RoInitialize]
mov ebx, eax
mov dword [rbp + 0x48], eax
test eax, eax
jns 0x14000ae18
call fcn.14000a814
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14000ae08
cmp dword [rcx], r13d
jbe 0x14000ae08
call fcn.14000a814
mov r8d, ebx
lea rdx, str.CoInitializeEx
call fcn.14000a0a8
mov r9d, ebx
mov r8d, 0x42a
mov edx, esi
jmp 0x14000b0d5
lea r8, [r14 + 8]
xor edx, edx
mov ecx, esi
call fcn.14000ca20
mov edi, eax
test eax, eax
jns 0x14000ae57
call fcn.14000a814
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14000ae52
cmp dword [rcx], r13d
jbe 0x14000ae52
call fcn.14000a814
lea rdx, str.CreateEventHR
mov r8d, edi
call fcn.14000a0a8
mov r9d, edi
jmp 0x14000ae0b
mov dword [rbp + 0x50], r13d
lea r15, [r14 + 0x40]
lea rdx, [rbp + 0x50]
mov rcx, r15
call fcn.14000bdf0
mov edi, eax
test eax, eax
jns 0x14000ae92
call fcn.14000a814
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14000ae52
cmp dword [rcx], r13d
jbe 0x14000ae52
call fcn.14000a814
lea rdx, str.MakeAndInitialize_ThreadPool_
jmp 0x14000ae4a
mov qword [rbp + 0x58], r14
mov rax, qword [r15]
mov qword [rbp - 0x18], rax
lea r12, [r14 + 0x80]
lea r8, [rbp + 0x58]
lea rdx, [rbp - 0x18]
mov rcx, r12
call fcn.14000bf40
test eax, eax
jns 0x14000aedc
call fcn.14000a814
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14000ae52
cmp dword [rcx], r13d
jbe 0x14000ae52
call fcn.14000a814
lea rdx, str.MakeAndInitialize_TimerWorkItem_
jmp 0x14000ae4a
mov qword [rbp + 0x60], r13
mov qword [rsp + 0x40], r13
lea rax, [rbp + 0x60]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftAnalog
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
js 0x14000af95
mov rsi, qword [rbp + 0x60]
mov dword [rbp + 0x50], r13d
mov dword [rbp + 0x58], 4
lea rax, [rbp + 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x50]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov r9d, 0x18
lea r8, str.IdleShutdownInMS
xor edx, edx
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
movzx edx, ax
or edx, 0x80070000
test eax, eax
cmovle edx, eax
test edx, edx
js 0x14000af82
mov eax, dword [rbp + 0x50]
mov dword [r14], eax
test rsi, rsi
je 0x14000af90
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov esi, 1
mov edx, dword [r14]
mov rcx, qword [r12]
call fcn.1400383e4
test eax, eax
jns 0x14000afd1
call fcn.14000a814
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14000ae52
cmp dword [rcx], r13d
jbe 0x14000ae52
call fcn.14000a814
lea rdx, str.TimerWorkItem::RunAsync
jmp 0x14000ae4a
mov rdx, r14
mov rcx, qword [r15]
call fcn.14000d038
mov edi, eax
test eax, eax
jns 0x14000b00e
call fcn.14000a814
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14000ae52
cmp dword [rcx], r13d
jbe 0x14000ae52
call fcn.14000a814
lea rdx, str.ConnectionManager::StaticInit
jmp 0x14000ae4a
mov rcx, qword [r15]
call fcn.14000efcc
mov edi, eax
test eax, eax
jns 0x14000b048
call fcn.14000a814
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x14000ae52
cmp dword [rcx], r13d
jbe 0x14000ae52
call fcn.14000a814
lea rdx, str.SourceManager::StaticInit
jmp 0x14000ae4a
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 4]
mov rcx, r14
call fcn.14000b684
or edx, 0xffffffff
mov rcx, qword [r14 + 0x10]
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_WaitForSingleObject]
cmp qword [0x1400f3e10], r13
je 0x14000b09d
call fcn.14000d348
mov rsi, qword [0x1400f3e10]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.140009340]
mov rcx, rsi
call rdi
mov qword [0x1400f3e10], r13
call fcn.14000f134
mov rcx, qword [r12]
call fcn.140038460
mov rsi, qword [r15]
test rsi, rsi
je 0x14000b0cb
mov qword [r15], r13
mov rax, qword [rsi]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.140009340]
mov rcx, rsi
call rdi
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov dword [rsp + 0x20], r13d
mov rcx, r14
call fcn.14000b684
nop
test ebx, ebx
js 0x14000b0ed
call qword [sym.imp.api_ms_win_core_winrt_l1_1_0.dll_RoUninitialize]
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret