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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598058
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x6071d4]
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 [0x5a143c]
mov ecx, ebx
call esi
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
je 0x4e883b
cmp eax, 1
je 0x4e883b
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, 1
je 0x4e883b
test eax, eax
jne 0x4e8a5d
inc dword [0x611858]
lea eax, [ebp - 0x78]
push eax
push 0x5c2b98
push 1
push 0
push 0x5c2b88
mov dword [ebp - 0x78], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4e890b
push str.rootCCMSoftwareUpdatesDeploymentAgent
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x74], 0
call fcn.004bf850
mov eax, dword [eax]
test eax, eax
je 0x4e8886
mov ecx, dword [eax]
jmp 0x4e8888
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 [0x5a143c]
call esi
lea ecx, [ebp - 0x80]
mov esi, eax
call fcn.004bf900
test esi, esi
js 0x4e88f1
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 0x4e892c
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x5a143c]
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 [0x5a143c]
call esi
mov dword [ebp - 0x78], 0
cmp dword [0x611858], 0
jle 0x4e8a5d
call dword [sym.imp.ole32.dll_CoUninitialize]
dec dword [0x611858]
or esi, 0xffffffff
jmp 0x4e8df4
lea edx, [ebp + 8]
mov dword [ebp - 0x7c], 0
mov ecx, str.Missing
call fcn.004ccc40
test al, al
je 0x4e89a8
push str.select_UpdateId_from_CCM_TargetedUpdateEx1_where_UpdateState__0
lea ecx, [ebp - 0x84]
call fcn.004bf850
mov eax, dword [eax]
test eax, eax
je 0x4e895e
mov edi, dword [eax]
jmp 0x4e8960
xor edi, edi
push 0x5e5e70
lea ecx, [ebp - 0x80]
call fcn.004deb40
mov eax, dword [eax]
test eax, eax
je 0x4e8977
mov ecx, dword [eax]
jmp 0x4e8979
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 [0x5a143c]
call esi
lea ecx, [ebp - 0x80]
mov esi, eax
call fcn.004bf900
lea ecx, [ebp - 0x84]
jmp 0x4e8a1b
lea edx, [ebp + 8]
mov ecx, str.Installed
call fcn.004ccc40
test al, al
je 0x4e8a20
push str.select_UpdateId_from_CCM_TargetedUpdateEx1_where_UpdateState__1
lea ecx, [ebp - 0x80]
call fcn.004bf850
mov eax, dword [eax]
test eax, eax
je 0x4e89d0
mov edi, dword [eax]
jmp 0x4e89d2
xor edi, edi
push 0x5e5e70
lea ecx, [ebp - 0x84]
call fcn.004deb40
mov eax, dword [eax]
test eax, eax
je 0x4e89ec
mov ecx, dword [eax]
jmp 0x4e89ee
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 [0x5a143c]
call esi
lea ecx, [ebp - 0x84]
mov esi, eax
call fcn.004bf900
lea ecx, [ebp - 0x80]
call fcn.004bf900
test esi, esi
jns 0x4e8a65
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x5a143c]
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 [0x5a143c]
call esi
mov dword [ebp - 0x78], 0
call fcn.0051bd90
or esi, 0xffffffff
jmp 0x4e8df4
push 0x5df834
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], 0
call fcn.004a94b0
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x4e8d97
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 [0x5a143c]
call esi
cmp dword [ebp - 0x8c], 0
je 0x4e8d97
mov dword [ebp - 0x90], 0
lea ecx, [ebp - 0x84]
push 0x5e5e74
mov dword [ebp - 0x98], vtable.WaJson.0
mov byte [ebp - 0x90], 0
mov dword [ebp - 0x94], 5
call fcn.004bf850
mov eax, dword [eax]
test eax, eax
je 0x4e8aff
mov ecx, dword [eax]
jmp 0x4e8b01
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 [0x5a143c]
call esi
lea ecx, [ebp - 0x84]
call fcn.004bf900
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x40]
call fcn.004a94b0
push 5
push 0
push str._SUM_
mov ecx, eax
call fcn.004a9580
mov ecx, dword [ebp - 0x2c]
mov esi, eax
cmp ecx, 8
jb 0x4e8b65
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.004a9d40
push 0xffffffffffffffff
lea eax, [esi + 5]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x70]
call fcn.004a94b0
mov ecx, eax
call fcn.004b3a10
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4e8bbf
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4e8ba2
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004a9d40
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.004a9850
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4e8bdb
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004a9d40
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 0x4e8c04
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004a9d40
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.004ad7b0
lea eax, [ebp - 0xa4]
push eax
push str.UniqueId
lea ecx, [ebp - 0x98]
call fcn.004ab650
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xa4], vtable.WaJson.0
call fcn.004ab230
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
push dword [ebp - 0xb8]
call fcn.004a94b0
cmp dword [eax + 0x14], 8
jb 0x4e8c90
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.004ad7b0
lea eax, [ebp - 0xb0]
push eax
push str.UpdateID
lea ecx, [ebp - 0x98]
call fcn.004ab650
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xb0], vtable.WaJson.0
call fcn.004ab230
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x4e8d10
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004a9d40
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 [0x5a143c]
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 [0x5a143c]
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.004ab230
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x7c]
test eax, eax
jne 0x4e8a91
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x5a143c]
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 [0x5a143c]
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 [0x5a143c]
call esi
mov dword [ebp - 0x7c], 0
call fcn.0051bd90
lea ecx, [ebp - 0x28]
xor esi, esi
call fcn.004a9470
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x4e8e09
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.004a9d40
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.0053b526
mov esp, ebp
pop ebp
ret