Function at 0x180002c78
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp - 0x49], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x180066008]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r14, rdx
mov rdi, rcx
mov qword [rbp - 0x59], rcx
xor r15d, r15d
mov qword [rbp - 0x39], r15
lea rax, [rbp - 0x39]
mov qword [rsp + 0x20], rax
lea r9, [0x180050118]
xor edx, edx
lea r8d, [r15 + 1]
lea rcx, [0x180050108]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x180002d07
mov qword [rdi + 0x10], r15
mov qword [rdi + 0x18], 7
mov word [rdi], r15w
lea rdx, [0x18005ca44]
mov rcx, rdi
call fcn.1800059e0
jmp 0x180002fdc
mov qword [rbp - 0x41], r15
lea rdx, str.ROOTCIMV2
lea rcx, [rbp - 0x51]
call fcn.180002b74
nop
mov rcx, qword [rax]
test rcx, rcx
je 0x180002d29
mov rdx, qword [rcx]
jmp 0x180002d2c
mov rdx, r15
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
lea r8, [rbp - 0x41]
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
call qword [rax + 0x18]
mov esi, eax
mov r13d, 0x18
or r12d, 0xffffffff
mov rbx, qword [rbp - 0x51]
test rbx, rbx
je 0x180002dae
mov ecx, r12d
lock xadd dword [rbx + 0x10], ecx
add ecx, r12d
jne 0x180002dae
test rbx, rbx
je 0x180002dae
mov rcx, qword [rbx]
test rcx, rcx
je 0x180002d91
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180002da3
call fcn.18000b290
mov qword [rbx + 8], r15
mov rdx, r13
mov rcx, rbx
call fcn.18000b290
test esi, esi
jns 0x180002dc1
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x180002ce3
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov eax, 3
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea edx, [rax + 7]
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x180002dfb
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
jmp 0x180002db2
mov qword [rbp - 0x31], r15
lea rdx, str.SELECT__FROM_Win32_OperatingSystem
lea rcx, [rbp - 0x59]
call fcn.180002af0
mov rbx, rax
lea rdx, [0x18005ca84]
lea rcx, [rbp - 0x61]
call fcn.180002af0
nop
mov r8, qword [rbx]
test r8, r8
je 0x180002e30
mov r8, qword [r8]
jmp 0x180002e33
mov r8, r15
mov rax, qword [rax]
test rax, rax
je 0x180002e40
mov rdx, qword [rax]
jmp 0x180002e43
mov rdx, r15
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
lea r9, [rbp - 0x31]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r15
mov r9d, 0x30
call qword [rax + 0xa0]
mov esi, eax
mov rbx, qword [rbp - 0x61]
test rbx, rbx
je 0x180002eb3
mov ecx, r12d
lock xadd dword [rbx + 0x10], ecx
add ecx, r12d
jne 0x180002eaf
test rbx, rbx
je 0x180002eaf
mov rcx, qword [rbx]
test rcx, rcx
je 0x180002e92
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180002ea4
call fcn.18000b290
mov qword [rbx + 8], r15
mov rdx, r13
mov rcx, rbx
call fcn.18000b290
mov qword [rbp - 0x61], r15
mov rbx, qword [rbp - 0x59]
test rbx, rbx
je 0x180002efc
mov eax, r12d
lock xadd dword [rbx + 0x10], eax
add eax, r12d
jne 0x180002efc
test rbx, rbx
je 0x180002efc
mov rcx, qword [rbx]
test rcx, rcx
je 0x180002edf
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x180002ef1
call fcn.18000b290
mov qword [rbx + 8], r15
mov rdx, r13
mov rcx, rbx
call fcn.18000b290
test esi, esi
js 0x180002def
mov qword [rbp - 0x29], r15
mov dword [rbp - 9], r15d
movdqa xmm0, xmmword [0x18005d1a0]
movdqu xmmword [rbp + 0xf], xmm0
mov word [rbp - 1], r15w
jmp 0x180002f8b
mov rax, qword [rcx]
lea rdx, [rbp - 9]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x29]
mov r8d, 1
mov edx, r12d
call qword [rax + 0x20]
cmp dword [rbp - 9], r15d
je 0x180002f94
mov rdx, r14
cmp qword [r14 + 0x18], 8
jb 0x180002f4f
mov rdx, qword [r14]
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x21]
xor r8d, r8d
call qword [rax + 0x20]
mov rdx, qword [rbp - 0x19]
lea rcx, [rbp - 1]
call fcn.1800059e0
lea rcx, [rbp - 0x21]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x31]
test rcx, rcx
jne 0x180002f20
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
movups xmm0, xmmword [rbp - 1]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0xf]
movups xmmword [rdi + 0x10], xmm1
movdqa xmm0, xmmword [0x18005d1a0]
movdqu xmmword [rbp + 0xf], xmm0
mov word [rbp - 1], r15w
lea rcx, [rbp - 1]
call fcn.18000597c
mov rax, rdi
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.18000b240
mov rbx, qword [rsp + 0x130]
add rsp, 0xe0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret