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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp + 0xf], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov r14, rcx
xor r15d, r15d
mov qword [rbp - 0x29], r15
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
lea r9, [0x140306e60]
xor edx, edx
lea r8d, [r15 + 1]
lea rcx, [0x140306e50]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test eax, eax
jns 0x14027471c
mov rcx, qword [rbp + 0x5f]
mov r9d, eax
lea r8, str.amcorewcd_sourcecommon_srcdeviceguardutils.cpp
lea edx, [r15 + 0x2d]
call fcn.140042f64
jmp 0x140274abb
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 [str.__v__]
mov esi, eax
test eax, eax
jns 0x140274768
mov edx, 0x30
jmp 0x1402747a5
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]
mov esi, eax
test eax, eax
jns 0x1402747bd
lea edx, [r12 + 0x2f]
lea r8, str.amcorewcd_sourcecommon_srcdeviceguardutils.cpp
mov r9d, eax
mov rcx, qword [rbp + 0x5f]
call fcn.140042f64
jmp 0x140274aa4
lea rcx, str.Update
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp + 0x17], rax
test rax, rax
jne 0x1402747e1
mov ecx, 0x8007000e
call fcn.1401a9db0
nop
lea rcx, str.PS_UpdateAndCompareCIPolicy
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rdi, rax
mov qword [rbp + 0x1f], rax
test rax, rax
jne 0x140274805
mov ecx, 0x8007000e
call fcn.1401a9db0
nop
mov qword [rbp - 0x31], r15
mov qword [rbp - 0x39], r15
mov qword [rbp + 0x77], r15
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
lea rdx, [rbp - 0x31]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
mov rax, qword [rax + 0x30]
call qword [str.__v__]
mov esi, eax
test eax, eax
jns 0x140274846
mov edx, 0x3b
jmp 0x140274898
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x39]
xor r8d, r8d
mov rdx, rbx
mov rax, qword [rax + 0x98]
call qword [str.__v__]
mov esi, eax
test eax, eax
jns 0x140274876
mov edx, 0x3c
jmp 0x140274898
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
lea r8, [rbp + 0x77]
xor edx, edx
mov rax, qword [rax + 0x78]
call qword [str.__v__]
mov esi, eax
test eax, eax
jns 0x1402748b0
mov edx, 0x3d
mov rcx, qword [rbp + 0x5f]
mov r9d, eax
lea r8, str.amcorewcd_sourcecommon_srcdeviceguardutils.cpp
call fcn.140042f64
jmp 0x140274a4b
mov esi, 8
cmp qword [r14 + 0x18], rsi
jb 0x1402748be
mov r14, qword [r14]
mov word [rbp - 0x21], r15w
lea rcx, [rbp - 0x21]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov word [rbp - 0x21], si
mov rcx, r14
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbp - 0x19], rax
test rax, rax
jne 0x1402748ff
test r14, r14
je 0x1402748ff
mov word [rbp - 0x21], r13w
mov dword [rbp - 0x19], 0x8007000e
mov ecx, 0x8007000e
call fcn.1401a9db0
nop
mov rcx, qword [rbp + 0x77]
mov rax, qword [rcx]
mov dword [rsp + 0x20], r15d
lea r9, [rbp - 0x21]
xor r8d, r8d
lea rdx, [0x1402d01d8]
mov rax, qword [rax + 0x28]
call qword [str.__v__]
mov esi, eax
test eax, eax
jns 0x140274946
mov rcx, qword [rbp + 0x5f]
mov r9d, eax
lea r8, str.amcorewcd_sourcecommon_srcdeviceguardutils.cpp
mov edx, 0x43
call fcn.140042f64
jmp 0x140274a40
mov qword [rbp + 0x7f], r15
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rcx]
mov r10, qword [rax + 0xc0]
mov qword [rsp + 0x38], r15
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x77]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, rbx
mov rdx, rdi
mov rax, r10
call qword [str.__v__]
mov esi, eax
test eax, eax
jns 0x1402749a9
mov rcx, qword [rbp + 0x5f]
mov r9d, eax
lea r8, str.amcorewcd_sourcecommon_srcdeviceguardutils.cpp
mov edx, 0x46
call fcn.140042f64
jmp 0x140274a29
lea rcx, [rbp - 9]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp + 0x7f]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 9]
xor r8d, r8d
lea rdx, str.ReturnValue
mov rax, qword [rax + 0x20]
call qword [str.__v__]
mov esi, eax
test eax, eax
jns 0x1402749fd
mov rcx, qword [rbp + 0x5f]
mov r9d, eax
lea r8, str.amcorewcd_sourcecommon_srcdeviceguardutils.cpp
mov edx, VarR8FromUI1
call fcn.140042f64
jmp 0x140274a1e
mov eax, dword [rbp - 1]
cmp word [rbp - 9], r12w
jne 0x140274a10
test eax, eax
jne 0x140274a10
mov esi, r15d
jmp 0x140274a1e
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
lea rcx, [rbp - 9]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x140274a40
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str.__v__]
nop
lea rcx, [rbp - 0x21]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x140274a62
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str.__v__]
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x140274a79
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str.__v__]
nop
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140274a90
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str.__v__]
nop
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rcx, qword [rbp + 0x6f]
test rcx, rcx
je 0x140274abb
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str.__v__]
nop
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140274ad1
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [str.__v__]
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