Function at 0x1400de5a0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1401aa010]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rcx
lea rcx, str.CSimpleOrientationSensorManagerEvents::Initialize__n
call fcn.140075db0
mov r8d, 0xd1
lea rdx, str.CSimpleOrientationSensorManagerEvents::Initialize
lea rcx, [0x14011bca8]
call fcn.140075db0
call fcn.140014310
mov rbx, rax
xor r15d, r15d
test rax, rax
je 0x1400de707
movzx r9d, word [rax + 0x342]
mov r8d, 0xd5
lea rdx, str.CSimpleOrientationSensorManagerEvents::Initialize
lea rcx, str._s__d_VendorID_0x_04X
call fcn.140075db0
mov eax, 0x103c
cmp word [rbx + 0x342], ax
jne 0x1400de707
mov ebx, r15d
cmp dword [0x1401b264c], 0x9c47
sete bl
call fcn.140014310
mov ecx, dword [rax + 0x2ac]
mov dword [rsp + 0x20], ecx
mov r9d, ebx
mov r8d, 0xd8
lea rdx, str.CSimpleOrientationSensorManagerEvents::Initialize
lea rcx, str._s__d_IsBnb__d__UWPguiYear20xx__d
call fcn.140075db0
cmp dword [0x1401b264c], 0x9c47
jne 0x1400de707
call fcn.140014310
cmp dword [rax + 0x2ac], 0x18
jb 0x1400de707
mov r8d, 0xe3
lea rdx, str.CSimpleOrientationSensorManagerEvents::Initialize
lea rcx, str._s__d_workaround_for_memory_leadk__only_get_sensor_info_by_registry
call fcn.140075db0
cmp dword [rdi + 8], r15d
jne 0x1400de700
mov rbx, qword [rdi + 0x18]
cmp dword [rbx + 0x18], r15d
je 0x1400de6e0
lea rax, [rbp - 0x18]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rbx
lea r8, [0x1400dbd30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rbx + 0x28], rax
mov r8d, 0xe8
lea rdx, str.CSimpleOrientationSensorManagerEvents::Initialize
lea rcx, str._s__d_start_registry_sensor_thread
call fcn.140075db0
mov dword [rdi + 8], 1
xor eax, eax
jmp 0x1400dea84
lea r14, [rdi + 0x20]
mov qword [rsp + 0x20], r14
lea r9, [0x14017a1f8]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x14010d8f0]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
mov ebx, eax
mov edx, eax
lea rcx, str.CoCreateInstance_CLSID_SensorManager___x__n
call fcn.140075db0
test ebx, ebx
js 0x1400de9ca
lfence
mov rcx, qword [r14]
mov rax, qword [rcx]
mov rdx, rdi
mov rax, qword [rax + 0x30]
call qword [case.0x14005eeb3.0]
mov ebx, eax
mov edx, eax
lea rcx, str.SetEventSink_this___x__n
call fcn.140075db0
test ebx, ebx
js 0x1400de9ca
lfence
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x38], r15
mov rcx, qword [r14]
mov rax, qword [rcx]
lea r8, [rbp - 0x20]
lea rdx, [0x14010d8d0]
mov rax, qword [rax + 0x20]
call qword [case.0x14005eeb3.0]
mov ebx, eax
mov edx, eax
lea rcx, str.GetSensorsByType__x__n
call fcn.140075db0
test ebx, ebx
js 0x1400de894
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400de894
mov dword [rbp - 0x40], r15d
mov rax, qword [rcx]
lea rdx, [rbp - 0x40]
mov rax, qword [rax + 0x20]
call qword [case.0x14005eeb3.0]
mov ebx, eax
mov edx, eax
lea rcx, str.spSensors__GetCount__x__n
call fcn.140075db0
test ebx, ebx
js 0x1400de894
mov esi, r15d
cmp dword [rbp - 0x40], r15d
jbe 0x1400de894
nop word [rax + rax]
mov qword [rbp - 0x30], r15
mov rcx, qword [rbp - 0x20]
mov rax, qword [rcx]
lea r8, [rbp - 0x30]
mov edx, esi
mov rax, qword [rax + 0x18]
call qword [case.0x14005eeb3.0]
mov ebx, eax
mov r8d, esi
mov edx, eax
lea rcx, str.spSensors__GetAt__x__d_n
call fcn.140075db0
test ebx, ebx
js 0x1400de873
mov rdx, qword [rbp - 0x30]
mov rcx, rdi
call fcn.1400decf0
mov ebx, eax
mov edx, eax
lea rcx, str.AddSensor__x__n
call fcn.140075db0
test ebx, ebx
js 0x1400de873
lfence
mov rdx, qword [rbp - 0x30]
mov rcx, qword [rdi + 0x18]
call fcn.1400dd9b0
mov ebx, eax
mov edx, eax
lea rcx, str.m_pSensorEvents__GetSensorData__x__n
call fcn.140075db0
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400de889
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14005eeb3.0]
inc esi
cmp esi, dword [rbp - 0x40]
jb 0x1400de800
call fcn.140014310
test byte [rax + 0x1c4], 0x20
je 0x1400de95d
lea rcx, str.RtkService_SensorNotifyEx__n
call fcn.140075db0
mov rcx, qword [r14]
mov rax, qword [rcx]
lea r8, [rbp - 0x38]
lea rdx, [0x14010d8e0]
mov rax, qword [rax + 0x20]
call qword [case.0x14005eeb3.0]
test eax, eax
js 0x1400de95d
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400de961
mov dword [rbp - 0x3c], r15d
mov rax, qword [rcx]
lea rdx, [rbp - 0x3c]
mov rax, qword [rax + 0x20]
call qword [case.0x14005eeb3.0]
mov esi, r15d
cmp dword [rbp - 0x3c], r15d
jbe 0x1400de95d
mov qword [rbp - 0x28], r15
mov rcx, qword [rbp - 0x38]
mov rax, qword [rcx]
lea r8, [rbp - 0x28]
mov edx, esi
mov rax, qword [rax + 0x18]
call qword [case.0x14005eeb3.0]
test eax, eax
js 0x1400de940
mov rdx, qword [rbp - 0x28]
mov rcx, rdi
call fcn.1400decf0
test eax, eax
js 0x1400de940
lfence
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rdi + 0x18]
call fcn.1400dd9b0
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1400de956
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14005eeb3.0]
inc esi
cmp esi, dword [rbp - 0x3c]
jb 0x1400de900
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x1400de974
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14005eeb3.0]
nop
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400de98a
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14005eeb3.0]
test ebx, ebx
js 0x1400de9ca
lfence
mov rdi, qword [rdi + 0x18]
cmp dword [rdi + 0x18], 0
je 0x1400dea82
lea rax, [rbp - 0x14]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rdi
lea r8, [0x1400dbd30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rdi + 0x28], rax
jmp 0x1400dea82
cmp dword [0x1401bb1cc], 0
jne 0x1400dea06
call fcn.14000ced0
test rax, rax
je 0x1400de9f1
cmp dword [rax + 4], 0xa
jne 0x1400de9f1
cmp dword [rax + 0xc], 0x582c
mov eax, 1
jae 0x1400de9f4
mov eax, r15d
mov dword [0x1401bb1c8], eax
mov dword [0x1401bb1cc], 1
jmp 0x1400dea0c
mov eax, dword [0x1401bb1c8]
test eax, eax
je 0x1400dea82
mov r8d, 0x141
lea rdx, str.CSimpleOrientationSensorManagerEvents::Initialize
lea rcx, str._s__d_Its_Windows_SV2
call fcn.140075db0
cmp dword [rdi + 8], 0
jne 0x1400dea82
lfence
mov rsi, qword [rdi + 0x18]
cmp dword [rsi + 0x18], 0
je 0x1400dea62
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r15d
mov r9, rsi
lea r8, [0x1400dbd30]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_CreateThread]
mov qword [rsi + 0x28], rax
mov r8d, 0x146
lea rdx, str.CSimpleOrientationSensorManagerEvents::Initialize
lea rcx, str._s__d_start_sensor_thread
call fcn.140075db0
mov dword [rdi + 8], 1
mov eax, ebx
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400f4410
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret