Function at 0x1007c250
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c34bb
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.1008df10
push esi
push str..PhysicalDrive_d
push 0xffffffffffffffff
lea eax, [ebp - 0x510]
push 0xff
push eax
call fcn.10001ea4
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 0x1007c4ec
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.1008df10
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 0x1007c4e5
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.1008df10
push 0x100
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.1008df10
push 0x100
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.1008df10
mov edx, dword [ebp - 0xd00]
lea eax, [ebp - 0x210]
push eax
push 0
lea ecx, [ebp - 0xd10]
call fcn.1007b9b0
mov edx, dword [ebp - 0xcfc]
lea eax, [ebp - 0x310]
push eax
push 0
lea ecx, [ebp - 0xd10]
call fcn.1007b9b0
mov edx, dword [ebp - 0xcf8]
lea eax, [ebp - 0x110]
push eax
push 1
lea ecx, [ebp - 0xd10]
call fcn.1007b9b0
movsx eax, byte [ebp - 0x110]
push eax
call fcn.1009c041
add esp, 0x40
test eax, eax
jne 0x1007c411
movsx eax, byte [ebp - 0xfd]
push eax
call fcn.1009c041
add esp, 4
test eax, eax
je 0x1007c4e5
push esi
lea ecx, [ebp - 0xd90]
call fcn.1006f750
mov dword [ebp - 4], 0
cmp byte [ebp - 0x110], 0
jne 0x1007c431
xor ecx, ecx
jmp 0x1007c449
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007c440
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0xd5c]
call fcn.100057f3
cmp byte [ebp - 0x210], 0
jne 0x1007c469
xor eax, eax
jmp 0x1007c47b
lea eax, [ebp - 0x210]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1007c472
sub eax, edx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0xd8c]
call fcn.100057f3
cmp byte [ebp - 0x310], 0
jne 0x1007c49b
xor ecx, ecx
jmp 0x1007c4ad
lea ecx, [ebp - 0x310]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007c4a4
sub ecx, edx
push ecx
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0xd74]
call fcn.100057f3
mov ecx, dword [ebp - 0xd98]
lea eax, [ebp - 0xd90]
push eax
call fcn.10076990
lea ecx, [ebp - 0xd90]
mov dword [ebp - 4], 0xffffffff
inc ebx
call fcn.1006e500
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, 0x10
jl 0x1007c290
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.1008a9f7
mov esp, ebp
pop ebp
ret