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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x38
push esi
push edi
lea eax, [ecx + 0x104]
push eax
push 0x10071cc
xor esi, esi
push 1
push esi
push 0x100729c
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
cmp edi, esi
jl 0x101db6d
push ebx
push 0x1007168
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 8], eax
cmp eax, esi
je 0x101d9df
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add edx, 0x108
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 8]
add eax, 0x104
mov eax, dword [eax]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
push dword [ebp - 8]
mov edi, eax
call ebx
jmp 0x101d9f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x101d9f3
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp edi, esi
jl 0x101db6c
mov eax, dword [ebp - 0xc]
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [eax + 0x108]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov edi, eax
cmp edi, esi
jl 0x101db6c
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 0x1007160
call edi
mov dword [ebp - 8], eax
cmp eax, esi
je 0x101da84
push 0x1007118
call edi
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x101da67
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x108]
mov ecx, dword [eax]
lea edx, [ebp - 0x10]
push edx
push esi
push 0x20
push dword [ebp - 0x14]
push dword [ebp - 8]
push eax
call dword [ecx + 0x50]
push dword [ebp - 0x14]
mov edi, eax
call ebx
jmp 0x101da7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x101da7b
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
push dword [ebp - 8]
call ebx
jmp 0x101da8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x101db6c
cmp edi, esi
jl 0x101db5f
mov ecx, dword [eax]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 4]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
mov edi, eax
cmp edi, 1
jne 0x101dac2
mov edi, 0x80004005
jmp 0x101db5f
cmp edi, esi
jl 0x101db5f
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0x28]
push edx
push esi
push 0x1007108
push eax
call dword [ecx + 0x10]
mov edi, eax
cmp edi, esi
jl 0x101db5f
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x28]
push eax
call ebx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0x38]
push edx
push esi
push 0x10070f8
push eax
call dword [ecx + 0x10]
mov edi, eax
cmp edi, esi
jl 0x101db5f
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0x28]
push edx
push esi
push 0x10070e8
push eax
call dword [ecx + 0x10]
mov edi, eax
cmp edi, esi
jl 0x101db59
push 3
pop eax
cmp ax, word [ebp - 0x28]
jne 0x101db59
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x20], esi
jne 0x101db43
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], esi
jmp 0x101db53
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x10c], eax
call fcn.0101d80f
mov edi, eax
lea eax, [ebp - 0x28]
push eax
call ebx
lea eax, [ebp - 0x38]
push eax
call ebx
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x101db6c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop ebx
mov eax, edi
pop edi
pop esi
leave
ret