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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x485d71
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x4aa0cc]
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 ebx, ecx
push 0x493b50
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x78], 0
call fcn.004058b0
push 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x9c], eax
test eax, eax
jns 0x456d9f
cmp eax, 0x80010106
jne 0x4571e6
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x456dc6
cmp eax, 0x80010119
jne 0x4571e6
lea eax, [ebp - 0x80]
push eax
push 0x490e1c
push 1
push 0
push 0x490eec
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4571e6
mov edi, dword [sym.imp.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_]
push 0xc
call edi
mov esi, eax
add esp, 4
mov dword [ebp - 0x94], esi
mov byte [ebp - 4], 1
test esi, esi
je 0x456e3a
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
push 0x49c51c
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
jne 0x456e3c
push 0x8007000e
call fcn.00481cd0
xor esi, esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x94], esi
test esi, esi
jne 0x456e54
push 0x8007000e
call fcn.00481cd0
lea edx, [ebp - 0x7c]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x80]
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]
lea ecx, [esi + 8]
mov dword [ebp - 0x94], eax
push ecx
mov byte [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x456ec0
mov eax, dword [esi]
test eax, eax
je 0x456e9e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x456eb6
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [esi + 4], 0
push esi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0x94], 0
jl 0x4571e6
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x7c]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x4571e6
push 0xc
call edi
mov esi, eax
add esp, 4
mov dword [ebp - 0x94], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x456f2d
xorps xmm0, xmm0
movq qword [esi], xmm0
mov dword [esi + 8], 0
push str.SELECT__FROM_AntiVirusProduct
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call fcn.00481b50
mov dword [esi], eax
jmp 0x456f2f
xor esi, esi
mov byte [ebp - 4], 0
mov dword [ebp - 0x94], esi
test esi, esi
jne 0x456f47
push 0x8007000e
call fcn.00481cd0
push 0xc
mov byte [ebp - 4], 4
call edi
mov edi, eax
add esp, 4
mov dword [ebp - 0x98], edi
mov byte [ebp - 4], 5
test edi, edi
je 0x456f8c
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
push 0x49c518
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call fcn.00481b50
mov dword [edi], eax
jmp 0x456f8e
xor edi, edi
mov byte [ebp - 4], 4
mov dword [ebp - 0x98], edi
test edi, edi
jne 0x456fa6
push 0x8007000e
call fcn.00481cd0
lea edx, [ebp - 0x74]
mov byte [ebp - 4], 6
mov eax, dword [ebp - 0x7c]
push edx
push 0
push 0x30
push dword [esi]
mov ecx, dword [eax]
push dword [edi]
push eax
call dword [ecx + 0x50]
lea ecx, [edi + 8]
mov dword [ebp - 0x94], eax
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x45700c
mov ecx, dword [edi]
test ecx, ecx
je 0x456fe6
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x456ffe
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [edi + 4], 0
push edi
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
call edi
add esp, 4
jmp 0x457012
mov edi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
lea eax, [esi + 8]
mov byte [ebp - 4], 0
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x457055
mov eax, dword [esi]
test eax, eax
je 0x457037
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x45704f
push eax
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov dword [esi + 4], 0
push esi
call edi
add esp, 4
cmp dword [ebp - 0x94], 0
jl 0x4571e6
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x14], 0
test ecx, ecx
je 0x4571e9
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, 8
nop
mov eax, dword [ecx]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x78]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x14], 0
je 0x4571e6
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x90]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.displayName
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x38]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.instanceGuid
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x58]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.pathToSignedProductExe
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x48]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.pathToSignedReportingExe
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x78]
lea edx, [ebp - 0x28]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.productState
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x4571ad
cmp si, word [ebp - 0x90]
jne 0x4571ad
push dword [ebp - 0x88]
lea ecx, [ebp - 0xb4]
call fcn.004058b0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x94]
mov eax, dword [ebx]
push ebx
mov dword [ebp - 0x94], eax
call fcn.004027c0
mov esi, dword [ebp - 0x94]
lea eax, [ebp - 0xb4]
push eax
call fcn.004026a0
push eax
call fcn.004026a0
add esp, 8
push eax
push dword [esi + 4]
push esi
call fcn.004161b0
mov edx, eax
mov ecx, 0x7fffffe
mov eax, dword [ebx + 4]
sub ecx, eax
cmp ecx, 1
jb 0x4571db
lea ecx, [eax + 1]
mov dword [ebx + 4], ecx
lea ecx, [ebp - 0xb4]
mov dword [esi + 4], edx
mov eax, dword [edx + 4]
mov byte [ebp - 4], 0
mov dword [eax], edx
call fcn.004033b0
mov esi, 8
lea eax, [ebp - 0x90]
push eax
call edi
lea eax, [ebp - 0x38]
push eax
call edi
lea eax, [ebp - 0x58]
push eax
call edi
lea eax, [ebp - 0x48]
push eax
call edi
lea eax, [ebp - 0x28]
push eax
call edi
mov ecx, dword [ebp - 0x74]
test ecx, ecx
jne 0x457080
jmp 0x4571e9
push str.list_T__too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x7c]
test edx, edx
je 0x4571f9
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x74]
mov edx, dword [ebp - 0x80]
test edx, edx
je 0x457209
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x74]
test ecx, ecx
je 0x457213
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x457220
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp dword [ebp - 0x9c], 0x80010106
je 0x457232
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x70]
call fcn.004033b0
xor eax, eax
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.0047db8e
mov esp, ebp
pop ebp
ret