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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078405
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x100a04fc]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor ebx, ebx
mov edi, 0x10
mov eax, edi
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 4], ebx
call fcn.10073d20
mov dword [ebp - 0x10], esp
mov esi, esp
push 0xdead000f
lea eax, [ebp - 0x54]
push 0x1cbeef
push eax
call fcn.10001af0
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x1006962a
mov eax, dword [eax]
mov ecx, dword [eax]
mov dword [esi], ecx
mov edx, dword [eax + 4]
mov dword [esi + 4], edx
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov edx, dword [eax + 0xc]
mov dword [esi + 0xc], edx
cmp dword [ebp - 0x40], edi
jb 0x10069652
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
mov eax, 4
call fcn.10073d20
mov eax, esp
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x9c], eax
cmp eax, ebx
je 0x10069671
mov dword [eax], 0xabab001c
mov dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x10069699
mov ecx, dword [ebp - 0x9c]
mov dword [ecx], 0xcdcd001c
jmp 0x10069699
test byte [0x100a4bb0], 1
mov dword [ebp - 0x98], 6
jne 0x100696d4
or dword [0x100a4bb0], 1
mov dword [ebp - 4], 2
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
or esi, 0xffffffff
mov dword [ebp - 4], esi
jmp 0x100696d7
or esi, 0xffffffff
lea edx, [ebp - 0x98]
push edx
mov edi, 0x100a4b60
call fcn.100235e0
test al, al
je 0x100697f2
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 3
call fcn.10023cb0
mov ecx, dword [eax + 0x1c]
cmp ecx, ebx
jne 0x10069729
push 0xd
push str.EnterFunction
mov ecx, eax
call fcn.100041d0
jmp 0x10069737
push str.EnterFunction
push ecx
call fcn.10012390
add esp, 8
mov ecx, dword [ebp - 0x18]
push 0x1ff
push ebx
lea eax, [ebp - 0x54]
push eax
call fcn.10001ab0
mov edi, eax
mov byte [ebp - 4], 4
test byte [0x100a4bb0], 1
jne 0x10069779
or dword [0x100a4bb0], 1
mov byte [ebp - 4], 5
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov byte [ebp - 4], 4
mov edx, dword [0x100a4b64]
mov eax, dword [edx + 4]
mov ecx, 0x100a4b64
mov dword [ebp - 0x98], ecx
call eax
mov byte [ebp - 4], 6
mov ecx, dword [0x100a4bac]
cmp ecx, ebx
je 0x100697bf
cmp dword [edi + 0x14], 8
jb 0x100697a7
mov eax, dword [edi]
jmp 0x100697a9
mov eax, edi
mov edx, dword [ecx]
push 0x1c
push str.WMIHelper_::Init
push str.WMIWMIHelper.cpp
push eax
mov eax, dword [edx + 8]
push 6
call eax
mov byte [ebp - 4], 4
mov edx, dword [0x100a4b64]
mov eax, dword [edx + 8]
mov ecx, 0x100a4b64
call eax
cmp dword [ebp - 0x40], 8
jb 0x100697e6
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 4], esi
call fcn.10023b80
cmp byte [0x100a4bd8], bl
je 0x10069927
mov eax, dword [ebp - 0x9c]
cmp eax, ebx
je 0x1006980e
mov dword [eax], 0xcdcd0022
test byte [0x100a4bb0], 1
mov dword [ebp - 0x98], 6
jne 0x10069844
or dword [0x100a4bb0], 1
mov dword [ebp - 4], 7
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov dword [ebp - 4], esi
lea eax, [ebp - 0x98]
push eax
mov edi, 0x100a4b60
call fcn.100235e0
test al, al
je 0x1006a178
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 8
call fcn.10023cb0
mov esi, eax
mov eax, dword [esi + 0x1c]
cmp eax, ebx
jne 0x10069898
push 0x11
push str.ExitFunction_Ret:
mov ecx, esi
call fcn.100041d0
jmp 0x100698a6
push str.ExitFunction_Ret:
push eax
call fcn.10012390
add esp, 8
mov edx, str.True
call fcn.100237d0
push 0x1ff
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.10001ab0
mov esi, eax
mov bl, 9
mov byte [ebp - 4], bl
test byte [0x100a4bb0], 1
jne 0x100698f2
or dword [0x100a4bb0], 1
mov byte [ebp - 4], 0xa
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov byte [ebp - 4], bl
push 0x22
push str.WMIHelper_::Init
push str.WMIWMIHelper.cpp
push 6
mov ebx, esi
mov ecx, 0x100a4b60
call fcn.10023680
cmp dword [ebp - 0x40], 8
jb 0x1006991f
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea eax, [ebp - 0x38]
jmp 0x1006a16b
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, eax
cmp esi, ebx
jge 0x10069b2e
mov eax, dword [ebp - 0x9c]
cmp eax, ebx
je 0x10069949
mov dword [eax], 0xcdcd002b
test byte [0x100a4bb0], 1
mov dword [ebp - 0x98], 2
jne 0x10069983
or dword [0x100a4bb0], 1
mov dword [ebp - 4], 0xb
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x98]
push ecx
mov edi, 0x100a4b60
call fcn.100235e0
test al, al
je 0x10069a38
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push esi
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 0xc
call fcn.10023cb0
mov edx, str.Failed_to_initialize_COM_library._Error_code_0x
mov esi, eax
call fcn.100237d0
mov esi, eax
call fcn.10023810
mov ecx, eax
call dword [sym.imp.MSVCP100.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___long_int_]
push 0x1ff
push ebx
lea edx, [ebp - 0x54]
push edx
mov eax, edi
push eax
call fcn.10023d20
mov ecx, eax
call fcn.10001ab0
mov ebx, eax
push 0x2b
push str.WMIHelper_::Init
push str.WMIWMIHelper.cpp
push 2
mov byte [ebp - 4], 0xd
call fcn.100230e0
mov ecx, eax
call fcn.10023680
cmp dword [ebp - 0x40], 8
jb 0x10069a26
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea edx, [ebp - 0x38]
push edx
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
xor ebx, ebx
mov eax, dword [ebp - 0x9c]
cmp eax, ebx
je 0x10069a48
mov dword [eax], 0xcdcd002c
test byte [0x100a4bb0], 1
mov dword [ebp - 0x98], 6
jne 0x10069a82
or dword [0x100a4bb0], 1
mov dword [ebp - 4], 0xe
call fcn.10022f20
push 0x10082b20
call fcn.10072493
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x98]
push eax
mov edi, 0x100a4b60
call fcn.100235e0
test al, al
je 0x10069b27
mov eax, 0xf
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x38]
mov dword [ebp - 4], eax
call fcn.10023cb0
mov edx, str.ExitFunction_Ret:
mov esi, eax
call fcn.100237d0
mov edx, str.False
mov esi, eax
call fcn.100237d0
push 0x1ff
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov ecx, dword [ebp - 0x18]
call fcn.10001ab0
mov ebx, eax
push 0x2c
push str.WMIHelper_::Init
push str.WMIWMIHelper.cpp
push 6
mov byte [ebp - 4], 0x10
call fcn.100230e0
mov ecx, eax
call fcn.10023680
cmp dword [ebp - 0x40], 8
jb 0x10069b17
mov edx, dword [ebp - 0x54]
push edx
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
xor al, al
jmp 0x1006a17a
push 0x100a4bdc
push 0x100838d8
push 1
push ebx
push 0x100839a8
mov byte [0x100a4bd8], 1
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jge 0x10069cdc
mov eax, dword [ebp - 0x9c]
cmp eax, ebx
je 0x10069b67
mov dword [eax], 0xcdcd0043
lea ecx, [ebp - 0x98]
push ecx
mov dword [ebp - 0x98], 2
call fcn.100230e0
mov edi, eax
call fcn.100235e0
test al, al
je 0x10069c1c
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push esi
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 0x11
call fcn.10023cb0
mov edx, str.Failed_to_create_IWbemLocator_object._Error_code_0x
mov esi, eax
call fcn.100237d0
mov esi, eax
call fcn.10023810
mov ecx, eax
call dword [sym.imp.MSVCP100.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___long_int_]
push 0x1ff
push ebx
lea edx, [ebp - 0x54]
push edx
mov eax, edi
push eax
call fcn.10023d20
mov ecx, eax
call fcn.10001ab0
mov ebx, eax
push 0x43
push str.WMIHelper_::Init
push str.WMIWMIHelper.cpp
push 2
mov byte [ebp - 4], 0x12
call fcn.100230e0
mov ecx, eax
call fcn.10023680
lea ecx, [ebp - 0x54]
call fcn.10002a10
mov ecx, edi
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
xor ebx, ebx
mov eax, dword [ebp - 0x9c]
cmp eax, ebx
je 0x10069c2c
mov dword [eax], 0xcdcd0044
lea edx, [ebp - 0x98]
push edx
mov dword [ebp - 0x98], 6
call fcn.100230e0
mov edi, eax
call fcn.100235e0
test al, al
je 0x10069cd5
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 0x13
call fcn.10023cb0
mov edx, str.ExitFunction_Ret:
mov esi, eax
call fcn.100237d0
mov edx, str.False
mov esi, eax
call fcn.100237d0
mov ecx, dword [ebp - 0x18]
push 0x1ff
push ebx
lea eax, [ebp - 0x54]
push eax
call fcn.10001ab0
mov ebx, eax
mov byte [ebp - 4], 0x14
push 0x44
push str.WMIHelper_::Init
push str.WMIWMIHelper.cpp
push 6
call fcn.100230e0
mov ecx, eax
call fcn.10023680
lea ecx, [ebp - 0x54]
call fcn.10002a10
lea ecx, [ebp - 0x38]
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
xor al, al
jmp 0x1006a17a
lea edx, [ebp - 0x98]
push edx
mov edi, str.ROOTCIMV2
call fcn.10068ca0
mov dword [ebp - 4], 0x15
mov eax, dword [eax]
cmp eax, ebx
je 0x10069cfe
mov ecx, dword [eax]
jmp 0x10069d00
xor ecx, ecx
mov eax, dword [0x100a4bdc]
mov edx, dword [eax]
push 0x100a4be0
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [ebp - 0x98]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
call fcn.10068d40
mov eax, dword [ebp - 0x9c]
cmp esi, ebx
jge 0x10069e88
cmp eax, ebx
je 0x10069d45
mov dword [eax], 0xcdcd0058
lea ecx, [ebp - 0x98]
push ecx
mov dword [ebp - 0x98], 2
call fcn.100230e0
mov edi, eax
call fcn.100235e0
test al, al
je 0x10069dfa
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push esi
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 0x16
call fcn.10023cb0
mov edx, str.Could_not_connect._Error_code_0x
mov esi, eax
call fcn.100237d0
mov esi, eax
call fcn.10023810
mov ecx, eax
call dword [sym.imp.MSVCP100.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___long_int_]
push 0x1ff
push ebx
lea edx, [ebp - 0x54]
push edx
mov eax, edi
push eax
call fcn.10023d20
mov ecx, eax
call fcn.10001ab0
mov ebx, eax
push 0x58
push str.WMIHelper_::Init
push str.WMIWMIHelper.cpp
push 2
mov byte [ebp - 4], 0x17
call fcn.100230e0
mov ecx, eax
call fcn.10023680
lea ecx, [ebp - 0x54]
call fcn.10002a10
mov ecx, edi
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
xor ebx, ebx
mov eax, dword [ebp - 0x9c]
cmp eax, ebx
je 0x10069e0a
mov dword [eax], 0xcdcd0059
lea edx, [ebp - 0x98]
push edx
mov dword [ebp - 0x98], 6
call fcn.100230e0
mov edi, eax
call fcn.100235e0
test al, al
je 0x10069cd5
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 0x18
call fcn.10023cb0
mov edx, str.ExitFunction_Ret:
mov esi, eax
call fcn.100237d0
mov edx, str.False
mov esi, eax
call fcn.100237d0
mov ecx, dword [ebp - 0x18]
push 0x1ff
push ebx
lea eax, [ebp - 0x54]
push eax
call fcn.10001ab0
mov ebx, eax
mov byte [ebp - 4], 0x19
push 0x59
jmp 0x10069ca5
cmp eax, ebx
je 0x10069e92
mov dword [eax], 0xcdcd005c
lea edx, [ebp - 0x98]
push edx
mov dword [ebp - 0x98], 6
call fcn.100230e0
mov edi, eax
call fcn.100235e0
test al, al
je 0x10069f2c
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 0x1a
call fcn.10023cb0
mov edx, str.Connected_to_ROOTCIMV2_WMI_namespace
mov esi, eax
call fcn.100237d0
mov ecx, dword [ebp - 0x18]
push 0x1ff
push ebx
lea eax, [ebp - 0x54]
push eax
call fcn.10001ab0
mov ebx, eax
push 0x5c
push str.WMIHelper_::Init
push str.WMIWMIHelper.cpp
push 6
mov byte [ebp - 4], 0x1b
call fcn.100230e0
mov ecx, eax
call fcn.10023680
lea ecx, [ebp - 0x54]
call fcn.10002a10
mov ecx, edi
push ecx
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
xor ebx, ebx
mov edx, dword [0x100a4be0]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push edx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov esi, eax
mov eax, dword [ebp - 0x9c]
cmp esi, ebx
jge 0x1006a0c0
cmp eax, ebx
je 0x10069f5d
mov dword [eax], 0xcdcd006d
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 2
call fcn.100230e0
mov edi, eax
call fcn.100235e0
test al, al
je 0x1006a012
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
push esi
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 0x1c
call fcn.10023cb0
mov edx, str.Could_not_set_proxy_blanket._Error_code_0x
mov esi, eax
call fcn.100237d0
mov esi, eax
call fcn.10023810
mov ecx, eax
call dword [sym.imp.MSVCP100.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___long_int_]
push 0x1ff
push ebx
lea ecx, [ebp - 0x54]
push ecx
mov edx, edi
push edx
call fcn.10023d20
mov ecx, eax
call fcn.10001ab0
mov ebx, eax
push 0x6d
push str.WMIHelper_::Init
push str.WMIWMIHelper.cpp
push 2
mov byte [ebp - 4], 0x1d
call fcn.100230e0
mov ecx, eax
call fcn.10023680
lea ecx, [ebp - 0x54]
call fcn.10002a10
mov eax, edi
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
xor ebx, ebx
mov eax, dword [ebp - 0x9c]
cmp eax, ebx
je 0x1006a022
mov dword [eax], 0xcdcd006e
lea ecx, [ebp - 0x98]
push ecx
mov dword [ebp - 0x98], 6
call fcn.100230e0
mov edi, eax
call fcn.100235e0
test al, al
je 0x10069b27
mov dword [ebp - 0x24], 0xf
mov dword [ebp - 0x28], ebx
mov byte [ebp - 0x38], bl
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
lea edi, [ebp - 0x38]
mov dword [ebp - 4], 0x1e
call fcn.10023cb0
mov edx, str.ExitFunction_Ret:
mov esi, eax
call fcn.100237d0
mov edx, str.False
mov esi, eax
call fcn.100237d0
mov ecx, dword [ebp - 0x18]
push 0x1ff
push ebx
lea edx, [ebp - 0x54]
push edx
call fcn.10001ab0
mov ebx, eax
push 0x6e
push str.WMIHelper_::Init
push str.WMIWMIHelper.cpp
push 6
mov byte [ebp - 4], 0x1f
call fcn.100230e0
mov ecx, eax
call fcn.10023680
lea ecx, [ebp - 0x54]
call fcn.10002a10
jmp 0x10069b17
cmp eax, ebx
je 0x1006a0ca
mov dword [eax], 0xcdcd0071
lea ecx, [ebp - 0x98]
push ecx
mov dword [ebp - 0x98], 6
call fcn.100230e0
mov edi, eax
call fcn.100235e0
test al, al
je 0x1006a178
mov dword [ebp - 0x64], 0xf
mov dword [ebp - 0x68], ebx
mov byte [ebp - 0x78], bl
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
lea edi, [ebp - 0x78]
mov dword [ebp - 4], 0x20
call fcn.10023cb0
mov edx, str.ExitFunction_Ret:
mov esi, eax
call fcn.100237d0
mov edx, str.True
mov esi, eax
call fcn.100237d0
mov ecx, dword [ebp - 0x58]
push 0x1ff
push ebx
lea edx, [ebp - 0x94]
push edx
call fcn.10001ab0
mov ebx, eax
push 0x71
push str.WMIHelper_::Init
push str.WMIWMIHelper.cpp
push 6
mov byte [ebp - 4], 0x21
call fcn.100230e0
mov ecx, eax
call fcn.10023680
lea ecx, [ebp - 0x94]
call fcn.10002a10
mov eax, edi
push eax
mov dword [ebp - 4], 0xffffffff
call fcn.10023b80
mov al, 1
lea esp, [ebp - 0xac]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1007236c
mov esp, ebp
pop ebp
ret