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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xe0
mov rax, qword [0x140087048]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x14000445b
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea edx, [r15 - 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x140004455
mov qword [rbp - 0x21], r15
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
lea r9, [0x14006baa0]
xor edx, edx
lea r8d, [r15 + 1]
lea rcx, [0x14006bab0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140004455
mov qword [rbp - 0x29], r15
mov rax, qword [rbp - 0x21]
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x18]
lea ecx, [r15 + 0x18]
call fcn.14003dd78
mov rbx, rax
mov qword [rbp - 0x49], rax
test rax, rax
je 0x14000438e
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x14000480c
jmp 0x140004391
mov rbx, r15
mov qword [rbp - 0x41], rbx
test rbx, rbx
je 0x140004817
lea rax, [rbp - 0x29]
mov qword [rsp + 0x40], rax
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
mov rdx, qword [rbx]
mov rcx, qword [rbp - 0x21]
call rdi
mov edi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x14000440b
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400043ec
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400043fe
call fcn.14003dd70
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.14003dd70
test edi, edi
js 0x14000444b
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x140004486
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14003dd50
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov qword [rbp - 0x19], r15
mov rax, qword [rbp - 0x29]
mov rcx, qword [rax]
mov r14, qword [rcx + 0xa0]
mov ecx, 0x18
call fcn.14003dd78
mov rbx, rax
mov qword [rbp - 0x49], rax
test rax, rax
je 0x1400044d6
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], 1
lea rcx, str.SELECT__FROM_Win32_ComputerSystem
call fcn.14003b220
mov qword [rbx], rax
jmp 0x1400044d9
mov rbx, r15
mov qword [rbp - 0x39], rbx
test rbx, rbx
je 0x140004817
mov rsi, qword [rbx]
mov ecx, 0x18
call fcn.14003dd78
mov rdi, rax
mov qword [rbp - 0x49], rax
test rax, rax
je 0x140004527
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], r15
mov dword [rdi + 0x10], 1
lea rcx, [0x140077594]
call fcn.14003b220
mov qword [rdi], rax
jmp 0x14000452a
mov rdi, r15
mov qword [rbp - 0x31], rdi
test rdi, rdi
je 0x140004822
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, 0x30
mov r8, rsi
mov rdx, qword [rdi]
mov rcx, qword [rbp - 0x29]
call r14
mov esi, eax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x14000459a
mov rcx, qword [rdi]
test rcx, rcx
je 0x14000457a
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r15
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000458c
call fcn.14003dd70
mov qword [rdi + 8], r15
mov edx, 0x18
mov rcx, rdi
call fcn.14003dd70
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400045d9
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400045ba
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400045cc
call fcn.14003dd70
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.14003dd70
test esi, esi
js 0x140004441
mov qword [rbp - 0x11], r15
mov dword [rbp + 0xf], r15d
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x14000477b
lea rsi, str.Virtual
nop dword [rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0xf]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x11]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
cmp dword [rbp + 0xf], 0
je 0x14000477b
mov rcx, qword [rbp - 0x11]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 9]
xor r8d, r8d
lea rdx, [0x140077598]
call qword [rax + 0x20]
test eax, eax
js 0x140004764
cmp word [rbp - 9], 8
jne 0x140004764
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov rdx, qword [rbp - 1]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140004675
lea rcx, [rbp + 0x17]
call fcn.1400048a0
lea r11, [rbp + 0x17]
mov rbx, qword [rbp + 0x17]
mov rdi, qword [rbp + 0x2f]
cmp rdi, 8
cmovae r11, rbx
mov rax, qword [rbp + 0x27]
cmp rax, 7
jb 0x140004729
add rax, 0xfffffffffffffffa
lea r10, [r11 + rax*2]
mov rax, r11
nop word [rax + rax]
mov rcx, r10
sub rcx, rax
sar rcx, 1
mov rdx, r15
je 0x1400046ea
cmp word [rax], 0x56
je 0x1400046e7
cmp rcx, 1
je 0x1400046ea
dec rcx
add rax, 2
cmp word [rax], 0x56
jne 0x1400046d4
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x140004729
mov r8d, 7
mov rdx, rsi
mov r9, rax
sub r9, rsi
movzx ecx, word [rdx + r9]
cmp cx, word [rdx]
jne 0x1400047b1
add rdx, 2
sub r8, 1
jne 0x140004701
sub rax, r11
sar rax, 1
cmp rax, 0xffffffffffffffff
jne 0x1400047ba
cmp rdi, 8
jb 0x140004764
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000475c
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004806
mov rcx, rbx
call fcn.14003dd70
lea rcx, [rbp - 9]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x19]
test rcx, rcx
jne 0x140004600
mov rcx, qword [rbp - 0x29]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp - 0x21]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp - 0x19]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp - 0x11]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, r15d
jmp 0x14000445d
add rax, 2
jmp 0x1400046c0
lea rcx, [rbp - 9]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
cmp rdi, 8
jb 0x1400047fb
lea rdx, [rdi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400047f3
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004806
mov rcx, rbx
call fcn.14003dd70
mov r15d, 1
jmp 0x14000477b
call fcn.1400447b4
nop
mov ecx, 0x8007000e
call fcn.14003b0f0
nop
mov ecx, 0x8007000e
call fcn.14003b0f0
nop
mov ecx, 0x8007000e
call fcn.14003b0f0
int3