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

Disassembly:
push 0xffffffffffffffff
push 0x55df18
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5b3890]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
or edi, 0xffffffff
push edi
xor ebx, ebx
push ebx
lea ecx, [esp + 0x40]
call fcn.0049eff0
mov eax, 0x57a1d4
mov dword [esp + 0x50], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4a50e3
mov esi, dword [esp + 0x5c]
sub eax, edx
sar eax, 1
push eax
push 0x57a1d4
push esi
call fcn.0051a4ff
add esp, 0xc
test eax, eax
je 0x4a512b
push edi
push 0x57a1d4
lea ecx, [esp + 0x40]
call fcn.00406a80
push edi
push esi
lea ecx, [esp + 0x40]
call fcn.0049eeb0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x5c], eax
mov ebp, dword [esp + 0x68]
mov dword [esp + 0x28], edi
cmp ebp, ebx
jne 0x4a513b
lea ebp, [esp + 0x28]
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, eax
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], 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]
mov dword [ebp], eax
cmp eax, ebx
mov eax, dword [esp + 0x18]
jge 0x4a51c4
mov byte [esp + 0x50], 1
cmp eax, ebx
je 0x4a518f
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jl 0x4a5199
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [esp + 0x50], edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], vtable.cWCS.0
call fcn.0049ee80
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
cmp eax, ebx
sete cl
test cl, cl
je 0x4a5213
mov byte [esp + 0x50], 1
cmp eax, ebx
je 0x4a51de
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp esi, ebx
jl 0x4a51e8
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], edi
mov dword [esp + 0x38], vtable.cWCS.0
call fcn.0049ee80
xor al, al
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
mov dword [esp + 0x14], ebx
mov byte [esp + 0x50], 3
cmp eax, ebx
jne 0x4a522a
push 0x80004003
call fcn.0054e1b0
push str.rootcimv2
lea ecx, [esp + 0x6c]
mov esi, eax
call fcn.0049fa90
mov edi, eax
mov eax, dword [esp + 0x14]
mov byte [esp + 0x50], 4
cmp eax, ebx
je 0x4a5251
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], ebx
mov eax, dword [edi]
cmp eax, ebx
je 0x4a525f
mov eax, dword [eax]
jmp 0x4a5261
xor eax, eax
mov ecx, dword [esi]
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 esi
call eax
lea ecx, [esp + 0x68]
mov dword [ebp], eax
call fcn.0049fd70
cmp dword [ebp], ebx
mov eax, dword [esp + 0x14]
jge 0x4a52c9
mov byte [esp + 0x50], 2
cmp eax, ebx
je 0x4a529b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
mov byte [esp + 0x50], 1
cmp eax, ebx
je 0x4a52b0
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x1c], ebx
jl 0x4a52bc
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [esp + 0x50], 0xffffffff
jmp 0x4a519d
push ebx
push ebx
push 3
push ebx
or esi, 0xffffffff
push esi
push esi
push esi
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp], eax
cmp eax, ebx
ret
mov eax, dword [esp + 0x14]
jge 0x4a5321
mov byte [esp + 0x50], 2
cmp eax, ebx
je 0x4a52f7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
mov byte [esp + 0x50], 1
cmp eax, ebx
je 0x4a530c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x1c], ebx
jl 0x4a5318
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [esp + 0x50], esi
jmp 0x4a519d
cmp eax, ebx
sete cl
test cl, cl
jne 0x4a52e6
mov dword [esp + 0x24], ebx
mov byte [esp + 0x50], 5
cmp eax, ebx
jne 0x4a5341
push 0x80004003
call fcn.0054e1b0
mov edi, eax
mov eax, dword [esp + 0x5c]
push eax
lea ecx, [esp + 0x34]
call fcn.0049fa90
mov esi, eax
push 0x57a1a4
lea ecx, [esp + 0x30]
mov byte [esp + 0x54], 6
call fcn.0049fa90
mov ecx, dword [esi]
mov byte [esp + 0x50], 7
cmp ecx, ebx
je 0x4a5379
mov ecx, dword [ecx]
mov dword [esp + 0x68], ecx
jmp 0x4a537d
mov dword [esp + 0x68], ebx
mov eax, dword [eax]
cmp eax, ebx
je 0x4a5387
mov ebx, dword [eax]
jmp 0x4a5389
xor ebx, ebx
mov esi, dword [edi]
lea ecx, [esp + 0x24]
add esi, 0x50
call fcn.004a4ad0
mov edx, dword [esp + 0x68]
push eax
mov eax, dword [esi]
push 0
push 0x30
push edx
push ebx
push edi
call eax
lea ecx, [esp + 0x2c]
mov dword [ebp], eax
call fcn.0049fd70
lea ecx, [esp + 0x30]
call fcn.0049fd70
cmp dword [ebp], 0
jge 0x4a541f
mov eax, dword [esp + 0x24]
mov byte [esp + 0x50], 3
test eax, eax
je 0x4a53d7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x50], 2
test eax, eax
je 0x4a53ec
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
mov byte [esp + 0x50], 1
test eax, eax
je 0x4a5401
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x1c], 0
jl 0x4a52bc
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [esp + 0x50], 0xffffffff
jmp 0x4a519d
xor eax, eax
mov dword [esp + 0x20], eax
mov esi, dword [esp + 0x24]
test esi, esi
sete cl
mov byte [esp + 0x50], 8
mov byte [esp + 0x68], al
test cl, cl
je 0x4a5463
mov byte [esp + 0x50], 3
test esi, esi
je 0x4a544c
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x50], 2
test eax, eax
je 0x4a53ec
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x4a53ec
test esi, esi
je 0x4a54d8
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x58]
xor ebp, ebp
jmp 0x4a5477
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x4a5483
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea ecx, [esp + 0x34]
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 0x4a54e2
cmp byte [esp + 0x68], al
je 0x4a54b4
push 0xffffffffffffffff
push ebp
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.0049b360
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x20]
push ecx
push edx
push edi
call fcn.004a4fb0
add esp, 0xc
test al, al
je 0x4a54d0
mov byte [esp + 0x68], 1
mov esi, dword [esp + 0x24]
cmp esi, ebp
jne 0x4a5473
push 0x80004003
call fcn.0054e1b0
mov eax, dword [esp + 0x20]
mov byte [esp + 0x50], 5
cmp eax, ebp
je 0x4a54f7
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x24]
mov byte [esp + 0x50], 3
cmp eax, ebp
je 0x4a550c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x50], 2
cmp eax, ebp
je 0x4a5521
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
mov byte [esp + 0x50], 1
cmp eax, ebp
je 0x4a5536
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
cmp dword [esp + 0x1c], ebp
jl 0x4a5542
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x38]
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x38], vtable.cWCS.0
call fcn.0049ee80
mov al, byte [esp + 0x68]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret