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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102eb4c8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x104230a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
push eax
lea eax, [ebp - 0x40]
mov dword [ebp - 0x70], ecx
mov ecx, dword [ebp + 0x10]
push 0x102f9eec
push eax
mov dword [ebp - 0x74], ecx
call fcn.100a4d80
push 0x102f9ee8
push eax
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
call fcn.10074d80
push esi
push eax
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
call fcn.100a4d40
add esp, 0x24
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x100a50b9
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.10059780
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
cmp eax, 8
jb 0x100a50e6
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.10059780
xor eax, eax
mov dword [ebp - 0x2c], 7
push eax
push eax
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov ebx, eax
test ebx, ebx
js 0x100a526a
push 0
push 0
push 0
push 3
push 4
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov ebx, eax
test ebx, ebx
js 0x100a526a
lea eax, [ebp - 0x68]
push eax
push 0x103bd8d0
push 1
push 0
push 0x103bd8c0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov ebx, eax
test ebx, ebx
js 0x100a526a
mov eax, dword [ebp - 0x68]
lea edx, [ebp - 0x5c]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push str.ROOTCIMV2
push eax
call dword [ecx + 0xc]
mov ebx, eax
test ebx, ebx
js 0x100a526a
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x5c]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ebx, eax
test ebx, ebx
js 0x100a526a
cmp dword [ebp - 0x44], 8
lea esi, [ebp - 0x64]
mov eax, dword [ebp - 0x5c]
lea edx, [ebp - 0x58]
cmovae edx, dword [ebp - 0x58]
push esi
push 0
mov ecx, dword [eax]
push 0x30
push edx
push 0x102f9f24
push eax
call dword [ecx + 0x50]
mov ebx, eax
test ebx, ebx
js 0x100a526a
mov eax, dword [ebp - 0x64]
lea edx, [ebp - 0x6c]
push edx
lea edx, [ebp - 0x60]
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
mov ebx, eax
test ebx, ebx
js 0x100a526a
cmp dword [ebp - 0x6c], 0
jbe 0x100a526a
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [ebp - 0x60]
lea eax, [ebp - 0x84]
mov ecx, dword [ebp - 0x70]
push 0
push 0
mov edi, dword [esi]
push eax
push 0
call fcn.10054fb0
push eax
push esi
call dword [edi + 0x10]
mov ebx, eax
test ebx, ebx
js 0x100a526a
cmp word [ebp - 0x84], 8
jne 0x100a525d
mov edx, dword [ebp - 0x7c]
cmp word [edx], 0
jne 0x100a523f
xor ecx, ecx
jmp 0x100a5253
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100a5244
sub ecx, esi
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x74]
push edx
call fcn.10058060
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x60]
test ecx, ecx
je 0x100a5277
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x64]
test ecx, ecx
je 0x100a5284
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x5c]
test ecx, ecx
je 0x100a5291
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x100a529e
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x44]
shr ebx, 0x1f
xor bl, 1
cmp eax, 8
jb 0x100a52bf
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.10059780
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100a9f90
mov esp, ebp
pop ebp
ret