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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x470f1a
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push edi
push 0
push 0
mov ebx, edx
mov edi, ecx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x41cd8a
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
js 0x41cd9a
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x473bf4
push 1
push 0
push 0x473c04
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x41cd9a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
push esi
push 0xc
mov eax, dword [eax]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
call fcn.0046ef4b
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x41ca3c
push str.ROOTCIMV2
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x41cdb0
jmp 0x41ca3e
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x28], esi
test esi, esi
je 0x41cdb0
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov dword [ebp - 4], 1
push dword [esi]
push dword [ebp - 0x14]
call dword [0x473588]
call dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x41cac5
mov ecx, dword [esi]
test ecx, ecx
je 0x41caa0
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41cab7
push eax
call fcn.0046f203
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0046f1d1
mov eax, dword [ebp - 0x20]
add esp, 8
test eax, eax
js 0x41cc6e
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
mov eax, dword [ebp - 0x10]
js 0x41cc5e
cmp dword [edi + 0x14], 7
mov dword [ebp - 0x18], 0
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x20], eax
jbe 0x41cb06
mov edi, dword [edi]
push 0xc
call fcn.0046ef4b
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x41cb45
push edi
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x41cb47
test edi, edi
jne 0x41cdba
jmp 0x41cb47
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x41cdb0
mov dword [ebp - 4], 3
mov eax, dword [esi]
push 0xc
mov dword [ebp - 0x28], eax
call fcn.0046ef4b
mov edi, eax
add esp, 4
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 4
test edi, edi
je 0x41cb98
push 0x47a96c
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call fcn.0046fd40
mov dword [edi], eax
jmp 0x41cb9a
xor edi, edi
mov byte [ebp - 4], 3
mov dword [ebp - 0x30], edi
test edi, edi
je 0x41cdc4
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push eax
push 0
push 0x30
mov byte [ebp - 4], 5
push dword [ebp - 0x28]
push dword [edi]
push dword [ebp - 0x10]
call dword [0x473588]
call dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
or eax, 0xffffffff
mov ecx, eax
lock xadd dword [edi + 8], ecx
dec ecx
jne 0x41cc11
mov ecx, dword [edi]
test ecx, ecx
je 0x41cbec
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x41cc03
push eax
call fcn.0046f203
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.0046f1d1
add esp, 8
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x41cc55
mov eax, dword [esi]
test eax, eax
je 0x41cc33
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x41cc4a
push eax
call fcn.0046f203
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0046f1d1
add esp, 8
cmp dword [ebp - 0x28], 0
jge 0x41cc76
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x473588]
call esi
mov eax, dword [ebp - 0x14]
jmp 0x41cd73
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
test eax, eax
je 0x41cd4a
mov edi, dword [ebp + 8]
mov esi, dword [eax]
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov esi, dword [esi + 0x10]
mov ecx, esi
push 1
push 0xffffffffffffffff
push eax
call dword [0x473588]
call esi
cmp dword [ebp - 0x24], 0
je 0x41cd4a
cmp dword [ebx + 0x14], 7
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
mov esi, dword [eax + 0x10]
mov eax, ebx
jbe 0x41ccca
mov eax, dword [ebx]
push 0
push 0
lea edx, [ebp - 0x40]
push edx
push 0
push eax
push ecx
mov ecx, esi
call dword [0x473588]
call esi
test eax, eax
js 0x41cd2c
cmp dword [edi + 0x14], 7
mov edx, edi
jbe 0x41ccee
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.00420a40
add esp, 4
mov edx, 0x47a970
mov ecx, eax
call fcn.0041f930
mov edx, dword [ebp - 0x38]
mov ecx, eax
call fcn.0041f930
push 0x41fb90
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 [0x473588]
call esi
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x41cc92
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x473588]
call esi
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x473588]
call esi
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x473588]
call esi
call dword [sym.imp.ole32.dll_CoUninitialize]
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
pop edi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.0046fd20
push 0x8007000e
call fcn.0046fd20
push 0x8007000e
call fcn.0046fd20
int3