Function at 0x14000c8b0
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push rsi
push r12
lea rbp, [rsp - 0x760]
sub rsp, 0x860
mov rax, qword [0x140020038]
xor rax, rsp
mov qword [rbp + 0x740], rax
mov rax, qword [r8]
lea rcx, [rsp + 0x30]
xor r12d, r12d
mov qword [r8 + 8], rax
mov qword [rsp + 0x30], r12
mov rsi, r8
call fcn.14000ce80
test eax, eax
js 0x14000cbf1
mov qword [rsp + 0x858], r14
mov r14, qword [rsp + 0x30]
test r14, r14
je 0x14000cbe9
mov qword [rsp + 0x880], rbx
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x888], rdi
xor edx, edx
mov r8d, 0x7d0
mov qword [rsp + 0x850], r15
call sub.VCRUNTIME140.dll_memset
lea r9, str.POWERPNT.exe
mov edx, 0x3e8
lea r8, str.SELECT__FROM_Win32_Process_where_name_s
lea rcx, [rsp + 0x70]
call fcn.14000c3c0
lea ecx, [r12 + 0x18]
mov qword [rsp + 0x48], r12
call fcn.14000f810
mov rbx, rax
test rax, rax
je 0x14000cc0c
mov qword [rax], r12
lea rcx, [rsp + 0x70]
mov qword [rax + 0x10], 1
mov qword [rax + 8], r12
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
mov r15, rax
test rax, rax
je 0x14000cc0c
lea ecx, [r12 + 0x18]
call fcn.14000f810
mov rdi, rax
test rax, rax
je 0x14000cc0c
mov qword [rax], r12
lea rcx, [0x140018240]
mov qword [rax + 0x10], 1
mov qword [rax + 8], r12
call fcn.14000f4c0
mov qword [rdi], rax
lea rcx, [rsp + 0x48]
mov r10, qword [r14]
lea r9d, [r12 + 0x30]
mov qword [rsp + 0x28], rcx
mov r8, r15
mov rdx, rax
mov qword [rsp + 0x20], r12
mov rcx, r14
call qword [r10 + 0xa0]
mov r14d, 0xffffffff
mov r15d, eax
mov ecx, r14d
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x14000ca3b
mov rcx, qword [rdi]
test rcx, rcx
je 0x14000ca1c
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r12
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000ca2e
call fcn.14000fa9c
mov qword [rdi + 8], r12
mov edx, 0x18
mov rcx, rdi
call fcn.14000fa9c
lock xadd dword [rbx + 0x10], r14d
cmp r14d, 1
jne 0x14000ca77
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000ca58
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000ca6a
call fcn.14000fa9c
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.14000fa9c
test r15d, r15d
js 0x14000cba7
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14000cba7
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x50], r12d
lea r9, [rsp + 0x40]
mov rax, qword [rcx]
mov r8d, 1
mov qword [rsp + 0x20], rdx
mov edx, 0x3e8
call qword [rax + 0x20]
test eax, eax
js 0x14000cb9c
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000cb9c
cmp dword [rsp + 0x50], r12d
je 0x14000cb9c
xor eax, eax
mov qword [rsp + 0x28], r12
xorps xmm0, xmm0
mov qword [rsp + 0x68], rax
movups xmmword [rsp + 0x58], xmm0
mov rax, qword [rcx]
lea r9, [rsp + 0x58]
xor r8d, r8d
mov qword [rsp + 0x20], r12
lea rdx, str.ProcessId
call qword [rax + 0x20]
test eax, eax
js 0x14000cb13
cmp word [rsp + 0x58], 1
jne 0x14000cb62
lea rcx, [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x40], r12
lea r9, [rsp + 0x40]
mov dword [rsp + 0x50], r12d
mov r8d, 1
mov qword [rsp + 0x20], rdx
mov edx, 0x3e8
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
jns 0x14000cac0
jmp 0x14000cb9c
mov rdx, qword [rsi + 8]
cmp rdx, qword [rsi + 0x10]
je 0x14000cb79
mov eax, dword [rsp + 0x60]
mov dword [rdx], eax
add qword [rsi + 8], 4
jmp 0x14000cb86
lea r8, [rsp + 0x60]
mov rcx, rsi
call fcn.14000d1b0
lea rcx, [rsp + 0x58]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword gs:[0x58]
mov ebx, 8
add rbx, qword [rax]
cmp byte [rbx], r12b
je 0x14000cbd1
call qword [sym.imp.ole32.dll_CoUninitialize]
mov byte [rbx], r12b
mov rbx, qword [rsp + 0x880]
mov rdi, qword [rsp + 0x888]
mov r15, qword [rsp + 0x850]
mov r14, qword [rsp + 0x858]
mov rcx, qword [rbp + 0x740]
xor rcx, rsp
call fcn.14000f7f0
add rsp, 0x860
pop r12
pop rsi
pop rbp
ret
mov ecx, 0x8007000e
call fcn.14000f4b0
int3