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

Disassembly:
push 0xfc
mov eax, 0x44f896
call fcn.00435c39
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
mov edi, eax
mov esi, str.commonWMI_DeviceQuery.cpp
cmp edi, ebx
je 0x426920
lea eax, [ebp - 0x108]
push eax
call fcn.00404d15
mov dword [ebp - 4], ebx
push edi
push ecx
mov edi, str.WMI_DeviceQuery_Init_:
lea eax, [ebp - 0x108]
push edi
push eax
call fcn.0040616a
add esp, 0xc
push eax
call fcn.00410da9
push 0x14
push str.WMI_DeviceQuery_Init
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00407efb
mov byte [ebp - 4], 1
push 0x1a
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00407efb
mov byte [ebp - 4], 2
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x108]
call fcn.00404dc4
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x48]
push eax
push 0xe2
push 2
call fcn.004109b9
lea ecx, [ebp - 0x2c]
mov ebx, eax
call fcn.004109f8
mov byte [ebp - 4], 2
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00407e53
mov byte [ebp - 4], 1
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00407e53
mov byte [ebp - 4], bl
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00407e53
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.00404d81
lea ecx, [ebp - 0xb8]
call fcn.00407b8a
jmp 0x426925
mov edi, str.WMI_DeviceQuery_Init_:
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x68], eax
cmp eax, ebx
je 0x426a21
lea eax, [ebp - 0x108]
push eax
call fcn.00404d15
mov dword [ebp - 4], 4
push dword [ebp - 0x68]
lea eax, [ebp - 0x108]
push ecx
push edi
push eax
call fcn.0040616a
add esp, 0xc
push eax
call fcn.00410da9
push 0x14
push str.WMI_DeviceQuery_Init
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00407efb
mov byte [ebp - 4], 5
push 0x1a
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], 0xf
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00407efb
mov byte [ebp - 4], 6
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x108]
call fcn.00404dc4
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x2c]
push eax
push 0xf3
push 2
call fcn.004109b9
lea ecx, [ebp - 0x48]
mov ebx, eax
call fcn.004109f8
mov byte [ebp - 4], 6
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x64]
call fcn.00407e53
mov byte [ebp - 4], 5
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.00407e53
mov byte [ebp - 4], 4
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00407e53
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.00404d81
lea ecx, [ebp - 0xb8]
call fcn.00407b8a
push 0x4661e4
push 0x455d4c
push 1
push ebx
push 0x455e1c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x68], eax
cmp dword [0x4661e4], ebx
jne 0x426b2b
lea eax, [ebp - 0x108]
push eax
call fcn.00404d15
mov dword [ebp - 4], 8
push dword [ebp - 0x68]
lea eax, [ebp - 0x108]
push ecx
push edi
push eax
call fcn.0040616a
add esp, 0xc
push eax
call fcn.00410da9
push 0xf
pop edi
push 0x14
push str.WMI_DeviceQuery_Init
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00407efb
mov byte [ebp - 4], 9
push 0x1a
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00407efb
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x108]
call fcn.00404dc4
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x100
push 2
call fcn.004109b9
lea ecx, [ebp - 0x48]
mov ebx, eax
call fcn.004109f8
mov byte [ebp - 4], 0xa
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x64]
call fcn.00407e53
mov byte [ebp - 4], 9
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.00407e53
mov byte [ebp - 4], 8
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00407e53
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.00404d81
lea ecx, [ebp - 0xb8]
call fcn.00407b8a
push 0xfffffffffffffffe
pop eax
jmp 0x426d38
lea eax, [ebp - 0x6c]
push eax
mov edi, str.ROOTCIMV2
call fcn.00426340
mov dword [ebp - 4], 0xc
mov eax, dword [eax]
cmp eax, ebx
je 0x426b4a
mov ecx, dword [eax]
jmp 0x426b4c
xor ecx, ecx
mov eax, dword [0x4661e4]
mov edx, dword [eax]
push 0x4661e8
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
call dword [edx + 0xc]
mov dword [ebp - 0x68], eax
or dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x6c]
call fcn.004263e0
mov eax, dword [0x4661e8]
cmp eax, ebx
jne 0x426c3e
lea eax, [ebp - 0x108]
push eax
call fcn.00404d15
mov dword [ebp - 4], 0xd
push dword [ebp - 0x68]
lea eax, [ebp - 0x108]
push ecx
push str.WMI_DeviceQuery_Init_:
push eax
call fcn.0040616a
add esp, 0xc
push eax
call fcn.00410da9
push 0xf
pop edi
push 0x14
push str.WMI_DeviceQuery_Init
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00407efb
mov byte [ebp - 4], 0xe
push 0x1a
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00407efb
mov byte [ebp - 4], 0xf
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x108]
call fcn.00404dc4
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x111
push 2
call fcn.004109b9
lea ecx, [ebp - 0x48]
mov ebx, eax
call fcn.004109f8
mov byte [ebp - 4], 0xf
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x64]
call fcn.00407e53
mov byte [ebp - 4], 0xe
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.00407e53
mov byte [ebp - 4], 0xd
jmp 0x426afe
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov edi, eax
cmp edi, ebx
je 0x426d36
lea eax, [ebp - 0x108]
push eax
call fcn.00404d15
mov dword [ebp - 4], 0x11
push edi
push ecx
lea eax, [ebp - 0x108]
push str.WMI_DeviceQuery_Init_:
push eax
call fcn.0040616a
add esp, 0xc
push eax
call fcn.00410da9
push 0xf
pop edi
push 0x14
push str.WMI_DeviceQuery_Init
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00407efb
mov byte [ebp - 4], 0x12
push 0x1a
push esi
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00407efb
mov byte [ebp - 4], 0x13
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x108]
call fcn.00404dc4
mov byte [ebp - 4], 0x14
push eax
lea eax, [ebp - 0x2c]
push eax
push 0x122
push 2
call fcn.004109b9
lea ecx, [ebp - 0x48]
mov ebx, eax
call fcn.004109f8
mov byte [ebp - 4], 0x13
xor esi, esi
push esi
push 1
lea ecx, [ebp - 0x64]
call fcn.00407e53
mov byte [ebp - 4], 0x12
push esi
push 1
lea ecx, [ebp - 0x48]
call fcn.00407e53
mov byte [ebp - 4], 0x11
push esi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00407e53
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb8]
call fcn.00404d81
lea ecx, [ebp - 0xb8]
call fcn.00407b8a
xor eax, eax
call fcn.00435cbc
ret