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

Disassembly:
push 4
mov eax, 0x418abf
call fcn.00415952
mov eax, dword [0x42de1c]
xor esi, esi
cmp eax, esi
jge 0x4136dd
push dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push eax
push 0x414703
push ecx
push str.Failed_to_initialize_COM_library._Error_code__0x
push dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004143ce
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
xor eax, eax
jmp 0x413837
push 0x42dccc
push 0x41aa8c
push 1
push esi
push 0x41ab5c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, esi
jge 0x413748
push dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push eax
push 0x414703
push ecx
push str._Err_code__0x
push ecx
push str.Failed_to_create_IWbemLocator_object.
push dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004143ce
add esp, 0xc
push eax
call fcn.004143ce
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4136d6
push str.ROOTMICROSOFTWINDOWSSTORAGE
lea edi, [ebp - 0x10]
call fcn.004145e5
mov dword [ebp - 4], esi
mov eax, dword [eax]
cmp eax, esi
je 0x413762
mov ecx, dword [eax]
jmp 0x413764
xor ecx, ecx
mov eax, dword [0x42dccc]
mov edx, dword [eax]
push 0x42dcd0
push esi
push esi
push esi
push esi
push esi
push esi
push ecx
push eax
call dword [edx + 0xc]
or dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x10]
mov ebx, eax
call fcn.004145a5
cmp ebx, esi
jge 0x4137d5
push dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push ebx
push 0x414703
push ecx
push str.Could_not_connect._Error_code__0x
push dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004143ce
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [0x42dccc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x413740
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [0x42dcd0]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, esi
jge 0x413834
push dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char______cdecl_std::endl_class_std::basic_ostream_char__struct_std::char_traits_char____]
push eax
push 0x414703
push ecx
push str.Could_not_set_proxy_blanket._Error_code__0x
push dword [sym.imp.MSVCP90.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.004143ce
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::ios_base_____cdecl___class_std::ios_base___]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [0x42dcd0]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4137c5
xor eax, eax
inc eax
call fcn.00415a2a
ret