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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x590938
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x5ff1d4]
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 [0x59a43c]
mov ecx, ebx
call esi
push 2
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
je 0x4e3a1b
cmp eax, 1
je 0x4e3a1b
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, 1
je 0x4e3a1b
test eax, eax
jne 0x4e3c3d
inc dword [0x6093e0]
lea eax, [ebp - 0x78]
push eax
push 0x5bbb08
push 1
push 0
push 0x5bbaf8
mov dword [ebp - 0x78], 0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4e3aeb
push str.rootCCMSoftwareUpdatesDeploymentAgent
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x74], 0
call fcn.004baa50
mov eax, dword [eax]
test eax, eax
je 0x4e3a66
mov ecx, dword [eax]
jmp 0x4e3a68
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 [0x59a43c]
call esi
lea ecx, [ebp - 0x80]
mov esi, eax
call fcn.004bab00
test esi, esi
js 0x4e3ad1
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 0x4e3b0c
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x59a43c]
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 [0x59a43c]
call esi
mov dword [ebp - 0x78], 0
cmp dword [0x6093e0], 0
jle 0x4e3c3d
call dword [sym.imp.ole32.dll_CoUninitialize]
dec dword [0x6093e0]
or esi, 0xffffffff
jmp 0x4e3fd4
lea edx, [ebp + 8]
mov dword [ebp - 0x7c], 0
mov ecx, str.Missing
call fcn.004c7e30
test al, al
je 0x4e3b88
push 0x5de9d8
lea ecx, [ebp - 0x84]
call fcn.004baa50
mov eax, dword [eax]
test eax, eax
je 0x4e3b3e
mov edi, dword [eax]
jmp 0x4e3b40
xor edi, edi
push 0x5de9d4
lea ecx, [ebp - 0x80]
call fcn.004d9d60
mov eax, dword [eax]
test eax, eax
je 0x4e3b57
mov ecx, dword [eax]
jmp 0x4e3b59
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 [0x59a43c]
call esi
lea ecx, [ebp - 0x80]
mov esi, eax
call fcn.004bab00
lea ecx, [ebp - 0x84]
jmp 0x4e3bfb
lea edx, [ebp + 8]
mov ecx, str.Installed
call fcn.004c7e30
test al, al
je 0x4e3c00
push str.select_UpdateId_from_CCM_TargetedUpdateEx1_where_UpdateState__1
lea ecx, [ebp - 0x80]
call fcn.004baa50
mov eax, dword [eax]
test eax, eax
je 0x4e3bb0
mov edi, dword [eax]
jmp 0x4e3bb2
xor edi, edi
push 0x5de9d4
lea ecx, [ebp - 0x84]
call fcn.004d9d60
mov eax, dword [eax]
test eax, eax
je 0x4e3bcc
mov ecx, dword [eax]
jmp 0x4e3bce
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 [0x59a43c]
call esi
lea ecx, [ebp - 0x84]
mov esi, eax
call fcn.004bab00
lea ecx, [ebp - 0x80]
call fcn.004bab00
test esi, esi
jns 0x4e3c45
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x59a43c]
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 [0x59a43c]
call esi
mov dword [ebp - 0x78], 0
call fcn.00514850
or esi, 0xffffffff
jmp 0x4e3fd4
push 0x5d843c
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], 0
call fcn.004a48c0
mov eax, dword [ebp - 0x7c]
test eax, eax
je 0x4e3f77
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 [0x59a43c]
call esi
cmp dword [ebp - 0x8c], 0
je 0x4e3f77
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.004baa50
mov eax, dword [eax]
test eax, eax
je 0x4e3cdf
mov ecx, dword [eax]
jmp 0x4e3ce1
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 [0x59a43c]
call esi
lea ecx, [ebp - 0x84]
call fcn.004bab00
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x40]
call fcn.004a48c0
push 5
push 0
push str._SUM_
mov ecx, eax
call fcn.004a4990
mov ecx, dword [ebp - 0x2c]
mov esi, eax
cmp ecx, 8
jb 0x4e3d45
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.004a5150
push 0xffffffffffffffff
lea eax, [esi + 5]
push eax
lea eax, [ebp - 0x40]
push eax
push dword [ebp - 0xb8]
lea ecx, [ebp - 0x70]
call fcn.004a48c0
mov ecx, eax
call fcn.004aecd0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x4e3d9f
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x4e3d82
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.004a5150
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.004a4c60
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4e3dbb
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.004a5150
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 0x4e3de4
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.004a5150
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.004a8ad0
lea eax, [ebp - 0xa4]
push eax
push str.UniqueId
lea ecx, [ebp - 0x98]
call fcn.004a6a70
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xa4]
mov dword [ebp - 0xa4], vtable.WaJson.0
call fcn.004a6650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
push dword [ebp - 0xb8]
call fcn.004a48c0
cmp dword [eax + 0x14], 8
jb 0x4e3e70
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.004a8ad0
lea eax, [ebp - 0xb0]
push eax
push str.UpdateID
lea ecx, [ebp - 0x98]
call fcn.004a6a70
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0xb0], vtable.WaJson.0
call fcn.004a6650
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x4e3ef0
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.004a5150
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 [0x59a43c]
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 [0x59a43c]
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.004a6650
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x7c]
test eax, eax
jne 0x4e3c71
mov eax, dword [ebp - 0x74]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x59a43c]
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 [0x59a43c]
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 [0x59a43c]
call esi
mov dword [ebp - 0x7c], 0
call fcn.00514850
lea ecx, [ebp - 0x28]
xor esi, esi
call fcn.004a4880
mov ecx, dword [ebp + 0x1c]
cmp ecx, 8
jb 0x4e3fe9
inc ecx
push ecx
push dword [ebp + 8]
lea ecx, [ebp + 8]
call fcn.004a5150
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.00533fc6
mov esp, ebp
pop ebp
ret