Function at 0x1400020a0
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
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x140044030]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor r12d, r12d
mov esi, r12d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
test eax, eax
jns 0x14000212b
lea rdx, str.Error_while_initialising_COM__Errorcode__0x
lea rcx, [0x140045580]
call fcn.140006870
mov r8, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
mov eax, dword [rcx + r8 + 0x18]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rcx + r8 + 0x18], eax
mov edx, ebx
mov rcx, r8
call fcn.140003a20
mov rcx, rax
call fcn.140006b30
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 - 1]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov ebx, eax
test eax, eax
jns 0x1400021a7
lea rdx, str.Error_while_initialising_COM_security__Errorcode__0x
lea rcx, [0x140045580]
call fcn.140006870
mov r8, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
mov eax, dword [rcx + r8 + 0x18]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rcx + r8 + 0x18], eax
mov edx, ebx
mov rcx, r8
call fcn.140003a20
mov rcx, rax
call fcn.140006b30
call qword [sym.imp.ole32.dll_CoUninitialize]
mov qword [rbp - 1], r12
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
lea r9, [0x140030ca8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140030cb8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
jns 0x14000221c
lea rdx, str.Error_while_creating_IWbemLocator_instance__Errorcode:_0x
lea rcx, [0x140045580]
call fcn.140006870
mov r8, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
mov eax, dword [rcx + r8 + 0x18]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rcx + r8 + 0x18], eax
mov edx, ebx
mov rcx, r8
call fcn.140003a20
mov rcx, rax
call fcn.140006b30
call qword [sym.imp.ole32.dll_CoUninitialize]
mov qword [rbp - 9], r12
mov rax, qword [rbp - 1]
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x18]
mov ecx, 0x18
call fcn.14000ab48
mov rbx, rax
mov qword [rbp - 0x29], rax
test rax, rax
je 0x140002273
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r12
mov dword [rbx + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x140002662
jmp 0x140002276
mov rbx, r12
mov qword [rbp - 0x21], rbx
test rbx, rbx
je 0x14000266d
lea rax, [rbp - 9]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rbp - 1]
call rdi
mov edi, eax
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x1400022f0
mov rcx, qword [rbx]
test rcx, rcx
je 0x1400022d1
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1400022e3
call fcn.14000ab40
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.14000ab40
test edi, edi
jns 0x140002346
lea rdx, str.Error_while_conencting__Errorcode:_0x
lea rcx, [0x140045580]
call fcn.140006870
mov r8, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
mov eax, dword [rcx + r8 + 0x18]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rcx + r8 + 0x18], eax
mov edx, edi
mov rcx, r8
call fcn.140003a20
mov rcx, rax
call fcn.140006b30
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov dword [rsp + 0x38], r12d
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rbp - 9]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
test eax, eax
jns 0x1400023d6
lea rdx, str.Error_while_setting_proxy_security._Errorcode:_0x
lea rcx, [0x140045580]
call fcn.140006870
mov r8, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
mov eax, dword [rcx + r8 + 0x18]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rcx + r8 + 0x18], eax
mov edx, ebx
mov rcx, r8
call fcn.140003a20
mov rcx, rax
call fcn.140006b30
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov qword [rbp + 7], r12
mov rax, qword [rbp - 9]
mov rcx, qword [rax]
mov r15, qword [rcx + 0xa0]
mov ecx, 0x18
call fcn.14000ab48
mov rbx, rax
mov qword [rbp - 0x29], rax
test rax, rax
je 0x140002426
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r12
mov dword [rbx + 0x10], 1
lea rcx, str.SELECT__FROM_Win32_Processor
call fcn.14000a7f0
mov qword [rbx], rax
jmp 0x140002429
mov rbx, r12
mov qword [rbp - 0x19], rbx
test rbx, rbx
je 0x14000266d
mov r14, qword [rbx]
mov ecx, 0x18
call fcn.14000ab48
mov rdi, rax
mov qword [rbp - 0x29], rax
test rax, rax
je 0x140002477
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], r12
mov dword [rdi + 0x10], 1
lea rcx, [0x14003dd78]
call fcn.14000a7f0
mov qword [rdi], rax
jmp 0x14000247a
mov rdi, r12
mov qword [rbp - 0x11], rdi
test rdi, rdi
je 0x140002657
lea rax, [rbp + 7]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
mov r9d, 0x30
mov r8, r14
mov rdx, qword [rdi]
mov rcx, qword [rbp - 9]
call r15
mov r14d, eax
mov eax, 0xffffffff
lock xadd dword [rdi + 0x10], eax
cmp eax, 1
jne 0x1400024eb
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400024cb
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r12
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400024dd
call fcn.14000ab40
mov qword [rdi + 8], r12
mov edx, 0x18
mov rcx, rdi
call fcn.14000ab40
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14000252a
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000250b
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r12
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000251d
call fcn.14000ab40
mov qword [rbx + 8], r12
mov edx, 0x18
mov rcx, rbx
call fcn.14000ab40
test r14d, r14d
jns 0x14000258c
lea rdx, str.Error_while_executing_the_request__Errorcode:_0x
lea rcx, [0x140045580]
call fcn.140006870
mov r8, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
mov eax, dword [rcx + r8 + 0x18]
and eax, 0xfffff9ff
bts eax, 0xb
mov dword [rcx + r8 + 0x18], eax
mov edx, r14d
mov rcx, r8
call fcn.140003a20
mov rcx, rax
call fcn.140006b30
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov qword [rbp + 0xf], r12
mov dword [rbp + 0x17], r12d
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x140002604
nop dword [rax]
mov rax, qword [rcx]
lea rdx, [rbp + 0x17]
mov qword [rsp + 0x20], rdx
lea r9, [rbp + 0xf]
mov edx, 0xffffffff
lea r8d, [rdx + 2]
call qword [rax + 0x20]
cmp dword [rbp + 0x17], 0
je 0x140002604
mov rcx, qword [rbp + 0xf]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x1f]
xor r8d, r8d
lea rdx, str.MaxClockSpeed
call qword [rax + 0x20]
mov esi, dword [rbp + 0x27]
lea rcx, [rbp + 0x1f]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp + 0xf]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 7]
test rcx, rcx
jne 0x1400025a0
mov rcx, qword [rbp - 9]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp - 1]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov rcx, qword [rbp + 7]
mov rdx, qword [rcx]
call qword [rdx + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, esi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14000ab20
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 0x8007000e
call fcn.14000a7e0
nop
mov ecx, 0x8007000e
call fcn.14000a7e0
nop
mov ecx, 0x8007000e
call fcn.14000a7e0
int3