Function at 0x1007c760
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3acb
mov eax, dword fs:[0]
push eax
sub esp, 0xd8c
mov eax, dword [0x1010c070]
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.1008e420
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 0x1007c9fc
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.1008e420
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 0x1007c9f5
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.1008e420
push 0x100
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.1008e420
push 0x100
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.1008e420
mov edx, dword [ebp - 0xd00]
lea eax, [ebp - 0x210]
push eax
push 0
lea ecx, [ebp - 0xd10]
call fcn.1007bec0
mov edx, dword [ebp - 0xcfc]
lea eax, [ebp - 0x310]
push eax
push 0
lea ecx, [ebp - 0xd10]
call fcn.1007bec0
mov edx, dword [ebp - 0xcf8]
lea eax, [ebp - 0x110]
push eax
push 1
lea ecx, [ebp - 0xd10]
call fcn.1007bec0
movsx eax, byte [ebp - 0x110]
push eax
call fcn.1009c571
add esp, 0x40
test eax, eax
jne 0x1007c921
movsx eax, byte [ebp - 0xfd]
push eax
call fcn.1009c571
add esp, 4
test eax, eax
je 0x1007c9f5
push esi
lea ecx, [ebp - 0xd90]
call fcn.1006fc50
mov dword [ebp - 4], 0
cmp byte [ebp - 0x110], 0
jne 0x1007c941
xor ecx, ecx
jmp 0x1007c959
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007c950
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0xd5c]
call fcn.10005844
cmp byte [ebp - 0x210], 0
jne 0x1007c979
xor eax, eax
jmp 0x1007c98b
lea eax, [ebp - 0x210]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1007c982
sub eax, edx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0xd8c]
call fcn.10005844
cmp byte [ebp - 0x310], 0
jne 0x1007c9ab
xor ecx, ecx
jmp 0x1007c9bd
lea ecx, [ebp - 0x310]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007c9b4
sub ecx, edx
push ecx
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0xd74]
call fcn.10005844
mov ecx, dword [ebp - 0xd98]
lea eax, [ebp - 0xd90]
push eax
call fcn.10076ea0
lea ecx, [ebp - 0xd90]
mov dword [ebp - 4], 0xffffffff
inc ebx
call fcn.1006ea00
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, 0x10
jl 0x1007c7a0
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.1008aeea
mov esp, ebp
pop ebp
ret