Function at 0x41ec90
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 0x41eef7
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 0x41ef6e
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, [0x005430f8]
lea r9, [0x00543108]
xor edx, edx
mov r8d, 1
call sub.ole32.dll_CoCreateInstance
test eax, eax
js 0x41ef78
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::h9add00cd9c738a77
cmp qword [rsp + 0x48], 2
je 0x41ef88
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 0x41ef80
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 0x41ef80
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 0x41ef22
jmp 0x41ef8f
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::h5fc06a6bcb9e1cf4
jmp 0x41ef98
lea rdi, [rsp + 0x130]
jmp 0x41ef80
lea rdi, [rsp + 0xf8]
mov rcx, rdi
call sym.core::ptr::drop_in_place_sysinfo::windows::component::Connection_::hc975a48812b74167
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 0x41eff6
lea rcx, [rsp + 0x48]
mov rdx, rsi
xor r8d, r8d
call sym.sysinfo::windows::component::Connection::temperature::h3a531c49c24802ba
cmp dword [rsp + 0x4c], 2
je 0x41eff6
movss xmm0, dword [rsp + 0x48]
movss dword [rsi + 0x58], xmm0
ucomiss xmm0, dword [rsi + 0x5c]
jbe 0x41eff6
movss dword [rsi + 0x5c], xmm0
add rsp, 0x1d8
pop rdi
pop rsi
ret