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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xb0
xor r12d, r12d
lea rax, [rbp + 0x7f]
lea r9, [0x1400bd9c8]
mov qword [rbp + 0x7f], r12
xor edx, edx
mov qword [rbp + 0x6f], r12
lea rcx, [0x1400bd9b8]
mov qword [rbp + 0x77], r12
lea r8d, [r12 + 1]
mov qword [rsp + 0x20], rax
mov r15d, r12d
call qword [sym.imp.ole32.dll_CoCreateInstance]
nop dword [rax + rax]
mov ebx, eax
mov r10, qword [section..data]
lea rax, section..data
lea esi, [r12 + 5]
lea r14d, [r12 + 2]
cmp r10, rax
je 0x14009c010
test byte [r10 + 0x1c], 0x20
je 0x14009c010
movzx eax, byte [r10 + 0x19]
test ebx, ebx
mov edx, r14d
cmovns edx, esi
cmp eax, edx
jb 0x14009c010
mov rax, qword [rbp + 0x7f]
lea edx, [rsi + 5]
mov rcx, qword [r10 + 0x10]
lea r8, [0x1400bd9d8]
mov r9d, ebx
mov qword [rsp + 0x20], rax
call fcn.140019878
mov r10, qword [section..data]
test ebx, ebx
js 0x14009c71f
lea rcx, str.ROOTWMI
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x14009c07f
mov r10, qword [section..data]
lea rdi, section..data
cmp r10, rdi
je 0x14009c74f
test byte [r10 + 0x1c], 0x20
je 0x14009c726
cmp byte [r10 + 0x19], 4
jb 0x14009c726
mov rcx, qword [r10 + 0x10]
lea edx, [rax + 0xb]
lea r8, [0x1400bd9d8]
call fcn.1400062b0
mov r10, qword [section..data]
jmp 0x14009c726
mov rbx, qword [rbp + 0x7f]
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rbx]
mov rsi, qword [rax + 0x18]
test rcx, rcx
je 0x14009c0aa
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [case.0x140071786.0]
movabs r10, 0xc2392f9178de2a70
lea rax, [rbp + 0x6f]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
mov qword [rsp + 0x38], r12
mov rdx, rdi
mov qword [rsp + 0x30], r12
mov rcx, rbx
mov dword [rsp + 0x28], r12d
mov rax, rsi
mov qword [rsp + 0x20], r12
call qword [case.0x140071786.0]
mov ebx, eax
mov rcx, qword [section..data]
lea rax, section..data
mov esi, 5
cmp rcx, rax
je 0x14009c135
test byte [rcx + 0x1c], 0x20
je 0x14009c135
movzx eax, byte [rcx + 0x19]
test ebx, ebx
mov edx, r14d
cmovns edx, esi
cmp eax, edx
jb 0x14009c135
mov rax, qword [rbp + 0x6f]
lea edx, [rsi + 7]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bd9d8]
mov r9d, ebx
mov qword [rsp + 0x20], rax
call fcn.140019878
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
test ebx, ebx
js 0x14009c713
mov rcx, qword [rbp + 0x6f]
mov eax, 3
mov dword [rsp + 0x38], r12d
or r9, 0xffffffffffffffff
mov qword [rsp + 0x30], r12
xor r8d, r8d
mov dword [rsp + 0x28], eax
or edx, 0xffffffff
mov dword [rsp + 0x20], eax
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
nop dword [rax + rax]
mov ebx, eax
mov r10, qword [section..data]
lea rdi, section..data
mov edx, SafeArrayGetDim
cmp r10, rdi
je 0x14009c1d2
test byte [r10 + 0x1c], 0x20
je 0x14009c1d2
test eax, eax
mov ecx, r14d
movzx eax, byte [r10 + 0x19]
cmovns ecx, esi
cmp eax, ecx
jb 0x14009c1d2
mov rax, qword [rbp + 0x6f]
lea r8, [0x1400bd9d8]
mov rcx, qword [r10 + 0x10]
mov r9d, ebx
mov qword [rsp + 0x20], rax
call fcn.140019878
mov r10, qword [section..data]
test ebx, ebx
js 0x14009c726
lea rcx, [0x1400bd8d0]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
lea rcx, str.SELECT__FROM_MSNdis_PMCapabilities
mov rsi, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov rdi, rax
test rsi, rsi
je 0x14009c2cc
test rax, rax
je 0x14009c2cc
mov rbx, qword [rbp + 0x6f]
mov rcx, qword [rbp + 0x77]
mov rax, qword [rbx]
mov r14, qword [rax + 0xa0]
test rcx, rcx
je 0x14009c246
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [case.0x140071786.0]
movabs r10, 0xb1fd9eef10dd3170
lea rax, [rbp + 0x77]
mov r9d, 0x30
mov qword [rsp + 0x28], rax
mov r8, rdi
mov rax, r14
mov qword [rsp + 0x20], r12
mov rdx, rsi
mov rcx, rbx
call qword [case.0x140071786.0]
mov ebx, eax
mov rcx, qword [section..data]
lea rax, section..data
mov r14d, 2
cmp rcx, rax
je 0x14009c305
test byte [rcx + 0x1c], 0x20
je 0x14009c305
test ebx, ebx
lea eax, [r14 + 3]
mov edx, r14d
cmovns edx, eax
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jb 0x14009c305
mov rax, qword [rbp + 0x77]
mov r9d, ebx
mov rcx, qword [rcx + 0x10]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
call fcn.14009c7d8
jmp 0x14009c305
mov ebx, 0x8007000e
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x14009c305
test byte [rcx + 0x1c], 0x20
je 0x14009c305
cmp byte [rcx + 0x19], 4
jb 0x14009c305
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bd9d8]
mov edx, SafeArrayGetDim
call fcn.1400062b0
mov rcx, rsi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop dword [rax + rax]
test ebx, ebx
js 0x14009c713
lea rsi, section..data
test r15d, r15d
jne 0x14009c713
mov rcx, qword [rbp + 0x77]
mov qword [rbp - 0x29], r12
mov dword [rbp + 0x67], r12d
mov rax, qword [rcx]
movabs r10, 0xe3cd87de78542870
mov rax, qword [rax + 0x20]
lea rdx, [rbp + 0x67]
mov qword [rsp + 0x20], rdx
lea r9, [rbp - 0x29]
or edx, 0xffffffff
lea r8d, [r15 + 1]
call qword [case.0x140071786.0]
cmp dword [rbp + 0x67], r12d
je 0x14009c6f3
test eax, eax
js 0x14009c6f3
lea rcx, [rbp + 0xf]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x29]
mov rax, qword [rcx]
movabs r10, 0x966007131edea370
mov rax, qword [rax + 0x20]
lea r9, [rbp + 0xf]
mov qword [rsp + 0x28], r12
lea rdx, str.PMCapabilitiesParam
xor r8d, r8d
mov qword [rsp + 0x20], r12
call qword [case.0x140071786.0]
mov ebx, eax
mov rcx, qword [section..data]
lea edi, [r15 + 5]
cmp rcx, rsi
je 0x14009c40d
test byte [rcx + 0x1c], 0x20
je 0x14009c40d
test eax, eax
mov edx, r14d
movzx eax, byte [rcx + 0x19]
cmovns edx, edi
cmp eax, edx
jb 0x14009c40d
movzx eax, word [rbp + 0xf]
lea edx, [rdi + 0xb]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bd9d8]
mov r9d, ebx
mov dword [rsp + 0x20], eax
call fcn.14000b144
test ebx, ebx
js 0x14009c6ba
mov eax, SafeArrayGetDim
cmp ax, word [rbp + 0xf]
jne 0x14009c6ba
mov rcx, qword [rbp + 0x17]
mov qword [rbp - 0x31], r12
mov rax, qword [rcx]
movabs r10, 0xdee01e7974d59970
mov rax, qword [rax]
lea r8, [rbp - 0x31]
lea rdx, [0x1400bd9a8]
call qword [case.0x140071786.0]
mov ebx, eax
mov rcx, qword [section..data]
cmp rcx, rsi
je 0x14009c492
test byte [rcx + 0x1c], 0x20
je 0x14009c492
test eax, eax
mov edx, r14d
movzx eax, byte [rcx + 0x19]
cmovns edx, edi
cmp eax, edx
jb 0x14009c492
mov rax, qword [rbp - 0x31]
lea r8, [0x1400bd9d8]
mov rcx, qword [rcx + 0x10]
mov edx, SafeArrayUnlock
mov r9d, ebx
mov qword [rsp + 0x20], rax
call fcn.140019878
test ebx, ebx
js 0x14009c69a
lea rcx, [rbp - 9]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x31]
mov rax, qword [rcx]
movabs r10, 0x966007131edea370
mov rax, qword [rax + 0x20]
lea r9, [rbp - 9]
mov qword [rsp + 0x28], r12
lea rdx, str.WakeOnMagicPacket
xor r8d, r8d
mov qword [rsp + 0x20], r12
call qword [case.0x140071786.0]
mov ebx, eax
mov rcx, qword [section..data]
cmp rcx, rsi
je 0x14009c521
test byte [rcx + 0x1c], 0x20
je 0x14009c521
test eax, eax
mov edx, r14d
movzx eax, byte [rcx + 0x19]
cmovns edx, edi
cmp eax, edx
jb 0x14009c521
movzx eax, word [rbp - 9]
lea r8, [0x1400bd9d8]
mov rcx, qword [rcx + 0x10]
mov edx, SafeArrayUnlock
mov r9d, ebx
mov dword [rsp + 0x20], eax
call fcn.14000b144
test ebx, ebx
js 0x14009c68a
mov eax, SafeArrayGetDim
cmp ax, word [rbp - 9]
jne 0x14009c68a
mov rcx, qword [rbp - 1]
mov qword [rbp - 0x39], r12
mov rax, qword [rcx]
movabs r10, 0xdee01e7974d59970
mov rax, qword [rax]
lea r8, [rbp - 0x39]
lea rdx, [0x1400bd9a8]
call qword [case.0x140071786.0]
mov ebx, eax
mov rcx, qword [section..data]
cmp rcx, rsi
je 0x14009c5a6
test byte [rcx + 0x1c], 0x20
je 0x14009c5a6
test eax, eax
mov edx, r14d
movzx eax, byte [rcx + 0x19]
cmovns edx, edi
cmp eax, edx
jb 0x14009c5a6
mov rax, qword [rbp - 0x39]
lea r8, [0x1400bd9d8]
mov rcx, qword [rcx + 0x10]
mov edx, SafeArrayUnlock
mov r9d, ebx
mov qword [rsp + 0x20], rax
call fcn.140019878
test ebx, ebx
js 0x14009c66a
lea rcx, [rbp - 0x21]
call qword [sym.imp.OLEAUT32.dll_VariantClear]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x39]
mov rax, qword [rcx]
movabs r10, 0x966007131edea370
mov rax, qword [rax + 0x20]
lea r9, [rbp - 0x21]
mov qword [rsp + 0x28], r12
lea rdx, str.NdisPMCapabilityState
xor r8d, r8d
mov qword [rsp + 0x20], r12
call qword [case.0x140071786.0]
mov ebx, eax
mov rcx, qword [section..data]
cmp rcx, rsi
je 0x14009c63e
test byte [rcx + 0x1c], 0x20
je 0x14009c63e
test eax, eax
mov edx, r14d
movzx eax, byte [rcx + 0x19]
cmovns edx, edi
cmp eax, edx
jb 0x14009c63e
movzx r8d, word [rbp - 0x21]
mov edx, SafeArrayUnlock
mov eax, dword [rbp - 0x19]
mov r9d, ebx
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r8d
lea r8, [0x1400bd9d8]
call fcn.14002b0a0
test ebx, ebx
js 0x14009c65a
mov eax, 3
cmp ax, word [rbp - 0x21]
jne 0x14009c65a
cmp dword [rbp - 0x19], r14d
mov eax, 1
cmove r15d, eax
lea rcx, [rbp - 0x21]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x14009c68a
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [case.0x140071786.0]
lea rcx, [rbp - 9]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x14009c6ba
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [case.0x140071786.0]
lea rcx, [rbp + 0xf]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14009c332
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [case.0x140071786.0]
jmp 0x14009c332
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14009c713
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [case.0x140071786.0]
mov r10, qword [section..data]
mov esi, 5
lea rdi, section..data
cmp r10, rdi
je 0x14009c74f
test byte [r10 + 0x1c], r14b
je 0x14009c74f
cmp byte [r10 + 0x19], sil
jb 0x14009c74f
mov rcx, qword [r10 + 0x10]
lea r8, [0x1400bd9d8]
mov edx, reloc.OLEAUT32.dll_SafeArrayUnlock
mov r9d, r15d
call fcn.1400063c0
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x14009c773
mov qword [rbp + 0x77], r12
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [case.0x140071786.0]
mov rcx, qword [rbp + 0x6f]
test rcx, rcx
je 0x14009c797
mov qword [rbp + 0x6f], r12
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [case.0x140071786.0]
mov rcx, qword [rbp + 0x7f]
test rcx, rcx
je 0x14009c7bb
mov qword [rbp + 0x7f], r12
mov rdx, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rdx + 0x10]
call qword [case.0x140071786.0]
mov eax, r15d
add rsp, 0xb0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret