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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59e698
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x6121d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx]
mov esi, dword [eax + 0x5c]
mov ecx, esi
call dword [0x5aa43c]
mov ecx, ebx
call esi
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
je 0x4f256b
cmp eax, 1
je 0x4f256b
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, 1
je 0x4f256b
test eax, eax
jne 0x4f278d
inc dword [0x61ce18]
lea eax, [ebp - 0x78]
push eax
push 0x5cc528
push 1
push 0
push 0x5cc518
mov dword [ebp - 0x78], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4f263b
push str.rootCCMSoftwareUpdatesDeploymentAgent
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x74], 0
call fcn.004c3b90
mov eax, dword [eax]
test eax, eax
je 0x4f25b6
mov ecx, dword [eax]
jmp 0x4f25b8
xor ecx, ecx
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x74]
push edx
push 0
push 0
mov esi, dword [eax]
push 0
push 0
push 0
mov esi, dword [esi + 0xc]
push 0
push ecx
push eax
mov ecx, esi
call dword [0x5aa43c]
call esi
lea ecx, [ebp - 0x80]
mov esi, eax
call fcn.004c3c40
test esi, esi
js 0x4f2621
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x74]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov esi, eax
test esi, esi
jns 0x4f265c
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x5aa43c]
call esi
mov dword [ebp - 0x74], 0
mov eax, dword [ebp - 0x78]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x5aa43c]
call esi
mov dword [ebp - 0x78], 0
cmp dword [0x61ce18], 0
jle 0x4f278d
call dword [sym.imp.ole32.dll_CoUninitialize]
dec dword [0x61ce18]
or esi, 0xffffffff
jmp 0x4f2b24
lea edx, [ebp + 8]
mov dword [ebp - 0x7c], 0
mov ecx, str.Missing
call fcn.004d6cc0
test al, al
je 0x4f26d8
push 0x5f0218
lea ecx, [ebp - 0x84]
call fcn.004c3b90
mov eax, dword [eax]
test eax, eax
je 0x4f268e
mov edi, dword [eax]
jmp 0x4f2690
xor edi, edi
push 0x5f0214
lea ecx, [ebp - 0x80]
call fcn.004e8980
mov eax, dword [eax]
test eax, eax
je 0x4f26a7
mov ecx, dword [eax]
jmp 0x4f26a9
xor ecx, ecx
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x7c]
push edx
push 0
push 0x30
mov esi, dword [eax]
push edi
push ecx
push eax
mov esi, dword [esi + 0x50]
mov ecx, esi
call dword [0x5aa43c]
call esi
lea ecx, [ebp - 0x80]
mov esi, eax
call fcn.004c3c40
lea ecx, [ebp - 0x84]
jmp 0x4f274b
lea edx, [ebp + 8]
mov ecx, str.Installed
call fcn.004d6cc0
test al, al
je 0x4f2750
push str.select_UpdateId_from_CCM_TargetedUpdateEx1_where_UpdateState__1
lea ecx, [ebp - 0x80]
call fcn.004c3b90
mov eax, dword [eax]
test eax, eax
je 0x4f2700
mov edi, dword [eax]
jmp 0x4f2702
xor edi, edi
push 0x5f0214
lea ecx, [ebp - 0x84]
call fcn.004e8980
mov eax, dword [eax]
test eax, eax
je 0x4f271c
mov ecx, dword [eax]
jmp 0x4f271e
xor ecx, ecx
mov eax, dword [ebp - 0x74]
lea edx, [ebp - 0x7c]
push edx
push 0
push 0x30
mov esi, dword [eax]
push edi
push ecx
push eax
mov esi, dword [esi + 0x50]
mov ecx, esi
call dword [0x5aa43c]
call esi
lea ecx, [ebp - 0x84]
mov esi, eax
call fcn.004c3c40
lea ecx, [ebp - 0x80]
call fcn.004c3c40
test esi, esi
jns 0x4f2795
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x5aa43c]
call esi
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x74], 0
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x5aa43c]
call esi
mov dword [ebp - 0x78], 0
call fcn.005214e0
or esi, 0xffffffff
jmp 0x4f2b24
push 0x5e91b4
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], 0
call fcn.004ab630
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x4f2ac7
mov esi, dword [eax]
lea ecx, [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x88]
push ecx
mov esi, dword [esi + 0x10]
mov ecx, esi
push 1
push 0xffffffffffffffff
push eax
call dword [0x5aa43c]
call esi
cmp dword [ebp - 0x8c], 0
je 0x4f2ac7
mov dword [ebp - 0x90], 0
lea ecx, [ebp - 0x84]
push str.UpdateId
mov dword [ebp - 0x98], vtable.WaJson.0
mov byte [ebp - 0x90], 0
mov dword [ebp - 0x94], 5
call fcn.004c3b90
mov eax, dword [eax]
test eax, eax
je 0x4f282f
mov ecx, dword [eax]
jmp 0x4f2831
xor ecx, ecx
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0xc0]
push 0
push 0
push edx
mov esi, dword [eax]
push 0
push ecx
push eax
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x5aa43c]
call esi
lea ecx, [ebp - 0x84]
call fcn.004c3c40
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x40]
call fcn.004ab630
push 5
push 0
push str._SUM_
mov ecx, eax
call fcn.004ab700
mov ecx, dword [ebp - 0x2c]
mov esi, eax
cmp ecx, 8
jb 0x4f2895
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.004abec0
push 0xffffffffffffffff
lea eax, [esi + 5]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x70]
call fcn.004ab630
mov ecx, eax
call fcn.004b9450
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4f28ef
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4f28d2
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.004ab9d0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4f290b
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x4f2934
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004abec0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x9c], 0
lea ecx, [ebp - 0xa4]
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0xa4], vtable.WaJson.0
mov byte [ebp - 0x9c], 0
mov dword [ebp - 0xa0], 5
call fcn.004b08d0
lea eax, [ebp - 0xa4]
push eax
push str.UniqueId
lea ecx, [ebp - 0x98]
call fcn.004adf50
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xa4], vtable.WaJson.0
call fcn.004adb30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
push dword [ebp - 0xb8]
call fcn.004ab630
cmp dword [eax + 0x14], 8
jb 0x4f29c0
mov eax, dword [eax]
mov dword [ebp - 0xa8], 0
lea ecx, [ebp - 0xb0]
push eax
mov dword [ebp - 0xb0], vtable.WaJson.0
mov byte [ebp - 0xa8], 0
mov dword [ebp - 0xac], 5
call fcn.004b08d0
lea eax, [ebp - 0xb0]
push eax
push str.UpdateID
lea ecx, [ebp - 0x98]
call fcn.004adf50
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xb0], vtable.WaJson.0
call fcn.004adb30
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x4f2a40
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004abec0
xor eax, eax
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0x98]
mov eax, dword [ebx]
push ecx
mov dword [ebp - 0x48], 0
mov esi, dword [eax + 0x6c]
mov ecx, esi
call dword [0x5aa43c]
mov ecx, ebx
call esi
lea eax, [ebp - 0xc0]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x88]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x5aa43c]
call esi
mov dword [ebp - 0x88], 0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x98], vtable.WaJson.0
call fcn.004adb30
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x7c]
test eax, eax
jne 0x4f27c1
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x5aa43c]
call esi
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x74], 0
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x5aa43c]
call esi
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x78], 0
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x5aa43c]
call esi
mov dword [ebp - 0x7c], 0
call fcn.005214e0
lea ecx, [ebp - 0x28]
xor esi, esi
call fcn.004ab5f0
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x4f2b39
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.004abec0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00540c56
mov esp, ebp
pop ebp
ret