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

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov qword [rsp + 0x188], rbx
mov r14, r8
mov rbx, rdx
mov rsi, rcx
xor r15d, r15d
mov dword [rsp + 0x50], r15d
lea rcx, [rbp - 0x50]
call fcn.140006630
nop
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x58], r15
lea rcx, [rbp - 0x78]
call fcn.140006630
nop
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [0x1400a7260]
xor edx, edx
lea r8d, [r15 + 1]
lea rcx, [0x1400a7250]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14002d7b0
lea rdx, [rbp - 0x78]
mov rcx, rsi
call fcn.1400065c0
jmp 0x14002daf0
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ROOTCIMV2
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
js 0x14002d98e
mov rax, qword [0x1400f8250]
test rax, rax
jne 0x14002d81e
lea rcx, [0x1400c3850]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x1400c3868]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400f8250], rax
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rsp + 0x58]
call rax
test eax, eax
jns 0x14002d867
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002d85d
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x58]
jmp 0x14002d993
mov qword [rsp + 0x68], r15
mov rcx, rbx
call fcn.140007ed0
mov rdx, rax
lea rcx, [rbp - 0x80]
call fcn.140027d80
mov rbx, rax
lea rdx, [0x1400c3a58]
lea rcx, [rsp + 0x78]
call fcn.140027d80
nop
mov r8, qword [rbx]
test r8, r8
je 0x14002d8a2
mov r8, qword [r8]
jmp 0x14002d8a5
mov r8, r15
mov rax, qword [rax]
test rax, rax
je 0x14002d8b2
mov rdx, qword [rax]
jmp 0x14002d8b5
mov rdx, r15
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea r9, [rsp + 0x68]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r15
mov r9d, 0x30
call qword [rax + 0xa0]
mov edi, eax
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x14002d92b
or ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x14002d926
test rbx, rbx
je 0x14002d926
mov rcx, qword [rbx]
test rcx, rcx
je 0x14002d907
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14002d919
call fcn.1400579d4
mov qword [rbx + 8], r15
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rbx
call fcn.1400579d4
mov qword [rsp + 0x78], r15
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x14002d97a
or eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x14002d976
test rbx, rbx
je 0x14002d976
mov rcx, qword [rbx]
test rcx, rcx
je 0x14002d957
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14002d969
call fcn.1400579d4
mov qword [rbx + 8], r15
mov edx, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rbx
call fcn.1400579d4
mov qword [rbp - 0x80], r15
test edi, edi
jns 0x14002d9a7
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14002d98e
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002d99e
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
lea rdx, [rbp - 0x78]
jmp 0x14002dae8
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14002daa1
mov qword [rsp + 0x70], r15
mov dword [rbp + 0x98], r15d
mov rax, qword [rcx]
lea r8, [rbp + 0x98]
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0x70]
mov r8d, 1
or edx, 0xffffffff
call qword [rax + 0x20]
cmp dword [rbp + 0x98], 0
je 0x14002da9c
lea rcx, [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
cmp qword [rsp + 0x70], 0
je 0x14002da9c
mov rdx, r14
lea rcx, [rbp + 0x10]
call fcn.14002a790
nop
mov rbx, qword [rsp + 0x70]
mov rdi, qword [rbx]
lea rcx, [rbp + 0x10]
call fcn.140007e20
mov rdx, rax
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp - 0x30]
xor r8d, r8d
mov rcx, rbx
call qword [rdi + 0x20]
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x14002da7d
lea rcx, [rbp - 0x10]
call fcn.140007e80
nop
lea rdx, [rbp - 0x10]
lea rcx, [rbp + 0x30]
call fcn.14002a8a4
nop
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.140007ee0
nop
lea rcx, [rbp + 0x30]
call fcn.140006530
nop
lea rcx, [rbp - 0x10]
call fcn.140007e30
lea rcx, [rbp - 0x30]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
nop
lea rcx, [rbp + 0x10]
call fcn.140007e30
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14002dab9
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x14002dad1
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14002dadc
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
lea rcx, [rbp - 0x78]
call fcn.140006f10
mov rdx, rax
mov rcx, rsi
call fcn.1400065c0
mov dword [rsp + 0x50], 1
lea rcx, [rbp - 0x78]
call fcn.140006530
nop
lea rcx, [rbp - 0x50]
call fcn.140006530
mov rax, rsi
mov rbx, qword [rsp + 0x188]
add rsp, 0x150
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret