Function at 0x1007d3a0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c481b
mov eax, dword fs:[0]
push eax
sub esp, 0xd8c
mov eax, dword [0x1010e070]
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.1008f060
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 0x1007d63c
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.1008f060
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 0x1007d635
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.1008f060
push 0x100
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.1008f060
push 0x100
lea eax, [ebp - 0x310]
push 0
push eax
call fcn.1008f060
mov edx, dword [ebp - 0xd00]
lea eax, [ebp - 0x210]
push eax
push 0
lea ecx, [ebp - 0xd10]
call fcn.1007cb00
mov edx, dword [ebp - 0xcfc]
lea eax, [ebp - 0x310]
push eax
push 0
lea ecx, [ebp - 0xd10]
call fcn.1007cb00
mov edx, dword [ebp - 0xcf8]
lea eax, [ebp - 0x110]
push eax
push 1
lea ecx, [ebp - 0xd10]
call fcn.1007cb00
movsx eax, byte [ebp - 0x110]
push eax
call fcn.1009d191
add esp, 0x40
test eax, eax
jne 0x1007d561
movsx eax, byte [ebp - 0xfd]
push eax
call fcn.1009d191
add esp, 4
test eax, eax
je 0x1007d635
push esi
lea ecx, [ebp - 0xd90]
call fcn.100708a0
mov dword [ebp - 4], 0
cmp byte [ebp - 0x110], 0
jne 0x1007d581
xor ecx, ecx
jmp 0x1007d599
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007d590
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0xd5c]
call fcn.10005859
cmp byte [ebp - 0x210], 0
jne 0x1007d5b9
xor eax, eax
jmp 0x1007d5cb
lea eax, [ebp - 0x210]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1007d5c2
sub eax, edx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0xd8c]
call fcn.10005859
cmp byte [ebp - 0x310], 0
jne 0x1007d5eb
xor ecx, ecx
jmp 0x1007d5fd
lea ecx, [ebp - 0x310]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1007d5f4
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.10077ae0
lea ecx, [ebp - 0xd90]
mov dword [ebp - 4], 0xffffffff
inc ebx
call fcn.1006f650
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, 0x10
jl 0x1007d3e0
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.1008bb47
mov esp, ebp
pop ebp
ret