Function at 0x425fa0
Capabilities:
Get storage device properties

Disassembly:
push ebp
lea ebp, [esp - 0x33dc]
mov eax, 0x33dc
call fcn.00648c70
push 0xffffffffffffffff
push 0x71215a
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x81c5a8]
xor eax, ebp
mov dword [ebp + 0x33d8], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 0x14]
xor edi, edi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
call fcn.0040c24b
cmp eax, edi
je 0x4263be
test dword [ebx + 8], 0x2000000
mov esi, eax
je 0x42600d
mov ebx, dword [esi + 0x40]
jmp 0x42601c
xor ebx, ebx
inc ebx
cmp dword [esi + 0x44], ebx
jne 0x42601a
cmp dword [esi + 0x40], edi
jne 0x42601c
xor ebx, ebx
xor eax, eax
cmp dword [esi + 0x58], edi
sete al
cmp dword [esi + 0x5c], 0xffffffff
mov dword [ebp - 0x18], eax
jne 0x426088
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.0040687c
test eax, eax
je 0x426088
push edi
lea eax, [ebp - 0x20]
push eax
push 0x200
lea eax, [ebp + 0x31d8]
push eax
push 0xc
lea eax, [ebp + 0x30c8]
push eax
push 0x2d1400
push dword [ebp - 0x14]
mov dword [ebp + 0x30c8], edi
mov dword [ebp + 0x30cc], edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, edi
je 0x42607f
mov eax, dword [ebp + 0x31f4]
mov dword [esi + 0x5c], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [esi + 0x5c], 0x11
sete al
and eax, dword [ebp - 0x18]
test ebx, eax
je 0x4263aa
cmp dword [esi + 0x4c], 0xffffffff
je 0x4260a8
cmp dword [esi + 0x50], 0xffffffff
jne 0x4260fb
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
push esi
call fcn.0040687c
test eax, eax
je 0x4260fb
push edi
lea eax, [ebp - 0x20]
push eax
push 0x200
lea eax, [ebp + 0x31d8]
push eax
push edi
push edi
push 0x41018
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, edi
je 0x4260f2
movzx eax, byte [ebp + 0x31dc]
mov dword [esi + 0x4c], eax
movzx eax, byte [ebp + 0x31de]
mov dword [esi + 0x50], eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x4263aa
cmp dword [esi + 0x50], 0xffffffff
je 0x4263aa
push eax
push 0x722f70
lea eax, [ebp + 0x30d4]
push 0x104
push eax
call fcn.00527b3f
add esp, 0x10
push edi
push edi
push 3
push edi
push 3
push 0xc0000000
lea eax, [ebp + 0x30d4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
je 0x4263aa
mov ebx, 0x2098
push ebx
lea eax, [ebp]
push edi
push eax
call fcn.0066f220
push 8
lea eax, [ebp + 4]
push str.NvmeMini
push eax
mov dword [ebp + 0x10], 0xe0002000
call fcn.0068fbf0
add esp, 0x18
or dword [ebp + 0x38], 0xffffffff
push 2
pop eax
push edi
mov dword [ebp + 0x34], eax
mov dword [ebp + 0x84], eax
lea eax, [ebp - 0x20]
push eax
push ebx
lea eax, [ebp]
push eax
push 0x98
push eax
push 0x4d008
push dword [ebp - 0x18]
mov dword [ebp], 0x1c
mov dword [ebp + 0xc], 0x1e
mov dword [ebp + 0x18], 0x7c
mov dword [ebp + 0x5c], 0x7f0002
mov dword [ebp + 0x88], edi
mov dword [ebp + 0x8c], edi
mov dword [ebp + 0x94], ebx
mov dword [ebp + 0x1c], edi
mov dword [ebp + 0x20], edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x42627d
mov eax, dword [ebp + 0x80]
shr eax, 0x11
and eax, 0xff
jne 0x4263a1
movzx ebx, byte [ebp + 0x9a]
movzx eax, byte [ebp + 0x99]
shl ebx, 8
or ebx, eax
sub ebx, 0x111
cmp ebx, edi
jle 0x4263a1
cmp dword [esi + 0x28], edi
jne 0x426272
push 0x164
call fcn.006484ac
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
cmp ecx, edi
je 0x42623d
push edi
call fcn.0041c135
jmp 0x42623f
xor eax, eax
or dword [ebp - 4], 0xffffffff
push 0x720048
mov dword [esi + 0x28], eax
add eax, 4
push 0x100
push eax
call fcn.0067eece
mov eax, dword [esi + 0x28]
add esp, 0xc
mov dword [ebp - 0x10], eax
call fcn.00404d14
push dword [ebp - 0x10]
mov ecx, dword [eax + 0x30]
call fcn.00404ee5
mov dword [ebp - 0x10], ebx
fild dword [ebp - 0x10]
jmp 0x426380
mov ebx, 0x1030
push ebx
lea eax, [ebp + 0x2098]
push edi
push eax
call fcn.0066f220
add esp, 0xc
or dword [ebp + 0x20ac], 0xffffffff
push 2
pop eax
push edi
mov dword [ebp + 0x20a4], eax
mov dword [ebp + 0x20a8], eax
lea eax, [ebp - 0x20]
push eax
push ebx
lea eax, [ebp + 0x2098]
push eax
push ebx
push eax
push 0x2d1400
push dword [ebp - 0x18]
mov dword [ebp + 0x2098], 0x31
mov dword [ebp + 0x209c], edi
mov dword [ebp + 0x20a0], 3
mov dword [ebp + 0x20b0], 0x28
mov dword [ebp + 0x20b4], 0x1000
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, edi
je 0x4263a1
movzx ebx, byte [ebp + 0x20ca]
movzx eax, byte [ebp + 0x20c9]
shl ebx, 8
or ebx, eax
sub ebx, 0x111
cmp ebx, edi
jle 0x4263a1
cmp dword [esi + 0x28], edi
jne 0x42637a
push 0x164
call fcn.006484ac
pop ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
cmp eax, edi
je 0x426345
push edi
mov ecx, eax
call fcn.0041c135
jmp 0x426347
xor eax, eax
or dword [ebp - 4], 0xffffffff
push 0x720048
mov dword [esi + 0x28], eax
add eax, 4
push 0x100
push eax
call fcn.0067eece
mov eax, dword [esi + 0x28]
add esp, 0xc
mov dword [ebp - 0x10], eax
call fcn.00404d14
push dword [ebp - 0x10]
mov ecx, dword [eax + 0x30]
call fcn.00404ee5
mov dword [ebp - 0x10], ebx
fild dword [ebp - 0x10]
mov eax, dword [esi + 0x28]
push 1
mov dword [eax + 0x148], ebx
test ebx, ebx
jge 0x426395
fadd dword [0x71f4e0]
push ecx
mov ecx, dword [esi + 0x28]
fstp dword [esp]
call fcn.0041bfad
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x28]
call fcn.00468429
cmp eax, edi
je 0x4263be
mov ebx, dword [ebp - 0x1c]
jmp 0x425ffd
xor eax, eax
inc eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x33d8]
xor ecx, ebp
call fcn.00647fba
add ebp, 0x33dc
leave
ret