Function at 0x415d40
Capabilities:
Enumerate disk volumes
Get disk information
Get disk information via ioctl

Disassembly:
push 0xffffffffffffffff
push 0x429b93
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x83c
push ebx
push ebp
push esi
push edi
xor ebx, ebx
lea ecx, [esp + 0x10]
mov dword [esp + 0x854], ebx
call sub.MFC42u.DLL_CString::CString_3
mov eax, dword [esp + 0x85c]
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push eax
mov byte [esp + 0x870], 1
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
or ebp, 0xffffffff
cmp esi, ebp
jne 0x415de1
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
push eax
lea ecx, [esp + 0x14]
push str._FD___CDevInfCoreUtil::stGetCDDrvLetter__CreateFile_Fail____d___n
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
call esi
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x854], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x85c]
mov dword [esp + 0x854], ebp
call sub.MFC42u.DLL_CString::CString
mov eax, esi
jmp 0x415fbc
lea edx, [esp + 0x18]
push ebx
push edx
lea eax, [esp + 0x28]
push 0xc
push eax
push ebx
push ebx
push 0x2d1080
push esi
mov dword [esp + 0x38], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x415e50
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
lea ecx, [esp + 0x14]
push str._FD___CDevInfCoreUtil::stGetCDDrvLetter__DeviceIoControl_Fail____d___n
push ecx
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
lea ecx, [esp + 0x10]
mov byte [esp + 0x854], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x85c]
mov dword [esp + 0x854], ebp
call sub.MFC42u.DLL_CString::CString
mov eax, edi
jmp 0x415fbc
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x234]
push edx
push str.DeviceCdRom_d
push eax
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0xc
lea ecx, [esp + 0x234]
lea edx, [esp + 0x10]
push ecx
push str._FD___CDevInfCoreUtil::stGetCDDrvLetter__CDROM_:__s_n
push edx
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
lea eax, [esp + 0x2c]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstVolumeW]
mov edi, dword [sym.imp.MSVCRT.dll_wcslen]
mov ebp, dword [sym.imp.KERNEL32.dll_QueryDosDeviceW]
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x2c]
push ecx
call edi
add esp, 4
mov esi, eax
lea edx, [esp + 0x43c]
dec esi
push 0x104
lea eax, [esp + 0x38]
push edx
push eax
mov word [esp + esi*2 + 0x38], bx
call ebp
test eax, eax
je 0x415f15
lea ecx, [esp + 0x43c]
lea edx, [esp + 0x10]
push ecx
push str._FD___CDevInfCoreUtil::stGetCDDrvLetter__szTargetPath:__s_n
push edx
call sub.MFC42u.DLL_CString::Format
lea eax, [esp + 0x240]
push eax
call edi
lea ecx, [esp + 0x244]
push eax
lea edx, [esp + 0x450]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll__wcsnicmp]
add esp, 0x1c
test eax, eax
je 0x415f33
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x2c]
push 0x104
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeW]
test eax, eax
je 0x415f88
jmp 0x415eac
lea edx, [esp + 0x1c]
lea eax, [esp + 0x644]
push edx
push 0x104
lea ecx, [esp + 0x34]
push eax
push ecx
mov dword [esp + 0x2c], 0x104
mov word [esp + esi*2 + 0x3c], 0x5c
call dword [sym.imp.KERNEL32.dll_GetVolumePathNamesForVolumeNameW]
mov edx, dword [esp + 0x860]
mov eax, dword [esp + 0x644]
mov word [edx], ax
and eax, 0xffff
push eax
lea eax, [esp + 0x14]
push str._FD___CDevInfCoreUtil::stGetCDDrvLetter_
push eax
call sub.MFC42u.DLL_CString::Format
add esp, 0xc
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_FindVolumeClose]
lea ecx, [esp + 0x10]
mov byte [esp + 0x854], bl
call sub.MFC42u.DLL_CString::CString
lea ecx, [esp + 0x85c]
mov dword [esp + 0x854], 0xffffffff
call sub.MFC42u.DLL_CString::CString
xor eax, eax
mov ecx, dword [esp + 0x84c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x848
ret