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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov qword [rbp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x198], rbx
mov r12, r8
mov rsi, rdx
mov rbx, rcx
xor r13d, r13d
mov dword [rsp + 0x70], r13d
mov qword [rbp - 0x58], r13
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x50], 0xf
mov qword [rbp - 0x58], r13
mov byte [rbp - 0x68], r13b
mov qword [rbp - 0x80], r13
mov qword [rsp + 0x78], r13
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x60], r13
mov byte [rsp + 0x50], r13b
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
lea r9, [0x1800e5808]
xor edx, edx
lea r8d, [r13 + 1]
lea rcx, [0x1800e57f8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x18005d4c0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r13
mov byte [rbx], r13b
mov rcx, qword [rsp + 0x68]
cmp rcx, 0x10
jae 0x18005d42f
mov r8, qword [rsp + 0x60]
add r8, 1
je 0x18005d43c
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1800a6850
mov rcx, qword [rsp + 0x68]
jmp 0x18005d43c
mov rax, qword [rsp + 0x50]
mov qword [rbx], rax
mov qword [rsp + 0x50], r13
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rcx
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x60], r13
mov byte [rsp + 0x50], 0
mov dword [rsp + 0x70], 1
mov rax, qword [rsp + 0x68]
cmp rax, 0x10
jb 0x18005dcd1
inc rax
mov rcx, qword [rsp + 0x50]
cmp rax, 0x1000
jb 0x18005dccc
test cl, 0x1f
je 0x18005d492
call fcn.1800aa758
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18005d4a1
call fcn.1800aa758
int3
sub rcx, rax
cmp rcx, 8
jae 0x18005d4b0
call fcn.1800aa758
int3
cmp rcx, 0x27
jbe 0x18005dcc9
call fcn.1800aa758
nop
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ROOTCIMV2
call qword [rax + 0x18]
test eax, eax
jns 0x18005d5d6
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x18005d50c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r13
mov byte [rbx], 0
mov rcx, qword [rsp + 0x68]
cmp rcx, 0x10
jae 0x18005d545
mov r8, qword [rsp + 0x60]
add r8, 1
je 0x18005d552
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1800a6850
mov rcx, qword [rsp + 0x68]
jmp 0x18005d552
mov rax, qword [rsp + 0x50]
mov qword [rbx], rax
mov qword [rsp + 0x50], r13
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rcx
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x60], r13
mov byte [rsp + 0x50], 0
mov dword [rsp + 0x70], 1
mov rax, qword [rsp + 0x68]
cmp rax, 0x10
jb 0x18005dcd1
inc rax
mov rcx, qword [rsp + 0x50]
cmp rax, 0x1000
jb 0x18005dccc
test cl, 0x1f
je 0x18005d5a8
call fcn.1800aa758
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18005d5b7
call fcn.1800aa758
int3
sub rcx, rax
cmp rcx, 8
jae 0x18005d5c6
call fcn.1800aa758
int3
cmp rcx, 0x27
jbe 0x18005dcc9
call fcn.1800aa758
nop
mov rax, qword [0x180149908]
test rax, rax
jne 0x18005d606
lea rcx, [0x1800fafb8]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1800fafa0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x180149908], rax
mov dword [rsp + 0x38], r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rsp + 0x78]
call rax
test eax, eax
jns 0x18005d722
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x18005d648
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x18005d658
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r13
mov byte [rbx], 0
mov rcx, qword [rsp + 0x68]
cmp rcx, 0x10
jae 0x18005d691
mov r8, qword [rsp + 0x60]
add r8, 1
je 0x18005d69e
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1800a6850
mov rcx, qword [rsp + 0x68]
jmp 0x18005d69e
mov rax, qword [rsp + 0x50]
mov qword [rbx], rax
mov qword [rsp + 0x50], r13
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rcx
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x60], r13
mov byte [rsp + 0x50], 0
mov dword [rsp + 0x70], 1
mov rax, qword [rsp + 0x68]
cmp rax, 0x10
jb 0x18005dcd1
inc rax
mov rcx, qword [rsp + 0x50]
cmp rax, 0x1000
jb 0x18005dccc
test cl, 0x1f
je 0x18005d6f4
call fcn.1800aa758
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18005d703
call fcn.1800aa758
int3
sub rcx, rax
cmp rcx, 8
jae 0x18005d712
call fcn.1800aa758
int3
cmp rcx, 0x27
jbe 0x18005dcc9
call fcn.1800aa758
nop
mov qword [rbp - 0x78], r13
cmp qword [rsi + 0x18], 0x10
jb 0x18005d730
mov rsi, qword [rsi]
mov ecx, 0x18
call fcn.1800865a4
mov rdi, rax
mov qword [rbp + 0xa8], rax
test rax, rax
je 0x18005d761
mov qword [rax + 8], r13
mov dword [rax + 0x10], 1
mov rcx, rsi
call fcn.180088800
mov qword [rdi], rax
jmp 0x18005d764
mov rdi, r13
mov qword [rbp + 8], rdi
test rdi, rdi
jne 0x18005d778
mov ecx, 0x8007000e
call fcn.1800887d0
nop
mov ecx, 0x18
call fcn.1800865a4
mov rsi, rax
mov qword [rbp + 0xa8], rax
test rax, rax
je 0x18005d7ad
mov qword [rax + 8], r13
mov dword [rax + 0x10], 1
lea rcx, [0x1800fb1a8]
call fcn.180088800
mov qword [rsi], rax
jmp 0x18005d7b0
mov rsi, r13
mov qword [rbp], rsi
test rsi, rsi
jne 0x18005d7c4
mov ecx, 0x8007000e
call fcn.1800887d0
nop
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
lea rdx, [rbp - 0x78]
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r13
mov r9d, 0x30
mov r8, qword [rdi]
mov rdx, qword [rsi]
call qword [rax + 0xa0]
mov r15d, eax
or r14, 0xffffffffffffffff
mov ecx, r14d
lock xadd dword [rsi + 0x10], ecx
cmp ecx, 1
jne 0x18005d830
mov rcx, qword [rsi]
test rcx, rcx
je 0x18005d811
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rsi], r13
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x18005d823
call fcn.180086cf0
mov qword [rsi + 8], r13
mov edx, 0x18
mov rcx, rsi
call fcn.180086cf0
mov qword [rbp], r13
mov eax, r14d
lock xadd dword [rdi + 0x10], eax
cmp eax, 1
jne 0x18005d871
mov rcx, qword [rdi]
test rcx, rcx
je 0x18005d852
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r13
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x18005d864
call fcn.180086cf0
mov qword [rdi + 8], r13
mov edx, 0x18
mov rcx, rdi
call fcn.180086cf0
mov qword [rbp + 8], r13
test r15d, r15d
jns 0x18005d967
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x18005d88e
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x18005d89d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r13
mov byte [rbx], 0
mov rcx, qword [rsp + 0x68]
cmp rcx, 0x10
jae 0x18005d8d6
mov r8, qword [rsp + 0x60]
add r8, 1
je 0x18005d8e3
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1800a6850
mov rcx, qword [rsp + 0x68]
jmp 0x18005d8e3
mov rax, qword [rsp + 0x50]
mov qword [rbx], rax
mov qword [rsp + 0x50], r13
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rcx
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x60], r13
mov byte [rsp + 0x50], 0
mov dword [rsp + 0x70], 1
mov rax, qword [rsp + 0x68]
cmp rax, 0x10
jb 0x18005dcd1
inc rax
mov rcx, qword [rsp + 0x50]
cmp rax, 0x1000
jb 0x18005dccc
test cl, 0x1f
je 0x18005d939
call fcn.1800aa758
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18005d948
call fcn.1800aa758
int3
sub rcx, rax
cmp rcx, 8
jae 0x18005d957
call fcn.1800aa758
int3
cmp rcx, 0x27
jbe 0x18005dcc9
call fcn.1800aa758
nop
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x18005dbd3
mov qword [rbp - 0x70], r13
mov dword [rbp + 0xa8], r13d
mov rax, qword [rcx]
lea rdx, [rbp + 0xa8]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x70]
mov r8d, 1
mov edx, r14d
call qword [rax + 0x20]
cmp dword [rbp + 0xa8], 0
je 0x18005dbcf
lea rcx, [rbp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
cmp qword [rbp - 0x70], 0
je 0x18005dbcf
xor r8d, r8d
mov rdx, r12
lea rcx, [rbp - 0x28]
call fcn.180059b68
nop
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0x30]
xor r8d, r8d
call qword [rax + 0x20]
movabs rdi, 0x7fffffffffffffff
mov rdx, qword [rbp + 0x38]
test rdx, rdx
je 0x18005db44
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r13
mov word [rbp - 0x48], r13w
cmp word [rdx], 0
jne 0x18005da34
mov r14, r13
jmp 0x18005da3f
inc r14
cmp word [rdx + r14*2], 0
jne 0x18005da34
mov r8, r14
lea rcx, [rbp - 0x48]
call fcn.18000a8a8
nop
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x10]
call fcn.180059c8c
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.1800096b4
nop
mov rax, qword [rbp + 0x28]
cmp rax, 0x10
jb 0x18005dabe
inc rax
mov rcx, qword [rbp + 0x10]
cmp rax, 0x1000
jb 0x18005dab9
test cl, 0x1f
je 0x18005da8c
call fcn.1800aa758
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18005da9b
call fcn.1800aa758
int3
sub rcx, rax
cmp rcx, 8
jae 0x18005daaa
call fcn.1800aa758
int3
cmp rcx, 0x27
jbe 0x18005dab6
call fcn.1800aa758
int3
mov rcx, rax
call fcn.180059b58
mov qword [rbp + 0x28], 0xf
mov qword [rbp + 0x20], r13
mov byte [rbp + 0x10], 0
mov rax, qword [rbp - 0x30]
cmp rax, 8
jb 0x18005db33
inc rax
mov rcx, qword [rbp - 0x48]
cmp rax, rdi
jbe 0x18005daea
call fcn.1800aa758
int3
add rax, rax
cmp rax, 0x1000
jb 0x18005db2e
test byte [rbp - 0x48], 0x1f
je 0x18005db01
call fcn.1800aa758
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18005db10
call fcn.1800aa758
int3
sub rcx, rax
cmp rcx, 8
jae 0x18005db1f
call fcn.1800aa758
int3
cmp rcx, 0x27
jbe 0x18005db2b
call fcn.1800aa758
int3
mov rcx, rax
call fcn.180059b58
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r13
mov word [rbp - 0x48], r13w
lea rcx, [rbp + 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x18005dbbe
inc rax
mov rcx, qword [rbp - 0x28]
cmp rax, rdi
jbe 0x18005db75
call fcn.1800aa758
int3
add rax, rax
cmp rax, 0x1000
jb 0x18005dbb9
test byte [rbp - 0x28], 0x1f
je 0x18005db8c
call fcn.1800aa758
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18005db9b
call fcn.1800aa758
int3
sub rcx, rax
cmp rcx, 8
jae 0x18005dbaa
call fcn.1800aa758
int3
cmp rcx, 0x27
jbe 0x18005dbb6
call fcn.1800aa758
int3
mov rcx, rax
call fcn.180059b58
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r13
mov word [rbp - 0x28], r13w
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x18005dbea
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x78]
mov rdx, qword [rbp - 0x80]
test rdx, rdx
je 0x18005dc00
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x18005dc0b
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r13
mov byte [rbx], 0
mov rcx, qword [rsp + 0x68]
cmp rcx, 0x10
jae 0x18005dc44
mov r8, qword [rsp + 0x60]
add r8, 1
je 0x18005dc51
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.1800a6850
mov rcx, qword [rsp + 0x68]
jmp 0x18005dc51
mov rax, qword [rsp + 0x50]
mov qword [rbx], rax
mov qword [rsp + 0x50], r13
mov rax, qword [rsp + 0x60]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rcx
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x60], r13
mov byte [rsp + 0x50], 0
mov dword [rsp + 0x70], 1
mov rax, qword [rsp + 0x68]
cmp rax, 0x10
jb 0x18005dcd1
inc rax
mov rcx, qword [rsp + 0x50]
cmp rax, 0x1000
jb 0x18005dccc
test cl, 0x1f
je 0x18005dc9f
call fcn.1800aa758
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18005dcae
call fcn.1800aa758
int3
sub rcx, rax
cmp rcx, 8
jae 0x18005dcbd
call fcn.1800aa758
int3
cmp rcx, 0x27
jbe 0x18005dcc9
call fcn.1800aa758
int3
mov rcx, rax
call fcn.180059b58
mov qword [rsp + 0x68], 0xf
mov qword [rsp + 0x60], r13
mov byte [rsp + 0x50], 0
mov qword [rbp - 0x50], 0xf
mov qword [rbp - 0x58], r13
mov byte [rbp - 0x68], 0
mov rax, rbx
mov rbx, qword [rsp + 0x198]
add rsp, 0x150
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret