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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x908
mov qword [rsp + 0x8e8], 0xfffffffffffffffe
mov rax, qword [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0x8f0], rax
mov eax, dword [0x1404b5ee8]
and eax, 1
test eax, eax
jne 0x14018637e
mov eax, dword [0x1404b5ee8]
or eax, 1
mov dword [0x1404b5ee8], eax
lea rcx, [0x1404b5eb0]
call fcn.1400109a0
lea rcx, [0x1401fcdf0]
call fcn.1400a8c9c
nop
lea rcx, [0x1404b5eb0]
call fcn.140010ae0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x80], 0
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x78], 0
mov dword [rsp + 0x50], 0
cmp dword [0x1402ab0d8], 0
jne 0x1401866c0
mov dword [0x1402ab0d8], 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jge 0x140186413
lea rdx, str.Get_disk_perfmon_failed__Code_1_.
xor ecx, ecx
call fcn.1400dc5d0
jmp 0x140186c10
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jge 0x140186478
cmp dword [rsp + 0x74], 0x80010119
je 0x140186478
lea rdx, str.Get_disk_perfmon_failed__Code_2_.
xor ecx, ecx
call fcn.1400dc5d0
jmp 0x140186c10
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x14020eaf0]
mov r8d, 1
xor edx, edx
lea rcx, [0x14020ebc0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x1401864b5
lea rdx, str.Get_disk_perfmon_failed__Code_3_.
xor ecx, ecx
call fcn.1400dc5d0
jmp 0x140186c10
lea rcx, [0x140240bc8]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1401864dc
mov dword [rsp + 0x74], 0x8007000e
jmp 0x140186c10
mov r10, qword [rsp + 0x58]
mov r10, qword [r10]
lea rax, [rsp + 0x88]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call qword [r10 + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
je 0x14018653f
lea rdx, str.Get_disk_perfmon_failed__Code_4_.
xor ecx, ecx
call fcn.1400dc5d0
jmp 0x140186c10
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x58]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rsp + 0x58], 0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsp + 0x60], 0
lea rax, [0x1402ab0c0]
mov qword [rsp + 0x20], rax
lea r9, [0x14020eb90]
mov r8d, 1
xor edx, edx
lea rcx, [0x14020ec30]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x1401865ab
lea rdx, str.Get_disk_perfmon_failed__Code_5_.
xor ecx, ecx
call fcn.1400dc5d0
jmp 0x140186c10
mov rax, qword [0x1402ab0c0]
mov rax, qword [rax]
lea r8, [rsp + 0x68]
lea rdx, [0x14020ebb0]
mov rcx, qword [0x1402ab0c0]
call qword [rax]
test eax, eax
je 0x1401865e1
lea rdx, str.Get_disk_perfmon_failed__Code_6_.
xor ecx, ecx
call fcn.1400dc5d0
jmp 0x140186c10
mov r10, qword [rsp + 0x68]
mov r10, qword [r10]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
lea rax, [0x1402ab0c8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.Win32_PerfFormattedData_PerfDisk_LogicalDisk
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
call qword [r10 + 0x38]
test eax, eax
je 0x14018663d
lea rdx, str.Get_disk_perfmon_failed__Code_7_.
xor ecx, ecx
call fcn.1400dc5d0
jmp 0x140186c10
lea rcx, [0x1402ab0c8]
add rcx, 8
mov r10, qword [rsp + 0x68]
mov r10, qword [r10]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0
xor r9d, r9d
lea r8, str.Win32_PerfFormattedData_PerfDisk_PhysicalDisk
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
call qword [r10 + 0x38]
test eax, eax
je 0x14018669d
lea rdx, [0x140240df0]
xor ecx, ecx
call fcn.1400dc5d0
jmp 0x140186c10
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x68]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rsp + 0x68], 0
mov dword [0x1402ab0d8], 1
cmp dword [0x1402ab0d8], 0xffffffff
jne 0x1401866dc
lea rcx, [0x1404b5eb0]
call fcn.140010ab0
xor eax, eax
jmp 0x140186d0a
mov rax, qword [0x1402ab0c0]
mov rax, qword [rax]
xor edx, edx
mov rcx, qword [0x1402ab0c0]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jge 0x1401866fb
jmp 0x140186c10
mov dword [rsp + 0x90], 0
jmp 0x140186719
mov eax, dword [rsp + 0x90]
add eax, 1
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 2
jge 0x140186c08
mov dword [rsp + 0xa0], 0
mov dword [rsp + 0x50], 0
movsxd rax, dword [rsp + 0x90]
lea r10, [0x1402ab0c8]
mov r10, qword [r10 + rax*8]
movsxd rax, dword [rsp + 0x90]
lea rcx, [0x1402ab0c8]
mov rcx, qword [rcx + rax*8]
mov r10, qword [r10]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rsp + 0xa0]
xor edx, edx
call qword [r10 + 0x28]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0x8004103c
jne 0x140186861
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x50], eax
jbe 0x140186861
mov ecx, dword [rsp + 0x50]
mov eax, 8
mul rcx
mov rcx, rax
mov rax, 0xffffffffffffffff
cmovo rcx, rax
call fcn.140071aa8
mov qword [rsp + 0x8d0], rax
mov rax, qword [rsp + 0x8d0]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x1401867ea
mov dword [rsp + 0x74], 0x8007000e
jmp 0x140186c10
mov edx, dword [rsp + 0x50]
shl rdx, 3
mov rcx, qword [rsp + 0x78]
call fcn.140012e70
mov r11d, dword [rsp + 0x50]
mov dword [rsp + 0xa0], r11d
movsxd rax, dword [rsp + 0x90]
lea r10, [0x1402ab0c8]
mov r10, qword [r10 + rax*8]
movsxd rax, dword [rsp + 0x90]
lea rcx, [0x1402ab0c8]
mov rcx, qword [rcx + rax*8]
mov r10, qword [r10]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x78]
mov r8d, dword [rsp + 0xa0]
xor edx, edx
call qword [r10 + 0x28]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jge 0x14018685f
jmp 0x140186c10
jmp 0x140186875
cmp dword [rsp + 0x74], 0
jne 0x140186875
mov dword [rsp + 0x74], 0x80041002
jmp 0x140186c10
mov dword [rsp + 0xa4], 0
mov dword [rsp + 0xa8], 0
mov dword [rsp + 0x9c], 0
mov dword [rsp + 0x94], 0
mov dword [rsp + 0x98], 0
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov rax, qword [rax]
lea r9, [rsp + 0xa8]
lea r8, [rsp + 0xa4]
lea rdx, [0x140240e38]
call qword [rax + 0xd8]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jge 0x1401868ec
jmp 0x140186c10
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov rax, qword [rax]
lea r9, [rsp + 0x9c]
lea r8, [rsp + 0xa4]
lea rdx, str.PercentIdleTime
call qword [rax + 0xd8]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jge 0x14018692c
jmp 0x140186c10
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov rax, qword [rax]
lea r9, [rsp + 0x94]
lea r8, [rsp + 0xa4]
lea rdx, str.DiskReadsPerSec
call qword [rax + 0xd8]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jge 0x14018696c
jmp 0x140186c10
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx]
mov rax, qword [rax]
lea r9, [rsp + 0x98]
lea r8, [rsp + 0xa4]
lea rdx, [0x140240ab8]
call qword [rax + 0xd8]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jge 0x1401869ac
jmp 0x140186c10
mov dword [rsp + 0xac], 0
jmp 0x1401869ca
mov eax, dword [rsp + 0xac]
add eax, 1
mov dword [rsp + 0xac], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0xac], eax
jae 0x140186bd8
mov dword [rsp + 0x8c4], 0
mov dword [rsp + 0xb0], 0
mov dword [rsp + 0xb4], 0
mov dword [rsp + 0x8c0], 0x400
movsxd rax, dword [rsp + 0xac]
mov r10, qword [rsp + 0x78]
mov r10, qword [r10 + rax*8]
movsxd rax, dword [rsp + 0xac]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + rax*8]
mov r10, qword [r10]
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x8c0]
mov r8d, dword [rsp + 0x8c0]
mov edx, dword [rsp + 0xa8]
call qword [r10 + 0xe8]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jge 0x140186a67
jmp 0x140186c10
movsxd rax, dword [rsp + 0xac]
mov rdx, qword [rsp + 0x78]
mov rdx, qword [rdx + rax*8]
movsxd rax, dword [rsp + 0xac]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + rax*8]
mov rax, qword [rdx]
lea r8, [rsp + 0x8c4]
mov edx, dword [rsp + 0x9c]
call qword [rax + 0xf0]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jge 0x140186ab1
jmp 0x140186c10
movsxd rax, dword [rsp + 0xac]
mov rdx, qword [rsp + 0x78]
mov rdx, qword [rdx + rax*8]
movsxd rax, dword [rsp + 0xac]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + rax*8]
mov rax, qword [rdx]
lea r8, [rsp + 0xb0]
mov edx, dword [rsp + 0x94]
call qword [rax + 0xf0]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jge 0x140186afb
jmp 0x140186c10
movsxd rax, dword [rsp + 0xac]
mov rdx, qword [rsp + 0x78]
mov rdx, qword [rdx + rax*8]
movsxd rax, dword [rsp + 0xac]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + rax*8]
mov rax, qword [rdx]
lea r8, [rsp + 0xb4]
mov edx, dword [rsp + 0x98]
call qword [rax + 0xf0]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jge 0x140186b45
jmp 0x140186c10
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x910]
call fcn.140010a70
mov edx, dword [rsp + 0x8c4]
mov rcx, qword [rsp + 0x918]
call fcn.14000f530
mov edx, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0x920]
call fcn.14000f530
mov edx, dword [rsp + 0xb4]
mov rcx, qword [rsp + 0x928]
call fcn.14000f530
movsxd r11, dword [rsp + 0xac]
mov rdx, qword [rsp + 0x78]
mov rdx, qword [rdx + r11*8]
movsxd rax, dword [rsp + 0xac]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + rax*8]
mov rax, qword [rdx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
movsxd r11, dword [rsp + 0xac]
mov rax, qword [rsp + 0x78]
mov qword [rax + r11*8], 0
jmp 0x1401869b9
cmp qword [rsp + 0x78], 0
je 0x140186c03
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x8d8], rax
mov rcx, qword [rsp + 0x8d8]
call fcn.140071ab0
mov qword [rsp + 0x78], 0
jmp 0x140186708
mov dword [rsp + 0x70], 1
cmp qword [rsp + 0x68], 0
je 0x140186c31
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x68]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rsp + 0x68], 0
cmp qword [rsp + 0x60], 0
je 0x140186c4d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsp + 0x60], 0
cmp qword [rsp + 0x78], 0
je 0x140186cfa
mov dword [rsp + 0x8c8], 0
jmp 0x140186c77
mov eax, dword [rsp + 0x8c8]
add eax, 1
mov dword [rsp + 0x8c8], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x8c8], eax
jae 0x140186cd7
movsxd rcx, dword [rsp + 0x8c8]
mov rax, qword [rsp + 0x78]
cmp qword [rax + rcx*8], 0
je 0x140186cd5
movsxd rax, dword [rsp + 0x8c8]
mov rdx, qword [rsp + 0x78]
mov rdx, qword [rdx + rax*8]
movsxd rax, dword [rsp + 0x8c8]
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + rax*8]
mov rax, qword [rdx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
movsxd r11, dword [rsp + 0x8c8]
mov rax, qword [rsp + 0x78]
mov qword [rax + r11*8], 0
jmp 0x140186c66
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x8e0], rax
mov rcx, qword [rsp + 0x8e0]
call fcn.140071ab0
mov qword [rsp + 0x78], 0
lea rcx, [0x1404b5eb0]
call fcn.140010ab0
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x8f0]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0x908
ret