Function at 0x101d92e
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 0x100719c
xor esi, esi
push 1
push esi
push 0x100726c
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 0x101db3d
push ebx
push 0x1007138
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [ebp - 8], eax
cmp eax, esi
je 0x101d9af
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 0x101d9c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x101d9c3
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
cmp edi, esi
jl 0x101db3c
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 0x101db3c
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push 0x1007130
call edi
mov dword [ebp - 8], eax
cmp eax, esi
je 0x101da54
push 0x10070e8
call edi
mov dword [ebp - 0x14], eax
cmp eax, esi
je 0x101da37
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 0x101da4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jle 0x101da4b
and eax, 0xffff
or eax, 0x80070000
mov edi, eax
push dword [ebp - 8]
call ebx
jmp 0x101da5c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x101db3c
cmp edi, esi
jl 0x101db2f
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 0x101da92
mov edi, 0x80004005
jmp 0x101db2f
cmp edi, esi
jl 0x101db2f
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0x28]
push edx
push esi
push 0x10070d8
push eax
call dword [ecx + 0x10]
mov edi, eax
cmp edi, esi
jl 0x101db2f
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 0x10070c8
push eax
call dword [ecx + 0x10]
mov edi, eax
cmp edi, esi
jl 0x101db2f
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push esi
push esi
lea edx, [ebp - 0x28]
push edx
push esi
push 0x10070b8
push eax
call dword [ecx + 0x10]
mov edi, eax
cmp edi, esi
jl 0x101db29
push 3
pop eax
cmp ax, word [ebp - 0x28]
jne 0x101db29
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x20], esi
jne 0x101db13
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], esi
jmp 0x101db23
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x10c], eax
call fcn.0101d7df
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 0x101db3c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
pop ebx
mov eax, edi
pop edi
pop esi
leave
ret