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

Disassembly:
push rsi
push rdi
sub rsp, 0x1f8
mov rsi, rcx
mov rdi, qword [rcx]
cmp rdi, 2
jne 0x140025ea6
xor ecx, ecx
xor edx, edx
call sub.ole32.dll_CoInitializeEx
cmp eax, 2
mov qword [rsp + 0x120], 0
mov qword [rsp + 0x130], 0
mov qword [rsp + 0x140], 0
setb byte [rsp + 0x150]
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 0x140025ed6
lea rax, [rsp + 0x128]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmmword [rsp + 0x110], xmm2
movups xmmword [rsp + 0x100], xmm1
movups xmmword [rsp + 0xf0], xmm0
mov qword [rsp + 0xe8], 0
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea rcx, [0x1400e03e8]
lea r9, [0x1400e03f8]
xor edx, edx
mov r8d, 1
call sub.ole32.dll_CoCreateInstance
test eax, eax
js 0x140025ee0
lea rax, [rsp + 0xf0]
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0xf0], rcx
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmmword [rsp + 0x1c8], xmm0
movups xmmword [rsp + 0x1d8], xmm1
movups xmmword [rsp + 0x1e8], xmm2
mov qword [rsp + 0x1c0], 1
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x1c0]
call sym.sysinfo::windows::component::Connection::connect_server::hfedefcdd0e6d4f47
mov edi, 2
cmp dword [rsp + 0x48], 2
je 0x140025ef2
movups xmm0, xmmword [rsp + 0x48]
movups xmm1, xmmword [rsp + 0x58]
movups xmm2, xmmword [rsp + 0x68]
movaps xmmword [rsp + 0xc0], xmm1
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xe0], rax
movaps xmmword [rsp + 0xd0], xmm2
movaps xmmword [rsp + 0xb0], xmm0
cmp qword [rsp + 0xc0], 0
je 0x14002607a
mov rcx, qword [rsp + 0xc8]
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 0x14002607a
mov rdi, qword [rsp + 0xb0]
movups xmm0, xmmword [rsp + 0xb8]
movaps xmmword [rsp + 0x80], xmm0
movups xmm0, xmmword [rsp + 0xc8]
movaps xmmword [rsp + 0x90], xmm0
movups xmm0, xmmword [rsp + 0xd8]
movaps xmmword [rsp + 0xa0], xmm0
jmp 0x140025ef2
movups xmm0, xmmword [rsi + 8]
movups xmm1, xmmword [rsi + 0x18]
movups xmm2, xmmword [rsi + 0x28]
movaps xmmword [rsp + 0xa0], xmm2
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsi], 2
jmp 0x140025fd1
lea rcx, [rsp + 0x120]
jmp 0x140025ee8
lea rcx, [rsp + 0xe8]
call sym.core::ptr::drop_in_place_sysinfo::windows::component::Connection_::h016d54d489f6d29b
mov edi, 2
movaps xmm0, xmmword [rsp + 0x80]
movaps xmm1, xmmword [rsp + 0x90]
movaps xmm2, xmmword [rsp + 0xa0]
movups xmmword [rsi + 0x28], xmm2
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 8], xmm0
movups xmm0, xmmword [rsi + 8]
movups xmm1, xmmword [rsi + 0x18]
movups xmm2, xmmword [rsi + 0x28]
movaps xmmword [rsp + 0xa0], xmm2
movaps xmmword [rsp + 0x90], xmm1
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsi], 2
movups xmm0, xmmword [rsp + 0x158]
movups xmm1, xmmword [rsp + 0x168]
movups xmm2, xmmword [rsp + 0x178]
movups xmmword [rsi + 8], xmm0
movups xmmword [rsi + 0x18], xmm1
movups xmmword [rsi + 0x28], xmm2
cmp rdi, 2
jne 0x140025fd1
mov qword [rsp + 0x48], 2
movups xmm0, xmmword [rsp + 0x158]
movups xmm1, xmmword [rsp + 0x168]
movups xmm2, xmmword [rsp + 0x178]
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x70], xmm2
movups xmmword [rsp + 0x60], xmm1
mov rax, qword [rsp + 0x48]
mov qword [rsi], rax
mov rax, qword [rsp + 0x50]
mov qword [rsi + 8], rax
mov rax, qword [rsp + 0x78]
mov qword [rsi + 0x30], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rsi + 0x10], xmm0
movups xmm0, xmmword [rsp + 0x68]
movups xmmword [rsi + 0x20], xmm0
cmp dword [rsi], 2
jne 0x140026043
jmp 0x140026070
mov qword [rsp + 0x188], rdi
movaps xmm0, xmmword [rsp + 0x80]
movaps xmm1, xmmword [rsp + 0x90]
movaps xmm2, xmmword [rsp + 0xa0]
movups xmmword [rsp + 0x190], xmm0
movups xmmword [rsp + 0x1a0], xmm1
movups xmmword [rsp + 0x1b0], xmm2
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0x188]
call sym.sysinfo::windows::component::Connection::exec_query::hd45874e128458b13
mov rax, qword [rsp + 0x78]
mov qword [rsi + 0x30], rax
movups xmm0, xmmword [rsp + 0x48]
movups xmm1, xmmword [rsp + 0x58]
movups xmm2, xmmword [rsp + 0x68]
movups xmmword [rsi + 0x20], xmm2
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
cmp dword [rsi], 2
je 0x140026070
lea rcx, [rsp + 0x48]
mov rdx, rsi
xor r8d, r8d
call sym.sysinfo::windows::component::Connection::temperature::hde747166d485075a
cmp dword [rsp + 0x4c], 2
je 0x140026070
movss xmm0, dword [rsp + 0x48]
movss dword [rsi + 0x58], xmm0
ucomiss xmm0, dword [rsi + 0x5c]
jbe 0x140026070
movss dword [rsi + 0x5c], xmm0
add rsp, 0x1f8
pop rdi
pop rsi
ret
lea rcx, [rsp + 0xb0]
call sym.core::ptr::drop_in_place_sysinfo::windows::component::Connection_::h016d54d489f6d29b
jmp 0x140025ef2