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

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0xd8
mov qword [rsp + 0xa8], 0xfffffffffffffffe
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x14000d3ed
xor eax, eax
jmp 0x14000d70e
xor ebp, ebp
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x118], rbp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x1400704d8]
xor edx, edx
lea r8d, [rbp + 1]
lea rcx, [0x1400705a8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x14000d430
xor eax, eax
jmp 0x14000d70e
lea rcx, str.ROOTWMI
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x108], rax
test rax, rax
jne 0x14000d458
mov ecx, 0x8007000e
call fcn.140001dd0
nop
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
call qword [rax + 0x18]
test eax, eax
setne dil
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test dil, dil
je 0x14000d4a4
xor eax, eax
jmp 0x14000d70e
lea rcx, str.SELECT__FROM_MSAcpi_ThermalZoneTemperature
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x98], rax
test rax, rax
jne 0x14000d4cc
mov ecx, 0x8007000e
call fcn.140001dd0
nop
lea rcx, [0x140074358]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rsp + 0xa0], rax
test rax, rax
jne 0x14000d4f4
mov ecx, 0x8007000e
call fcn.140001dd0
nop
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea rdx, [rsp + 0x118]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbp
mov r9d, reloc.WS2_32.dll_recv
mov r8, rbx
mov rdx, rdi
call qword [rax + 0xa0]
mov esi, eax
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
test esi, esi
je 0x14000d540
xor eax, eax
jmp 0x14000d70e
mov rcx, qword [rsp + 0x118]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
je 0x14000d559
xor eax, eax
jmp 0x14000d70e
mov rcx, qword [rsp + 0x118]
mov rax, qword [rcx]
lea rdx, [rsp + 0x100]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x60]
mov r8d, 1
or edi, 0xffffffff
mov edx, edi
call qword [rax + 0x20]
test eax, eax
je 0x14000d58f
xor eax, eax
jmp 0x14000d70e
lea rcx, str.CurrentTemperature
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov rcx, qword [rsp + 0x60]
mov r10, qword [rcx]
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0xb0]
xor r8d, r8d
mov rdx, rax
call qword [r10 + 0x20]
test eax, eax
je 0x14000d5ce
xor eax, eax
jmp 0x14000d70e
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jns 0x14000d601
mov ecx, eax
call fcn.140044070
nop
mov qword [rsp + 0x110], rbp
cmp word [rsp + 0x68], 8
jne 0x14000d625
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x110]
call fcn.14000c260
jmp 0x14000d681
lea rcx, [rsp + 0x80]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov r9d, 8
xor r8d, r8d
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x80]
call qword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
jns 0x14000d65c
mov ecx, eax
call fcn.140044070
int3
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x110]
call fcn.14000c260
nop
lea rcx, [rsp + 0x80]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
lea rcx, [rsp + 0x68]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rbx, qword [rsp + 0x110]
test rbx, rbx
je 0x14000d6b0
cmp qword [rbx + 8], 0
jne 0x14000d6ac
mov rcx, qword [rbx]
call fcn.1400445b0
mov qword [rbx + 8], rax
mov rbp, qword [rbx + 8]
mov rcx, rbp
call fcn.140045770
lea ecx, [rax - 0xaac]
mov eax, 0x66666667
imul ecx
mov esi, edx
sar esi, 2
mov eax, esi
shr eax, 0x1f
add esi, eax
test rbx, rbx
je 0x14000d70c
lock xadd dword [rbx + 0x10], edi
add edi, 0xffffffff
jne 0x14000d70c
mov rbx, qword [rsp + 0x110]
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000d6f6
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000d704
call fcn.1400464ec
mov rcx, rbx
call fcn.140044814
mov eax, esi
add rsp, 0xd8
pop rdi
pop rsi
pop rbp
pop rbx
ret