Function at 0x4a55b0
Capabilities:
Connect to wmi namespace via wbemlocator
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x55df98
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x54]
mov dword fs:[0], eax
or edi, 0xffffffff
push edi
xor ebx, ebx
push ebx
lea ecx, [esp + 0x3c]
call fcn.0049eff0
mov eax, 0x57a1d4
mov dword [esp + 0x5c], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4a55f3
mov esi, dword [esp + 0x68]
sub eax, edx
sar eax, 1
push eax
push 0x57a1d4
push esi
call fcn.0051a4ff
add esp, 0xc
test eax, eax
je 0x4a563b
push edi
push 0x57a1d4
lea ecx, [esp + 0x3c]
call fcn.00406a80
push edi
push esi
lea ecx, [esp + 0x3c]
call fcn.0049eeb0
mov eax, dword [esp + 0x38]
mov dword [esp + 0x68], eax
mov esi, dword [esp + 0x70]
mov dword [esp + 0x24], edi
cmp esi, ebx
jne 0x4a564b
lea esi, [esp + 0x24]
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [esp + 0x2c], eax
cmp eax, ebx
mov dword [esi], eax
jl 0x4a56a8
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x20], ebx
call fcn.004a4a10
mov edx, dword [0x5b286c]
add esp, 4
push eax
push 0x57a1c4
push edx
push ebx
push 0x58e934
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
mov dword [esi], eax
jge 0x4a56d3
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x5c], 1
cmp eax, ebx
je 0x4a56a2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [esp + 0x5c], edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], vtable.cWCS.0
call fcn.0049ee80
xor al, al
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret
mov dword [esp + 0x14], ebx
mov edi, dword [esp + 0x1c]
mov byte [esp + 0x5c], 3
cmp edi, ebx
jne 0x4a56ee
push 0x80004003
call fcn.0054e1b0
push str.rootcimv2
lea ecx, [esp + 0x74]
call fcn.0049fa90
mov ebp, eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x5c], 4
cmp eax, ebx
je 0x4a5713
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], ebx
mov eax, dword [ebp]
cmp eax, ebx
je 0x4a5722
mov eax, dword [eax]
jmp 0x4a5724
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0x14]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
mov eax, dword [ecx + 0xc]
push edi
call eax
lea ecx, [esp + 0x70]
mov dword [esi], eax
call fcn.0049fd70
cmp dword [esi], ebx
mov eax, dword [esp + 0x14]
jge 0x4a5784
mov byte [esp + 0x5c], 2
cmp eax, ebx
je 0x4a575c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
cmp eax, ebx
mov byte [esp + 0x5c], 1
je 0x4a5771
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [esp + 0x5c], 0xffffffff
jmp 0x4a56ac
push ebx
push ebx
push 3
push ebx
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0xffffffffffffffff
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
mov dword [esi], eax
jge 0x4a57a2
mov eax, dword [esp + 0x14]
jmp 0x4a574b
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x5c], 5
cmp eax, ebx
jne 0x4a57bd
push 0x80004003
call fcn.0054e1b0
mov edi, eax
mov eax, dword [esp + 0x68]
push eax
lea ecx, [esp + 0x2c]
call fcn.0049fa90
mov ebp, eax
push 0x57a1a4
lea ecx, [esp + 0x74]
mov byte [esp + 0x60], 6
call fcn.0049fa90
mov ebx, eax
mov eax, dword [esp + 0x18]
mov byte [esp + 0x5c], 7
test eax, eax
je 0x4a57f9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x18], 0
mov ebp, dword [ebp]
test ebp, ebp
je 0x4a580d
mov ebp, dword [ebp]
jmp 0x4a580f
xor ebp, ebp
mov eax, dword [ebx]
test eax, eax
je 0x4a5819
mov eax, dword [eax]
jmp 0x4a581b
xor eax, eax
mov ecx, dword [edi]
lea edx, [esp + 0x18]
push edx
push 0
push 0x30
push ebp
push eax
mov eax, dword [ecx + 0x50]
push edi
call eax
lea ecx, [esp + 0x70]
mov dword [esi], eax
call fcn.0049fd70
lea ecx, [esp + 0x28]
call fcn.0049fd70
xor ebp, ebp
cmp dword [esi], ebp
jge 0x4a587d
mov eax, dword [esp + 0x18]
mov byte [esp + 0x5c], 3
cmp eax, ebp
je 0x4a585d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x5c], 2
cmp eax, ebp
je 0x4a5872
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
cmp eax, ebp
jmp 0x4a5762
xor eax, eax
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x18]
mov byte [esp + 0x5c], 8
cmp esi, ebp
je 0x4a596e
mov ebx, dword [esp + 0x6c]
mov edi, dword [esp + 0x64]
jmp 0x4a58a6
mov eax, dword [esp + 0x20]
xor ebp, ebp
cmp eax, ebp
je 0x4a58b2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x24]
push edx
push 1
mov dword [esp + 0x2c], ebp
mov eax, dword [esi]
mov eax, dword [eax + 0x10]
push 0xffffffffffffffff
push esi
call eax
test eax, eax
jne 0x4a5978
mov ecx, 0x16
mov word [esp + 0x44], cx
mov dword [esp + 0x4c], ebp
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x2c]
push eax
mov ecx, ebx
mov byte [esp + 0x64], 9
call fcn.004a4ec0
add esp, 8
mov eax, dword [eax]
mov byte [esp + 0x5c], 0xa
cmp eax, ebp
je 0x4a590c
mov ebp, dword [eax]
mov esi, dword [edi + 4]
push 1
push 0
mov ecx, edi
call fcn.004109f0
cmp esi, dword [edi + 4]
jge 0x4a5949
mov ecx, dword [edi]
mov edx, dword [ecx + esi*4]
push 0
push 0xffffffffffffffff
lea eax, [esp + 0x78]
push ebp
push eax
mov dword [esp + 0x80], edx
call fcn.00419180
mov ecx, dword [edi]
mov edx, dword [esp + 0x80]
add esp, 0x10
mov dword [ecx + esi*4], edx
lea ecx, [esp + 0x28]
call fcn.0049fd70
lea eax, [esp + 0x44]
push eax
mov byte [esp + 0x60], 8
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [esp + 0x18]
test esi, esi
jne 0x4a58a0
push 0x80004003
call fcn.0054e1b0
cmp dword [edi + 4], ebp
mov eax, dword [esp + 0x20]
setne bl
mov byte [esp + 0x5c], 5
cmp eax, ebp
je 0x4a5993
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
mov byte [esp + 0x5c], 3
cmp eax, ebp
je 0x4a59a8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x5c], 2
cmp eax, ebp
je 0x4a59bd
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x5c], 1
cmp eax, ebp
je 0x4a59d2
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x34]
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x34], vtable.cWCS.0
call fcn.0049ee80
mov al, bl
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret