Function at 0x140010d30
Capabilities:
Connect to wmi namespace via wbemlocator
Query or enumerate registry value
Reference wmi statements

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rax, qword [0x1404a7eb8]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor ecx, ecx
xor edx, edx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x140011076
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 0
xor ecx, ecx
mov edx, 0xffffffff
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x140011076
mov qword [rsp + 0x68], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea rcx, [0x140468100]
lea r9, [0x1402da938]
xor esi, esi
xor edx, edx
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14001117f
mov qword [rsp + 0x60], 0
mov rdi, qword [rsp + 0x68]
mov ecx, 0x18
call fcn.14029f9b8
mov rsi, rax
mov qword [rax + 8], 0
mov dword [rax + 0x10], 1
lea rcx, [0x1404960ac]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsi], rax
test rax, rax
je 0x1400113c0
lea rbx, [rsi + 0x10]
mov r10, qword [rdi]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x40], rcx
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rax
xor r8d, r8d
xor r9d, r9d
call qword [r10 + 0x18]
mov edi, eax
lock dec dword [rbx]
jne 0x140010e96
mov rcx, qword [rsi]
test rcx, rcx
je 0x140010e7b
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], 0
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140010e89
call fcn.14029f9fc
mov edx, 0x18
mov rcx, rsi
call fcn.14029f9fc
test edi, edi
js 0x14001112a
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor esi, esi
mov edx, 0xa
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x140011166
mov qword [rsp + 0x58], 0
mov rdi, qword [rsp + 0x60]
mov ecx, 0x18
call fcn.14029f9b8
mov rsi, rax
mov qword [rax + 8], 0
lea r15, [rax + 0x10]
mov dword [rax + 0x10], 1
lea rcx, str.SELECT__FROM_Win32_OperatingSystem
call fcn.1402a15e0
mov r14, rax
mov qword [rsi], rax
mov ecx, 0x18
call fcn.14029f9b8
mov rbx, rax
mov qword [rax + 8], 0
mov dword [rax + 0x10], 1
lea rcx, [0x14048b701]
call fcn.1402a15e0
mov qword [rbx], rax
mov r10, qword [rdi]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0
mov rcx, rdi
mov rdx, rax
mov r8, r14
mov r9d, 0x30
call qword [r10 + 0xa0]
mov edi, eax
lock dec dword [rbx + 0x10]
jne 0x1400110e6
mov rcx, qword [rbx]
test rcx, rcx
je 0x140010f90
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140010f9e
call fcn.14029f9fc
mov edx, 0x18
mov rcx, rbx
call fcn.14029f9fc
lock dec dword [r15]
je 0x1400110f0
mov rcx, qword [rsp + 0x58]
test edi, edi
js 0x140011126
mov qword [rsp + 0x50], 0
mov dword [rsp + 0x4c], 0
test rcx, rcx
je 0x14001112e
mov rax, qword [rcx]
lea rdx, [rsp + 0x4c]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x50]
mov edx, 0xffffffff
mov r8d, 1
call qword [rax + 0x20]
test eax, eax
js 0x140011132
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
lea rdx, str.Caption
xor esi, esi
lea r9, [rsp + 0x70]
xor r8d, r8d
call qword [rax + 0x20]
test eax, eax
js 0x140011134
mov rsi, qword [rsp + 0x78]
lea rdx, str.Microsoft
mov r8d, 0xa
mov rcx, rsi
call fcn.1402c57b4
lea rcx, [rsi + 0x14]
test eax, eax
cmovne rcx, rsi
mov rdx, 0xffffffffffffffff
xor r8d, r8d
call fcn.140278b50
mov rsi, rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x140011134
call qword [sym.imp.ole32.dll_CoUninitialize]
mov dword [rsp + 0x68], 0x200
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
lea r8, str.ProductName
mov rcx, 0xffffffff80000002
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1400112ec
lea rcx, [rsp + 0x70]
mov rdx, 0xffffffffffffffff
xor r8d, r8d
call fcn.140278b50
mov rsi, rax
jmp 0x1400111a7
lock dec dword [r15]
jne 0x140010fb5
mov rcx, qword [rsi]
test rcx, rcx
je 0x1400110fe
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14001110c
call fcn.14029f9fc
mov edx, 0x18
mov rcx, rsi
call fcn.14029f9fc
mov rcx, qword [rsp + 0x58]
test edi, edi
jns 0x140010fc2
xor esi, esi
jmp 0x140011152
xor esi, esi
jmp 0x140011166
xor esi, esi
jmp 0x14001114d
xor esi, esi
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14001114d
mov qword [rsp + 0x50], 0
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x140011166
mov qword [rsp + 0x58], 0
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14001117f
mov qword [rsp + 0x60], 0
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140011198
mov qword [rsp + 0x68], 0
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
test rsi, rsi
je 0x14001107c
mov dword [rsp + 0x70], 4
lea rbx, [rsp + 0x70]
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
lea r8, str.CurrentMajorVersionNumber
mov rcx, 0xffffffff80000002
mov r9d, reloc.WS2_32.dll_recv
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140011257
mov dword [rsp + 0x68], 0x200
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
lea r8, [0x140495cca]
mov rcx, 0xffffffff80000002
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1400112a0
lea rcx, [rsp + 0x70]
mov rdx, 0xffffffffffffffff
xor r8d, r8d
call fcn.140278b50
mov rdi, rax
test rdi, rdi
jne 0x1400112a7
jmp 0x1400112ec
mov dword [rsp + 0x70], 4
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
lea r8, str.CurrentMinorVersionNumber
mov rcx, 0xffffffff80000002
mov r9d, reloc.WS2_32.dll_recv
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x14001139a
xor edi, edi
test rdi, rdi
je 0x1400112ec
mov dword [rsp + 0x68], 0x200
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], 0
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
lea r8, str.CurrentBuild
mov rcx, 0xffffffff80000002
mov r9d, 2
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x140011317
xor eax, eax
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
jne 0x140011394
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rsp + 0x70]
mov rdx, 0xffffffffffffffff
xor r8d, r8d
call fcn.140278b50
mov rbx, rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r14, str.__s___s__Build__s_
xor ecx, ecx
xor edx, edx
mov r8, r14
mov r9, rsi
call fcn.1400067e0
inc eax
movsxd r15, eax
mov rcx, r15
call sym.dartaotruntime_product.exe_Dart_ScopeAllocate
mov r12, rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rdi
mov rcx, rax
mov rdx, r15
mov r8, r14
mov r9, rsi
call fcn.1400067e0
mov rax, r12
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
cmp rcx, qword [0x1404a7eb8]
je 0x140011306
call fcn.14029fd30
int3
mov r8d, dword [rsp + 0x68]
mov edx, dword [rsp + 0x60]
lea rcx, [0x140485e26]
call fcn.14026c950
mov rdi, rax
test rdi, rdi
jne 0x1400112a7
jmp 0x1400112ec
mov ecx, 0x8007000e
call fcn.1402a1780
int3