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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x18]
sub rsp, 0x110
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x140065010]
xor rax, rsp
mov qword [rbp], rax
xor r14d, r14d
cmp qword [0x140067d60], r14
jne 0x140018f5d
lea ecx, [r14 + 0x10]
call fcn.1400263b4
mov qword [rbp - 0x80], rax
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [0x140067d60], rax
lea rdx, [0x1400533a0]
lea rcx, [rbp - 0x40]
call fcn.140006ba8
nop
movups xmm0, xmmword [0x140051f20]
movdqu xmmword [rbp - 0x38], xmm0
lea rdx, [rbp - 0x40]
mov rcx, qword [0x140067d60]
call fcn.140018f88
nop
lea rax, [rbp - 0x40]
mov qword [rbp - 0x80], rax
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140018ce4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [0x1400500d8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1400500c8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140018f5d
mov qword [rsp + 0x60], r14
lea rcx, [0x1400533e0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov rcx, qword [rsp + 0x78]
mov r10, qword [rcx]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
call qword [r10 + 0x18]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x78]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov qword [rsp + 0x78], r14
test ebx, ebx
js 0x140018f5d
mov qword [rsp + 0x68], r14
lea rcx, str.EventTrace
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov rcx, qword [rsp + 0x60]
mov r10, qword [rcx]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x20001
mov rdx, rdi
call qword [r10 + 0x60]
mov ebx, eax
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rsp + 0x60]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov qword [rsp + 0x60], r14
test ebx, ebx
js 0x140018f5d
lea rcx, str.Description
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
lea rcx, str.Guid
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rsi, rax
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], r14
mov rcx, qword [rsp + 0x68]
mov r10, qword [rcx]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
mov r8d, 1
or edx, 0xffffffff
call qword [r10 + 0x20]
jmp 0x140018f38
mov rbx, r14
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140018f05
mov rax, qword [rcx]
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x70]
xor r8d, r8d
mov rdx, rdi
call qword [rax + 0x18]
test eax, eax
js 0x140018e6c
cmp word [rbp - 0x70], 8
cmove rbx, qword [rbp - 0x68]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x58]
xor r8d, r8d
mov rdx, rsi
call qword [rax + 0x18]
test eax, eax
js 0x140018ef5
cmp word [rbp - 0x58], 8
jne 0x140018ef5
lea rdx, [rbp - 0x10]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ole32.dll_CLSIDFromString]
test eax, eax
js 0x140018ef5
test rbx, rbx
je 0x140018ef5
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140006ba8
nop
movups xmm0, xmmword [rbp - 0x10]
movdqu xmmword [rbp - 0x20], xmm0
lea rdx, [rbp - 0x28]
mov rcx, qword [0x140067d60]
call fcn.140018f88
nop
lea rax, [rbp - 0x28]
mov qword [rbp - 0x80], rax
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140018ef5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x50], r14
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x58], r14
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x58]
mov r8d, 1
or edx, 0xffffffff
call qword [rax + 0x20]
test eax, eax
je 0x140018e28
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140026390
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret