Function at 0x14009bd20
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, [0x1400bda48]
mov qword [rbp + 0x7f], r12
xor edx, edx
mov qword [rbp + 0x6f], r12
lea rcx, [0x1400bda38]
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 0x14009bdd0
test byte [r10 + 0x1c], 0x20
je 0x14009bdd0
movzx eax, byte [r10 + 0x19]
test ebx, ebx
mov edx, r14d
cmovns edx, esi
cmp eax, edx
jb 0x14009bdd0
mov rax, qword [rbp + 0x7f]
lea edx, [rsi + 5]
mov rcx, qword [r10 + 0x10]
lea r8, [0x1400bda58]
mov r9d, ebx
mov qword [rsp + 0x20], rax
call fcn.140019878
mov r10, qword [section..data]
test ebx, ebx
js 0x14009c4df
lea rcx, str.ROOTWMI
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x14009be3f
mov r10, qword [section..data]
lea rdi, section..data
cmp r10, rdi
je 0x14009c50f
test byte [r10 + 0x1c], 0x20
je 0x14009c4e6
cmp byte [r10 + 0x19], 4
jb 0x14009c4e6
mov rcx, qword [r10 + 0x10]
lea edx, [rax + 0xb]
lea r8, [0x1400bda58]
call fcn.1400062b0
mov r10, qword [section..data]
jmp 0x14009c4e6
mov rbx, qword [rbp + 0x7f]
mov rcx, qword [rbp + 0x6f]
mov rax, qword [rbx]
mov rsi, qword [rax + 0x18]
test rcx, rcx
je 0x14009be6a
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 0x14009bef5
test byte [rcx + 0x1c], 0x20
je 0x14009bef5
movzx eax, byte [rcx + 0x19]
test ebx, ebx
mov edx, r14d
cmovns edx, esi
cmp eax, edx
jb 0x14009bef5
mov rax, qword [rbp + 0x6f]
lea edx, [rsi + 7]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bda58]
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 0x14009c4d3
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 0x14009bf92
test byte [r10 + 0x1c], 0x20
je 0x14009bf92
test eax, eax
mov ecx, r14d
movzx eax, byte [r10 + 0x19]
cmovns ecx, esi
cmp eax, ecx
jb 0x14009bf92
mov rax, qword [rbp + 0x6f]
lea r8, [0x1400bda58]
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 0x14009c4e6
lea rcx, [0x1400bd950]
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 0x14009c08c
test rax, rax
je 0x14009c08c
mov rbx, qword [rbp + 0x6f]
mov rcx, qword [rbp + 0x77]
mov rax, qword [rbx]
mov r14, qword [rax + 0xa0]
test rcx, rcx
je 0x14009c006
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 0x14009c0c5
test byte [rcx + 0x1c], 0x20
je 0x14009c0c5
test ebx, ebx
lea eax, [r14 + 3]
mov edx, r14d
cmovns edx, eax
movzx eax, byte [rcx + 0x19]
cmp eax, edx
jb 0x14009c0c5
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.14009c598
jmp 0x14009c0c5
mov ebx, 0x8007000e
mov rcx, qword [section..data]
lea rax, section..data
cmp rcx, rax
je 0x14009c0c5
test byte [rcx + 0x1c], 0x20
je 0x14009c0c5
cmp byte [rcx + 0x19], 4
jb 0x14009c0c5
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bda58]
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 0x14009c4d3
lea rsi, section..data
test r15d, r15d
jne 0x14009c4d3
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 0x14009c4b3
test eax, eax
js 0x14009c4b3
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 0x14009c1cd
test byte [rcx + 0x1c], 0x20
je 0x14009c1cd
test eax, eax
mov edx, r14d
movzx eax, byte [rcx + 0x19]
cmovns edx, edi
cmp eax, edx
jb 0x14009c1cd
movzx eax, word [rbp + 0xf]
lea edx, [rdi + 0xb]
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400bda58]
mov r9d, ebx
mov dword [rsp + 0x20], eax
call fcn.14000b144
test ebx, ebx
js 0x14009c47a
mov eax, SafeArrayGetDim
cmp ax, word [rbp + 0xf]
jne 0x14009c47a
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, [0x1400bda28]
call qword [case.0x140071786.0]
mov ebx, eax
mov rcx, qword [section..data]
cmp rcx, rsi
je 0x14009c252
test byte [rcx + 0x1c], 0x20
je 0x14009c252
test eax, eax
mov edx, r14d
movzx eax, byte [rcx + 0x19]
cmovns edx, edi
cmp eax, edx
jb 0x14009c252
mov rax, qword [rbp - 0x31]
lea r8, [0x1400bda58]
mov rcx, qword [rcx + 0x10]
mov edx, SafeArrayUnlock
mov r9d, ebx
mov qword [rsp + 0x20], rax
call fcn.140019878
test ebx, ebx
js 0x14009c45a
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 0x14009c2e1
test byte [rcx + 0x1c], 0x20
je 0x14009c2e1
test eax, eax
mov edx, r14d
movzx eax, byte [rcx + 0x19]
cmovns edx, edi
cmp eax, edx
jb 0x14009c2e1
movzx eax, word [rbp - 9]
lea r8, [0x1400bda58]
mov rcx, qword [rcx + 0x10]
mov edx, SafeArrayUnlock
mov r9d, ebx
mov dword [rsp + 0x20], eax
call fcn.14000b144
test ebx, ebx
js 0x14009c44a
mov eax, SafeArrayGetDim
cmp ax, word [rbp - 9]
jne 0x14009c44a
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, [0x1400bda28]
call qword [case.0x140071786.0]
mov ebx, eax
mov rcx, qword [section..data]
cmp rcx, rsi
je 0x14009c366
test byte [rcx + 0x1c], 0x20
je 0x14009c366
test eax, eax
mov edx, r14d
movzx eax, byte [rcx + 0x19]
cmovns edx, edi
cmp eax, edx
jb 0x14009c366
mov rax, qword [rbp - 0x39]
lea r8, [0x1400bda58]
mov rcx, qword [rcx + 0x10]
mov edx, SafeArrayUnlock
mov r9d, ebx
mov qword [rsp + 0x20], rax
call fcn.140019878
test ebx, ebx
js 0x14009c42a
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 0x14009c3fe
test byte [rcx + 0x1c], 0x20
je 0x14009c3fe
test eax, eax
mov edx, r14d
movzx eax, byte [rcx + 0x19]
cmovns edx, edi
cmp eax, edx
jb 0x14009c3fe
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, [0x1400bda58]
call fcn.14002b0a0
test ebx, ebx
js 0x14009c41a
mov eax, 3
cmp ax, word [rbp - 0x21]
jne 0x14009c41a
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 0x14009c44a
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 0x14009c47a
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 0x14009c0f2
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [case.0x140071786.0]
jmp 0x14009c0f2
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x14009c4d3
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 0x14009c50f
test byte [r10 + 0x1c], r14b
je 0x14009c50f
cmp byte [r10 + 0x19], sil
jb 0x14009c50f
mov rcx, qword [r10 + 0x10]
lea r8, [0x1400bda58]
mov edx, reloc.OLEAUT32.dll_SafeArrayUnlock
mov r9d, r15d
call fcn.1400063c0
mov rcx, qword [rbp + 0x77]
test rcx, rcx
je 0x14009c533
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 0x14009c557
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 0x14009c57b
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