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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov qword [rsp + 0x100], rbx
mov r12, rdx
mov r13d, ecx
movzx eax, byte [0x140058340]
xor r14d, r14d
test al, al
jne 0x14000fb8b
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
test eax, eax
jns 0x14000f6c5
lea rdx, str.Failed_to_initialize_COM_library._Error_code__0x
mov rcx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400101e0
mov rcx, rax
lea rdx, [0x14000f470]
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
mov rcx, rax
mov rdx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_]
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [0x140057578]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
jmp 0x14000fbc2
mov qword [rbp - 0x49], r14
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
lea r9, [0x140039d98]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x140039e68]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test eax, eax
jns 0x14000f74a
lea rdx, str.Failed_to_create_IWbemLocator_object.
mov rcx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400101e0
mov rcx, rax
lea rdx, str._Err_code__0x
call fcn.1400101e0
mov rcx, rax
lea rdx, [0x14000f470]
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
mov rcx, rax
mov rdx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_]
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x14000f6ae
mov qword [rbp - 0x41], r14
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call qword [sym.imp.MSVCR100.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__]
mov rbx, rax
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x14000f790
mov qword [rax + 8], r14
mov dword [rax + 0x10], 1
lea rcx, str.ROOTWMI
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
jne 0x14000f793
mov ecx, 0x8007000e
call fcn.140032b90
int3
mov rbx, r14
mov qword [rbp - 0x29], rbx
test rbx, rbx
jne 0x14000f7a7
mov ecx, 0x8007000e
call fcn.140032b90
nop
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
lea rdx, [rbp - 0x41]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov edi, eax
or ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
dec ecx
jne 0x14000f80b
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000f7f3
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000f802
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x29], r14
mov rcx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
test edi, edi
jns 0x14000f866
lea rdx, str.Could_not_connect._Error_code__0x
call fcn.1400101e0
mov rcx, rax
lea rdx, [0x14000f470]
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov rcx, rax
mov edx, edi
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
mov rcx, rax
mov rdx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_]
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x14000f6ae
lea rdx, str.Connected_to_ROOTWMI_WMI_namespace
call fcn.1400101e0
mov rcx, rax
mov rdx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_]
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov dword [rsp + 0x38], r14d
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov r15d, 0xa
mov edx, r15d
mov rcx, qword [rbp - 0x41]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
test eax, eax
jns 0x14000f908
lea rdx, str.Could_not_set_proxy_blanket._Error_code__0x
mov rcx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400101e0
mov rcx, rax
lea rdx, [0x14000f470]
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int____ptr64]
mov rcx, rax
mov rdx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_]
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14000f851
mov qword [rbp - 0x31], r14
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call qword [sym.imp.MSVCR100.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__]
mov rbx, rax
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x14000f93f
mov qword [rax + 8], r14
mov dword [rax + 0x10], 1
lea rcx, str.Select__from_ProcessorStatus
call fcn.1400328f0
mov qword [rbx], rax
jmp 0x14000f942
mov rbx, r14
mov qword [rbp - 0x21], rbx
test rbx, rbx
jne 0x14000f956
mov ecx, 0x8007000e
call fcn.140032b90
nop
mov ecx, reloc.OLEAUT32.dll_SafeArrayGetElement
call qword [sym.imp.MSVCR100.dll_void____ptr64___cdecl_operator_new_unsigned_long_long_unsigned___int64__]
mov rdi, rax
mov qword [rbp + 0x7f], rax
test rax, rax
je 0x14000f989
mov qword [rax + 8], r14
mov dword [rax + 0x10], 1
lea rcx, [0x14003fdf0]
call fcn.1400328f0
mov qword [rdi], rax
jmp 0x14000f98c
mov rdi, r14
mov qword [rbp - 0x19], rdi
test rdi, rdi
jne 0x14000f9a0
mov ecx, 0x8007000e
call fcn.140032b90
nop
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
lea rdx, [rbp - 0x31]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r14
mov r9d, 0x30
mov r8, qword [rbx]
mov rdx, qword [rdi]
call qword [rax + 0xa0]
mov esi, eax
or ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
dec ecx
jne 0x14000f9fb
mov rcx, qword [rdi]
test rcx, rcx
je 0x14000f9e3
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x14000f9f2
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x19], r14
or eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
dec eax
jne 0x14000fa31
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000fa19
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000fa28
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rbp - 0x21], r14
test esi, esi
jns 0x14000fa72
lea rdx, str.Query_for_operating_system_name_failed.
mov rcx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400101e0
mov rcx, rax
lea rdx, str._Error_code__0x
call fcn.1400101e0
mov rcx, rax
lea rdx, [0x14000f470]
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base____ptr64____cdecl___class_std::ios_base____ptr64_____ptr64]
mov edx, esi
jmp 0x14000f8e0
mov dword [rbp + 0x77], r14d
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x14000fb60
mov rax, qword [rcx]
lea r8, [rbp + 0x77]
mov qword [rsp + 0x20], r8
lea r9, [rbp - 0x39]
mov r8d, 1
or edx, 0xffffffff
call qword [rax + 0x20]
cmp dword [rbp + 0x77], 0
je 0x14000fb60
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x11]
xor r8d, r8d
lea rdx, str.InstanceName
call qword [rax + 0x20]
lea rdx, str.Instance_Name_:
mov rcx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400103b0
mov rcx, rax
mov rdx, qword [rbp - 9]
call fcn.140004e80
mov rcx, rax
mov rdx, qword [sym.imp.MSVCP100.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::endl_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_]
call qword [sym.imp.MSVCP100.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
lea r9, [rbp - 0x11]
xor r8d, r8d
lea rdx, str.Perfstates
call qword [rax + 0x20]
mov word [rbp + 7], r14w
lea rdx, [rbp - 0x11]
lea rcx, [rbp + 7]
call qword [sym.imp.OLEAUT32.dll_VariantCopyInd]
test eax, eax
jns 0x14000fb43
mov word [rbp + 7], r15w
mov dword [rbp + 0xf], eax
mov ecx, eax
call fcn.14000f5e0
int3
lea rcx, [rbp + 7]
call fcn.14000fbe0
lea rcx, [rbp - 0x11]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x41]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x49]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov byte [0x140058340], 1
mov rax, qword [0x1400577d0]
mov rdx, qword [0x1400577c8]
sub rax, rdx
sar rax, 2
cmp r13, rax
jae 0x14000fbaf
mov eax, dword [rdx + r13*4]
mov dword [r12], eax
jmp 0x14000fbb3
mov dword [r12], r14d
lea rcx, [0x140057578]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov rbx, qword [rsp + 0x100]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret