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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6ec7
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x503454]
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 0x4c7e27
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x200], 0
je 0x4c7e27
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00483779
add esp, 4
cmp eax, 0x14
jb 0x4c7e27
mov edx, dword [ebp + 0xc]
push edx
call fcn.00483779
add esp, 4
cmp eax, 0x100
jbe 0x4c7e33
mov dword [ebp - 0x18], 0x80070057
jmp 0x4c813d
cmp dword [ebp + 0x10], 1
jb 0x4c7e3f
cmp dword [ebp + 0x10], 0x14
jbe 0x4c7e4b
mov dword [ebp - 0x18], 0x80070057
jmp 0x4c813d
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x4c7e76
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x4c7e76
jmp 0x4c813d
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 0x4c7eab
cmp dword [ebp - 0x18], 0x80010119
je 0x4c7eab
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4c813d
lea eax, [ebp - 0x1c]
push eax
push 0x4e2254
push 1
push 0
push 0x4e2324
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x4c7ed7
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4c813d
push str.ROOTCIMV2
lea ecx, [ebp - 0x50]
call fcn.00481d10
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.00481dd0
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.00481db0
cmp dword [ebp - 0x18], 0
jge 0x4c7f4c
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 0x4c813d
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 0x4c7f94
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 0x4c813d
mov edx, dword [ebp + 0xc]
push edx
lea ecx, [ebp - 0x54]
call fcn.00481d10
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov dword [ebp - 4], 1
push 0x4e4fbc
lea ecx, [ebp - 0x58]
call fcn.00481c70
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.00481dd0
push eax
mov ecx, dword [ebp - 0x70]
call fcn.00481dd0
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.00481db0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.00481db0
cmp dword [ebp - 0x18], 0
jge 0x4c803d
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 0x4c813d
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
jne 0x4c8106
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 0x4c80cf
cmp dword [ebp - 0x48], 0
je 0x4c80cf
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x200], 0
je 0x4c80cf
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 0x4c80e1
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ebp - 0x48]
jae 0x4c8101
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 0x4c80d8
jmp 0x4c8044
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