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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
mov rsi, rcx
xor r15d, r15d
mov qword [rbp - 0x29], r15
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
lea r9, [0x1403a9e90]
xor edx, edx
lea r8d, [r15 + 1]
lea rcx, [0x1403a9ea0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x140342e65
mov rcx, qword [rbp + 0x5f]
mov r9d, eax
lea r8, str.amcorewcd_sourcecommon_srcdeviceguardutils.cpp
lea edx, [r15 + 0x2c]
call fcn.140070bd4
jmp 0x1403432f8
mov qword [rbp + 0x6f], r15
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
lea rdx, [rbp + 0x6f]
mov qword [rsp + 0x40], rdx
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
lea rdx, str.ROOTMicrosoftWindowsCI
mov rax, qword [rax + 0x18]
call qword [case.0x1400ae9d9.0]
mov ebx, eax
test eax, eax
jns 0x140342ed1
mov edx, 0x2f
lea r8, str.amcorewcd_sourcecommon_srcdeviceguardutils.cpp
mov r9d, eax
mov rcx, qword [rbp + 0x5f]
call fcn.140070bd4
nop
lea rcx, [rbp + 0x6f]
call fcn.1400ad580
jmp 0x1403432f8
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov r12d, 3
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea r13d, [r12 + 7]
mov edx, r13d
mov rcx, qword [rbp + 0x6f]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x140342f16
lea edx, [r12 + 0x2e]
jmp 0x140342eaf
lea rdx, str.Update
lea rcx, [rbp - 9]
call fcn.1400fb50c
nop
lea rdx, str.PS_UpdateAndCompareCIPolicy
lea rcx, [rbp + 0x17]
call fcn.1400fb50c
nop
mov qword [rbp - 0x39], r15
mov qword [rbp + 0x7f], r15
mov qword [rbp + 0x77], r15
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
lea rdx, [rbp - 0x39]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
mov rbx, qword [rbp + 0x17]
mov rdx, rbx
mov rax, qword [rax + 0x30]
call qword [case.0x1400ae9d9.0]
mov edi, eax
test eax, eax
jns 0x140342fde
mov rcx, qword [rbp + 0x5f]
mov r9d, eax
lea r8, str.amcorewcd_sourcecommon_srcdeviceguardutils.cpp
mov edx, 0x3a
call fcn.140070bd4
nop
lea rcx, [rbp + 0x77]
call fcn.1400ad580
nop
lea rcx, [rbp + 0x7f]
call fcn.1400ad580
nop
lea rcx, [rbp - 0x39]
call fcn.1400ad580
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
mov rcx, qword [rbp - 9]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
lea rcx, [rbp + 0x6f]
call fcn.1400ad580
mov ebx, edi
jmp 0x1403432f8
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x7f]
xor r8d, r8d
mov rdi, qword [rbp - 9]
mov rdx, rdi
mov rax, qword [rax + 0x98]
call qword [case.0x1400ae9d9.0]
mov r14d, eax
test eax, eax
jns 0x140343074
mov edx, 0x3b
lea r8, str.amcorewcd_sourcecommon_srcdeviceguardutils.cpp
mov r9d, r14d
mov rcx, qword [rbp + 0x5f]
call fcn.140070bd4
nop
lea rcx, [rbp + 0x77]
call fcn.1400ad580
nop
lea rcx, [rbp + 0x7f]
call fcn.1400ad580
nop
lea rcx, [rbp - 0x39]
call fcn.1400ad580
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
lea rcx, [rbp + 0x6f]
call fcn.1400ad580
mov ebx, r14d
jmp 0x1403432f8
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
lea r8, [rbp + 0x77]
xor edx, edx
mov rax, qword [rax + 0x78]
call qword [case.0x1400ae9d9.0]
mov r14d, eax
test eax, eax
jns 0x14034309c
mov edx, 0x3c
jmp 0x140343011
mov r14d, 8
cmp qword [rsi + 0x18], r14
jb 0x1403430ab
mov rsi, qword [rsi]
mov word [rbp - 0x21], r15w
lea rcx, [rbp - 0x21]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop dword [rax + rax]
mov word [rbp - 0x21], r14w
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov qword [rbp - 0x19], rax
test rax, rax
jne 0x1403430f5
test rsi, rsi
je 0x1403430f5
mov word [rbp - 0x21], r13w
mov ecx, 0x8007000e
mov dword [rbp - 0x19], ecx
call fcn.1400ad6c4
nop
mov rcx, qword [rbp + 0x77]
mov rax, qword [rcx]
mov dword [rsp + 0x20], r15d
lea r9, [rbp - 0x21]
xor r8d, r8d
lea rdx, [0x1403b81c0]
mov rax, qword [rax + 0x28]
call qword [case.0x1400ae9d9.0]
mov esi, eax
test eax, eax
jns 0x140343197
mov rcx, qword [rbp + 0x5f]
mov r9d, eax
lea r8, str.amcorewcd_sourcecommon_srcdeviceguardutils.cpp
mov edx, 0x42
call fcn.140070bd4
nop
lea rcx, [rbp - 0x21]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop dword [rax + rax]
nop
lea rcx, [rbp + 0x77]
call fcn.1400ad580
nop
lea rcx, [rbp + 0x7f]
call fcn.1400ad580
nop
lea rcx, [rbp - 0x39]
call fcn.1400ad580
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
lea rcx, [rbp + 0x6f]
call fcn.1400ad580
mov ebx, esi
jmp 0x1403432f8
mov qword [rbp - 0x31], r15
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rcx]
mov qword [rsp + 0x38], r15
lea rdx, [rbp - 0x31]
mov qword [rsp + 0x30], rdx
mov rdx, qword [rbp + 0x77]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, rdi
mov rdx, rbx
mov rax, qword [rax + 0xc0]
call qword [case.0x1400ae9d9.0]
mov esi, eax
test eax, eax
jns 0x140343201
mov rcx, qword [rbp + 0x5f]
mov r9d, eax
lea r8, str.amcorewcd_sourcecommon_srcdeviceguardutils.cpp
mov edx, 0x45
call fcn.140070bd4
nop
lea rcx, [rbp - 0x31]
call fcn.1400ad580
jmp 0x140343138
lea rcx, [rbp - 1]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop dword [rax + rax]
nop
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 1]
xor r8d, r8d
lea rdx, str.ReturnValue
mov rax, qword [rax + 0x20]
call qword [case.0x1400ae9d9.0]
mov esi, eax
test eax, eax
jns 0x14034326c
mov rcx, qword [rbp + 0x5f]
mov r9d, eax
lea r8, str.amcorewcd_sourcecommon_srcdeviceguardutils.cpp
mov edx, 0x48
call fcn.140070bd4
nop
lea rcx, [rbp - 1]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop dword [rax + rax]
jmp 0x1403431f3
mov esi, dword [rbp + 7]
cmp word [rbp - 1], r12w
jne 0x140343308
test esi, esi
jne 0x14034330a
lea rcx, [rbp - 1]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x31]
call fcn.1400ad580
nop
lea rcx, [rbp - 0x21]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop dword [rax + rax]
nop
lea rcx, [rbp + 0x77]
call fcn.1400ad580
nop
lea rcx, [rbp + 0x7f]
call fcn.1400ad580
nop
lea rcx, [rbp - 0x39]
call fcn.1400ad580
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
lea rcx, [rbp + 0x6f]
call fcn.1400ad580
mov ebx, r15d
lea rcx, [rbp - 0x29]
call fcn.1400ad580
mov eax, ebx
jmp 0x140343394
test esi, esi
jle 0x140343315
movzx esi, si
or esi, 0x80070000
lea rcx, [rbp - 1]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop dword [rax + rax]
nop
lea rcx, [rbp - 0x31]
call fcn.1400ad580
nop
lea rcx, [rbp - 0x21]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop dword [rax + rax]
nop
lea rcx, [rbp + 0x77]
call fcn.1400ad580
nop
lea rcx, [rbp + 0x7f]
call fcn.1400ad580
nop
lea rcx, [rbp - 0x39]
call fcn.1400ad580
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
nop
lea rcx, [rbp + 0x6f]
call fcn.1400ad580
nop
lea rcx, [rbp - 0x29]
call fcn.1400ad580
mov eax, esi
mov rbx, qword [rsp + 0xf0]
add rsp, 0xb0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret