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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10024685
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x10030008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor bl, bl
push 0
push 0
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x41], bl
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 - 0x3c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x40], 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov esi, eax
test esi, esi
jns 0x10011501
cmp esi, 0x80010119
je 0x10011501
cmp dword [0x100307e0], 0
je 0x10011a25
push 0
mov ecx, 0x100307e0
call fcn.1001dfa0
mov eax, dword [0x100307e0]
cmp byte [eax + 0x54], bl
je 0x10011a25
cmp dword [eax + 0x58], 2
jb 0x10011a25
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push esi
push str.CoInitializeSecurity_error:__d
push eax
call fcn.1001f110
add esp, 0xc
lea eax, [ebp - 0x2c]
mov ecx, 0x100307e0
push 0x3a
push str.RC::RCMicrosoftPatchesUtils::GetKB4474419InstallStatusByWMI::_lambda_42e687e019b39528f45d7f83cab4f86e_::operator___
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_framework_srcmicrosoftpatches_rcmicrosoftpatchesutils.cpp
push eax
push 2
call fcn.1001eba0
test bl, bl
je 0x100114a3
lea eax, [ebp - 0x2c]
mov ecx, 0x100307e0
push eax
call fcn.1001ef40
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x100114e6
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100114dc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100114dc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.1002167a
add esp, 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov bl, al
mov word [ebp - 0x2c], ax
jmp 0x10011a25
lea eax, [ebp - 0x3c]
push eax
push 0x1002748c
push 1
push 0
push 0x1002755c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jns 0x100115bc
cmp dword [0x100307e0], 0
je 0x10011a25
push 0
mov ecx, 0x100307e0
call fcn.1001dfa0
mov eax, dword [0x100307e0]
cmp byte [eax + 0x54], 0
je 0x10011a25
cmp dword [eax + 0x58], 2
jb 0x10011a25
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x2c]
push esi
push str.CoCreateInstance_error:__d
push eax
call fcn.1001f110
add esp, 0xc
push 0x46
push str.RC::RCMicrosoftPatchesUtils::GetKB4474419InstallStatusByWMI::_lambda_42e687e019b39528f45d7f83cab4f86e_::operator___
push str.d:jenkinsworkspacepc_2345mpcsafe_build_rhinoprotect_framework_src_framework_srcmicrosoftpatches_rcmicrosoftpatchesutils.cpp
lea eax, [ebp - 0x2c]
mov ecx, 0x100307e0
push eax
push 2
call fcn.1001eba0
test bl, bl
je 0x100114a3
jmp 0x10011495
push 0xc
call fcn.1002164a
mov esi, eax
add esp, 4
mov dword [ebp - 0x48], esi
mov dword [ebp - 4], 2
test esi, esi
je 0x10011609
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
push 0x10029328
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 0x10011a9b
jmp 0x1001160b
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x4c], esi
test esi, esi
je 0x10011aa5
mov dword [ebp - 4], 3
lea edx, [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
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 0x1001168d
mov eax, dword [esi]
test eax, eax
je 0x1001166b
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10011682
push eax
call fcn.10021e37
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1002167a
add esp, 8
mov dword [ebp - 0x4c], 0
test edi, edi
jns 0x1001170f
cmp dword [0x100307e0], 0
je 0x10011a22
push 0
mov ecx, 0x100307e0
call fcn.1001dfa0
mov eax, dword [0x100307e0]
cmp byte [eax + 0x54], 0
je 0x10011a22
cmp dword [eax + 0x58], 2
jb 0x10011a22
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 4
lea eax, [ebp - 0x2c]
push edi
push str.ConnectServer_error:__d
push eax
call fcn.1001f110
add esp, 0xc
push 0x55
jmp 0x10011595
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x34]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov esi, eax
test esi, esi
jns 0x100117a3
cmp dword [0x100307e0], 0
je 0x10011a22
push 0
mov ecx, 0x100307e0
call fcn.1001dfa0
mov eax, dword [0x100307e0]
cmp byte [eax + 0x54], 0
je 0x10011a22
cmp dword [eax + 0x58], 2
jb 0x10011a22
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 5
lea eax, [ebp - 0x2c]
push esi
push str.CoSetProxyBlanket_error:__d
push eax
call fcn.1001f110
add esp, 0xc
push 0x64
jmp 0x10011595
push 0xc
call fcn.1002164a
mov esi, eax
add esp, 4
mov dword [ebp - 0x48], esi
mov dword [ebp - 4], 6
test esi, esi
je 0x100117e7
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.10022610
mov dword [esi], eax
jmp 0x100117e9
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x50], esi
test esi, esi
je 0x10011aaf
mov dword [ebp - 4], 7
push 0xc
call fcn.1002164a
mov edi, eax
add esp, 4
mov dword [ebp - 0x48], edi
mov byte [ebp - 4], 8
test edi, edi
je 0x10011843
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
push 0x100293f4
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call fcn.10022610
mov dword [edi], eax
jmp 0x10011845
xor edi, edi
mov byte [ebp - 4], 7
mov dword [ebp - 0x4c], edi
test edi, edi
je 0x10011ab9
mov byte [ebp - 4], 9
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0x34]
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 - 0x48], eax
mov byte [ebp - 4], 7
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x100118b3
mov ecx, dword [edi]
test ecx, ecx
je 0x10011891
push ecx
call ebx
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x100118a8
push eax
call fcn.10021e37
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.1002167a
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0xffffffff
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10011900
mov eax, dword [esi]
test eax, eax
je 0x100118de
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x100118f5
push eax
call fcn.10021e37
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1002167a
add esp, 8
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x50], 0
test esi, esi
jns 0x10011985
cmp dword [0x100307e0], 0
je 0x10011a22
push 0
mov ecx, 0x100307e0
call fcn.1001dfa0
mov eax, dword [0x100307e0]
cmp byte [eax + 0x54], 0
je 0x10011a22
cmp dword [eax + 0x58], 2
jb 0x10011a22
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0x2c]
push esi
push 0x100293f8
push eax
call fcn.1001f110
add esp, 0xc
push 0x70
jmp 0x10011595
mov eax, dword [ebp - 0x38]
lea edx, [ebp - 0x30]
push edx
lea edx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
mov esi, eax
test esi, esi
jns 0x10011a12
cmp dword [0x100307e0], 0
je 0x10011a22
push 0
mov ecx, 0x100307e0
call fcn.1001dfa0
mov eax, dword [0x100307e0]
cmp byte [eax + 0x54], 0
je 0x10011a22
cmp dword [eax + 0x58], 2
jb 0x10011a22
mov bl, byte [eax + 0x5c]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov dword [ebp - 4], 0xb
lea eax, [ebp - 0x2c]
push esi
push str.Next_error:__d
push eax
call fcn.1001f110
add esp, 0xc
push 0x78
jmp 0x10011595
cmp dword [ebp - 0x30], 1
mov bl, 1
mov ecx, dword [ebp - 0x54]
setae al
mov byte [ecx], al
jmp 0x10011a25
mov bl, byte [ebp - 0x41]
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x10011a39
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x10011a4d
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x38], 0
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x10011a61
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x3c]
test edx, edx
je 0x10011a75
mov ecx, dword [edx]
push edx
call dword [ecx + 8]
mov dword [ebp - 0x3c], 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 - 0x14]
xor ecx, ebp
call fcn.10021639
mov esp, ebp
pop ebp
ret 4
push 0x8007000e
call fcn.100225f0
push 0x8007000e
call fcn.100225f0
push 0x8007000e
call fcn.100225f0
push 0x8007000e
call fcn.100225f0
int3