Function at 0x449010
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da6f0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x65afd4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
cmp byte [ecx + 0x1c], 0
jne 0x44904e
xor al, al
jmp 0x449272
xor bl, bl
mov byte [ebp - 0x2d], bl
mov dword [ebp - 4], 0
lea eax, [ebp - 0x3c]
push eax
push str.SELECT__FROM_Win32_CDROMDrive
call fcn.00449d90
test al, al
je 0x449219
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x50], 0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
lea edx, [ebp - 0x50]
push edx
lea edx, [ebp - 0x34]
push edx
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
test eax, eax
jne 0x449210
lea ecx, [ebp - 0x64]
call fcn.00421de0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 2
lea eax, [ebp - 0x4c]
push eax
push str.Name
push dword [ebp - 0x34]
call fcn.00449bf0
test al, al
je 0x449165
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x38]
call fcn.0044ad50
mov byte [ebp - 4], 3
mov eax, dword [eax]
test eax, eax
je 0x4490e8
mov eax, dword [eax]
jmp 0x4490ea
xor eax, eax
push eax
lea ecx, [ebp - 0x2c]
call fcn.004076f8
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x64]
call fcn.00443390
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.004076c4
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x449165
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x44915e
test esi, esi
je 0x44915e
mov eax, dword [esi]
test eax, eax
je 0x44913c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x449153
push eax
call fcn.0046217b
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.005a8d24
add esp, 8
mov dword [ebp - 0x38], 0
lea eax, [ebp - 0x4c]
push eax
push str.PNPDeviceID
push dword [ebp - 0x34]
call fcn.00449bf0
test al, al
je 0x449186
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x58]
call fcn.0044a300
lea eax, [ebp - 0x4c]
push eax
push str.Drive
push dword [ebp - 0x34]
call fcn.00449bf0
test al, al
je 0x4491a7
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x54]
call fcn.0044a300
lea eax, [ebp - 0x4c]
push eax
push str.MediaType
push dword [ebp - 0x34]
call fcn.00449bf0
test al, al
je 0x4491c8
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x5c]
call fcn.0044a300
mov eax, dword [edi + 4]
lea ecx, [ebp - 0x64]
push ecx
cmp dword [edi + 8], eax
je 0x4491e1
mov ecx, eax
call fcn.00422fb0
add dword [edi + 4], 0x14
jmp 0x4491e9
push eax
mov ecx, edi
call fcn.0044a3d0
mov bl, 1
mov byte [ebp - 0x2d], bl
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
call fcn.00422220
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
jmp 0x449270
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005a8a56
mov esp, ebp
pop ebp
ret 4