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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c25c4
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x4eb6b8]
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 0x4f04b8
push 0x4cd9e0
push 1
push ebx
push 0x4cdab0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [0x4f04b8], ebx
jne 0x488fbb
lea eax, [ebp - 0x100]
push eax
call fcn.00414a60
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x100]
push str.return__3.
push ecx
call fcn.0041d7d0
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.004190e0
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.004190e0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x100]
push eax
call fcn.00414b60
mov byte [ebp - 4], 3
push eax
push 0x104
push 3
call fcn.00413e40
push eax
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x48]
call fcn.00471900
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 8
jb 0x488f4f
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0049ca60
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 0x488f79
mov eax, dword [ebp - 0x48]
push eax
call fcn.0049ca60
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 0x488f96
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0049ca60
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.00403e50
mov eax, 0xfffffffd
jmp 0x48939d
lea ebx, [ebp - 0x68]
call fcn.00488040
mov dword [ebp - 4], 4
mov eax, dword [eax]
xor ebx, ebx
cmp eax, ebx
je 0x488fd6
mov ecx, dword [eax]
jmp 0x488fd8
xor ecx, ecx
mov eax, dword [0x4f04b8]
mov edx, dword [eax]
push 0x4f04bc
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 0x48903c
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x489039
cmp esi, ebx
je 0x489039
mov eax, dword [esi]
cmp eax, ebx
je 0x489020
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x489030
push eax
call fcn.0049cdad
add esp, 4
push esi
call fcn.0049ca60
add esp, 4
mov dword [ebp - 0x68], ebx
cmp dword [0x4f04b8], ebx
jne 0x48915c
lea ecx, [ebp - 0x100]
push ecx
call fcn.00414a60
mov dword [ebp - 4], 5
lea edx, [ebp - 0x100]
push str.return__4.
push edx
call fcn.0041d7d0
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.004190e0
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.004190e0
mov byte [ebp - 4], 7
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x100]
push ecx
call fcn.00414b60
mov byte [ebp - 4], 8
push eax
push 0x115
push 3
call fcn.00413e40
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x2c]
call fcn.00471900
mov byte [ebp - 4], 7
cmp dword [ebp - 0x50], 8
jb 0x4890ef
mov edx, dword [ebp - 0x64]
push edx
call fcn.0049ca60
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 0x489119
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0049ca60
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 0x489137
mov edx, dword [ebp - 0x48]
push edx
call fcn.0049ca60
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.00403e50
mov eax, 0xfffffffc
jmp 0x48939d
mov eax, dword [0x4f04bc]
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 0x48928e
lea ecx, [ebp - 0x100]
push ecx
call fcn.00414a60
mov dword [ebp - 4], 9
lea edx, [ebp - 0x100]
push str.return__5.
push edx
call fcn.0041d7d0
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.004190e0
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.004190e0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x100]
push ecx
call fcn.00414b60
mov byte [ebp - 4], 0xc
push eax
push 0x126
push 3
call fcn.00413e40
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x2c]
call fcn.00471900
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x50], 8
jb 0x489221
mov edx, dword [ebp - 0x64]
push edx
call fcn.0049ca60
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 0x48924b
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0049ca60
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 0x489269
mov edx, dword [ebp - 0x48]
push edx
call fcn.0049ca60
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.00403e50
mov eax, 0xfffffffb
jmp 0x48939d
lea eax, [ebp - 0x100]
push eax
call fcn.00414a60
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x100]
push str.return_1.
push ecx
call fcn.0041d7d0
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.004190e0
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.004190e0
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x100]
push eax
call fcn.00414b60
mov byte [ebp - 4], 0x10
push eax
push 0x12a
push 3
call fcn.00413e40
push eax
lea edx, [ebp - 0x48]
lea ecx, [ebp - 0x2c]
call fcn.00471900
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x50], 8
jb 0x489335
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.0049ca60
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 0x48935f
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0049ca60
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 0x48937d
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.0049ca60
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.00403e50
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.0049ca6b
mov esp, ebp
pop ebp
ret