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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x7ff7c8ea3088]
xor rax, rsp
mov qword [rbp + 0x30], rax
xor r13b, r13b
xor bl, bl
xor r14d, r14d
mov qword [rbp - 0x60], r14
mov qword [rbp - 0x68], r14
mov qword [rbp - 0x50], r14
mov qword [rbp - 0x58], r14
mov r15d, r14d
cmp dword [0x7ff7c8ea6070], r14d
je 0x7ff7c8e557ca
lea rax, [0x7ff7c8ea6078]
jmp 0x7ff7c8e55ca3
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
movzx r12d, bl
mov ebx, 1
test eax, eax
cmovns r12d, ebx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x7ff7c8e88498]
mov r8d, ebx
xor edx, edx
lea rcx, [0x7ff7c8e88568]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x7ff7c8e55c0d
lea ecx, [rbx + 0x17]
call fcn.7ff7c8e58a1c
mov rsi, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x7ff7c8e55852
xor eax, eax
mov qword [rsi], rax
mov qword [rsi + 0x10], rax
mov qword [rsi + 8], r14
mov dword [rsi + 0x10], ebx
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsi], rax
test rax, rax
jne 0x7ff7c8e55855
mov ecx, 0x8007000e
call fcn.7ff7c8e59cf0
int3
mov rsi, r14
mov qword [rbp - 0x80], rsi
test rsi, rsi
jne 0x7ff7c8e55869
mov ecx, 0x8007000e
call fcn.7ff7c8e59cf0
nop
mov rdi, qword [rbp - 0x50]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x18]
mov rcx, rbx
call qword [fcn.7ff7c8e491c0]
lea rax, [rbp - 0x58]
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, qword [rsi]
mov rcx, rdi
call rbx
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [rsi + 0x10], eax
cmp eax, 1
jne 0x7ff7c8e558e7
mov rcx, qword [rsi]
test rcx, rcx
je 0x7ff7c8e558c8
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], r14
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x7ff7c8e558da
call fcn.7ff7c8e5903c
mov qword [rsi + 8], r14
mov edx, 0x18
mov rcx, rsi
call fcn.7ff7c8e5903c
test ebx, ebx
js 0x7ff7c8e55c0d
mov ecx, 0x18
call fcn.7ff7c8e58a1c
mov rsi, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x7ff7c8e5592b
xor eax, eax
mov qword [rsi], rax
mov qword [rsi + 0x10], rax
mov qword [rsi + 8], r14
mov dword [rsi + 0x10], 1
lea rcx, str.SELECT__FROM_Win32_ComputerSystemProduct
call fcn.7ff7c8e59d20
mov qword [rsi], rax
jmp 0x7ff7c8e5592e
mov rsi, r14
mov qword [rbp - 0x78], rsi
test rsi, rsi
jne 0x7ff7c8e55942
mov ecx, 0x8007000e
call fcn.7ff7c8e59cf0
nop
mov ecx, 0x18
call fcn.7ff7c8e58a1c
mov r14, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x7ff7c8e5597f
xor eax, eax
mov qword [r14], rax
mov qword [r14 + 0x10], rax
mov qword [r14 + 8], rax
mov dword [r14 + 0x10], 1
lea rcx, [0x7ff7c8e98414]
call fcn.7ff7c8e59d20
mov qword [r14], rax
jmp 0x7ff7c8e55982
xor r14d, r14d
mov qword [rbp - 0x70], r14
test r14, r14
jne 0x7ff7c8e55996
mov ecx, 0x8007000e
call fcn.7ff7c8e59cf0
nop
mov rdi, qword [rbp - 0x58]
mov rax, qword [rdi]
mov rbx, qword [rax + 0xa0]
mov rcx, rbx
call qword [fcn.7ff7c8e491c0]
lea rax, [rbp - 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, gethostbyname
mov r8, qword [rsi]
mov rdx, qword [r14]
mov rcx, rdi
call rbx
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [r14 + 0x10], eax
cmp eax, 1
jne 0x7ff7c8e55a19
mov rcx, qword [r14]
test rcx, rcx
je 0x7ff7c8e559f5
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [r14], 0
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x7ff7c8e55a0b
call fcn.7ff7c8e5903c
mov qword [r14 + 8], 0
mov edx, 0x18
mov rcx, r14
call fcn.7ff7c8e5903c
nop
or eax, 0xffffffff
lock xadd dword [rsi + 0x10], eax
cmp eax, 1
jne 0x7ff7c8e55a5e
mov rcx, qword [rsi]
test rcx, rcx
je 0x7ff7c8e55a3b
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], 0
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x7ff7c8e55a51
call fcn.7ff7c8e5903c
mov qword [rsi + 8], 0
mov edx, 0x18
mov rcx, rsi
call fcn.7ff7c8e5903c
xor r14d, r14d
test ebx, ebx
js 0x7ff7c8e55c0d
mov dword [rbp - 0x30], r14d
nop dword [rax]
mov rdi, qword [rbp - 0x60]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call qword [fcn.7ff7c8e491c0]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x68]
mov r8d, 1
or edx, 0xffffffff
mov rcx, rdi
call rbx
cmp dword [rbp - 0x30], r14d
je 0x7ff7c8e55bd0
mov rdi, qword [rbp - 0x68]
mov rax, qword [rdi]
mov rbx, qword [rax + 0x20]
mov rcx, rbx
call qword [fcn.7ff7c8e491c0]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x48]
xor r8d, r8d
lea rdx, [0x7ff7c8e98418]
mov rcx, rdi
call rbx
test eax, eax
js 0x7ff7c8e55a70
cmp word [rbp - 0x48], 8
jne 0x7ff7c8e55c0d
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
mov word [rbp + 0x28], r14w
mov rax, qword [rbp - 0x40]
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp + 0x10], xmm1
movsd xmm0, qword [rax + 0x40]
movsd qword [rbp + 0x20], xmm0
xor eax, eax
mov qword [0x7ff7c8ea6078], rax
mov qword [0x7ff7c8ea6080], rax
lea rax, [0x7ff7c8ea6087]
mov qword [rsp + 0x60], rax
lea rax, [0x7ff7c8ea6086]
mov qword [rsp + 0x58], rax
lea rax, [0x7ff7c8ea6085]
mov qword [rsp + 0x50], rax
lea rax, [0x7ff7c8ea6084]
mov qword [rsp + 0x48], rax
lea rax, [0x7ff7c8ea6083]
mov qword [rsp + 0x40], rax
lea rax, [0x7ff7c8ea6082]
mov qword [rsp + 0x38], rax
lea rax, [0x7ff7c8ea6081]
mov qword [rsp + 0x30], rax
lea rax, [0x7ff7c8ea6080]
mov qword [rsp + 0x28], rax
lea rax, [0x7ff7c8ea607e]
mov qword [rsp + 0x20], rax
lea r9, [0x7ff7c8ea607c]
lea r8, [0x7ff7c8ea6078]
lea rdx, str._08lX__04hX__04hX__02hhX_02hhX__02hhX_02hhX_02hhX_02hhX_02hhX_02hhX
lea rcx, [rbp - 0x20]
call fcn.7ff7c8e55e10
cmp eax, 0xb
sete r13b
lea rcx, [rbp - 0x48]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rdi, qword [rbp - 0x68]
test rdi, rdi
je 0x7ff7c8e55bf5
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.7ff7c8e491c0]
mov rcx, rdi
call rbx
mov rdi, r14
mov qword [rbp - 0x68], r14
test r13b, r13b
je 0x7ff7c8e55c11
mov dword [0x7ff7c8ea6070], 1
lea r15, [0x7ff7c8ea6078]
jmp 0x7ff7c8e55c11
mov rdi, qword [rbp - 0x68]
test rdi, rdi
je 0x7ff7c8e55c2f
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.7ff7c8e491c0]
mov rcx, rdi
call rbx
mov qword [rbp - 0x68], r14
mov rdi, qword [rbp - 0x60]
test rdi, rdi
je 0x7ff7c8e55c51
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.7ff7c8e491c0]
mov rcx, rdi
call rbx
mov qword [rbp - 0x60], r14
mov rdi, qword [rbp - 0x58]
test rdi, rdi
je 0x7ff7c8e55c73
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.7ff7c8e491c0]
mov rcx, rdi
call rbx
mov qword [rbp - 0x58], r14
mov rdi, qword [rbp - 0x50]
test rdi, rdi
je 0x7ff7c8e55c95
mov rax, qword [rdi]
mov rbx, qword [rax + 0x10]
mov rcx, rbx
call qword [fcn.7ff7c8e491c0]
mov rcx, rdi
call rbx
mov qword [rbp - 0x50], r14
test r12b, r12b
je 0x7ff7c8e55ca0
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rax, r15
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.7ff7c8e589f0
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret