Function at 0x1000c670
Capabilities:
Connect to wmi namespace via wbemlocator
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e0ea5
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10275008]
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 eax, dword [ebp + 8]
push 0
push 0
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x3d], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov esi, eax
test esi, esi
jns 0x1000c76f
cmp esi, 0x80010119
je 0x1000c76f
push 2
mov ecx, 0x102794b4
call fcn.1010b510
mov edi, eax
test edi, edi
je 0x1000ccc3
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push esi
push str.CoInitializeSecurity_error:__d
push eax
call fcn.1010b9f0
add esp, 0xc
lea eax, [ebp - 0x28]
mov ecx, 0x102794b4
push 0xf1
push str.RC::RCOtherStatusStat::GetKB4474419InstallStatus
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdrtplog_srcmultilogicstat_rcotherstatusstat.cpp
push eax
push 2
call fcn.1010b550
cmp edi, 1
jbe 0x1000ccb4
jmp 0x1000cca6
lea eax, [ebp - 0x34]
push eax
push 0x1020d844
push 1
push 0
push 0x1020d914
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
js 0x1000cc17
cmp dword [ebp - 0x34], 0
je 0x1000cc17
push 0xc
call fcn.101c838c
mov esi, eax
add esp, 4
mov dword [ebp - 0x44], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x1000c7e8
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
push 0x102255dc
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x1000cd3c
jmp 0x1000c7ea
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x48], esi
test esi, esi
je 0x1000cd46
mov dword [ebp - 4], 3
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x34]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push dword [esi]
push eax
call dword [ecx + 0xc]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
jne 0x1000c86c
mov eax, dword [esi]
test eax, eax
je 0x1000c84a
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000c861
push eax
call fcn.101c880e
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.101c8702
add esp, 8
mov dword [ebp - 0x48], 0
test edi, edi
js 0x1000cba0
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x1000cba0
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov edi, eax
test edi, edi
jns 0x1000c91f
push 2
mov ecx, 0x102794b4
call fcn.1010b510
mov esi, eax
test esi, esi
je 0x1000ccc3
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x28]
push edi
push str.CoSetProxyBlanket_error:__d
push eax
call fcn.1010b9f0
add esp, 0xc
push 0x11b
push str.RC::RCOtherStatusStat::GetKB4474419InstallStatus
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdrtplog_srcmultilogicstat_rcotherstatusstat.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x102794b4
push eax
push 2
call fcn.1010b550
cmp esi, 1
jbe 0x1000ccb4
jmp 0x1000cca6
push 0xc
call fcn.101c838c
mov esi, eax
add esp, 4
mov dword [ebp - 0x44], esi
mov dword [ebp - 4], 6
test esi, esi
je 0x1000c963
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
push str.SELECT_HotFixID_FROM_Win32_QuickFixEngineering_WHERE_HotFixID__KB4474419
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.101d0c80
mov dword [esi], eax
jmp 0x1000c965
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x4c], esi
test esi, esi
je 0x1000cd50
mov dword [ebp - 4], 7
push 0xc
call fcn.101c838c
mov edi, eax
add esp, 4
mov dword [ebp - 0x44], edi
mov byte [ebp - 4], 8
test edi, edi
je 0x1000c9bf
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
push 0x102254d8
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call fcn.101d0c80
mov dword [edi], eax
jmp 0x1000c9c1
xor edi, edi
mov byte [ebp - 4], 7
mov dword [ebp - 0x48], edi
test edi, edi
je 0x1000cd5a
mov byte [ebp - 4], 9
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x30]
push edx
push 0
push 0x30
push dword [esi]
mov ecx, dword [eax]
push dword [edi]
push eax
call dword [ecx + 0x50]
mov dword [ebp - 0x44], eax
mov byte [ebp - 4], 7
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1000ca2f
mov ecx, dword [edi]
test ecx, ecx
je 0x1000ca0d
push ecx
call ebx
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x1000ca24
push eax
call fcn.101c880e
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.101c8702
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1000ca7c
mov eax, dword [esi]
test eax, eax
je 0x1000ca5a
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x1000ca71
push eax
call fcn.101c880e
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.101c8702
add esp, 8
mov esi, dword [ebp - 0x44]
mov dword [ebp - 0x4c], 0
test esi, esi
js 0x1000cb26
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x1000cb26
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
mov eax, dword [ecx]
push edx
lea edx, [ebp - 0x3c]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
mov edi, eax
test edi, edi
jns 0x1000cb13
push 2
mov ecx, 0x102794b4
call fcn.1010b510
mov esi, eax
test esi, esi
je 0x1000ccc3
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xb
lea eax, [ebp - 0x28]
push edi
push str.Next_error:__d
push eax
call fcn.1010b9f0
add esp, 0xc
push 0x12f
jmp 0x1000c8f7
cmp dword [ebp - 0x2c], 1
mov bl, 1
mov ecx, dword [ebp - 0x50]
setae al
mov byte [ecx], al
jmp 0x1000ccc6
cmp dword [0x102794b4], 0
je 0x1000ccc3
push 0
mov ecx, 0x102794b4
call fcn.1010abf0
mov eax, dword [0x102794b4]
cmp byte [eax + 0x54], 0
je 0x1000ccc3
cmp dword [eax + 0x58], 2
jb 0x1000ccc3
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0x28]
push esi
push 0x102254dc
push eax
call fcn.1010b9f0
add esp, 0xc
push 0x127
jmp 0x1000cc88
cmp dword [0x102794b4], 0
je 0x1000ccc3
push 0
mov ecx, 0x102794b4
call fcn.1010abf0
mov eax, dword [0x102794b4]
cmp byte [eax + 0x54], 0
je 0x1000ccc3
cmp dword [eax + 0x58], 2
jb 0x1000ccc3
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 4
lea eax, [ebp - 0x28]
push edi
push str.ConnectServer_error:__d
push eax
call fcn.1010b9f0
add esp, 0xc
push 0x10c
jmp 0x1000cc88
cmp dword [0x102794b4], 0
je 0x1000ccc3
push 0
mov ecx, 0x102794b4
call fcn.1010abf0
mov eax, dword [0x102794b4]
cmp byte [eax + 0x54], 0
je 0x1000ccc3
cmp dword [eax + 0x58], 2
jb 0x1000ccc3
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x28]
push esi
push str.CoCreateInstance_error:__d
push eax
call fcn.1010b9f0
add esp, 0xc
push 0xfd
push str.RC::RCOtherStatusStat::GetKB4474419InstallStatus
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_rtpsystem_src_sdrtplog_srcmultilogicstat_rcotherstatusstat.cpp
lea eax, [ebp - 0x28]
mov ecx, 0x102794b4
push eax
push 2
call fcn.1010b550
test bl, bl
je 0x1000ccb4
lea eax, [ebp - 0x28]
mov ecx, 0x102794b4
push eax
call fcn.1010b870
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10005300
mov bl, byte [ebp - 0x3d]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x1000ccda
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x3c], 0
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x1000ccee
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x30]
test ecx, ecx
je 0x1000cd02
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x30], 0
mov edx, dword [ebp - 0x34]
test edx, edx
je 0x1000cd16
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
mov dword [ebp - 0x34], 0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, bl
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.101c837b
mov esp, ebp
pop ebp
ret 4
push 0x8007000e
call fcn.101d0c60
push 0x8007000e
call fcn.101d0c60
push 0x8007000e
call fcn.101d0c60
push 0x8007000e
call fcn.101d0c60
int3