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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1405b7098]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r15, rdx
mov r14, rcx
xor edi, edi
mov byte [rsp + 0x30], dil
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], 0x4ff
lea r9, str.NGUsageTracking::CUsageTrackingHelper::getPCBIIDValue
lea r8, [0x1405c6738]
mov rdx, qword [0x1405c6760]
lea rcx, [rbp - 0x30]
call fcn.1400169f8
nop
cmp qword [r14 + 0x80], rdi
je 0x14002ddee
lea rbx, [r14 + 0x70]
cmp r15, rbx
je 0x14002ddbc
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
mov rcx, r15
call fcn.14000ff84
cmp qword [rbx + 0x18], 8
jb 0x14002ddc6
mov rbx, qword [rbx]
mov qword [rsp + 0x20], rbx
lea r9, str.CUsageTrackingHelper::getPCBIIDValue:_m_wsPCBIID_has_been_initialized__return_m_wsPCBIID_
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov r8d, 0x505
lea rcx, [rbp - 0x30]
call fcn.140016e24
mov dil, 1
jmp 0x14002e281
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x38], rdi
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], rdi
mov word [rbp - 0x50], di
mov r8d, 2
lea rdx, [0x1402211d4]
mov rcx, r15
call fcn.14000fde0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x14002de3f
mov dword [rsp + 0x20], eax
lea r9, str.CUsageTrackingHelper::getPCBIIDValue:_Fail_to_obtain_PC_UUID:_CoInitializeEx_0__COINIT_MULTITHREADED._Error_code__0x_x
mov r8d, 0x515
jmp 0x14002e263
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
or rsi, 0xffffffffffffffff
mov edx, esi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov ebx, eax
mov eax, 0x80000000
lea ecx, [rbx + rax]
test eax, ecx
jne 0x14002de9f
cmp ebx, 0x80010119
je 0x14002de9f
call qword [sym.imp.ole32.dll_CoUninitialize]
mov dword [rsp + 0x20], ebx
lea r9, str.CUsageTrackingHelper::getPCBIIDValue:_Fail_to_obtain_PC_UUID:_CoInitializeSecurity._Error_code__0x_x
mov r8d, 0x530
jmp 0x14002e263
mov qword [rsp + 0x58], rdi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x1401d0130]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1401d0200]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
jns 0x14002deea
call qword [sym.imp.ole32.dll_CoUninitialize]
mov dword [rsp + 0x20], ebx
lea r9, str.CUsageTrackingHelper::getPCBIIDValue:_Fail_to_obtain_PC_UUID:_CoCreateInstance._Error_code__0x_x
mov r8d, 0x545
jmp 0x14002e263
mov qword [rsp + 0x50], rdi
lea rdx, str.ROOTCIMV2
lea rcx, [rsp + 0x70]
call fcn.140028664
nop
mov rcx, qword [rax]
test rcx, rcx
je 0x14002df0e
mov rdx, qword [rcx]
jmp 0x14002df11
mov rdx, rdi
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x40], r8
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov ebx, eax
lea rcx, [rsp + 0x70]
call fcn.1400286f8
test ebx, ebx
jns 0x14002df76
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov dword [rsp + 0x20], ebx
lea r9, str.CUsageTrackingHelper::getPCBIIDValue:_Fail_to_obtain_PC_UUID:_ConnectServer._Error_code__0x_x
mov r8d, 0x560
jmp 0x14002e263
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
test eax, eax
jns 0x14002dfdc
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rsp + 0x58]
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov dword [rsp + 0x20], ebx
lea r9, str.CUsageTrackingHelper::getPCBIIDValue:_Fail_to_obtain_PC_UUID:_CoSetProxyBlanket._Error_code__0x_x
mov r8d, 0x57a
jmp 0x14002e263
mov qword [rsp + 0x68], rdi
lea rdx, str.SELECT__FROM_Win32_ComputerSystemProduct
lea rcx, [rbp - 0x80]
call fcn.1400285ec
mov rbx, rax
lea rdx, [0x14049b104]
lea rcx, [rsp + 0x70]
call fcn.1400285ec
nop
mov rcx, qword [rbx]
test rcx, rcx
je 0x14002e013
mov r8, qword [rcx]
jmp 0x14002e016
mov r8, rdi
mov rax, qword [rax]
test rax, rax
je 0x14002e023
mov rdx, qword [rax]
jmp 0x14002e026
mov rdx, rdi
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], rdi
mov r9d, 0x30
call qword [rax + 0xa0]
mov ebx, eax
lea rcx, [rsp + 0x70]
call fcn.1400286f8
nop
lea rcx, [rbp - 0x80]
call fcn.1400286f8
test ebx, ebx
jns 0x14002e095
mov rcx, qword [rsp + 0x50]
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov dword [rsp + 0x20], ebx
lea r9, str.CUsageTrackingHelper::getPCBIIDValue:_Fail_to_obtain_PC_UUID:_pSvc__ExecQuery._Error_code__0x_x
mov r8d, 0x590
jmp 0x14002e263
mov dword [rsp + 0x60], edi
jmp 0x14002e11a
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x78]
mov r8d, 1
mov edx, esi
call qword [rax + 0x20]
cmp dword [rsp + 0x60], edi
je 0x14002e128
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x78]
xor r8d, r8d
lea rdx, str.UUID
call qword [rax + 0x20]
mov rdx, qword [rbp - 0x70]
cmp word [rdx], di
jne 0x14002e0ef
mov r8, rdi
jmp 0x14002e0fc
mov r8, rsi
inc r8
cmp word [rdx + r8*2], di
jne 0x14002e0f2
lea rcx, [rbp - 0x50]
call fcn.14000fde0
lea rcx, [rbp - 0x78]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
jne 0x14002e09b
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp qword [rbp - 0x40], rdi
je 0x14002e21d
lea rax, [rbp - 0x78]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rdi
mov word [rbp - 0x78], di
mov r9, rsi
xor r8d, r8d
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x78]
call fcn.14000ff84
nop
lea rbx, [r14 + 0x70]
mov rdx, rbx
lea rcx, [rbp - 0x78]
call fcn.14001546c
cmp qword [rbx + 0x18], 8
jb 0x14002e1a1
mov rdx, qword [rbx]
jmp 0x14002e1a4
mov rdx, rbx
cmp word [rdx], di
jne 0x14002e1ae
mov r8, rdi
jmp 0x14002e1bb
mov r8, rsi
inc r8
cmp word [rdx + r8*2], di
jne 0x14002e1b1
mov rcx, rbx
call fcn.14000fde0
cmp qword [rbx + 0x18], 8
jb 0x14002e1cf
mov rdx, qword [rbx]
jmp 0x14002e1d2
mov rdx, rbx
cmp word [rdx], di
je 0x14002e1e3
inc rsi
cmp word [rdx + rsi*2], di
jne 0x14002e1d7
mov rdi, rsi
mov r8, rdi
mov rcx, r15
call fcn.14000fde0
cmp qword [rbx + 0x18], 8
jb 0x14002e1f8
mov rbx, qword [rbx]
mov qword [rsp + 0x20], rbx
lea r9, str.CUsageTrackingHelper::getPCBIIDValue:_Initializing_m_wsPCBIID._PC_BIID_is
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
mov r8d, 0x5c2
lea rcx, [rbp - 0x30]
call fcn.140016e24
mov dil, 1
jmp 0x14002e272
lea rbx, [r14 + 0x70]
mov r8d, 2
lea rdx, [0x1402211d4]
mov rcx, rbx
call fcn.14000fde0
mov r9, rsi
xor r8d, r8d
mov rdx, rbx
mov rcx, r15
call fcn.14000ff84
cmp qword [rbx + 0x18], 8
jb 0x14002e251
mov rbx, qword [rbx]
mov qword [rsp + 0x20], rbx
lea r9, str.CUsageTrackingHelper::getPCBIIDValue:_Could_not_obtain_PC_UUID._PC_BIID_is_defaulted_to
mov r8d, 0x5c8
mov edx, reloc.OLEAUT32.dll_SafeArrayGetDim
lea rcx, [rbp - 0x30]
call fcn.140016e24
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x50]
call fcn.14000f964
nop
lea rcx, [rbp - 0x30]
call fcn.140016b40
mov al, dil
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400fcfd0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x180
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret