Function at 0x14018b270
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 [0x1402aa5c0]
xor rax, rsp
mov qword [rsp + 0x8f0], rax
mov eax, dword [0x1404bdf48]
and eax, 1
test eax, eax
jne 0x14018b2de
mov eax, dword [0x1404bdf48]
or eax, 1
mov dword [0x1404bdf48], eax
lea rcx, [0x1404bdf10]
call fcn.14000e0a0
lea rcx, [0x140203220]
call fcn.1400a93ec
nop
lea rcx, [0x1404bdf10]
call fcn.14000e350
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 [0x1402b3138], 0
jne 0x14018b620
mov dword [0x1402b3138], 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jge 0x14018b373
lea rdx, str.Get_disk_perfmon_failed__Code_1_.
xor ecx, ecx
call fcn.1400dcf70
jmp 0x14018bb70
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 0x14018b3d8
cmp dword [rsp + 0x74], 0x80010119
je 0x14018b3d8
lea rdx, str.Get_disk_perfmon_failed__Code_2_.
xor ecx, ecx
call fcn.1400dcf70
jmp 0x14018bb70
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x1402147a0]
mov r8d, 1
xor edx, edx
lea rcx, [0x140214870]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x14018b415
lea rdx, str.Get_disk_perfmon_failed__Code_3_.
xor ecx, ecx
call fcn.1400dcf70
jmp 0x14018bb70
lea rcx, [0x140245738]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x14018b43c
mov dword [rsp + 0x74], 0x8007000e
jmp 0x14018bb70
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 0x14018b49f
lea rdx, str.Get_disk_perfmon_failed__Code_4_.
xor ecx, ecx
call fcn.1400dcf70
jmp 0x14018bb70
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, [0x1402b3120]
mov qword [rsp + 0x20], rax
lea r9, [0x140214840]
mov r8d, 1
xor edx, edx
lea rcx, [0x1402148e0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
je 0x14018b50b
lea rdx, str.Get_disk_perfmon_failed__Code_5_.
xor ecx, ecx
call fcn.1400dcf70
jmp 0x14018bb70
mov rax, qword [0x1402b3120]
mov rax, qword [rax]
lea r8, [rsp + 0x68]
lea rdx, [0x140214860]
mov rcx, qword [0x1402b3120]
call qword [rax]
test eax, eax
je 0x14018b541
lea rdx, str.Get_disk_perfmon_failed__Code_6_.
xor ecx, ecx
call fcn.1400dcf70
jmp 0x14018bb70
mov r10, qword [rsp + 0x68]
mov r10, qword [r10]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x30], rax
lea rax, [0x1402b3128]
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 0x14018b59d
lea rdx, str.Get_disk_perfmon_failed__Code_7_.
xor ecx, ecx
call fcn.1400dcf70
jmp 0x14018bb70
lea rcx, [0x1402b3128]
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 0x14018b5fd
lea rdx, str.Get_disk_perfmon_failed__Code_8_.
xor ecx, ecx
call fcn.1400dcf70
jmp 0x14018bb70
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 [0x1402b3138], 1
cmp dword [0x1402b3138], 0xffffffff
jne 0x14018b63c
lea rcx, [0x1404bdf10]
call fcn.14000e320
xor eax, eax
jmp 0x14018bc6a
mov rax, qword [0x1402b3120]
mov rax, qword [rax]
xor edx, edx
mov rcx, qword [0x1402b3120]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jge 0x14018b65b
jmp 0x14018bb70
mov dword [rsp + 0x90], 0
jmp 0x14018b679
mov eax, dword [rsp + 0x90]
add eax, 1
mov dword [rsp + 0x90], eax
cmp dword [rsp + 0x90], 2
jge 0x14018bb68
mov dword [rsp + 0xa0], 0
mov dword [rsp + 0x50], 0
movsxd rax, dword [rsp + 0x90]
lea r10, [0x1402b3128]
mov r10, qword [r10 + rax*8]
movsxd rax, dword [rsp + 0x90]
lea rcx, [0x1402b3128]
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 0x14018b7c1
mov eax, dword [rsp + 0xa0]
cmp dword [rsp + 0x50], eax
jbe 0x14018b7c1
mov ecx, dword [rsp + 0x50]
mov eax, 8
mul rcx
mov rcx, rax
mov rax, 0xffffffffffffffff
cmovo rcx, rax
call fcn.140072250
mov qword [rsp + 0x8d0], rax
mov rax, qword [rsp + 0x8d0]
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
jne 0x14018b74a
mov dword [rsp + 0x74], 0x8007000e
jmp 0x14018bb70
mov edx, dword [rsp + 0x50]
shl rdx, 3
mov rcx, qword [rsp + 0x78]
call fcn.140010230
mov r11d, dword [rsp + 0x50]
mov dword [rsp + 0xa0], r11d
movsxd rax, dword [rsp + 0x90]
lea r10, [0x1402b3128]
mov r10, qword [r10 + rax*8]
movsxd rax, dword [rsp + 0x90]
lea rcx, [0x1402b3128]
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 0x14018b7bf
jmp 0x14018bb70
jmp 0x14018b7d5
cmp dword [rsp + 0x74], 0
jne 0x14018b7d5
mov dword [rsp + 0x74], 0x80041002
jmp 0x14018bb70
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, [0x1402459a8]
call qword [rax + 0xd8]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jge 0x14018b84c
jmp 0x14018bb70
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 0x14018b88c
jmp 0x14018bb70
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 0x14018b8cc
jmp 0x14018bb70
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, [0x140245628]
call qword [rax + 0xd8]
mov dword [rsp + 0x74], eax
cmp dword [rsp + 0x74], 0
jge 0x14018b90c
jmp 0x14018bb70
mov dword [rsp + 0xac], 0
jmp 0x14018b92a
mov eax, dword [rsp + 0xac]
add eax, 1
mov dword [rsp + 0xac], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0xac], eax
jae 0x14018bb38
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 0x14018b9c7
jmp 0x14018bb70
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 0x14018ba11
jmp 0x14018bb70
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 0x14018ba5b
jmp 0x14018bb70
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 0x14018baa5
jmp 0x14018bb70
lea rdx, [rsp + 0xc0]
mov rcx, qword [rsp + 0x910]
call fcn.14000e2e0
mov edx, dword [rsp + 0x8c4]
mov rcx, qword [rsp + 0x918]
call fcn.14000cdc0
mov edx, dword [rsp + 0xb0]
mov rcx, qword [rsp + 0x920]
call fcn.14000cdc0
mov edx, dword [rsp + 0xb4]
mov rcx, qword [rsp + 0x928]
call fcn.14000cdc0
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 0x14018b919
cmp qword [rsp + 0x78], 0
je 0x14018bb63
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x8d8], rax
mov rcx, qword [rsp + 0x8d8]
call fcn.140072248
mov qword [rsp + 0x78], 0
jmp 0x14018b668
mov dword [rsp + 0x70], 1
cmp qword [rsp + 0x68], 0
je 0x14018bb91
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 0x14018bbad
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsp + 0x60], 0
cmp qword [rsp + 0x78], 0
je 0x14018bc5a
mov dword [rsp + 0x8c8], 0
jmp 0x14018bbd7
mov eax, dword [rsp + 0x8c8]
add eax, 1
mov dword [rsp + 0x8c8], eax
mov eax, dword [rsp + 0x50]
cmp dword [rsp + 0x8c8], eax
jae 0x14018bc37
movsxd rcx, dword [rsp + 0x8c8]
mov rax, qword [rsp + 0x78]
cmp qword [rax + rcx*8], 0
je 0x14018bc35
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 0x14018bbc6
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x8e0], rax
mov rcx, qword [rsp + 0x8e0]
call fcn.140072248
mov qword [rsp + 0x78], 0
lea rcx, [0x1404bdf10]
call fcn.14000e320
mov eax, dword [rsp + 0x70]
mov rcx, qword [rsp + 0x8f0]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0x908
ret