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

Disassembly:
mov eax, 0x4711dd
call fcn.0046ffb4
sub esp, 0x34
push ebx
push esi
push edi
xor esi, esi
mov ebx, edx
push esi
push esi
mov edi, ecx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x41c86d
push esi
push esi
push esi
push 3
push esi
push esi
push esi
push 0xffffffffffffffff
push esi
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x41c867
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
push 0x473d14
push 1
push esi
push 0x473d24
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41c867
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x10], esi
push str.ROOTCIMV2
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
call fcn.0041b8cf
xor edx, edx
mov dword [ebp - 4], edx
mov eax, dword [eax]
test eax, eax
je 0x41c695
mov eax, dword [eax]
jmp 0x41c697
mov eax, edx
lea ecx, [ebp - 0x10]
push ecx
push edx
push edx
push edx
push edx
push edx
push edx
push eax
push dword [ebp - 0x14]
mov ecx, esi
call dword [0x4735d8]
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.0041b93d
test esi, esi
jns 0x41c6c9
mov eax, dword [ebp - 0x14]
jmp 0x41c857
xor esi, esi
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
mov eax, dword [ebp - 0x10]
jns 0x41c6f7
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4735d8]
call esi
jmp 0x41c6c1
cmp dword [edi + 0x14], 7
mov dword [ebp - 0x18], esi
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x24], eax
jbe 0x41c70a
mov edi, dword [edi]
push edi
lea ecx, [ebp - 0x2c]
call fcn.0041b8cf
mov dword [ebp - 4], 1
xor edi, edi
mov eax, dword [eax]
test eax, eax
je 0x41c726
mov esi, dword [eax]
jmp 0x41c728
mov esi, edi
push ecx
lea ecx, [ebp - 0x28]
call fcn.0041b869
mov byte [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
je 0x41c73f
mov eax, dword [eax]
jmp 0x41c741
mov eax, edi
lea ecx, [ebp - 0x18]
push ecx
push edi
push 0x30
push esi
mov esi, dword [ebp - 0x24]
mov ecx, esi
push eax
push dword [ebp - 0x10]
call dword [0x4735d8]
call esi
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.0041b93d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.0041b93d
test esi, esi
jns 0x41c77c
mov eax, dword [ebp - 0x10]
jmp 0x41c6e5
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
jmp 0x41c823
mov esi, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [esi + 0x10]
push 1
push 0xffffffffffffffff
push eax
call dword [0x4735d8]
call dword [esi + 0x10]
cmp dword [ebp - 0x20], 0
je 0x41c82e
cmp dword [ebx + 0x14], 7
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
mov eax, ebx
jbe 0x41c7be
mov eax, dword [ebx]
push edi
push edi
lea edx, [ebp - 0x40]
push edx
push edi
push eax
push ecx
mov ecx, esi
call dword [0x4735d8]
call esi
test eax, eax
js 0x41c810
mov edx, dword [ebp + 8]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.00422988
mov edx, 0x4d8024
mov ecx, eax
call fcn.004229a0
mov edx, dword [ebp - 0x38]
mov ecx, eax
call fcn.004229a0
push 0x422b60
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4735d8]
call esi
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41c787
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4735d8]
call esi
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4735d8]
call esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x4735d8]
call esi
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret