Function at 0x40c190
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push 8
call fcn.0042bfdb
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0042bfdb
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0042bfdb
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0042bfdb
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.0042bfdb
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov eax, 3
mov dword [ebx], eax
mov dword [ebp - 0x20], 0
push 8
call fcn.0042bfdb
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 8
call fcn.0042bfdb
add esp, 4
mov dword [ebp - 0x28], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x18
call fcn.0042bfdb
add esp, 4
mov dword [ebp - 0x2c], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 6
rep stosd dword es:[edi], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x40c2d9
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x40c2d5
imul eax, dword [ebx]
jmp 0x40c2ca
mov ecx, eax
test ecx, ecx
je 0x40c341
push ecx
push ebx
mov ebx, dword [ebx]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40c2f4
push ebx
call fcn.0042bfe1
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40c308
push ebx
call fcn.0042bfe1
add esp, 4
pop ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40c31c
push ebx
call fcn.0042bfe1
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40c330
push ebx
call fcn.0042bfe1
add esp, 4
pop ebx
call fcn.0042bfe1
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40c2df
call fcn.0042bfe1
add esp, 4
mov eax, 0x4da530
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.WbemScripting.SWbemLocator
push 0x10030
push 0
push dword [ebp - 4]
push 3
mov ebx, 0x42fdf0
call fcn.0042bfe7
add esp, 0x28
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x40c398
mov eax, 0
jmp 0x40cb1f
push reloc.WS2_32.dll_connect
push 0
push str.rootCIMV2
push reloc.WS2_32.dll_connect
push 0
push 0x4da78f
push reloc.WS2_32.dll_connect
push 0
push str.ConnectServer
push 0x10030
push 0
push dword [ebp - 4]
push 4
mov ebx, 0x42f500
call fcn.0042bfe7
add esp, 0x34
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 8]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x42fdc0
call fcn.0042bfe7
add esp, 0x10
call fcn.0042bfe1
add esp, 4
pop eax
mov dword [ebp - 8], eax
push 0x10030
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x42fdd0
call fcn.0042bfe7
add esp, 0x10
test eax, eax
je 0x40c434
mov eax, 0
jmp 0x40cb1f
push reloc.WS2_32.dll_connect
push 0
push str.SELECT__FROM_Win32_VideoController
push reloc.WS2_32.dll_connect
push 0
push str.ExecQuery
push 0x10030
push 0
push dword [ebp - 8]
push 3
mov ebx, 0x42f500
call fcn.0042bfe7
add esp, 0x28
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0xc]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x42fdc0
call fcn.0042bfe7
add esp, 0x10
call fcn.0042bfe1
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x10030
push 0
push dword [ebp - 0xc]
push 1
mov ebx, 0x42fdd0
call fcn.0042bfe7
add esp, 0x10
test eax, eax
je 0x40c4c4
mov eax, 0
jmp 0x40cb1f
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str._NewEnum
push 0x10030
push 0
push dword [ebp - 0xc]
push 3
mov ebx, 0x42f500
call fcn.0042bfe7
add esp, 0x28
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x10]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x42fdc0
call fcn.0042bfe7
add esp, 0x10
call fcn.0042bfe1
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x10030
push 0
push dword [ebp - 0x10]
push 1
mov ebx, 0x42fdd0
call fcn.0042bfe7
add esp, 0x10
test eax, eax
je 0x40c54e
mov eax, 0
jmp 0x40cb1f
lea eax, [ebp - 0x10]
push eax
call fcn.0040cc75
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0040ccca
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040cd18
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], 0
push 0
push dword [ebp - 0x38]
mov dword [ebp - 0x3c], 0
push 0
push dword [ebp - 0x3c]
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
push dword [ebp - 0x48]
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
push 1
push dword [ebp - 0x34]
push 1
push dword [ebp - 0x30]
push 1
push 1
push 3
push dword [ebp - 0x14]
call fcn.0040cd32
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x40c5ea
jmp 0x40cb06
push 0
push 0
push 0
push 0x10031
push 0
push dword [ebp - 0x1c]
push 2
mov ebx, 0x42f550
call fcn.0042bfe7
add esp, 0x1c
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x24]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x42fdc0
call fcn.0042bfe7
add esp, 0x10
call fcn.0042bfe1
add esp, 4
pop eax
mov dword [ebp - 0x24], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.Properties_
push 0x10030
push 0
push dword [ebp - 0x24]
push 3
mov ebx, 0x42f4d0
call fcn.0042bfe7
add esp, 0x28
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
push eax
mov ebx, dword [ebp - 0x28]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x42fdc0
call fcn.0042bfe7
add esp, 0x10
call fcn.0042bfe1
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x2c]
add ebx, 4
mov dword [ebp - 0x30], ebx
push reloc.WS2_32.dll_connect
push 0
push str.DriverVersion
push reloc.WS2_32.dll_connect
push 0
push str.Item
push 0x10030
push 0
push dword [ebp - 0x28]
push 3
mov ebx, 0x42f500
call fcn.0042bfe7
add esp, 0x28
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.value
push 0x10030
push 0
push dword [ebp - 0x34]
push 3
mov ebx, 0x42f470
call fcn.0042bfe7
add esp, 0x28
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x42fdc0
call fcn.0042bfe7
add esp, 0x10
call fcn.0042bfe1
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40c740
push ebx
call fcn.0042bfe1
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ebx
push reloc.WS2_32.dll_connect
push 0
push 0x4db372
push reloc.WS2_32.dll_connect
push 0
push str.Item
push 0x10030
push 0
push dword [ebp - 0x28]
push 3
mov ebx, 0x42f500
call fcn.0042bfe7
add esp, 0x28
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.value
push 0x10030
push 0
push dword [ebp - 0x34]
push 3
mov ebx, 0x42f470
call fcn.0042bfe7
add esp, 0x28
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x42fdc0
call fcn.0042bfe7
add esp, 0x10
call fcn.0042bfe1
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40c7ed
push ebx
call fcn.0042bfe1
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x2c]
add ebx, 8
mov dword [ebp - 0x30], ebx
push reloc.WS2_32.dll_connect
push 0
push str.AdapterRAM
push reloc.WS2_32.dll_connect
push 0
push str.Item
push 0x10030
push 0
push dword [ebp - 0x28]
push 3
mov ebx, 0x42f500
call fcn.0042bfe7
add esp, 0x28
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.value
push 0x10030
push 0
push dword [ebp - 0x34]
push 3
mov ebx, 0x42f4a0
call fcn.0042bfe7
add esp, 0x28
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
mov ebx, dword [ebp - 0x34]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x42fdc0
call fcn.0042bfe7
add esp, 0x10
call fcn.0042bfe1
add esp, 4
fld qword [ebp - 0x3c]
call fcn.0040113d
push eax
call fcn.0040ceaf
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov ebx, dword [ebp - 0x2c]
add ebx, 0x10
mov dword [ebp - 0x30], ebx
push reloc.WS2_32.dll_connect
push 0
push 0x4db382
push reloc.WS2_32.dll_connect
push 0
push str.Item
push 0x10030
push 0
push dword [ebp - 0x28]
push 3
mov ebx, 0x42f500
call fcn.0042bfe7
add esp, 0x28
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.value
push 0x10030
push 0
push dword [ebp - 0x34]
push 3
mov ebx, 0x42f470
call fcn.0042bfe7
add esp, 0x28
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x42fdc0
call fcn.0042bfe7
add esp, 0x10
call fcn.0042bfe1
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40c94a
push ebx
call fcn.0042bfe1
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x2c]
add ebx, 0x14
mov dword [ebp - 0x30], ebx
push reloc.WS2_32.dll_connect
push 0
push str.Description
push reloc.WS2_32.dll_connect
push 0
push str.Item
push 0x10030
push 0
push dword [ebp - 0x28]
push 3
mov ebx, 0x42f500
call fcn.0042bfe7
add esp, 0x28
mov dword [ebp - 0x34], eax
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push str.value
push 0x10030
push 0
push dword [ebp - 0x34]
push 3
mov ebx, 0x42f470
call fcn.0042bfe7
add esp, 0x28
mov dword [ebp - 0x38], eax
mov ebx, dword [ebp - 0x34]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x42fdc0
call fcn.0042bfe7
add esp, 0x10
call fcn.0042bfe1
add esp, 4
mov eax, dword [ebp - 0x38]
push eax
mov ebx, dword [ebp - 0x30]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40c9fa
push ebx
call fcn.0042bfe1
add esp, 4
pop eax
mov ebx, dword [ebp - 0x30]
mov dword [ebx], eax
push dword [ebp + 8]
push 4
mov eax, 2
call fcn.0042bfd5
add esp, 8
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
mov dword [ebp - 0x34], ebx
call fcn.00401164
mov dword [ebp - 0x38], ecx
mov edi, dword [ebp - 0x34]
mov dword [edi], 1
add edi, 4
mov eax, ecx
inc eax
mov dword [edi], eax
add edi, 4
cmp edi, ebx
je 0x40ca44
mov esi, ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x38]
inc eax
shl eax, 2
add eax, 8
push eax
push dword [ebp - 0x34]
call fcn.0042bff9
add esp, 8
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov edi, eax
add edi, 8
mov eax, dword [ebp - 0x38]
shl eax, 2
add edi, eax
mov eax, dword [ebp - 0x30]
push edi
push eax
push 0x18
call fcn.0042bfdb
add esp, 4
pop esi
mov edi, eax
push eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x40ca9e
push eax
mov ebx, eax
call fcn.004019b7
inc eax
push eax
call fcn.0042bfdb
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x40cabd
push eax
mov ebx, eax
call fcn.004019b7
inc eax
push eax
call fcn.0042bfdb
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x40cae0
push eax
mov ebx, eax
call fcn.004019b7
inc eax
push eax
call fcn.0042bfdb
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
lodsd eax, dword [esi]
push esi
push edi
test eax, eax
je 0x40caff
push eax
mov ebx, eax
call fcn.004019b7
inc eax
push eax
call fcn.0042bfdb
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
stosd dword es:[edi], eax
pop eax
pop edi
mov dword [edi], eax
cmp dword [ebp - 0x20], 1
je 0x40c55a
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
call fcn.00403876
jmp 0x40cb1f
push eax
mov ebx, dword [ebp - 4]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x42fdc0
call fcn.0042bfe7
add esp, 0x10
call fcn.0042bfe1
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x42fdc0
call fcn.0042bfe7
add esp, 0x10
call fcn.0042bfe1
add esp, 4
mov ebx, dword [ebp - 0xc]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x42fdc0
call fcn.0042bfe7
add esp, 0x10
call fcn.0042bfe1
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x42fdc0
call fcn.0042bfe7
add esp, 0x10
call fcn.0042bfe1
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
push 0x10031
push 0
push ebx
push 1
mov ebx, 0x42f530
call fcn.0042bfe7
add esp, 0x10
call fcn.0042bfe1
add esp, 4
mov ebx, dword [ebp - 0x24]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x42fdc0
call fcn.0042bfe7
add esp, 0x10
call fcn.0042bfe1
add esp, 4
mov ebx, dword [ebp - 0x28]
push ebx
push 0x10030
push 0
push ebx
push 1
mov ebx, 0x42fdc0
call fcn.0042bfe7
add esp, 0x10
call fcn.0042bfe1
add esp, 4
mov ebx, dword [ebp - 0x2c]
push ebx
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40cc29
push ebx
call fcn.0042bfe1
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40cc3d
push ebx
call fcn.0042bfe1
add esp, 4
pop ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40cc51
push ebx
call fcn.0042bfe1
add esp, 4
pop ebx
add ebx, 4
push ebx
mov ebx, dword [ebx]
test ebx, ebx
je 0x40cc65
push ebx
call fcn.0042bfe1
add esp, 4
pop ebx
call fcn.0042bfe1
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8