Function at 0x1007bfd0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c311b
mov eax, dword fs:[0]
push eax
sub esp, 0xd8c
mov eax, dword [0x1010b070]
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 - 0xd98], ecx
xor ebx, ebx
xor esi, esi
nop dword [eax + eax]
push 0x200
lea eax, [ebp - 0x510]
push 0
push eax
call fcn.1008dc90
push esi
push str..PhysicalDrive_d
push 0xffffffffffffffff
lea eax, [ebp - 0x510]
push 0xff
push eax
call fcn.10001eb4
add esp, 0x20
lea eax, [ebp - 0x510]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1007c26c
push 0x800
xorps xmm0, xmm0
mov dword [ebp - 0xd94], 0
lea eax, [ebp - 0xd10]
movq qword [ebp - 0xd1c], xmm0
push 0
push eax
mov dword [ebp - 0xd14], 0
mov dword [ebp - 0xd1c], 0
mov dword [ebp - 0xd18], 0
call fcn.1008dc90
add esp, 0xc
lea eax, [ebp - 0xd94]
push 0
push eax
push 0x800
lea eax, [ebp - 0xd10]
push eax
push 0xc
lea eax, [ebp - 0xd1c]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1007c265
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.1008dc90
push 0x100
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.1008dc90
push 0x100
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.1008dc90
mov edx, dword [ebp - 0xd00]
lea eax, [ebp - 0x210]
push eax
push 0
lea ecx, [ebp - 0xd10]
call fcn.1007b730
mov edx, dword [ebp - 0xcfc]
lea eax, [ebp - 0x310]
push eax
push 0
lea ecx, [ebp - 0xd10]
call fcn.1007b730
mov edx, dword [ebp - 0xcf8]
lea eax, [ebp - 0x110]
push eax
push 1
lea ecx, [ebp - 0xd10]
call fcn.1007b730
movsx eax, byte [ebp - 0x110]
push eax
call fcn.1009bdc1
add esp, 0x40
test eax, eax
jne 0x1007c191
movsx eax, byte [ebp - 0xfd]
push eax
call fcn.1009bdc1
add esp, 4
test eax, eax
je 0x1007c265
push esi
lea ecx, [ebp - 0xd90]
call fcn.1006f4d0
mov dword [ebp - 4], 0
cmp byte [ebp - 0x110], 0
jne 0x1007c1b1
xor ecx, ecx
jmp 0x1007c1c9
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007c1c0
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0xd5c]
call fcn.10005859
cmp byte [ebp - 0x210], 0
jne 0x1007c1e9
xor eax, eax
jmp 0x1007c1fb
lea eax, [ebp - 0x210]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1007c1f2
sub eax, edx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0xd8c]
call fcn.10005859
cmp byte [ebp - 0x310], 0
jne 0x1007c21b
xor ecx, ecx
jmp 0x1007c22d
lea ecx, [ebp - 0x310]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007c224
sub ecx, edx
push ecx
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0xd74]
call fcn.10005859
mov ecx, dword [ebp - 0xd98]
lea eax, [ebp - 0xd90]
push eax
call fcn.10076710
lea ecx, [ebp - 0xd90]
mov dword [ebp - 4], 0xffffffff
inc ebx
call fcn.1006e280
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, 0x10
jl 0x1007c010
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.1008a777
mov esp, ebp
pop ebp
ret