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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43fa8b
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 2
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x40fba8
mov eax, 1
jmp 0x40ffc0
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jge 0x40fbcd
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x40ffc0
lea eax, [esp + 0x14]
mov ebp, 1
push eax
push 0x445ca0
push ebp
push ebx
push 0x445d70
mov dword [esp + 0x28], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x40fbfe
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebp
jmp 0x40ffc0
push 0xc
mov dword [esp + 0x1c], ebx
call fcn.0042cbb8
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, ebx
mov dword [esp + 0x14c], ebx
je 0x40fc49
push str.ROOTSecurityCenter
mov dword [esi + 4], ebx
mov dword [esi + 8], ebp
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebx
mov dword [esi], eax
jne 0x40fc4b
mov ecx, str.ROOTSecurityCenter
test ecx, ecx
je 0x40fc4b
push 0x8007000e
call fcn.0042702b
jmp 0x40fc4b
xor esi, esi
cmp esi, ebx
mov dword [esp + 0x14c], 0xffffffff
mov dword [esp + 0x10], esi
jne 0x40fc68
push 0x8007000e
call fcn.0042702b
cmp esi, ebx
mov dword [esp + 0x14c], ebp
je 0x40fc77
mov ecx, dword [esi]
jmp 0x40fc79
xor ecx, ecx
mov eax, dword [esp + 0x14]
lea edi, [esp + 0x18]
push edi
push ebx
mov edx, dword [eax]
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
call dword [edx + 0xc]
cmp esi, ebx
mov edi, eax
mov dword [esp + 0x14c], 0xffffffff
je 0x40fcb6
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jne 0x40fcb6
push ebp
mov ecx, esi
call fcn.00410030
cmp edi, ebx
jge 0x40fcd1
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebp
jmp 0x40ffc0
mov edx, dword [esp + 0x18]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push edx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jge 0x40fd0b
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
push eax
mov edx, dword [eax]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, ebp
jmp 0x40ffc0
push 0xc
mov dword [esp + 0x20], ebx
call fcn.0042cbb8
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, ebx
mov dword [esp + 0x14c], 2
je 0x40fd5b
push str.SELECT__FROM_AntivirusProduct
mov dword [esi + 4], ebx
mov dword [esi + 8], ebp
call fcn.00426f5a
cmp eax, ebx
mov dword [esi], eax
jne 0x40fd57
mov eax, str.SELECT__FROM_AntivirusProduct
test eax, eax
je 0x40fd57
push 0x8007000e
call fcn.0042702b
mov edi, esi
jmp 0x40fd5d
xor edi, edi
cmp edi, ebx
mov dword [esp + 0x14c], 0xffffffff
mov dword [esp + 0x2c], edi
jne 0x40fd7a
push 0x8007000e
call fcn.0042702b
cmp edi, ebx
mov dword [esp + 0x14c], 3
je 0x40fd91
mov ecx, dword [edi]
mov dword [esp + 0x10], ecx
jmp 0x40fd95
mov dword [esp + 0x10], ebx
push 0xc
call fcn.0042cbb8
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
cmp esi, ebx
mov byte [esp + 0x14c], 4
je 0x40fddc
push 0x44f520
mov dword [esi + 4], ebx
mov dword [esi + 8], ebp
call fcn.00426f5a
cmp eax, ebx
mov dword [esi], eax
jne 0x40fdde
mov edx, 0x44f520
test edx, edx
je 0x40fdde
push 0x8007000e
call fcn.0042702b
jmp 0x40fdde
xor esi, esi
cmp esi, ebx
mov byte [esp + 0x14c], 3
mov dword [esp + 0x28], esi
jne 0x40fdf8
push 0x8007000e
call fcn.0042702b
cmp esi, ebx
mov byte [esp + 0x14c], 5
je 0x40fe08
mov ecx, dword [esi]
jmp 0x40fe0a
xor ecx, ecx
mov eax, dword [esp + 0x18]
lea ebp, [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x14]
mov edx, dword [eax]
push ebx
push 0x30
push ebp
push ecx
push eax
call dword [edx + 0x50]
cmp esi, ebx
mov ebp, eax
je 0x40fe5c
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jne 0x40fe5c
mov eax, dword [esi]
cmp eax, ebx
je 0x40fe43
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x40fe53
push eax
call fcn.0042cbe1
add esp, 4
push esi
call fcn.0042cbe1
add esp, 4
cmp edi, ebx
mov dword [esp + 0x14c], 0xffffffff
je 0x40fe9f
lea ecx, [edi + 8]
push ecx
call dword [sym.imp.KERNEL32.DLL_InterlockedDecrement]
test eax, eax
jne 0x40fe9f
mov eax, dword [edi]
cmp eax, ebx
je 0x40fe86
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
cmp eax, ebx
je 0x40fe96
push eax
call fcn.0042cbe1
add esp, 4
push edi
call fcn.0042cbe1
add esp, 4
cmp ebp, ebx
jge 0x40fec7
mov eax, dword [esp + 0x18]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x40ffc0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x20], ebx
cmp eax, ebx
mov dword [esp + 0x10], ebx
je 0x40ff98
mov esi, dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [eax]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x28]
push ecx
push 1
push 0xffffffffffffffff
push eax
call dword [edx + 0x10]
cmp dword [esp + 0x20], ebx
je 0x40ff98
mov eax, dword [esp + 0x24]
push ebx
lea ecx, [esp + 0x34]
push ebx
mov edx, dword [eax]
push ecx
push ebx
push str.DisplayName
push eax
call dword [edx + 0x10]
mov ecx, pe_nt_image_headers32
xor eax, eax
lea edi, [esp + 0x41]
mov byte [esp + 0x40], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
push ebx
lea edx, [esp + 0x48]
push 0x80
stosb byte es:[edi], al
mov eax, dword [esp + 0x44]
push edx
push 0xffffffffffffffff
push eax
push ebx
push ebx
call esi
lea ecx, [esp + 0x40]
push 0x44f500
push ecx
call fcn.0041c740
add esp, 8
test eax, eax
jne 0x40ff73
lea edx, [esp + 0x40]
push 0x44f4fc
push edx
call fcn.0041c740
add esp, 8
test eax, eax
je 0x40ff7b
mov dword [esp + 0x10], 1
lea eax, [esp + 0x30]
push eax
call ebp
mov eax, dword [esp + 0x24]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jne 0x40fee7
mov eax, dword [esp + 0x18]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x1c]
push eax
mov edx, dword [eax]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x140
ret