Function at 0x140111e00
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 [0x14028c238]
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.140005fb0]
mov rcx, r13
call rbx
mov edx, 2
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
je 0x140111eb9
cmp eax, 1
je 0x140111eb9
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, 1
je 0x140111eb9
test eax, eax
je 0x140111eb9
mov r8, qword [r15 + 0x18]
cmp r8, 8
jb 0x140111e95
inc r8
mov rdx, qword [r15]
mov rcx, r15
call fcn.1400c3a10
xor ebx, ebx
mov qword [r15 + 0x18], 7
mov qword [r15 + 0x10], rbx
cmp qword [r15 + 0x18], 8
jb 0x140111ead
mov r15, qword [r15]
mov word [r15], bx
or eax, 0xffffffff
jmp 0x1401127ca
inc dword [0x14029a288]
xor ebx, ebx
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x14020c570]
xor edx, edx
lea r8d, [rbx + 1]
lea rcx, [0x14020c560]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140111f1f
cmp dword [0x14029a288], ebx
jle 0x140111f02
call qword [sym.imp.ole32.dll_CoUninitialize]
dec dword [0x14029a288]
mov r8, qword [r15 + 0x18]
cmp r8, 8
jb 0x140111e97
inc r8
mov rdx, qword [r15]
mov rcx, r15
call fcn.1400c3a10
jmp 0x140111e97
mov qword [rsp + 0x50], rbx
mov ecx, SafeArrayCopy
call fcn.14016e754
mov r14, rax
test rax, rax
je 0x140111f61
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 0x140111f64
mov ecx, 0x8007000e
call fcn.140191740
int3
mov r14, rbx
mov qword [rsp + 0x70], r14
test r14, r14
jne 0x140111f79
mov ecx, 0x8007000e
call fcn.140191740
int3
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x18]
mov rcx, rdi
call qword [fcn.140005fb0]
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.1400db250
test edi, edi
jns 0x140112009
mov rsi, qword [rsp + 0x58]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.140005fb0]
mov rcx, rsi
call rdi
mov qword [rsp + 0x58], rbx
cmp dword [0x14029a288], ebx
jle 0x140111ffc
call qword [sym.imp.ole32.dll_CoUninitialize]
dec dword [0x14029a288]
mov rcx, r15
call fcn.1400c3490
jmp 0x140111eb1
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 0x14011209c
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.140005fb0]
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.140005fb0]
mov rcx, rsi
call rdi
mov qword [rsp + 0x58], rbx
cmp dword [0x14029a288], ebx
jle 0x14011208f
call qword [sym.imp.ole32.dll_CoUninitialize]
dec dword [0x14029a288]
mov rcx, r15
call fcn.1400c3490
jmp 0x140111eb1
mov qword [rsp + 0x60], rbx
mov rsi, qword [r15 + 0x18]
cmp rsi, 8
jb 0x1401120b0
mov rcx, qword [r15]
jmp 0x1401120b3
mov rcx, r15
mov rdx, qword [r15 + 0x10]
mov r9d, 7
lea r8, str.Missing
call fcn.1400ca4f0
test eax, eax
jne 0x140112186
lea rdx, str.select_UpdateId_from_CCM_TargetedUpdateEx1_where_UpdateState__0
lea rcx, [rsp + 0x78]
call fcn.1400db1b0
mov rcx, qword [rax]
test rcx, rcx
je 0x1401120ef
mov r12, qword [rcx]
jmp 0x1401120f2
mov r12, rbx
mov ecx, SafeArrayCopy
call fcn.14016e754
mov r14, rax
test rax, rax
je 0x140112120
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
lea rcx, [0x140239878]
call fcn.140191850
mov qword [r14], rax
jmp 0x140112123
mov r14, rbx
mov qword [rsp + 0x70], r14
test r14, r14
jne 0x140112138
mov ecx, 0x8007000e
call fcn.140191740
int3
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsi]
mov rdi, qword [rax + 0xa0]
mov rcx, rdi
call qword [fcn.140005fb0]
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.1400db250
lea rcx, [rsp + 0x78]
jmp 0x14011225e
cmp rsi, 8
jb 0x140112191
mov rcx, qword [r15]
jmp 0x140112194
mov rcx, r15
mov r9d, 9
lea r8, str.Installed
call fcn.1400ca4f0
test eax, eax
jne 0x140112263
lea rdx, str.select_UpdateId_from_CCM_TargetedUpdateEx1_where_UpdateState__1
lea rcx, [rsp + 0x70]
call fcn.1400db1b0
mov rcx, qword [rax]
test rcx, rcx
je 0x1401121cc
mov r12, qword [rcx]
jmp 0x1401121cf
mov r12, rbx
mov ecx, SafeArrayCopy
call fcn.14016e754
mov r14, rax
test rax, rax
je 0x1401121fd
mov qword [rax + 8], rbx
mov dword [rax + 0x10], 1
lea rcx, [0x140239878]
call fcn.140191850
mov qword [r14], rax
jmp 0x140112200
mov r14, rbx
mov qword [rsp + 0x78], r14
test r14, r14
jne 0x140112215
mov ecx, 0x8007000e
call fcn.140191740
int3
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsi]
mov rdi, qword [rax + 0xa0]
mov rcx, rdi
call qword [fcn.140005fb0]
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.1400db250
lea rcx, [rsp + 0x70]
call fcn.1400db250
test edi, edi
jns 0x1401122c6
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.140005fb0]
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.140005fb0]
mov rcx, rsi
call rdi
mov qword [rsp + 0x58], rbx
cmp dword [0x14029a288], ebx
jle 0x1401122b9
call qword [sym.imp.ole32.dll_CoUninitialize]
dec dword [0x14029a288]
mov rcx, r15
call fcn.1400c3490
jmp 0x140111eb1
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, [0x1402325f4]
lea rcx, [rbp - 8]
call fcn.1400c3720
mov rsi, qword [rsp + 0x60]
test rsi, rsi
je 0x140112724
lea r12, vtable.WaJson.0
nop word [rax + rax]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x20]
mov rcx, rdi
call qword [fcn.140005fb0]
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 0x140112724
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.14016e754
mov r14, rax
test rax, rax
je 0x140112395
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 0x14011270e
jmp 0x140112398
mov r14, rbx
mov qword [rsp + 0x78], r14
test r14, r14
je 0x140112719
mov rsi, qword [rbp - 0x68]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x20]
mov rcx, rdi
call qword [fcn.140005fb0]
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.1400db250
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 0x1401123fc
mov r8, rbx
jmp 0x14011240b
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140112400
lea rcx, [rbp - 0x28]
call fcn.1400c3720
mov r9d, 5
xor r8d, r8d
lea rdx, str._SUM_
lea rcx, [rbp - 0x28]
call fcn.1400c35d0
mov rdi, rax
mov r8, qword [rbp - 0x10]
cmp r8, 8
jb 0x14011244a
inc r8
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
call fcn.1400c3a10
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 0x140112469
mov r8, rbx
jmp 0x14011247b
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140112470
lea rcx, [rbp - 0x28]
call fcn.1400c3720
lea r8, [rdi + 5]
or r9, 0xffffffffffffffff
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x28]
call fcn.1400ced30
mov rdi, rax
lea rax, [rbp - 8]
cmp rax, rdi
je 0x1401124dc
mov r8, qword [rbp + 0x10]
cmp r8, 8
jb 0x1401124bf
inc r8
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 8]
call fcn.1400c3a10
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], rbx
mov word [rbp - 8], bx
mov rdx, rdi
lea rcx, [rbp - 8]
call fcn.1400c3980
nop
mov r8, qword [rbp + 0x30]
cmp r8, 8
jb 0x1401124f6
inc r8
mov rdx, qword [rbp + 0x18]
lea rcx, [rbp + 0x18]
call fcn.1400c3a10
mov qword [rbp + 0x30], 7
mov qword [rbp + 0x28], rbx
mov word [rbp + 0x18], bx
mov r8, qword [rbp - 0x10]
cmp r8, 8
jb 0x140112520
inc r8
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
call fcn.1400c3a10
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.1400c8870
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.1400c3720
mov rax, qword [rbp - 0x60]
mov rdi, qword [rax + 0xf0]
mov rcx, rdi
call qword [fcn.140005fb0]
lea r8, [rbp - 0x80]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x60]
call rdi
mov r8, qword [rbp - 0x10]
cmp r8, 8
jb 0x1401125b0
inc r8
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
call fcn.1400c3a10
nop
mov qword [rbp - 0x80], r12
lea rcx, [rbp - 0x80]
call fcn.1400c54b0
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 0x1401125dd
mov r8, rbx
jmp 0x1401125ec
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1401125e1
lea rcx, [rbp - 0x28]
call fcn.1400c3720
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.1400c8870
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.1400c3720
mov rax, qword [rbp - 0x60]
mov rdi, qword [rax + 0xf0]
mov rcx, rdi
call qword [fcn.140005fb0]
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x18]
lea rcx, [rbp - 0x60]
call rdi
mov r8, qword [rbp + 0x30]
cmp r8, 8
jb 0x140112685
inc r8
mov rdx, qword [rbp + 0x18]
lea rcx, [rbp + 0x18]
call fcn.1400c3a10
nop
mov qword [rbp - 0x80], r12
lea rcx, [rbp - 0x80]
call fcn.1400c54b0
nop
mov r8, qword [rbp - 0x10]
cmp r8, 8
jb 0x1401126ad
inc r8
mov rdx, qword [rbp - 0x28]
lea rcx, [rbp - 0x28]
call fcn.1400c3a10
mov rax, qword [r13]
mov rdi, qword [rax + 0xd8]
mov rcx, rdi
call qword [fcn.140005fb0]
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.140005fb0]
mov rcx, rsi
call rdi
mov qword [rbp - 0x68], rbx
mov qword [rbp - 0x60], r12
lea rcx, [rbp - 0x60]
call fcn.1400c54b0
nop
mov rsi, qword [rsp + 0x60]
test rsi, rsi
je 0x140112724
jmp 0x140112310
mov ecx, 0x8007000e
call fcn.140191740
int3
mov ecx, 0x8007000e
call fcn.140191740
int3
mov rsi, qword [rsp + 0x50]
mov rax, qword [rsi]
mov rdi, qword [rax + 0x10]
mov rcx, rdi
call qword [fcn.140005fb0]
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.140005fb0]
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.140005fb0]
mov rcx, rsi
call rdi
mov qword [rsp + 0x60], rbx
cmp dword [0x14029a288], 0
jle 0x140112796
call qword [sym.imp.ole32.dll_CoUninitialize]
dec dword [0x14029a288]
mov r8, qword [rbp + 0x10]
cmp r8, 8
jb 0x1401127b0
inc r8
mov rdx, qword [rbp - 8]
lea rcx, [rbp - 8]
call fcn.1400c3a10
mov qword [rbp + 0x10], 7
mov qword [rbp + 8], rbx
mov word [rbp - 8], bx
mov rcx, r15
call fcn.1400c3490
xor eax, eax
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.14016e480
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret