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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a06c4
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x4bf6bc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
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]
push 0x4c3d6c
push 0x4a78f8
push 1
push ebx
push 0x4a79c8
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [0x4c3d6c], ebx
jne 0x47306b
lea eax, [ebp - 0x100]
push eax
call fcn.004059f0
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x100]
push str.return__3.
push ecx
call fcn.004090a0
add esp, 8
push 0x12
mov esi, 0xf
push str.WMIDeviceQueryInit
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00407f60
mov byte [ebp - 4], 1
push 0x12
push str.WMIDeviceQuery.cpp
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00407f60
mov byte [ebp - 4], 2
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x100]
push eax
call fcn.00405af0
mov byte [ebp - 4], 3
push eax
push 0x104
push 3
call fcn.004061f0
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x48]
call fcn.00462280
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 8
jb 0x472fff
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0047bd91
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
mov byte [ebp - 4], 1
mov edi, 0x10
cmp dword [ebp - 0x34], edi
jb 0x473029
mov eax, dword [ebp - 0x48]
push eax
call fcn.0047bd91
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov byte [ebp - 4], bl
cmp dword [ebp - 0x18], edi
jb 0x473046
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0047bd91
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.004039b0
mov eax, 0xfffffffd
jmp 0x47344d
lea ebx, [ebp - 0x68]
call fcn.004720f0
mov dword [ebp - 4], 4
mov eax, dword [eax]
xor ebx, ebx
cmp eax, ebx
je 0x473086
mov ecx, dword [eax]
jmp 0x473088
xor ecx, ecx
mov eax, dword [0x4c3d6c]
mov edx, dword [eax]
push 0x4c3d70
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x4730ec
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x4730e9
cmp esi, ebx
je 0x4730e9
mov eax, dword [esi]
cmp eax, ebx
je 0x4730d0
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x4730e0
push eax
call fcn.0047c53b
add esp, 4
push esi
call fcn.0047bd91
add esp, 4
mov dword [ebp - 0x68], ebx
cmp dword [0x4c3d6c], ebx
jne 0x47320c
lea ecx, [ebp - 0x100]
push ecx
call fcn.004059f0
mov dword [ebp - 4], 5
lea edx, [ebp - 0x100]
push str.return__4.
push edx
call fcn.004090a0
add esp, 8
push 0x12
mov esi, 0xf
push str.WMIDeviceQueryInit
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00407f60
mov byte [ebp - 4], 6
push 0x12
push str.WMIDeviceQuery.cpp
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00407f60
mov byte [ebp - 4], 7
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x100]
push ecx
call fcn.00405af0
mov byte [ebp - 4], 8
push eax
push 0x115
push 3
call fcn.004061f0
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x2c]
call fcn.00462280
mov byte [ebp - 4], 7
cmp dword [ebp - 0x50], 8
jb 0x47319f
mov edx, dword [ebp - 0x64]
push edx
call fcn.0047bd91
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 6
mov edi, 0x10
cmp dword [ebp - 0x18], edi
jb 0x4731c9
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0047bd91
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 5
cmp dword [ebp - 0x34], edi
jb 0x4731e7
mov edx, dword [ebp - 0x48]
push edx
call fcn.0047bd91
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.004039b0
mov eax, 0xfffffffc
jmp 0x47344d
mov eax, dword [0x4c3d70]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
je 0x47333e
lea ecx, [ebp - 0x100]
push ecx
call fcn.004059f0
mov dword [ebp - 4], 9
lea edx, [ebp - 0x100]
push str.return__5.
push edx
call fcn.004090a0
add esp, 8
push 0x12
mov esi, 0xf
push str.WMIDeviceQueryInit
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00407f60
mov byte [ebp - 4], 0xa
push 0x12
push str.WMIDeviceQuery.cpp
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00407f60
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x100]
push ecx
call fcn.00405af0
mov byte [ebp - 4], 0xc
push eax
push 0x126
push 3
call fcn.004061f0
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x2c]
call fcn.00462280
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x50], 8
jb 0x4732d1
mov edx, dword [ebp - 0x64]
push edx
call fcn.0047bd91
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], ax
mov byte [ebp - 4], 0xa
mov edi, 0x10
cmp dword [ebp - 0x18], edi
jb 0x4732fb
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0047bd91
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 9
cmp dword [ebp - 0x34], edi
jb 0x473319
mov edx, dword [ebp - 0x48]
push edx
call fcn.0047bd91
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.004039b0
mov eax, 0xfffffffb
jmp 0x47344d
lea eax, [ebp - 0x100]
push eax
call fcn.004059f0
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x100]
push str.return_1.
push ecx
call fcn.004090a0
add esp, 8
push 0x12
mov esi, 0xf
push str.WMIDeviceQueryInit
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
call fcn.00407f60
mov byte [ebp - 4], 0xe
push 0x12
push str.WMIDeviceQuery.cpp
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
call fcn.00407f60
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x100]
push eax
call fcn.00405af0
mov byte [ebp - 4], 0x10
push eax
push 0x12a
push 3
call fcn.004061f0
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x2c]
call fcn.00462280
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x50], 8
jb 0x4733e5
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0047bd91
add esp, 4
xor edx, edx
mov dword [ebp - 0x50], 7
mov dword [ebp - 0x54], ebx
mov word [ebp - 0x64], dx
mov byte [ebp - 4], 0xe
mov edi, 0x10
cmp dword [ebp - 0x18], edi
jb 0x47340f
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0047bd91
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x34], edi
jb 0x47342d
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0047bd91
add esp, 4
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], ebx
mov byte [ebp - 0x48], bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x100]
call fcn.004039b0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047bd9c
mov esp, ebp
pop ebp
ret