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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x4421a0]
push esi
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push edi
push eax
xor esi, esi
push 0x43f24c
push 1
push esi
push 0x43f31c
mov dword [ebp - 0xc], esi
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x40690b
push str.ERR_1
mov ecx, dword [ebp + 8]
call fcn.0040181a
jmp 0x406b73
cmp dword [ebp - 0xc], esi
jne 0x406917
push 0x47eaf4
jmp 0x4068fe
push 0x442754
lea ecx, [ebp - 0x3c]
mov dword [ebp - 8], esi
call fcn.0040181a
push eax
push 0x442750
lea ecx, [ebp - 0x38]
call fcn.0040181a
push eax
push 0x44274c
lea ecx, [ebp - 0x34]
call fcn.0040181a
push eax
push 0x442748
lea ecx, [ebp - 0x20]
call fcn.0040181a
push eax
push str.ROOT
lea ecx, [ebp - 0x24]
call fcn.0040181a
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.004019df
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004019df
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004019df
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004019df
lea ecx, [ebp - 0x30]
call fcn.004017ee
lea ecx, [ebp - 0x2c]
call fcn.004017ee
lea ecx, [ebp - 0x28]
call fcn.004017ee
lea ecx, [ebp - 0x24]
call fcn.004017ee
lea ecx, [ebp - 0x20]
call fcn.004017ee
lea ecx, [ebp - 0x34]
call fcn.004017ee
lea ecx, [ebp - 0x38]
call fcn.004017ee
lea ecx, [ebp - 0x3c]
call fcn.004017ee
mov eax, dword [ebp - 0x10]
push dword [eax - 8]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov ecx, dword [ebp - 0xc]
lea edi, [ebp - 8]
push edi
push esi
mov edx, dword [ecx]
push esi
push esi
push esi
push esi
push esi
push eax
push ecx
call dword [edx + 0xc]
test eax, eax
jge 0x406a34
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 4]
cmp dword [ecx - 0xc], esi
mov esi, dword [ebp + 8]
lea eax, [ecx - 0xc]
jl 0x406a0e
push eax
mov dword [esi], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
jmp 0x406a1d
mov eax, dword [0x4421a0]
push ecx
mov ecx, esi
mov dword [esi], eax
call fcn.00401974
lea ecx, [ebp - 0x10]
call fcn.004017ee
lea ecx, [ebp - 4]
call fcn.004017ee
mov eax, esi
jmp 0x406d26
push esi
push esi
push 3
push 3
push esi
push esi
push 0xa
push dword [ebp - 8]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jge 0x406a67
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x44273c
jmp 0x406b63
push str.OperatingSystem
lea ecx, [ebp - 0x40]
call fcn.0040181a
push eax
push 0x442728
lea ecx, [ebp - 0x20]
call fcn.0040181a
push eax
push str.FROM_win32
lea ecx, [ebp - 0x24]
call fcn.0040181a
push eax
push 0x442718
lea ecx, [ebp - 0x28]
call fcn.0040181a
push eax
push str.SELECT
lea ecx, [ebp - 0x2c]
call fcn.0040181a
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.004019df
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004019df
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.004019df
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.004019df
push eax
lea ecx, [ebp - 0x10]
call fcn.00407091
lea ecx, [ebp - 0x3c]
call fcn.004017ee
lea ecx, [ebp - 0x38]
call fcn.004017ee
lea ecx, [ebp - 0x34]
call fcn.004017ee
lea ecx, [ebp - 0x30]
call fcn.004017ee
lea ecx, [ebp - 0x2c]
call fcn.004017ee
lea ecx, [ebp - 0x28]
call fcn.004017ee
lea ecx, [ebp - 0x24]
call fcn.004017ee
lea ecx, [ebp - 0x20]
call fcn.004017ee
lea ecx, [ebp - 0x40]
call fcn.004017ee
mov eax, dword [ebp - 8]
mov dword [ebp - 0x14], esi
lea ecx, [ebp - 0x10]
mov edi, dword [eax]
lea eax, [ebp - 0x14]
push eax
push esi
push 0x30
call fcn.004071dd
push eax
push 0x442708
push dword [ebp - 8]
call dword [edi + 0x50]
cmp eax, esi
jge 0x406b83
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
push 0x47eaf4
mov ecx, dword [ebp + 8]
call fcn.0040181a
lea ecx, [ebp - 0x10]
call fcn.004017ee
lea ecx, [ebp - 4]
call fcn.004017ee
mov eax, dword [ebp + 8]
jmp 0x406d26
cmp dword [ebp - 0x14], esi
push ebx
mov dword [ebp - 0x1c], esi
je 0x406ceb
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ebx, 0x44233c
mov eax, dword [ebp - 0x14]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
mov eax, dword [eax]
push ecx
push 1
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [eax + 0x10]
cmp dword [ebp - 0x1c], esi
je 0x406ceb
mov eax, dword [ebp - 0x18]
push esi
lea edx, [ebp - 0x50]
push esi
mov ecx, dword [eax]
push edx
push esi
push str.Caption
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x48]
lea ecx, [ebp - 4]
call fcn.00401974
lea eax, [ebp - 0x50]
push eax
call edi
mov eax, dword [ebp - 0x18]
push esi
lea edx, [ebp - 0x50]
push esi
mov ecx, dword [eax]
push edx
push esi
push str.BuildNumber
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x48]
lea ecx, [ebp - 0x24]
call fcn.00407038
mov eax, dword [ebp - 0x24]
cmp dword [eax - 8], 2
jle 0x406c27
push ebx
lea ecx, [ebp - 0x20]
call fcn.0040181a
lea eax, [ebp - 0x20]
lea ecx, [ebp - 4]
push eax
call fcn.00401b49
lea ecx, [ebp - 0x20]
call fcn.004017ee
push dword [ebp - 0x48]
lea ecx, [ebp - 4]
call fcn.004070e1
lea eax, [ebp - 0x50]
push eax
call edi
lea ecx, [ebp - 0x24]
call fcn.004017ee
mov eax, dword [ebp - 0x18]
push esi
lea edx, [ebp - 0x50]
push esi
mov ecx, dword [eax]
push edx
push esi
push str.OSArchitecture
push eax
call dword [ecx + 0x10]
push ebx
lea ecx, [ebp - 0x28]
call fcn.0040181a
lea eax, [ebp - 0x28]
lea ecx, [ebp - 4]
push eax
call fcn.00401b49
lea ecx, [ebp - 0x28]
call fcn.004017ee
push dword [ebp - 0x48]
lea ecx, [ebp - 4]
call fcn.004070e1
lea eax, [ebp - 0x50]
push eax
call edi
mov eax, dword [ebp - 0x18]
push esi
lea edx, [ebp - 0x50]
push esi
mov ecx, dword [eax]
push edx
push esi
push str.CSDVersion
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x48]
lea ecx, [ebp - 0x30]
call fcn.00407038
mov eax, dword [ebp - 0x30]
cmp dword [eax - 8], 2
jle 0x406cc9
push ebx
lea ecx, [ebp - 0x2c]
call fcn.0040181a
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 4]
push eax
call fcn.00401b49
lea ecx, [ebp - 0x2c]
call fcn.004017ee
push dword [ebp - 0x48]
lea ecx, [ebp - 4]
call fcn.004070e1
lea eax, [ebp - 0x50]
push eax
call edi
lea ecx, [ebp - 0x30]
call fcn.004017ee
cmp dword [ebp - 0x14], esi
jne 0x406b9b
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.004017a8
lea ecx, [ebp - 0x10]
call fcn.004017ee
lea ecx, [ebp - 4]
call fcn.004017ee
mov eax, dword [ebp + 8]
pop ebx
pop edi
pop esi
leave
ret