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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42edf0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x448070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.Entered_CheckHotFixInstalled__
push 0x44aca0
mov dword [ebp - 4], 0
call sym.SetupBD.exe_public:_void___cdecl_CNcsDebug::Print_wchar_t_const__
add esp, 8
mov byte [ebp - 0xe], 1
mov byte [ebp - 0xd], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
push str.rootcimv2
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.SELECT__FROM
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x24], eax
call fcn.004015e0
push 0x431470
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.004015e0
mov esi, dword [eax]
mov edi, dword [sym.imp.OLEAUT32.dll_VariantInit]
push esi
mov byte [ebp - 4], 2
call edi
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
test eax, eax
je 0x401eb4
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push esi
mov esi, dword [ebp - 0x14]
push esi
call sub.OLEAUT32.dll_VarBstrCmp
test eax, eax
js 0x401ff7
push esi
call ebx
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x14], esi
jmp 0x401eb7
mov esi, dword [ebp - 0x14]
push dword [ebp - 0x30]
mov byte [ebp - 4], 1
call ebx
push str.Win32_QuickFixEngineering
lea ecx, [ebp - 0x34]
call fcn.004015e0
mov eax, dword [eax]
push eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x30], eax
call edi
test eax, eax
je 0x401f02
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push dword [ebp - 0x30]
push esi
call sub.OLEAUT32.dll_VarBstrCmp
test eax, eax
js 0x401ff7
push esi
call ebx
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x14], esi
push dword [ebp - 0x34]
mov byte [ebp - 4], 1
call ebx
push 0x431470
lea ecx, [ebp - 0x30]
call fcn.004015e0
mov eax, dword [eax]
push eax
mov byte [ebp - 4], 4
mov dword [ebp - 0x34], eax
call edi
test eax, eax
je 0x401f4d
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push dword [ebp - 0x34]
push esi
call sub.OLEAUT32.dll_VarBstrCmp
test eax, eax
js 0x401ff7
push esi
call ebx
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x14], esi
push dword [ebp - 0x30]
mov byte [ebp - 4], 1
call ebx
push str.WHERE
lea ecx, [ebp - 0x30]
call fcn.004015e0
mov eax, dword [eax]
push eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x34], eax
call edi
test eax, eax
je 0x401f94
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push dword [ebp - 0x34]
push esi
call sub.OLEAUT32.dll_VarBstrCmp
test eax, eax
js 0x401ff7
push esi
call ebx
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x14], esi
push dword [ebp - 0x30]
mov byte [ebp - 4], 1
call ebx
push 0x431470
lea ecx, [ebp - 0x30]
call fcn.004015e0
mov eax, dword [eax]
push eax
mov byte [ebp - 4], 6
mov dword [ebp - 0x34], eax
call edi
test eax, eax
je 0x401fdb
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push dword [ebp - 0x34]
push esi
call sub.OLEAUT32.dll_VarBstrCmp
test eax, eax
js 0x401ff7
push esi
call ebx
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
push dword [ebp - 0x30]
mov byte [ebp - 4], 1
call ebx
push 8
push str.HotFixID
lea ecx, [ebp - 0x14]
call fcn.00401c00
test eax, eax
jns 0x401ffd
push eax
call fcn.00401dd0
push 0x431470
lea ecx, [ebp - 0x34]
call fcn.004015e0
mov esi, dword [eax]
push esi
mov byte [ebp - 4], 7
call edi
test eax, eax
je 0x40203b
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push esi
mov esi, dword [ebp - 0x14]
push esi
call sub.OLEAUT32.dll_VarBstrCmp
test eax, eax
js 0x401ff7
push esi
call ebx
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x14], esi
jmp 0x40203e
mov esi, dword [ebp - 0x14]
push dword [ebp - 0x34]
mov byte [ebp - 4], 1
call ebx
push 0x4314ac
lea ecx, [ebp - 0x30]
call fcn.004015e0
mov eax, dword [eax]
push eax
mov byte [ebp - 4], 8
mov dword [ebp - 0x34], eax
call edi
test eax, eax
je 0x402089
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push dword [ebp - 0x34]
push esi
call sub.OLEAUT32.dll_VarBstrCmp
test eax, eax
js 0x401ff7
push esi
call ebx
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x14], esi
push dword [ebp - 0x30]
mov byte [ebp - 4], 1
call ebx
push 0x431470
lea ecx, [ebp - 0x30]
call fcn.004015e0
mov eax, dword [eax]
push eax
mov byte [ebp - 4], 9
mov dword [ebp - 0x34], eax
call edi
test eax, eax
je 0x4020d4
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push dword [ebp - 0x34]
push esi
call sub.OLEAUT32.dll_VarBstrCmp
test eax, eax
js 0x401ff7
push esi
call ebx
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x14], esi
push dword [ebp - 0x30]
mov byte [ebp - 4], 1
call ebx
push 0x4314b0
lea ecx, [ebp - 0x30]
call fcn.004015e0
mov eax, dword [eax]
push eax
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x34], eax
call edi
test eax, eax
je 0x40211f
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push dword [ebp - 0x34]
push esi
call sub.OLEAUT32.dll_VarBstrCmp
test eax, eax
js 0x401ff7
push esi
call ebx
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x14], esi
push dword [ebp - 0x30]
mov byte [ebp - 4], 1
call ebx
mov edi, dword [ebp + 8]
test edi, edi
je 0x40216d
mov eax, dword [edi]
test eax, eax
je 0x40216d
push eax
call dword [sym.imp.OLEAUT32.dll_SysAllocStringByteLen]
push eax
push dword [edi]
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
test eax, eax
jne 0x402153
push 0x8007000e
call fcn.0041a780
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
mov dword [ebp - 0x34], edi
test edi, edi
jne 0x402172
push 0x8007000e
call fcn.00401dd0
xor edi, edi
mov dword [ebp - 0x34], edi
push edi
mov byte [ebp - 4], 0xb
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x4021a4
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push edi
push esi
call sub.OLEAUT32.dll_VarBstrCmp
test eax, eax
js 0x401ff7
push esi
call ebx
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x14], esi
push edi
mov byte [ebp - 4], 1
call ebx
push 0x4314b0
lea ecx, [ebp - 0x34]
call fcn.004015e0
mov edi, dword [eax]
push edi
mov byte [ebp - 4], 0xc
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x4021ec
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push edi
push esi
call sub.OLEAUT32.dll_VarBstrCmp
test eax, eax
js 0x401ff7
push esi
call ebx
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x14], esi
push dword [ebp - 0x34]
mov byte [ebp - 4], 1
call ebx
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, 0x80010106
jne 0x4022ea
mov byte [ebp - 0xe], 0
push 0
push 0
push 0
push 3
push 2
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x402235
cmp eax, 0x80010119
jne 0x402345
lea eax, [ebp - 0x20]
push eax
push 0x4384a4
push 1
push 0
push 0x438444
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x402345
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push dword [ebp - 0x24]
push eax
call dword [ecx + 0xc]
test eax, eax
jne 0x40233c
push eax
push eax
push 3
push 3
push eax
push eax
push 0xa
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x402333
push 0x4314b4
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
call fcn.004015e0
mov ecx, dword [ebp - 0x18]
lea edi, [ebp - 0x1c]
push edi
push 0
push 0
mov edx, dword [ecx]
push esi
push dword [eax]
mov byte [ebp - 4], 0xd
push ecx
call dword [edx + 0x50]
push dword [ebp - 0x34]
mov edi, eax
mov byte [ebp - 4], 1
call ebx
test edi, edi
jns 0x4022fd
push 0x4314b8
push 0x44aca0
call sym.SetupBD.exe_public:_void___cdecl_CNcsDebug::Print_wchar_t_const__
add esp, 8
jmp 0x402333
test eax, eax
jns 0x40220e
push dword [ebp - 0x24]
call ebx
mov byte [ebp - 0xd], 0
jmp 0x40236d
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x38]
push edx
lea edx, [ebp - 0x2c]
mov dword [ebp - 0x38], 0
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x40232a
mov eax, dword [ebp - 0x2c]
push eax
mov byte [ebp - 0xd], 1
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push dword [ebp - 0x24]
call ebx
cmp byte [ebp - 0xe], 0
je 0x402356
call dword [sym.imp.ole32.dll_CoUninitialize]
movzx eax, byte [ebp - 0xd]
push eax
push str.Exited_CheckHotFixInstalled_____bRet____d
push 0x44aca0
call sym.SetupBD.exe_public:_void___cdecl_CNcsDebug::Print_wchar_t_const__
add esp, 0xc
push esi
call ebx
mov esi, dword [ebp + 8]
test esi, esi
je 0x4023b8
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x4023b8
test esi, esi
je 0x4023b8
mov eax, dword [esi]
test eax, eax
je 0x402398
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4023af
push eax
call fcn.0041ad35
add esp, 4
mov dword [esi + 4], 0
push esi
call fcn.0041aa29
add esp, 4
mov al, byte [ebp - 0xd]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret