Function at 0x140047000
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push rsi
push rdi
sub rsp, 0x1d8
mov rsi, rcx
mov rax, qword [rcx]
cmp rax, 2
jne 0x140047267
xor ecx, ecx
xor edx, edx
call sub.ole32.dll_CoInitializeEx
cmp eax, 2
mov qword [rsp + 0x130], 0
mov qword [rsp + 0x140], 0
mov qword [rsp + 0x150], 0
setb byte [rsp + 0x160]
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 sub.ole32.dll_CoInitializeSecurity
test eax, eax
js 0x1400472de
lea rax, [rsp + 0x138]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmmword [rsp + 0x120], xmm2
movups xmmword [rsp + 0x110], xmm1
movups xmmword [rsp + 0x100], xmm0
mov qword [rsp + 0xf8], 0
mov qword [rsp + 0xc0], 0
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea rcx, [0x140132570]
lea r9, [0x140132580]
xor edx, edx
mov r8d, 1
call sub.ole32.dll_CoCreateInstance
test eax, eax
js 0x1400472e8
lea rax, [rsp + 0x100]
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0x100], rcx
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmmword [rsp + 0x1a8], xmm0
movups xmmword [rsp + 0x1b8], xmm1
movups xmmword [rsp + 0x1c8], xmm2
mov qword [rsp + 0x1a0], 1
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x1a0]
call sym.sysinfo::windows::component::Connection::connect_server::h6f1cd3367f44f50e
cmp qword [rsp + 0x48], 2
je 0x1400472f8
movups xmm0, xmmword [rsp + 0x48]
movups xmm1, xmmword [rsp + 0x58]
movups xmm2, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0x90], xmm1
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xb0], rax
movaps xmmword [rsp + 0xa0], xmm2
movaps xmmword [rsp + 0x80], xmm0
lea rdi, [rsp + 0x80]
cmp qword [rsp + 0x90], 0
je 0x1400472f0
mov rcx, qword [rsp + 0x98]
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
mov edx, 0xa
xor r8d, r8d
xor r9d, r9d
call sub.ole32.dll_CoSetProxyBlanket
test eax, eax
js 0x1400472f0
mov rax, qword [rsp + 0x80]
movups xmm0, xmmword [rsp + 0xa8]
movups xmmword [rsi + 0x28], xmm0
movups xmm0, xmmword [rsp + 0x98]
movups xmmword [rsi + 0x18], xmm0
movups xmm0, xmmword [rsp + 0x88]
movups xmmword [rsi + 8], xmm0
movups xmm0, xmmword [rsp + 0x88]
movups xmm1, xmmword [rsp + 0x98]
movups xmm2, xmmword [rsp + 0xa8]
movaps xmmword [rsp + 0xe0], xmm2
movaps xmmword [rsp + 0xd0], xmm1
movaps xmmword [rsp + 0xc0], xmm0
mov qword [rsi], 2
cmp rax, 2
jne 0x140047292
jmp 0x1400472ff
movups xmm0, xmmword [rsi + 8]
movups xmm1, xmmword [rsi + 0x18]
movups xmm2, xmmword [rsi + 0x28]
movaps xmmword [rsp + 0xe0], xmm2
movaps xmmword [rsp + 0xd0], xmm1
movaps xmmword [rsp + 0xc0], xmm0
mov qword [rsi], 2
mov qword [rsp + 0x168], rax
movaps xmm0, xmmword [rsp + 0xc0]
movaps xmm1, xmmword [rsp + 0xd0]
movaps xmm2, xmmword [rsp + 0xe0]
movups xmmword [rsp + 0x170], xmm0
movups xmmword [rsp + 0x180], xmm1
movups xmmword [rsp + 0x190], xmm2
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x168]
call sym.sysinfo::windows::component::Connection::exec_query::ha3302b86c9024328
jmp 0x140047308
lea rdi, [rsp + 0x130]
jmp 0x1400472f0
lea rdi, [rsp + 0xf8]
mov rcx, rdi
call sym.core::ptr::drop_in_place_sysinfo::windows::component::Connection_::he2b2090094665043
mov qword [rsi], 2
mov qword [rsp + 0x48], 2
mov rax, qword [rsp + 0x78]
mov qword [rsi + 0x30], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x50]
movups xmm0, xmmword [rsp + 0x58]
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rsi + 0x20], xmm1
movups xmmword [rsi + 0x10], xmm0
mov qword [rsi], rax
mov qword [rsi + 8], rcx
cmp dword [rsi], 2
je 0x140047366
lea rcx, [rsp + 0x48]
mov rdx, rsi
xor r8d, r8d
call sym.sysinfo::windows::component::Connection::temperature::hbeafe74ec709ce8e
cmp dword [rsp + 0x4c], 2
je 0x140047366
movss xmm0, dword [rsp + 0x48]
movss dword [rsi + 0x58], xmm0
ucomiss xmm0, dword [rsi + 0x5c]
jbe 0x140047366
movss dword [rsi + 0x5c], xmm0
add rsp, 0x1d8
pop rdi
pop rsi
ret