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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x128
mov rsi, rcx
mov r15, qword [rcx]
cmp r15, 2
jne 0x14001ea2d
xor ecx, ecx
xor edx, edx
call sub.ole32.dll_CoInitializeEx
mov edi, eax
cmp eax, 2
setb bl
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 0x14001ea5d
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea rcx, [0x1401a96d0]
lea r9, [0x1401a96e0]
xor edx, edx
mov r8d, 1
call sub.ole32.dll_CoCreateInstance
test eax, eax
js 0x14001ea5d
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0xf0], 1
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], 0
mov qword [rsp + 0x110], 0
mov byte [rsp + 0x120], bl
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0xf0]
call sym.sysinfo::windows::component::Connection::connect_server::hb01e0d4768727675
mov rdi, qword [rsp + 0x48]
mov r15d, 2
cmp rdi, 2
je 0x14001ea6d
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0xb0], rax
mov r12, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov r13, qword [rsp + 0x68]
mov r14, qword [rsp + 0x70]
movzx ebp, byte [rsp + 0x78]
test r12, r12
je 0x14001ec2c
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0xa
xor r8d, r8d
xor r9d, r9d
call sub.ole32.dll_CoSetProxyBlanket
test eax, eax
js 0x14001ec2c
lea rax, [rsp + 0x79]
mov ecx, dword [rax]
mov eax, dword [rax + 3]
mov dword [rsp + 0x83], eax
mov dword [rsp + 0x80], ecx
mov r15, rdi
mov rdi, qword [rsp + 0xb0]
jmp 0x14001ea6d
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 0x14001eb59
mov r15d, 2
cmp edi, 1
ja 0x14001ea6d
call fcn.1400cd95c
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r12
mov qword [rsi + 0x18], rbx
mov qword [rsi + 0x20], r13
mov qword [rsi + 0x28], r14
mov byte [rsi + 0x30], bpl
mov eax, dword [rsp + 0x80]
mov ecx, dword [rsp + 0x83]
mov dword [rsi + 0x31], eax
mov dword [rsi + 0x34], ecx
mov rax, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
mov r8, qword [rsi + 0x20]
mov r9, qword [rsi + 0x28]
mov qword [rsp + 0xa0], r9
movzx r9d, byte [rsi + 0x30]
mov byte [rsp + 0xa8], r9b
mov r9d, dword [rsi + 0x31]
mov dword [rsp + 0xa9], r9d
movzx r9d, word [rsi + 0x35]
mov word [rsp + 0xad], r9w
movzx r9d, byte [rsi + 0x37]
mov byte [rsp + 0xaf], r9b
mov qword [rsp + 0x90], rdx
mov qword [rsp + 0x98], r8
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rcx
mov qword [rsi], 2
cmp r15d, 2
jne 0x14001eb59
mov qword [rsp + 0x48], 2
mov rax, qword [rsp + 0x78]
mov qword [rsi + 0x30], rax
movups xmm0, xmmword [rsp + 0x58]
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rsi + 0x20], xmm1
movups xmmword [rsi + 0x10], xmm0
mov rax, qword [rsp + 0x48]
mov qword [rsi], rax
mov rax, qword [rsp + 0x50]
mov qword [rsi + 8], rax
cmp dword [rsi], 2
jne 0x14001ebeb
jmp 0x14001ec18
mov qword [rsp + 0xb8], r15
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
mov r8, qword [rsp + 0x98]
movaps xmm0, xmmword [rsp + 0xa0]
mov qword [rsp + 0xc0], rax
mov qword [rsp + 0xc8], rcx
mov qword [rsp + 0xd0], rdx
mov qword [rsp + 0xd8], r8
movups xmmword [rsp + 0xe0], xmm0
lea rcx, [rsp + 0x48]
lea rdx, [rsp + 0xb8]
call sym.sysinfo::windows::component::Connection::exec_query::hcbe1116de23407cb
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 0x14001ec18
lea rcx, [rsp + 0x48]
mov rdx, rsi
xor r8d, r8d
call sym.sysinfo::windows::component::Connection::temperature::h66db497857d3cccb
cmp dword [rsp + 0x4c], 2
je 0x14001ec18
movss xmm0, dword [rsp + 0x48]
movss dword [rsi + 0x58], xmm0
ucomiss xmm0, dword [rsi + 0x5c]
jbe 0x14001ec18
movss dword [rsi + 0x5c], xmm0
add rsp, 0x128
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
test r13, r13
je 0x14001ec3f
test r14, r14
je 0x14001ec3f
mov rax, qword [r14]
mov rcx, r14
call qword [rax + 0x10]
test r12, r12
je 0x14001ec52
test rbx, rbx
je 0x14001ec52
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
test rdi, rdi
mov rdi, qword [rsp + 0xb0]
je 0x14001ec6d
test rdi, rdi
je 0x14001ec6d
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
test bpl, bpl
je 0x14001ec7c
call fcn.1400cd95c
jmp 0x14001ea6d
xor ebp, ebp
jmp 0x14001ea6d