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

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0xe8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x60], 0xfffffffffffffffe
mov rsi, rcx
lea rdi, [rcx + 0x18]
mov rbx, qword [rcx + 0x18]
cmp rbx, 2
jne 0x14000830e
xor ecx, ecx
xor edx, edx
call sub.ole32.dll_CoInitializeEx
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x50], 0
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 0x140008358
mov qword [rbp + 0x30], 0
mov qword [rbp + 0x40], 0
mov qword [rbp + 0x50], 0
mov qword [rbp + 0x28], 0
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
lea rcx, [0x14004b24c]
lea r9, [0x14004b25c]
xor edx, edx
mov r8d, 1
call sub.ole32.dll_CoCreateInstance
test eax, eax
js 0x140008358
lea rax, [rbp + 0x38]
mov rcx, qword [rbp + 0x28]
mov qword [rbp + 0x30], 1
mov qword [rbp + 0x38], rcx
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp], xmm0
movaps xmmword [rbp + 0x10], xmm1
mov rax, qword [rax + 0x20]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x30], 1
movups xmmword [rbp + 0x38], xmm0
movups xmmword [rbp + 0x48], xmm1
mov qword [rbp + 0x58], rax
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x30]
call fcn.140008a40
mov rbx, qword [rbp - 0x30]
cmp rbx, 2
je 0x140008361
movups xmm0, xmmword [rbp - 0x30]
movups xmm1, xmmword [rbp - 0x20]
movups xmm2, xmmword [rbp - 0x10]
movaps xmmword [rbp + 0x40], xmm1
movaps xmmword [rbp + 0x50], xmm2
movaps xmmword [rbp + 0x30], xmm0
cmp dword [rbp + 0x40], 1
jne 0x140008358
mov rcx, qword [rbp + 0x48]
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 0x140008358
mov rax, qword [rbp - 8]
mov qword [rsi + 0x40], rax
movups xmm0, xmmword [rbp - 0x28]
movups xmm1, xmmword [rbp - 0x18]
movups xmmword [rsi + 0x30], xmm1
movups xmmword [rsi + 0x20], xmm0
mov rax, qword [rsi + 0x40]
mov qword [rbp + 0x20], rax
movups xmm0, xmmword [rsi + 0x20]
movups xmm1, xmmword [rsi + 0x30]
movaps xmmword [rbp + 0x10], xmm1
movaps xmmword [rbp], xmm0
mov qword [rdi], 2
mov qword [rbp + 0x30], rbx
movaps xmm0, xmmword [rbp]
movaps xmm1, xmmword [rbp + 0x10]
movups xmmword [rbp + 0x38], xmm0
movups xmmword [rbp + 0x48], xmm1
mov rax, qword [rbp + 0x20]
mov qword [rbp + 0x58], rax
lea rcx, [rbp - 0x30]
lea rdx, [rbp + 0x30]
call fcn.140008ba0
jmp 0x140008370
lea rcx, [rbp + 0x30]
call fcn.140007fa0
mov qword [rdi], 2
mov qword [rbp - 0x30], 2
mov rax, qword [rbp - 0x30]
mov rcx, qword [rbp - 0x28]
movups xmm0, xmmword [rbp - 0x20]
movups xmm1, xmmword [rbp - 0x10]
movups xmmword [rdi + 0x20], xmm1
movups xmmword [rdi + 0x10], xmm0
mov qword [rdi], rax
mov qword [rdi + 8], rcx
cmp dword [rdi], 2
je 0x1400083be
lea rcx, [rbp + 0x30]
mov rdx, rdi
xor r8d, r8d
call fcn.140008d20
cmp dword [rbp + 0x34], 2
je 0x1400083be
movss xmm0, dword [rbp + 0x30]
movss dword [rsi + 0x48], xmm0
ucomiss xmm0, dword [rsi + 0x4c]
jbe 0x1400083be
movss dword [rsi + 0x4c], xmm0
add rsp, 0xe8
pop rbx
pop rdi
pop rsi
pop rbp
ret