Function at 0x497f46
Capabilities:
Get disk information

Disassembly:
push ebp
push ebx
xor eax, eax
push eax
push eax
push eax
push eax
call fcn.005873a0
mov dword [section..data], 0xbe1
mov dword [section..data], 0xbe3
mov dword [esp + 4], 1
mov dword [section..data], 0xbe7
mov dword [section..data], 0xbe8
jmp 0x498012
mov dword [section..data], 0xbe8
mov dword [section..data], 0xbe8
mov dword [section..data], 0xbe8
push 0
push 2
mov eax, str.MODE:_ShowDriveDetails
push eax
mov eax, str.FVMAIN_Mode_ShowDriveDetails_GetParam
push eax
mov eax, 0x6bb5f6
push eax
call fcn.004a1bb5
mov dword [section..data], 0xbe8
jmp 0x49808d
mov dword [section..data], 0xbe8
mov dword [section..data], 0xbe8
mov dword [section..data], 0xbea
push edx
call fcn.00587290
pop edx
push eax
mov eax, 0x6bef8a
push eax
xor eax, eax
push eax
mov eax, str.ShowDriveDetails
push eax
call fcn.0047eb54
lea eax, [esp + 4]
push eax
call fcn.005872c0
mov dword [section..data], 0xbec
push dword [esp]
mov edx, 0x6bb5f6
pop ecx
call fcn.004fc340
jne 0x4983f7
mov dword [section..data], 0xbed
push edx
call fcn.00587290
pop edx
push eax
push edx
call fcn.00587290
pop edx
push eax
push 1
push dword [esp + 0xc]
call fcn.005752e0
mov ebp, dword [esp + 0x20]
lea eax, [ebp + 0x13c]
push eax
call fcn.005872c0
mov dword [section..data], 0xbef
push edx
call fcn.00587290
pop edx
push eax
mov ebp, dword [esp + 0x20]
mov edx, dword [ebp + 0x13c]
push edx
call fcn.00587290
pop edx
push eax
push edx
call fcn.00587330
mov edx, 0x6e043a
push edx
call fcn.00587330
call fcn.004fc302
add dword [esp], edx
call sub.KERNEL32.dll_GetDriveTypeW
call fcn.004fc320
mov dword [esp + 8], eax
mov dword [section..data], 0xbf1
mov ebx, dword [esp + 8]
cmp ebx, 5
je 0x4983ed
mov dword [section..data], 0xbf2
jmp 0x4982a8
mov dword [section..data], 0xbf2
mov dword [section..data], 0xbf2
mov dword [section..data], 0xbf2
push edx
call fcn.00587290
pop edx
push eax
push 0
push 0
push edx
call fcn.00587290
pop edx
push eax
mov edx, str.ERROR__Drive__
push edx
call fcn.00587330
mov ebp, dword [esp + 0x2c]
mov edx, dword [ebp + 0x13c]
push edx
call fcn.00587330
mov edx, str.__is_not_an_optical_drive_
push edx
call fcn.00587330
call fcn.00587380
mov eax, str.FVMAIN_Mode_ShowDriveDetails_GetParam
push eax
mov eax, 0x6bb5f6
push eax
call fcn.004fc302
add dword [esp + 8], edx
call fcn.004a1bb5
call fcn.004fc320
mov dword [section..data], 0xbf2
jmp 0x4983a9
mov dword [section..data], 0xbf2
mov dword [section..data], 0xbf2
mov dword [section..data], 0xbf3
mov dword [esp + 0xc], 1
mov dword [section..data], 0xbf4
mov dword [esp + 4], 0
mov dword [section..data], 0xbf5
jmp 0x49840b
mov dword [section..data], 0xbf6
mov dword [section..data], 0xbf7
mov dword [section..data], 0xbfa
mov dword [section..data], 0xbfc
mov ebp, dword [esp + 0x1c]
push dword [ebp + 0x13c]
mov edx, 0x6bb5f6
pop ecx
call fcn.004fc340
jne 0x49843a
cmp dword [esp + 4], 0
je 0x49843a
mov eax, 1
jmp 0x49843c
xor eax, eax
and eax, eax
je 0x498687
mov dword [section..data], 0xbfe
mov eax, 0x6bd550
push eax
call dword [0x6f6ce0]
mov dword [section..data], 0xbff
jmp 0x498563
mov dword [section..data], 0xbff
mov dword [section..data], 0xbff
mov dword [section..data], 0xbff
push edx
call fcn.00587290
pop edx
push eax
push 0
push 2
push edx
call fcn.00587290
pop edx
push eax
mov edx, str._DriveLetter__:
push edx
call fcn.00587330
mov ebp, dword [esp + 0x2c]
mov edx, dword [ebp + 0x13c]
push edx
call fcn.00587330
call fcn.00587380
mov eax, str.FVMAIN_Mode_ShowDriveDetails_GetParam
push eax
mov eax, 0x6bb5f6
push eax
call fcn.004fc302
add dword [esp + 8], edx
call fcn.004a1bb5
call fcn.004fc320
mov dword [section..data], 0xbff
jmp 0x49864e
mov dword [section..data], 0xbff
mov dword [section..data], 0xbff
mov dword [section..data], 0xc00
mov eax, 0x6bd550
push eax
call dword [0x6f6ce0]
mov dword [section..data], 0xc01
jmp 0x498a32
mov dword [section..data], 0xc01
mov dword [section..data], 0xc02
mov ebp, dword [esp + 0x1c]
push dword [ebp + 0x13c]
mov edx, 0x6bb5f6
pop ecx
call fcn.004fc340
jne 0x4986bb
cmp dword [esp + 0xc], 0
jne 0x4986bb
jmp 0x4986c2
mov eax, 1
jmp 0x4986c4
xor eax, eax
and eax, eax
je 0x498900
mov dword [section..data], 0xc03
jmp 0x4987eb
mov dword [section..data], 0xc03
mov dword [section..data], 0xc03
mov dword [section..data], 0xc03
push edx
call fcn.00587290
pop edx
push eax
push 0
push 0
push edx
call fcn.00587290
pop edx
push eax
mov edx, str.Not_all_required_parameters_are_available___Driveletter_is_incorrect__
push edx
call fcn.00587330
mov ebp, dword [esp + 0x2c]
mov edx, dword [ebp + 0x13c]
push edx
call fcn.00587330
mov edx, 0x6bef86
push edx
call fcn.00587330
call fcn.00587380
mov eax, str.FVMAIN_Mode_ShowDriveDetails_GetParam
push eax
mov eax, 0x6bb5f6
push eax
call fcn.004fc302
add dword [esp + 8], edx
call fcn.004a1bb5
call fcn.004fc320
mov dword [section..data], 0xc03
jmp 0x4988ec
mov dword [section..data], 0xc03
mov dword [section..data], 0xc03
mov dword [section..data], 0xc04
mov dword [section..data], 0xc06
jmp 0x4989a3
mov dword [section..data], 0xc06
mov dword [section..data], 0xc06
mov dword [section..data], 0xc06
push 0
push 2
mov eax, str.Example_for_correct_parameters:__ShowDriveDetailsX_or__ShowDriveDetails_for_all_drives
push eax
mov eax, str.FVMAIN_Mode_ShowDriveDetails_GetParam
push eax
mov eax, 0x6bb5f6
push eax
call fcn.004a1bb5
mov dword [section..data], 0xc06
jmp 0x498a1e
mov dword [section..data], 0xc06
mov dword [section..data], 0xc06
mov dword [section..data], 0xc08
mov dword [section..data], 0xc0a
mov eax, dword [esp + 4]
jmp 0x498a58
push dword [esp]
call fcn.00587410
add esp, 0x10
pop ebx
pop ebp
ret 4