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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
mov eax, dword [0x10018070]
xor eax, esp
mov dword [esp + 0x58], eax
mov eax, dword [0x10019194]
push ebx
push esi
push edi
mov ecx, 0x10019194
call dword [eax + 0xc]
lea esi, [eax + 0x10]
lea eax, [esp + 0x20]
push eax
push 0x100103a8
push 1
push 0
push 0x10010348
mov dword [esp + 0x28], esi
mov dword [esp + 0x34], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
or ebx, 0xffffffff
test eax, eax
jns 0x1000177a
push 0x2b
jmp 0x100018da
push ecx
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], 0
call fcn.10001620
mov eax, dword [eax]
test eax, eax
je 0x10001796
mov edx, dword [eax]
jmp 0x10001798
xor edx, edx
mov eax, dword [esp + 0x20]
lea edi, [esp + 0x1c]
mov ecx, dword [eax]
push edi
push 0
push 0
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x18], eax
test edi, edi
je 0x10001805
lea ecx, [edi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10001805
test edi, edi
je 0x10001805
mov eax, dword [edi]
test eax, eax
je 0x100017e5
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x100017fc
push eax
call fcn.100036f8
add esp, 4
mov dword [edi + 4], 0
push edi
call fcn.10002f3e
add esp, 4
cmp dword [esp + 0x18], 0
jge 0x1000181d
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x45
jmp 0x100018da
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [esp + 0x38]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x10001857
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edi, 1
jmp 0x10001a1b
push str.SELECT__FROM_HNet_ConnectionProperties
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0
call fcn.10001590
mov eax, dword [eax]
test eax, eax
je 0x10001877
mov edi, dword [eax]
jmp 0x10001879
xor edi, edi
push 0x10015d98
lea ecx, [esp + 0x1c]
call fcn.10001590
mov eax, dword [eax]
test eax, eax
je 0x10001891
mov edx, dword [eax]
jmp 0x10001893
xor edx, edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x20]
push 0
push 0x20
push edi
push edx
push eax
call dword [ecx + 0x50]
lea ecx, [esp + 0x18]
mov edi, eax
call fcn.100016c0
lea ecx, [esp + 0x10]
call fcn.100016c0
test edi, edi
jns 0x100018f1
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x6e
push str.EnableIcsWithAssis____d
call fcn.100012b0
add esp, 8
mov edi, 1
jmp 0x10001a1b
cmp dword [ebp + 8], 0
mov dword [esp + 0x2c], 0
lea ecx, [esp + 0x14]
je 0x1000190a
push 0x10015d9c
jmp 0x1000190f
push str.IsIcsPublic
call fcn.100021b0
mov ecx, dword [esp + 0x28]
mov esi, dword [esp + 0x14]
test ecx, ecx
je 0x100019fb
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
lea ebx, [ebx]
mov eax, dword [ecx]
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x28]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [esp + 0x2c], 0
je 0x100019fb
lea eax, [esp + 0x40]
push eax
call edi
mov eax, dword [esp + 0x24]
push 0
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x48]
push edx
push 0
push str.IsIcsPublic
push eax
call dword [ecx + 0x10]
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x50]
push eax
call edi
mov eax, dword [esp + 0x24]
push 0
mov ecx, dword [eax]
push 0
lea edx, [esp + 0x58]
push edx
push 0
push 0x10015d9c
push eax
call dword [ecx + 0x10]
lea eax, [esp + 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [esp + 0x30]
push eax
call edi
push 0
lea edx, [esp + 0x34]
push edx
mov eax, 0xb
mov word [esp + 0x38], ax
mov eax, dword [esp + 0x2c]
push 0
mov word [esp + 0x44], bx
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x14]
mov eax, dword [esp + 0x1c]
push 0
mov ecx, dword [eax]
push 0
push 1
push dword [esp + 0x30]
push eax
call dword [ecx + 0x38]
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x10001930
mov eax, dword [esp + 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor edi, edi
add esi, 0xfffffff0
lea eax, [esi + 0xc]
lock xadd dword [eax], ebx
dec ebx
test ebx, ebx
jg 0x10001a32
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [esp + 0x64]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10002e67
mov esp, ebp
pop ebp
ret