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

Disassembly:
push 0x840
mov eax, 0x1007b068
call fcn.10063f27
mov eax, dword [ebp + 8]
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x82c], eax
mov eax, dword [ebp + 0x10]
xor ebx, ebx
push ebx
mov esi, ecx
mov dword [ebp - 0x824], eax
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jge 0x1003b82b
push 2
pop eax
jmp 0x1003bb60
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea eax, [ebp - 0x828]
push eax
push 0x10089940
push 1
push ebx
push 0x10089a10
mov dword [ebp - 0x828], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x1003b868
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x1003b823
push esi
lea edi, [ebp - 0x834]
mov dword [ebp - 0x820], ebx
call fcn.1003b1c6
mov dword [ebp - 4], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x1003b887
mov eax, dword [eax]
jmp 0x1003b889
xor eax, eax
mov ecx, dword [ebp - 0x828]
mov edx, dword [ecx]
lea esi, [ebp - 0x820]
push esi
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ecx
call dword [edx + 0xc]
or dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x834]
mov esi, eax
call fcn.1003b226
cmp esi, ebx
jge 0x1003b8c6
mov eax, dword [ebp - 0x828]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1003b860
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x820]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jge 0x1003b8ee
mov eax, dword [ebp - 0x820]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x1003b8b8
push str.Select__from
mov edi, 0x400
lea eax, [ebp - 0x814]
push edi
push eax
mov dword [ebp - 0x81c], ebx
call fcn.1005ab9a
add esp, 0xc
push dword [ebp - 0x824]
lea eax, [ebp - 0x814]
push edi
push eax
call fcn.1005ab1d
add esp, 0xc
lea eax, [ebp - 0x814]
push eax
lea edi, [ebp - 0x834]
call fcn.1003b1c6
mov esi, eax
lea edi, [ebp - 0x824]
mov dword [ebp - 4], 1
call fcn.1003b16e
mov byte [ebp - 4], 2
mov ecx, dword [esi]
cmp ecx, ebx
je 0x1003b958
mov ecx, dword [ecx]
jmp 0x1003b95a
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x1003b964
mov edx, dword [eax]
jmp 0x1003b966
xor edx, edx
mov eax, dword [ebp - 0x820]
mov esi, dword [eax]
lea edi, [ebp - 0x81c]
push edi
push ebx
push 0x30
push ecx
push edx
push eax
call dword [esi + 0x50]
lea edi, [ebp - 0x824]
mov esi, eax
call fcn.1003b226
or dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x834]
call fcn.1003b226
cmp esi, ebx
jl 0x1003b8e0
mov dword [ebp - 0x838], ebx
cmp dword [ebp - 0x81c], ebx
je 0x1003bb22
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x81c]
mov eax, dword [eax]
lea ecx, [ebp - 0x838]
push ecx
lea ecx, [ebp - 0x830]
push ecx
push 1
push 0xffffffffffffffff
push dword [ebp - 0x81c]
mov byte [ebp - 0x815], bl
call dword [eax + 0x10]
test eax, eax
jl 0x1003bb22
cmp dword [ebp - 0x838], ebx
je 0x1003bb22
mov eax, dword [ebp - 0x830]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x84c]
push edx
push ebx
push 0x1009da8c
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jne 0x1003ba73
push 8
call fcn.10059e60
pop ecx
mov dword [ebp - 0x824], eax
mov dword [ebp - 4], 3
cmp eax, ebx
je 0x1003ba38
mov esi, eax
call fcn.10026f5a
jmp 0x1003ba3a
xor eax, eax
or dword [ebp - 4], 0xffffffff
push dword [ebp - 0x844]
mov dword [ebp - 0x824], eax
push eax
call fcn.1002708b
mov esi, dword [ebp - 0x83c]
lea ebx, [ebp - 0x824]
call fcn.1003bb68
lea eax, [ebp - 0x84c]
push eax
mov byte [ebp - 0x815], 1
call edi
xor ebx, ebx
mov eax, dword [ebp - 0x830]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x84c]
push edx
push ebx
push str.productState
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x1003bac1
cmp byte [ebp - 0x815], bl
je 0x1003bab6
test dword [ebp - 0x844], 0x1000
je 0x1003baaa
push 1
jmp 0x1003baab
push ebx
push dword [ebp - 0x82c]
call fcn.1003bbb8
lea eax, [ebp - 0x84c]
push eax
call edi
jmp 0x1003bb0a
mov eax, dword [ebp - 0x830]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x84c]
push edx
push ebx
push str.enabled
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x1003baf5
cmp byte [ebp - 0x815], bl
je 0x1003bb0a
cmp word [ebp - 0x844], 0xffff
je 0x1003bafd
push ebx
jmp 0x1003baff
cmp byte [ebp - 0x815], bl
je 0x1003bb0a
push 1
push dword [ebp - 0x82c]
call fcn.1003bbb8
mov eax, dword [ebp - 0x830]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x81c], ebx
jne 0x1003b9ba
mov eax, dword [ebp - 0x820]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x828]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x81c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0x83c]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
and eax, 0xfffffffc
neg eax
sbb eax, eax
inc eax
call fcn.10063faa
ret 0xc