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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db780
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x518334]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
cmp dword [ebp + 0xc], 0
je 0x4ce207
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x200], 0
je 0x4ce207
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0049795c
add esp, 4
cmp eax, 0x14
jb 0x4ce207
mov edx, dword [ebp + 0xc]
push edx
call fcn.0049795c
add esp, 4
cmp eax, 0x100
jbe 0x4ce213
mov dword [ebp - 0x18], 0x80070057
jmp 0x4ce51d
cmp dword [ebp + 0x10], 1
jb 0x4ce21f
cmp dword [ebp + 0x10], 0x14
jbe 0x4ce22b
mov dword [ebp - 0x18], 0x80070057
jmp 0x4ce51d
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x4ce256
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x4ce256
jmp 0x4ce51d
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x4ce28b
cmp dword [ebp - 0x18], 0x80010119
je 0x4ce28b
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4ce51d
lea eax, [ebp - 0x1c]
push eax
push 0x4ebca4
push 1
push 0
push 0x4ebd74
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x4ce2b7
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4ce51d
push str.ROOTCIMV2
lea ecx, [ebp - 0x50]
call fcn.004914a0
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x60]
call fcn.00491560
push eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00491540
cmp dword [ebp - 0x18], 0
jge 0x4ce32c
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4ce51d
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x4ce374
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4ce51d
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x54]
call fcn.004914a0
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov dword [ebp - 4], 1
push 0x4edc44
lea ecx, [ebp - 0x58]
call fcn.00491400
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x14]
push edx
push 0
push 0x30
mov ecx, dword [ebp - 0x68]
call fcn.00491560
push eax
mov ecx, dword [ebp - 0x70]
call fcn.00491560
push eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.00491540
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00491540
cmp dword [ebp - 0x18], 0
jge 0x4ce41d
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [eax + 8]
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4ce51d
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
jne 0x4ce4e6
mov dword [ebp - 0x44], 0
xor eax, eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x48], 0
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x44]
push edx
push 0xa
push 0xffffffffffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx + 0x10]
call eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x4ce4af
cmp dword [ebp - 0x48], 0
je 0x4ce4af
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x200], 0
je 0x4ce4af
mov edx, dword [ebp - 0x48]
push edx
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x200]
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x200]
mov edx, dword [edx]
push ecx
mov eax, dword [edx]
call eax
mov dword [ebp - 0x4c], 0
jmp 0x4ce4c1
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ebp - 0x48]
jae 0x4ce4e1
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp + eax*4 - 0x44]
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp + edx*4 - 0x44]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 8]
call edx
jmp 0x4ce4b8
jmp 0x4ce424
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [eax + 8]
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc