Function at 0x1400a8f40
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rsi
mov ebp, edx
mov rdi, rcx
lea rax, vtable.CSensorsMgr.1.0
mov qword [rcx], rax
lea rax, vtable.CSensorsMgr.2.0
mov qword [rcx + 0x70], rax
lea rbx, [rcx + 0x90]
lea rax, vtable.CSensorsMgr.0
mov qword [rbx], rax
mov r8d, reloc.OLEAUT32.dll_SafeArrayUnaccessData
lea rdx, str.CSensorsMgr::CSensorsMgr
lea rcx, [0x1400e4bf0]
call fcn.14005f240
nop
xor esi, esi
test rdi, rdi
cmove rbx, rsi
call fcn.140093000
nop
lea rcx, [rax + 0xa0]
mov rdx, rbx
call fcn.14000b5f0
nop
lea r8d, [rsi + 0x19]
lea rdx, str.CSensorsMgr::CSensorsMgr
lea rcx, [0x1400e4bf0]
call fcn.14005f240
nop
mov dword [rdi + 0x9c], esi
mov ecx, 0x190
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
nop
cmp dword [rdi + 0x98], esi
jne 0x1400a8ee6
lea r8d, [rsi + 0x1e]
lea rdx, str.CSensorsMgr::CSensorsMgr
lea rcx, [0x1400e4bf0]
call fcn.14005f240
nop
lea r8d, [rsi + 0x6a]
lea rdx, str.CSensorsMgr::DeleteSensorAPI
lea rcx, [0x1400e4bf0]
call fcn.14005f240
nop
mov rcx, rdi
call fcn.1400b36a0
nop
mov esi, eax
call fcn.140004ea0
nop
mov rcx, rax
test rax, rax
je 0x1400a8f35
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
nop
add rax, 0x18
mov qword [rsp + 0x30], rax
lea r9, str.Sensor
lea r8, str.SoftwareRealtekAudioRtkAudUService
lea rdx, [0x1400e4b68]
lea rcx, [rsp + 0x30]
call fcn.140006bc0
nop
mov r9d, esi
lea r8, str.SensorAPI_uninit_HRESULT_
mov rbx, qword [rsp + 0x30]
mov rdx, rbx
mov rcx, qword [0x140164318]
call fcn.14007f600
nop
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400a8ea1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
test esi, esi
jne 0x1400a8eaf
mov dword [rdi + 0x98], 1
mov r9d, esi
mov r8d, 0x71
lea rdx, str.CSensorsMgr::DeleteSensorAPI
lea rcx, str._s__d_hr_x
call fcn.14005f240
nop
mov r8d, 0x20
lea rdx, str.CSensorsMgr::CSensorsMgr
lea rcx, [0x1400e4bf0]
call fcn.14005f240
nop
mov r8d, 0x22
lea rdx, str.CSensorsMgr::CSensorsMgr
lea rcx, [0x1400e4bf0]
call fcn.14005f240
nop
mov rcx, rdi
call fcn.1400b3130
nop
test bpl, 1
je 0x1400a8f1d
mov edx, 0xb0
mov rcx, rdi
call fcn.1400c094c
nop
mov rax, rdi
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
mov ecx, 0x80004005
call fcn.140004fd0
nop
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
lea rdx, str.CSensorsMgr::WorkThreadLoop
lea rcx, [0x1400e4bf0]
mov r8d, 0x27
call fcn.14005f240
xor ebx, ebx
nop dword [rax + rax]
mov r8d, 0x2d
lea rdx, str.CSensorsMgr::WorkThreadLoop
lea rcx, [0x1400e4bf0]
call fcn.14005f240
mov ecx, 0x2710
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
mov r8d, 0x31
lea rdx, str.CSensorsMgr::WorkThreadLoop
lea rcx, [0x1400e4bf0]
call fcn.14005f240
lea rcx, [rdi - 0x70]
call fcn.1400a9000
test eax, eax
jne 0x1400a8fc3
inc ebx
cmp ebx, 5
jl 0x1400a8f70
jmp 0x1400a8fdc
mov r8d, 0x34
lea rdx, str.CSensorsMgr::WorkThreadLoop
lea rcx, [0x1400e4bf0]
call fcn.14005f240
mov r8d, 0x38
lea rdx, str.CSensorsMgr::WorkThreadLoop
lea rcx, [0x1400e4bf0]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.14005f240