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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cf031
mov eax, dword fs:[0]
push eax
sub esp, 0xac
push edi
mov eax, dword [0x50331c]
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 0x4c4d8b
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x200], 0
je 0x4c4d8b
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00489b50
add esp, 4
cmp eax, 0x14
jb 0x4c4d8b
mov edx, dword [ebp + 0xc]
push edx
call fcn.00489b50
add esp, 4
cmp eax, 0x100
jbe 0x4c4d97
mov dword [ebp - 0x18], 0x80070057
jmp 0x4c50c5
cmp dword [ebp + 0x10], 1
jb 0x4c4da3
cmp dword [ebp + 0x10], 0x14
jbe 0x4c4daf
mov dword [ebp - 0x18], 0x80070057
jmp 0x4c50c5
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x4c4dda
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x4c4dda
jmp 0x4c50c5
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 0x4c4e0f
cmp dword [ebp - 0x18], 0x80010119
je 0x4c4e0f
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4c50c5
lea eax, [ebp - 0x1c]
push eax
push 0x4deaa4
push 1
push 0
push 0x4deb74
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jge 0x4c4e3b
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4c50c5
push 0x4e0e80
lea edi, [ebp - 0x50]
call fcn.00456ed0
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0xa4]
mov dword [ebp - 0xa8], 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 eax, dword [ebp - 0xa8]
call fcn.00456f82
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 edi, [ebp - 0x50]
call fcn.00456f42
cmp dword [ebp - 0x18], 0
jge 0x4c4ebc
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 0x4c50c5
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 0x4c4f04
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 0x4c50c5
mov edx, dword [ebp + 0xc]
push edx
lea edi, [ebp - 0x54]
call fcn.00456ed0
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 4], 1
push 0x4e0c04
lea edi, [ebp - 0x58]
call fcn.00456e71
mov dword [ebp - 0xb4], eax
mov ecx, dword [ebp - 0xb4]
mov dword [ebp - 0xb8], ecx
mov byte [ebp - 4], 2
lea edx, [ebp - 0x14]
push edx
push 0
push 0x30
mov eax, dword [ebp - 0xb0]
call fcn.00456f82
push eax
mov eax, dword [ebp - 0xb8]
call fcn.00456f82
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 edi, [ebp - 0x58]
call fcn.00456f42
mov dword [ebp - 4], 0xffffffff
lea edi, [ebp - 0x54]
call fcn.00456f42
cmp dword [ebp - 0x18], 0
jge 0x4c4fc5
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 0x4c50c5
mov dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
jne 0x4c508e
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 0x4c5057
cmp dword [ebp - 0x48], 0
je 0x4c5057
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x200], 0
je 0x4c5057
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 0x4c5069
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
mov edx, dword [ebp - 0x4c]
cmp edx, dword [ebp - 0x48]
jae 0x4c5089
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 0x4c5060
jmp 0x4c4fcc
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
pop edi
mov esp, ebp
pop ebp
ret 0xc