Function at 0x1400637e0
Capabilities:
Reference wmi statements

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0xb8], rbx
mov rax, qword [0x1402fcb80]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r12, r8
mov rsi, rcx
mov r13, qword [rsp + 0xd8]
xor ebp, ebp
mov qword [rsp + 0x58], rbp
lea ecx, [rbp + 0x18]
call fcn.140068080
mov rbx, rax
mov qword [rsp + 0x50], rax
lea r14d, [rbp + 1]
test rax, rax
je 0x14006386f
xor eax, eax
mov qword [rbx], rax
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rbp
mov dword [rbx + 0x10], r14d
lea rcx, str.SELECT__FROM_Win32_ComputerSystem
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x140063872
mov ecx, 0x8007000e
call fcn.140213bf0
int3
mov rbx, rbp
mov qword [rsp + 0x40], rbx
test rbx, rbx
jne 0x140063887
mov ecx, 0x8007000e
call fcn.140213bf0
nop
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call fcn.140068080
mov rdi, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400638c0
xor eax, eax
mov qword [rdi], rax
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], rbp
mov dword [rdi + 0x10], r14d
lea rcx, [0x1402a2644]
call fcn.140213a60
mov qword [rdi], rax
jmp 0x1400638c3
mov rdi, rbp
mov qword [rsp + 0x38], rdi
test rdi, rdi
jne 0x1400638d8
mov ecx, 0x8007000e
call fcn.140213bf0
nop
mov rcx, qword [rsi + 8]
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], rbp
mov r9d, MsiGetFeatureCostA
mov r8, qword [rbx]
mov rdx, qword [rdi]
call qword [rax + reloc.msi.dll_MsiDatabaseIsTablePersistentA]
test eax, eax
setne sil
lock dec dword [rdi + 0x10]
jne 0x140063938
mov rcx, qword [rdi]
test rcx, rcx
je 0x14006391d
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], rbp
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14006392f
call fcn.1400680cc
mov qword [rdi + 8], rbp
mov rcx, rdi
call fcn.1400680cc
nop
or eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
dec eax
jne 0x14006396f
mov rcx, qword [rbx]
test rcx, rcx
je 0x140063955
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rbp
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140063967
call fcn.1400680cc
mov qword [rbx + 8], rbp
mov rcx, rbx
call fcn.1400680cc
test sil, sil
je 0x14006397b
xor al, al
jmp 0x140063a6d
mov r15b, 1
mov dword [rsp + 0x60], ebp
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x50]
mov r8d, r14d
or edx, 0xffffffff
call qword [rax + reloc.msi.dll_MsiEnumClientsA]
cmp eax, 1
je 0x140063a58
nop dword [rax + rax]
test eax, eax
jne 0x140063a55
mov rdx, r12
mov rcx, qword [rsp + 0x50]
call fcn.1400635a0
mov rsi, rax
test rax, rax
je 0x140063a4a
mov r8, r13
mov edx, 2
mov rcx, rax
call fcn.140063aa0
movzx r14d, al
mov edi, 2
lea rbx, [rsi + 0x30]
nop word [rax + rax]
sub rbx, 0x18
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
dec edi
jne 0x1400639f0
mov rcx, rsi
call fcn.1400680cc
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
inc ebp
test r14b, r14b
lea r14d, [rdi + 1]
je 0x140063a58
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x20], rdx
lea r9, [rsp + 0x50]
mov r8d, r14d
or edx, 0xffffffff
call qword [rax + reloc.msi.dll_MsiEnumClientsA]
cmp eax, r14d
jne 0x1400639b0
jmp 0x140063a58
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
xor r15b, r15b
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
movzx eax, r15b
test ebp, ebp
cmovg eax, r14d
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1401f2f70
mov rbx, qword [rsp + 0xb8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret