Function at 0x140002410
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x14000f010]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov esi, 0xffffffff
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x1400025dd
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov edx, esi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x1400025d7
mov qword [rbp - 1], r15
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
lea r9, [0x1400086d8]
mov r12d, 1
mov r8d, r12d
xor edx, edx
lea rcx, [0x1400086e8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400025d7
mov qword [rbp - 9], r15
lea ecx, [rsi + 0x19]
call fcn.1400069d0
mov rbx, rax
mov qword [rbp - 0x29], rax
test rax, rax
je 0x14000250c
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], r12d
lea rcx, str.ROOTWMI
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140002804
jmp 0x14000250f
mov rbx, r15
mov qword [rbp - 0x21], rbx
test rbx, rbx
je 0x14000280f
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
lea rdx, [rbp - 9]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + 0x18]
mov edi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x14000258d
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000256e
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140002580
call fcn.140006700
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.140006700
test edi, edi
js 0x1400025cd
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x14000260c
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400066e0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov qword [rbp + 7], r15
mov ecx, 0x18
call fcn.1400069d0
mov rbx, rax
mov qword [rbp - 0x29], rax
test rax, rax
je 0x14000264b
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], r12d
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call fcn.1400074a0
mov qword [rbx], rax
jmp 0x14000264e
mov rbx, r15
mov qword [rbp - 0x19], rbx
test rbx, rbx
je 0x14000280f
mov ecx, 0x18
call fcn.1400069d0
mov rdi, rax
mov qword [rbp - 0x29], rax
test rax, rax
je 0x140002696
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], r15
mov dword [rdi + 0x10], r12d
lea rcx, [0x14000bad4]
call fcn.1400074a0
mov qword [rdi], rax
jmp 0x140002699
mov rdi, r15
mov qword [rbp - 0x11], rdi
test rdi, rdi
je 0x1400027f9
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
lea rdx, [rbp + 7]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r15
mov r9d, 0x30
mov r8, qword [rbx]
mov rdx, qword [rdi]
call qword [rax + 0xa0]
mov r14d, eax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x140002710
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400026f0
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r15
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140002702
call fcn.140006700
mov qword [rdi + 8], r15
mov edx, 0x18
mov rcx, rdi
call fcn.140006700
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14000274f
mov rcx, qword [rbx]
test rcx, rcx
je 0x140002730
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140002742
call fcn.140006700
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.140006700
test r14d, r14d
js 0x1400025c3
mov qword [rbp + 0xf], r15
mov dword [rbp + 0x17], r15d
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x1400027dc
nop dword [rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0x17]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0xf]
mov r8d, r12d
mov edx, 0xffffffff
call qword [rax + 0x20]
cmp dword [rbp + 0x17], 0
je 0x1400027d5
mov rcx, qword [rbp + 0xf]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x1f]
xor r8d, r8d
lea rdx, [0x14000bad8]
call qword [rax + 0x20]
mov esi, r15d
lea rcx, [rbp + 0x1f]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 0xf]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 7]
test rcx, rcx
jne 0x140002770
jmp 0x1400027dc
cmp esi, 0xffffffff
cmove esi, r12d
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 7]
jmp 0x1400025d1
mov ecx, 0x8007000e
call fcn.140007490
nop
mov ecx, 0x8007000e
call fcn.140007490
nop
mov ecx, 0x8007000e
call fcn.140007490
int3