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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100de304
mov eax, dword fs:[0]
push eax
sub esp, 0xf4
mov eax, dword [0x1010e07c]
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 0x10112d98
push 0x100ea8d0
push 1
push ebx
push 0x100ea9a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp dword [0x10112d98], ebx
jne 0x10074d60
push 1
push 2
lea ecx, [ebp - 0x100]
call fcn.100042d0
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x100]
push str.return__3.
push eax
call fcn.10007530
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.100065d0
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.100065d0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x100]
call fcn.100043f0
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0x2c]
push edx
push 0x104
lea eax, [ebp - 0x48]
push eax
push 3
call fcn.10004af0
mov ecx, eax
call fcn.10058f40
mov byte [ebp - 4], 2
cmp dword [ebp - 0x50], 8
jb 0x10074cf4
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.100b2678
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 0x10074d1e
mov eax, dword [ebp - 0x48]
push eax
call fcn.100b2678
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 0x10074d3b
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.100b2678
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.100029c0
mov eax, 0xfffffffd
jmp 0x10075147
lea ebx, [ebp - 0x68]
call fcn.10073de0
mov dword [ebp - 4], 4
mov eax, dword [eax]
xor ebx, ebx
cmp eax, ebx
je 0x10074d7b
mov ecx, dword [eax]
jmp 0x10074d7d
xor ecx, ecx
mov eax, dword [0x10112d98]
mov edx, dword [eax]
push 0x10112d9c
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 0x10074de1
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x10074dde
cmp esi, ebx
je 0x10074dde
mov eax, dword [esi]
cmp eax, ebx
je 0x10074dc5
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x10074dd5
push eax
call fcn.100b2e04
add esp, 4
push esi
call fcn.100b2678
add esp, 4
mov dword [ebp - 0x68], ebx
cmp dword [0x10112d98], ebx
jne 0x10074f06
push 1
push 2
lea ecx, [ebp - 0x100]
call fcn.100042d0
mov dword [ebp - 4], 5
lea ecx, [ebp - 0x100]
push str.return__4.
push ecx
call fcn.10007530
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.100065d0
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.100065d0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x100]
call fcn.100043f0
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x48]
push eax
push 0x115
lea ecx, [ebp - 0x2c]
push ecx
push 3
call fcn.10004af0
mov ecx, eax
call fcn.10058f40
mov byte [ebp - 4], 7
cmp dword [ebp - 0x50], 8
jb 0x10074e99
mov edx, dword [ebp - 0x64]
push edx
call fcn.100b2678
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 0x10074ec3
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.100b2678
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 0x10074ee1
mov edx, dword [ebp - 0x48]
push edx
call fcn.100b2678
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.100029c0
mov eax, 0xfffffffc
jmp 0x10075147
mov eax, dword [0x10112d9c]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
push 1
lea ecx, [ebp - 0x100]
push 2
cmp eax, ebx
je 0x1007503d
call fcn.100042d0
mov dword [ebp - 4], 9
lea ecx, [ebp - 0x100]
push str.return__5.
push ecx
call fcn.10007530
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.100065d0
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.100065d0
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x64]
push edx
lea ecx, [ebp - 0x100]
call fcn.100043f0
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x48]
push eax
push 0x126
lea ecx, [ebp - 0x2c]
push ecx
push 3
call fcn.10004af0
mov ecx, eax
call fcn.10058f40
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x50], 8
jb 0x10074fd0
mov edx, dword [ebp - 0x64]
push edx
call fcn.100b2678
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 0x10074ffa
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.100b2678
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 0x10075018
mov edx, dword [ebp - 0x48]
push edx
call fcn.100b2678
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.100029c0
mov eax, 0xfffffffb
jmp 0x10075147
call fcn.100042d0
mov dword [ebp - 4], 0xd
lea eax, [ebp - 0x100]
push str.return_1.
push eax
call fcn.10007530
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.100065d0
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.100065d0
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x64]
push ecx
lea ecx, [ebp - 0x100]
call fcn.100043f0
mov byte [ebp - 4], 0x10
push eax
lea edx, [ebp - 0x48]
push edx
push 0x12a
lea eax, [ebp - 0x2c]
push eax
push 3
call fcn.10004af0
mov ecx, eax
call fcn.10058f40
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x50], 8
jb 0x100750df
mov ecx, dword [ebp - 0x64]
push ecx
call fcn.100b2678
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 0x10075109
mov eax, dword [ebp - 0x2c]
push eax
call fcn.100b2678
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 0x10075127
mov ecx, dword [ebp - 0x48]
push ecx
call fcn.100b2678
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.100029c0
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.100b2b2c
mov esp, ebp
pop ebp
ret