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

Disassembly:
push 0x2c
mov eax, 0x41fb7c
call fcn.0040aa24
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
push 0x422cfc
push 1
push ebx
push 0x422dcc
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x4053df
xor al, al
jmp 0x4055c4
push str.ROOTCIMV2
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x10], ebx
call fcn.004052a3
mov dword [ebp - 4], ebx
mov eax, dword [eax]
test eax, eax
je 0x4053fc
mov ecx, dword [eax]
jmp 0x4053fe
mov ecx, ebx
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push ebx
push ebx
mov esi, dword [eax]
push ebx
push ebx
push ebx
push ebx
push ecx
mov ecx, dword [esi + 0xc]
push eax
call dword [0x420294]
call dword [esi + 0xc]
mov esi, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x405430
call fcn.0040537e
mov dword [ebp - 0x20], ebx
test esi, esi
jns 0x405449
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x420294]
call esi
jmp 0x4053d8
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x405475
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x420294]
call esi
jmp 0x405434
push str.SELECT__FROM_Win32_OperatingSystem
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], ebx
call fcn.00405258
mov esi, eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x20]
push 0x421648
call fcn.00405258
mov byte [ebp - 4], 2
mov ecx, dword [esi]
test ecx, ecx
je 0x4054a9
mov edx, dword [ecx]
jmp 0x4054ab
mov edx, ebx
mov eax, dword [eax]
test eax, eax
je 0x4054b5
mov ecx, dword [eax]
jmp 0x4054b7
mov ecx, ebx
mov eax, dword [ebp - 0x10]
lea edi, [ebp - 0x18]
push edi
push ebx
push 0x30
mov esi, dword [eax]
push edx
push ecx
push eax
mov ecx, dword [esi + 0x50]
call dword [0x420294]
call dword [esi + 0x50]
mov esi, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x4054e7
call fcn.0040537e
mov dword [ebp - 0x20], ebx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x4054fa
call fcn.0040537e
mov dword [ebp - 0x24], ebx
test esi, esi
js 0x405460
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
test eax, eax
je 0x405589
xor edi, edi
mov esi, dword [eax]
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [esi + 0x10]
push 1
push 0xffffffffffffffff
push eax
call dword [0x420294]
call dword [esi + 0x10]
cmp dword [ebp - 0x28], edi
je 0x405589
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
push edi
push edi
push ecx
mov esi, dword [eax]
push edi
push 0x42164c
push eax
mov ecx, dword [esi + 0x10]
call dword [0x420294]
call dword [esi + 0x10]
push str.Windows_10
push dword [ebp - 0x30]
call fcn.0040c754
test eax, eax
pop ecx
setne al
or bl, al
lea eax, [ebp - 0x38]
pop ecx
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x420294]
call esi
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x405511
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x420294]
call esi
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x420294]
call esi
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x420294]
call esi
mov al, bl
call fcn.0040aa01
ret