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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a5503
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x4cc00c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x54], esi
mov dword [ebp - 0x54], esi
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
push 0x4b7cb4
push 1
push 0
push 0x4b7ca4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x41d48f
xor eax, eax
mov dword [esi], 0
xor ecx, ecx
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d471
sub ecx, edx
sar ecx, 1
push ecx
push 0
mov ecx, esi
call fcn.00407400
jmp 0x41d7d9
push ecx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x34], 0
call fcn.00429ed0
mov byte [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x41d4ad
mov edx, dword [eax]
jmp 0x41d4af
xor edx, edx
mov eax, dword [ebp - 0x38]
lea edi, [ebp - 0x34]
push edi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov byte [ebp - 4], 0
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x54], eax
test edi, edi
je 0x41d51e
or ecx, 0xffffffff
lock xadd dword [edi + 8], ecx
dec ecx
jne 0x41d51e
test edi, edi
je 0x41d51e
mov eax, dword [edi]
test eax, eax
je 0x41d4f9
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x41d510
push eax
call fcn.0044284a
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.0044235d
mov eax, dword [ebp - 0x54]
add esp, 8
test eax, eax
js 0x41d546
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]
test eax, eax
jns 0x41d554
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
jmp 0x41d7b4
push 0xc
mov dword [ebp - 0x3c], 0
call fcn.00441fc7
mov edi, eax
add esp, 4
mov dword [ebp - 0x5c], edi
mov byte [ebp - 4], 2
test edi, edi
je 0x41d59c
xorps xmm0, xmm0
movq qword [edi], xmm0
mov dword [edi + 8], 0
push str.SELECT__FROM_Win32_OperatingSystem
mov dword [edi + 4], 0
mov dword [edi + 8], 1
call fcn.0049c5a0
mov dword [edi], eax
jmp 0x41d59e
xor edi, edi
mov byte [ebp - 4], 0
mov dword [ebp - 0x5c], edi
test edi, edi
je 0x41d7f9
push 0xc
mov byte [ebp - 4], 3
call fcn.00441fc7
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x41d5f6
xorps xmm0, xmm0
movq qword [eax], xmm0
mov dword [eax + 8], 0
push 0x4be308
mov dword [eax + 4], 0
mov dword [eax + 8], 1
call fcn.0049c5a0
mov edx, dword [ebp - 0x58]
mov dword [edx], eax
jmp 0x41d5fb
xor edx, edx
mov dword [ebp - 0x58], edx
mov byte [ebp - 4], 3
mov dword [ebp - 0x54], edx
test edx, edx
je 0x41d803
lea edx, [ebp - 0x3c]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x34]
push edx
mov edx, dword [ebp - 0x58]
push 0
mov ecx, dword [eax]
push 0x30
push dword [edi]
push dword [edx]
push eax
call dword [ecx + 0x50]
mov dword [ebp - 0x54], eax
or ecx, 0xffffffff
mov eax, dword [ebp - 0x58]
lock xadd dword [eax + 8], ecx
dec ecx
jne 0x41d672
mov ecx, dword [eax]
test ecx, ecx
je 0x41d64d
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x58]
mov dword [eax], 0
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x41d667
push ecx
call fcn.0044284a
mov eax, dword [ebp - 0x58]
add esp, 4
mov dword [eax + 4], 0
push 0xc
push eax
call fcn.0044235d
add esp, 8
mov byte [ebp - 4], 0
or eax, 0xffffffff
lock xadd dword [edi + 8], eax
dec eax
jne 0x41d6b6
mov eax, dword [edi]
test eax, eax
je 0x41d694
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x41d6ab
push eax
call fcn.0044284a
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
call fcn.0044235d
add esp, 8
cmp dword [ebp - 0x54], 0
jl 0x41d53d
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x18], 0
test ecx, ecx
je 0x41d78c
nop dword [eax]
mov eax, dword [ecx]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x40]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x18], 0
je 0x41d78c
cmp dword [ebp - 0x40], 0
jne 0x41d70e
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
jne 0x41d6e0
jmp 0x41d78c
xor edi, edi
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x40]
lea edx, [ebp - 0x50]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push dword [edi + 0x4bdde8]
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x41d77a
cmp dword [ebp - 0x48], 0
je 0x41d77a
push str.Caption
push dword [edi + 0x4bdde8]
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x41d77a
mov edx, dword [ebp - 0x48]
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x54], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41d760
sub ecx, dword [ebp - 0x54]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x30]
call fcn.00407400
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
add edi, 8
cmp edi, 0x50
jb 0x41d710
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x40]
test ecx, ecx
je 0x41d7b4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
movups xmm0, xmmword [ebp - 0x30]
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x20]
movq qword [esi + 0x10], xmm0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00441dc6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x8007000e
call fcn.0049c580
push 0x8007000e
call fcn.0049c580
int3