Function at 0x14003d790
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 0x14003d9f7
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 0x14003da6e
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, [0x1402c6d00]
lea r9, [0x1402c6d10]
xor edx, edx
mov r8d, 1
call sub.ole32.dll_CoCreateInstance
test eax, eax
js 0x14003da78
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::ha3ce3118746e234a
cmp qword [rsp + 0x48], 2
je 0x14003da88
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 0x14003da80
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 0x14003da80
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 0x14003da22
jmp 0x14003da8f
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::he500b9ee52d56e65
jmp 0x14003da98
lea rdi, [rsp + 0x130]
jmp 0x14003da80
lea rdi, [rsp + 0xf8]
mov rcx, rdi
call sym.core::ptr::drop_in_place_sysinfo::windows::component::Connection_::h31722d47e72be58a
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 0x14003daf6
lea rcx, [rsp + 0x48]
mov rdx, rsi
xor r8d, r8d
call sym.sysinfo::windows::component::Connection::temperature::ha54f73aa1a6291c6
cmp dword [rsp + 0x4c], 2
je 0x14003daf6
movss xmm0, dword [rsp + 0x48]
movss dword [rsi + 0x58], xmm0
ucomiss xmm0, dword [rsi + 0x5c]
jbe 0x14003daf6
movss dword [rsi + 0x5c], xmm0
add rsp, 0x1d8
pop rdi
pop rsi
ret