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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10031e03
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
push 0
push 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x1001a812
cmp eax, 0x80010106
je 0x1001a812
push eax
push str.Failed_to_initialize_COM_library._Error_code___0x
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jge 0x1001a85b
cmp eax, 0x80010119
je 0x1001a85b
push eax
push str.Failed_to_initialize_Security._Error_code___0x
call dword [sym.imp.MSVCRT.dll_printf]
add esp, 8
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov ebx, 1
push 0x1003375c
push ebx
push 0
push 0x1003382c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x1001a880
push eax
push str.Failed_to_initialize_IID_IWbemLocator._Error_code___0x
jmp 0x1001a83b
push 0xc
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
test esi, esi
mov byte [ebp - 4], bl
je 0x1001a8c6
push str.ROOTCIMV2
mov dword [esi + 4], 0
mov dword [esi + 8], ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
mov dword [esi], eax
jne 0x1001a8c8
mov eax, str.ROOTCIMV2
test eax, eax
je 0x1001a8c8
push 0x8007000e
call fcn.1001b780
jmp 0x1001a8c8
xor esi, esi
test esi, esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x18], esi
jne 0x1001a8dd
push 0x8007000e
call fcn.1001b780
test esi, esi
mov byte [ebp - 4], 2
je 0x1001a8e9
mov ecx, dword [esi]
jmp 0x1001a8eb
xor ecx, ecx
mov eax, dword [edi]
add edi, 4
push edi
push 0
mov edx, dword [eax]
push 0
push 0
push 0
push 0
push 0
push ecx
push eax
call dword [edx + 0xc]
test esi, esi
mov ebx, eax
mov byte [ebp - 4], 0
je 0x1001a942
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1001a942
mov eax, dword [esi]
test eax, eax
je 0x1001a929
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x1001a939
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
test ebx, ebx
jge 0x1001a965
push ebx
push str.Failed_to_initialize_ConnectServer._Error_code___0x
call dword [sym.imp.MSVCRT.dll_printf]
mov ecx, dword [ebp - 0x14]
add esp, 8
mov eax, dword [ecx]
push eax
mov edx, dword [eax]
call dword [edx + 8]
jmp 0x1001a844
mov eax, dword [edi]
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jge 0x1001a84a
push eax
push str.Failed_to_initialize_CoSetProxyBlanket._Error_code___0x
call dword [sym.imp.MSVCRT.dll_printf]
mov edi, dword [edi]
add esp, 8
mov ecx, dword [edi]
push edi
call dword [ecx + 8]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x1001a844