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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x190], rbx
mov rax, qword [0x14027f238]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov r13, rdx
mov r15, rcx
mov rax, qword [rdx]
mov rbx, qword [rax + 0xb8]
mov rcx, rbx
call qword [fcn.1400059b0]
mov rcx, r13
call rbx
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
je 0x140107e59
cmp eax, 1
je 0x140107e59
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, 1
je 0x140107e59
test eax, eax
je 0x140107e59
mov r8, qword [r15 + 0x18]
cmp r8, 8
jb 0x140107e35
inc r8
mov rdx, qword [r15]
mov rcx, r15
call fcn.1400be810
xor ebx, ebx
mov qword [r15 + 0x18], 7
mov qword [r15 + 0x10], rbx
cmp qword [r15 + 0x18], 8
jb 0x140107e4d
mov r15, qword [r15]
mov word [r15], bx
or eax, 0xffffffff
jmp 0x14010876a
inc dword [0x14028c8e8]
xor ebx, ebx
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x1402014f0]
xor edx, edx
lea r8d, [rbx + 1]
lea rcx, [0x1402014e0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140107ebf
cmp dword [0x14028c8e8], ebx
jle 0x140107ea2
call qword [sym.imp.ole32.dll_CoUninitialize]
dec dword [0x14028c8e8]
mov r8, qword [r15 + 0x18]
cmp r8, 8
jb 0x140107e37
inc r8
mov rdx, qword [r15]
mov rcx, r15
call fcn.1400be810
jmp 0x140107e37
mov qword [rsp + 0x50], rbx
mov ecx, SafeArrayCopy
call fcn.140165194
mov r14, rax
test rax, rax
je 0x140107f01
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
lea rcx, str.rootCCMSoftwareUpdatesDeploymentAgent
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [r14], rax
test rax, rax
jne 0x140107f04
mov ecx, 0x8007000e
call fcn.1401880f0
int3
mov r14, rbx
mov qword [rsp + 0x70], r14
test r14, r14
jne 0x140107f19
mov ecx, 0x8007000e
call fcn.1401880f0
int3
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [fcn.1400059b0]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [r14]
mov rcx, rsi
call rdi
mov edi, eax
lea rcx, [rsp + 0x70]
call fcn.1400d54a0
test edi, edi
jns 0x140107fa9
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.1400059b0]
mov rcx, rsi
call rdi
mov qword [rsp + 0x58], rbx
cmp dword [0x14028c8e8], ebx
jle 0x140107f9c
call qword [sym.imp.ole32.dll_CoUninitialize]
dec dword [0x14028c8e8]
mov rcx, r15
call fcn.1400be290
jmp 0x140107e51
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0xa]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov edi, eax
test eax, eax
jns 0x14010803c
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.1400059b0]
mov rcx, rsi
call rdi
mov qword [rsp + 0x50], rbx
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.1400059b0]
mov rcx, rsi
call rdi
mov qword [rsp + 0x58], rbx
cmp dword [0x14028c8e8], ebx
jle 0x14010802f
call qword [sym.imp.ole32.dll_CoUninitialize]
dec dword [0x14028c8e8]
mov rcx, r15
call fcn.1400be290
jmp 0x140107e51
mov qword [rsp + 0x60], rbx
mov rsi, qword [r15 + 0x18]
cmp rsi, 8
jb 0x140108050
mov rcx, qword [r15]
jmp 0x140108053
mov rcx, r15
mov rdx, qword [r15 + 0x10]
mov r9d, 7
lea r8, str.Missing
call fcn.1400c4840
test eax, eax
jne 0x140108126
lea rdx, str.select_UpdateId_from_CCM_TargetedUpdateEx1_where_UpdateState__0
lea rcx, [rsp + 0x78]
call fcn.1400d5400
mov rcx, qword [rax]
test rcx, rcx
je 0x14010808f
mov r12, qword [rcx]
jmp 0x140108092
mov r12, rbx
mov ecx, SafeArrayCopy
call fcn.140165194
mov r14, rax
test rax, rax
je 0x1401080c0
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
lea rcx, [0x14022c778]
call fcn.140188200
mov qword [r14], rax
jmp 0x1401080c3
mov r14, rbx
mov qword [rsp + 0x70], r14
test r14, r14
jne 0x1401080d8
mov ecx, 0x8007000e
call fcn.1401880f0
int3
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsi]
mov rdi, qword [rax + 0xa0]
mov rcx, rdi
call qword [fcn.1400059b0]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9d, 0x30
mov r8, r12
mov rdx, qword [r14]
mov rcx, rsi
call rdi
mov edi, eax
lea rcx, [rsp + 0x70]
call fcn.1400d54a0
lea rcx, [rsp + 0x78]
jmp 0x1401081fe
cmp rsi, 8
jb 0x140108131
mov rcx, qword [r15]
jmp 0x140108134
mov rcx, r15
mov r9d, 9
lea r8, str.Installed
call fcn.1400c4840
test eax, eax
jne 0x140108203
lea rdx, str.select_UpdateId_from_CCM_TargetedUpdateEx1_where_UpdateState__1
lea rcx, [rsp + 0x70]
call fcn.1400d5400
mov rcx, qword [rax]
test rcx, rcx
je 0x14010816c
mov r12, qword [rcx]
jmp 0x14010816f
mov r12, rbx
mov ecx, SafeArrayCopy
call fcn.140165194
mov r14, rax
test rax, rax
je 0x14010819d
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
lea rcx, [0x14022c778]
call fcn.140188200
mov qword [r14], rax
jmp 0x1401081a0
mov r14, rbx
mov qword [rsp + 0x78], r14
test r14, r14
jne 0x1401081b5
mov ecx, 0x8007000e
call fcn.1401880f0
int3
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsi]
mov rdi, qword [rax + 0xa0]
mov rcx, rdi
call qword [fcn.1400059b0]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9d, 0x30
mov r8, r12
mov rdx, qword [r14]
mov rcx, rsi
call rdi
mov edi, eax
lea rcx, [rsp + 0x78]
call fcn.1400d54a0
lea rcx, [rsp + 0x70]
call fcn.1400d54a0
test edi, edi
jns 0x140108266
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.1400059b0]
mov rcx, rsi
call rdi
mov qword [rsp + 0x50], rbx
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.1400059b0]
mov rcx, rsi
call rdi
mov qword [rsp + 0x58], rbx
cmp dword [0x14028c8e8], ebx
jle 0x140108259
call qword [sym.imp.ole32.dll_CoUninitialize]
dec dword [0x14028c8e8]
mov rcx, r15
call fcn.1400be290
jmp 0x140107e51
mov qword [rbp - 0x68], rbx
mov dword [rsp + 0x68], ebx
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], rbx
mov word [rbp - 8], bx
xor r8d, r8d
lea rdx, [0x1402271c4]
lea rcx, [rbp - 8]
call fcn.1400be520
mov rsi, qword [rsp + 0x60]
test rsi, rsi
je 0x1401086c4
lea r12, vtable.WaJson.0
nop word [rax + rax]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x20]
mov rcx, rdi
call qword [fcn.1400059b0]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x68]
mov r8d, 1
or edx, 0xffffffff
mov rcx, rsi
call rdi
cmp dword [rsp + 0x68], 0
je 0x1401086c4
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x50], rbx
mov dword [rbp - 0x50], ebx
mov byte [rbp - 0x50], 0
mov dword [rbp - 0x58], 5
mov ecx, SafeArrayCopy
call fcn.140165194
mov r14, rax
test rax, rax
je 0x140108335
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
lea rcx, str.UpdateId
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [r14], rax
test rax, rax
je 0x1401086ae
jmp 0x140108338
mov r14, rbx
mov qword [rsp + 0x78], r14
test r14, r14
je 0x1401086b9
mov rsi, qword [rbp - 0x68]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x20]
mov rcx, rdi
call qword [fcn.1400059b0]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x48]
xor r8d, r8d
mov rdx, qword [r14]
mov rcx, rsi
call rdi
lea rcx, [rsp + 0x78]
call fcn.1400d54a0
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], rbx
mov word [rbp - 0x28], bx
mov rdx, qword [rbp - 0x40]
cmp word [rdx], 0
jne 0x14010839c
mov r8, rbx
jmp 0x1401083ab
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1401083a0
lea rcx, [rbp - 0x28]
call fcn.1400be520
mov r9d, 5
xor r8d, r8d
lea rdx, str._SUM_
lea rcx, [rbp - 0x28]
call fcn.1400be3d0
mov rdi, rax
mov r8, qword [rbp - 0x10]
cmp r8, 8
jb 0x1401083ea
inc r8
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
call fcn.1400be810
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], rbx
mov word [rbp - 0x28], bx
mov rdx, qword [rbp - 0x40]
cmp word [rdx], 0
jne 0x140108409
mov r8, rbx
jmp 0x14010841b
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140108410
lea rcx, [rbp - 0x28]
call fcn.1400be520
lea r8, [rdi + 5]
or r9, 0xffffffffffffffff
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x28]
call fcn.1400c9080
mov rdi, rax
lea rax, [rbp - 8]
cmp rax, rdi
je 0x14010847c
mov r8, qword [rbp + 0x10]
cmp r8, 8
jb 0x14010845f
inc r8
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 8]
call fcn.1400be810
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], rbx
mov word [rbp - 8], bx
mov rdx, rdi
lea rcx, [rbp - 8]
call fcn.1400be780
nop
mov r8, qword [rbp + 0x30]
cmp r8, 8
jb 0x140108496
inc r8
mov rdx, qword [rbp + 0x18]
lea rcx, [rbp + 0x18]
call fcn.1400be810
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], rbx
mov word [rbp + 0x18], bx
mov r8, qword [rbp - 0x10]
cmp r8, 8
jb 0x1401084c0
inc r8
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
call fcn.1400be810
lea rdx, [rbp - 8]
cmp qword [rbp + 0x10], 8
cmovae rdx, qword [rbp - 8]
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x70], rbx
mov dword [rbp - 0x70], ebx
mov byte [rbp - 0x70], 0
mov dword [rbp - 0x78], 5
lea rcx, [rbp - 0x80]
call fcn.1400c2c80
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], rbx
mov word [rbp - 0x28], bx
mov r8d, 8
lea rdx, str.UniqueId
lea rcx, [rbp - 0x28]
call fcn.1400be520
mov rax, qword [rbp - 0x60]
mov rdi, qword [rax + 0xf0]
mov rcx, rdi
call qword [fcn.1400059b0]
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x60]
call rdi
mov r8, qword [rbp - 0x10]
cmp r8, 8
jb 0x140108550
inc r8
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
call fcn.1400be810
nop
mov qword [rbp - 0x80], r12
lea rcx, [rbp - 0x80]
call fcn.1400c02b0
nop
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], rbx
mov word [rbp - 0x28], bx
mov rdx, qword [rbp - 0x40]
cmp word [rdx], 0
jne 0x14010857d
mov r8, rbx
jmp 0x14010858c
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140108581
lea rcx, [rbp - 0x28]
call fcn.1400be520
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x70], rbx
mov dword [rbp - 0x70], ebx
mov byte [rbp - 0x70], 0
mov dword [rbp - 0x78], 5
lea rcx, [rbp - 0x80]
call fcn.1400c2c80
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], rbx
mov word [rbp + 0x18], bx
mov r8d, 8
lea rdx, str.UpdateID
lea rcx, [rbp + 0x18]
call fcn.1400be520
mov rax, qword [rbp - 0x60]
mov rdi, qword [rax + 0xf0]
mov rcx, rdi
call qword [fcn.1400059b0]
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x60]
call rdi
mov r8, qword [rbp + 0x30]
cmp r8, 8
jb 0x140108625
inc r8
mov rdx, qword [rbp + 0x18]
lea rcx, [rbp + 0x18]
call fcn.1400be810
nop
mov qword [rbp - 0x80], r12
lea rcx, [rbp - 0x80]
call fcn.1400c02b0
nop
mov r8, qword [rbp - 0x10]
cmp r8, 8
jb 0x14010864d
inc r8
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
call fcn.1400be810
mov rax, qword [r13]
mov rdi, qword [rax + 0xd8]
mov rcx, rdi
call qword [fcn.1400059b0]
lea rdx, [rbp - 0x60]
mov rcx, r13
call rdi
lea rcx, [rbp - 0x48]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
mov rsi, qword [rbp - 0x68]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.1400059b0]
mov rcx, rsi
call rdi
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], r12
lea rcx, [rbp - 0x60]
call fcn.1400c02b0
nop
mov rsi, qword [rsp + 0x60]
test rsi, rsi
je 0x1401086c4
jmp 0x1401082b0
mov ecx, 0x8007000e
call fcn.1401880f0
int3
mov ecx, 0x8007000e
call fcn.1401880f0
int3
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.1400059b0]
mov rcx, rsi
call rdi
mov qword [rsp + 0x50], rbx
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.1400059b0]
mov rcx, rsi
call rdi
mov qword [rsp + 0x58], rbx
mov rsi, qword [rsp + 0x60]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.1400059b0]
mov rcx, rsi
call rdi
mov qword [rsp + 0x60], rbx
cmp dword [0x14028c8e8], 0
jle 0x140108736
call qword [sym.imp.ole32.dll_CoUninitialize]
dec dword [0x14028c8e8]
mov r8, qword [rbp + 0x10]
cmp r8, 8
jb 0x140108750
inc r8
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 8]
call fcn.1400be810
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], rbx
mov word [rbp - 8], bx
mov rcx, r15
call fcn.1400be290
xor eax, eax
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.140164ec0
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret