Function at 0x53d9e5
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a2b6e
mov eax, dword fs:[0]
push eax
mov eax, 0x2780
call fcn.0056e5a0
mov eax, dword [0x783760]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2788], ecx
cmp dword [0x7960fc], 0
mov edi, dword [ebp + 8]
jle 0x53da38
push str._RZR__Begin
mov ecx, 0x77b084
call fcn.0042e683
xor ebx, ebx
mov ecx, edi
push ebx
push 0x6f8a52
call fcn.00427cd7
lea ecx, [ebp - 0x2780]
call fcn.004173bc
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x2780]
push ebx
push str..PhysicalDrive_d
push eax
call fcn.0041ccda
cmp dword [ebp - 0x2768], 8
lea eax, [ebp - 0x277c]
push ebx
cmovae eax, dword [ebp - 0x277c]
push ebx
push 3
push ebx
push 3
push ebx
push eax
call fcn.005654e9
mov esi, eax
add esp, 0x28
mov dword [ebp - 0x278c], esi
cmp esi, 0xffffffff
je 0x53df0e
mov dword [ebp - 0x2784], ebx
cmp dword [0x7960fc], ebx
jle 0x53daba
push str._RZR__Step_01
mov ecx, 0x77b084
call fcn.0042e683
push 0x2710
lea eax, [ebp - 0x2720]
push ebx
push eax
call fcn.00644240
add esp, 0xc
cmp dword [0x7960fc], 0
jle 0x53dae7
push str._RZR__Step_02
mov ecx, 0x77b084
call fcn.0042e683
push 0xc
lea eax, [ebp - 0x2748]
push ebx
push eax
call fcn.00644240
add esp, 0xc
mov dword [ebp - 0x2748], ebx
cmp dword [0x7960fc], 0
mov dword [ebp - 0x2744], ebx
jle 0x53db1d
push str._RZR__Step_03
mov ecx, 0x77b084
call fcn.0042e683
push ebx
lea eax, [ebp - 0x2784]
push eax
push 0x2710
lea eax, [ebp - 0x2720]
push eax
push 0xc
lea eax, [ebp - 0x2748]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x53dee8
cmp dword [0x7960fc], 0
jle 0x53de31
push 0x28
push 0xc
push dword [ebp - 0x2784]
push str._RZR__Step_04__cbBytesReturned___u__sizeof__Query_____u__sizeof__STORAGE_DEVICE_DESCRIPTOR_____u
push 0x77b084
call fcn.0042e634
add esp, 0x14
lea ecx, [ebp - 0x2764]
call fcn.004173bc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x273c]
call fcn.004173bc
mov byte [ebp - 4], 2
mov esi, ebx
cmp dword [ebp - 0x2784], esi
jbe 0x53dbe5
movzx eax, byte [ebp + esi - 0x2720]
push eax
lea eax, [ebp - 0x273c]
push 0x6f94cc
push eax
call fcn.0041ccda
add esp, 0xc
lea eax, [ebp - 0x2738]
cmp dword [ebp - 0x2724], 8
lea ecx, [ebp - 0x2764]
cmovae eax, dword [ebp - 0x2738]
push eax
call fcn.00419c79
inc esi
cmp esi, dword [ebp - 0x2784]
jb 0x53db9f
push dword [ebp - 0x2708]
mov esi, 0x77b084
push str._RZR__Step_04__descrip__SerialNumberOffset___u
push esi
call fcn.0042e634
cmp dword [ebp - 0x274c], 8
lea eax, [ebp - 0x2760]
cmovae eax, dword [ebp - 0x2760]
push eax
push str._RZR__Step_04__Data___s
push esi
call fcn.0042e634
push dword [ebp - 0x2720]
push dword [ebp - 0x2720]
push str._RZR__Step_04__SDD.Version_________________u___Xh_
push esi
call fcn.0042e634
push dword [ebp - 0x271c]
push dword [ebp - 0x271c]
push str._RZR__Step_04__SDD.Size____________________u___Xh_
push esi
call fcn.0042e634
movzx eax, byte [ebp - 0x2718]
push eax
push eax
push str._RZR__Step_04__SDD.DeviceType______________u___Xh_
push esi
call fcn.0042e634
movzx eax, byte [ebp - 0x2717]
add esp, 0x48
push eax
push eax
push str._RZR__Step_04__SDD.DeviceTypeModifier______u___Xh_
push esi
call fcn.0042e634
cmp byte [ebp - 0x2716], 0
mov ecx, 0x6f96b4
mov eax, 0x6f963c
cmove eax, ecx
push eax
push str._RZR__Step_04__SDD.RemovableMedia__________s
push esi
call fcn.0042e634
cmp byte [ebp - 0x2715], 0
mov ecx, 0x6f97a4
mov eax, 0x6f972c
cmove eax, ecx
push eax
push str._RZR__Step_04__SDD.CommandQueueing_________s
push esi
call fcn.0042e634
push dword [ebp - 0x2714]
push dword [ebp - 0x2714]
push str._RZR__Step_04__SDD.VendorIdOffset__________u___Xh_
push esi
call fcn.0042e634
push dword [ebp - 0x2710]
push dword [ebp - 0x2710]
push str._RZR__Step_04__SDD.ProductIdOffset_________u___Xh_
push esi
call fcn.0042e634
add esp, 0x48
push dword [ebp - 0x270c]
push dword [ebp - 0x270c]
push str._RZR__Step_04__SDD.ProductRevisionOffset___u___Xh_
push esi
call fcn.0042e634
push dword [ebp - 0x2708]
push dword [ebp - 0x2708]
push str._RZR__Step_04__SDD.SerialNumberOffset______u___Xh_
push esi
call fcn.0042e634
add esp, 0x20
lea ecx, [ebp - 0x273c]
push 0x6f981c
call fcn.004179fb
mov eax, dword [ebp - 0x2704]
cmp eax, 0x7f
jg case.default.0x53dd44
je 0x53ddc2
cmp eax, 0x10
ja case.default.0x53dd44
jmp dword [eax*4 + 0x53df81]
push str.Unknown
jmp 0x53ddc7
push str.SCSI
jmp 0x53ddc7
push str.ATAPI
jmp 0x53ddc7
push 0x6f9a4c
jmp 0x53ddc7
push str.IEEE_1394
jmp 0x53ddc7
push 0x6f9ad4
jmp 0x53ddc7
push str.Fibre_Channel
jmp 0x53ddc7
push 0x6f9af8
jmp 0x53ddc7
push str.RAID
jmp 0x53ddc7
push str.iSCSI
jmp 0x53ddc7
push str.Serial_Attached_SCSI__SAS_
jmp 0x53ddc7
push str.SATA
jmp 0x53ddc7
push 0x6f9b5c
jmp 0x53ddc7
push 0x6f9b64
jmp 0x53ddc7
push str.Virtual
jmp 0x53ddc7
push str.File_Backed_Virtual
jmp 0x53ddc7
push 0x6f9ba4
jmp 0x53ddc7
push str.Max_Reserved
lea ecx, [ebp - 0x273c]
call fcn.004179fb
cmp dword [ebp - 0x2724], 8
lea eax, [ebp - 0x2738]
cmovae eax, dword [ebp - 0x2738]
push eax
mov eax, dword [ebp - 0x2704]
push eax
push eax
push str._RZR__Step_04__SDD.BusType_________________u___Xh__:__s
push esi
call fcn.0042e634
push dword [ebp - 0x2700]
push dword [ebp - 0x2700]
push str._RZR__Step_04__SDD.RawPropertiesLength_____u___Xh_
push esi
call fcn.0042e634
add esp, 0x24
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x273c]
call fcn.0041786a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x2764]
call fcn.0041786a
mov eax, dword [ebp - 0x2708]
cmp eax, 0xffffffff
je 0x53df00
cmp eax, 0x28
jbe 0x53df00
cmp eax, dword [ebp - 0x2784]
jae 0x53df00
lea ecx, [ebp - 0x2720]
add eax, ecx
mov ecx, dword [ebp - 0x2788]
push eax
call fcn.0053e368
mov esi, eax
test esi, esi
je 0x53df00
push esi
call fcn.00427ff2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.00427cd7
cmp dword [0x7960fc], 0
jle 0x53de9b
push str._RZR__Step_05
mov ecx, 0x77b084
call fcn.0042e683
mov eax, dword [ebp - 0x2710]
cmp eax, 0xffffffff
je 0x53dee3
cmp eax, 0x28
jbe 0x53dee3
cmp eax, dword [ebp - 0x2784]
jae 0x53dee3
lea esi, [ebp - 0x2720]
add esi, eax
push esi
call fcn.00427ff2
pop ecx
push eax
push esi
mov ecx, edi
call fcn.0042bfda
cmp dword [0x7960fc], 0
jle 0x53dee3
push str._RZR__Step_06
mov ecx, 0x77b084
call fcn.0042e683
xor ebx, ebx
inc ebx
jmp 0x53df00
cmp dword [0x7960fc], 0
jle 0x53df00
push str._RZR__Step_03_Failed_
mov ecx, 0x77b084
call fcn.0042e683
push dword [ebp - 0x278c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x53df26
cmp dword [0x7960fc], 0
jle 0x53df51
push str._RZR__Step_01_Failed_
mov ecx, 0x77b084
call fcn.0042e683
cmp dword [0x7960fc], 0
jle 0x53df51
mov ecx, 0x6f9d54
test ebx, ebx
mov eax, 0x6f9c3c
cmove eax, ecx
push eax
push str._RZR__End__Result___s
push 0x77b084
call fcn.0042e634
add esp, 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2780]
call fcn.0041786a
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0056e1bf
mov esp, ebp
pop ebp
ret 4