Function at 0x10085cf0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c3c0f
mov eax, dword fs:[0]
push eax
sub esp, 0xd9c
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 edi, edx
mov esi, ecx
mov eax, dword [ebp + 8]
xor bl, bl
mov dword [ebp - 0xda4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xda8], eax
mov dword [ebp - 0xd98], 0
push 0x200
lea eax, [ebp - 0x510]
push 0
push eax
call fcn.1008dc90
push dword [ebp - 0xd98]
lea eax, [ebp - 0x510]
push str..PhysicalDrive_d
push 0xffffffffffffffff
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 dword [ebp - 0xd9c], eax
cmp eax, 0xffffffff
je 0x1008649a
push 0x800
xorps xmm0, xmm0
mov dword [ebp - 0xda0], 0
lea eax, [ebp - 0xd10]
movq qword [ebp - 0xd34], xmm0
push 0
push eax
mov dword [ebp - 0xd2c], 0
mov dword [ebp - 0xd34], 0
mov dword [ebp - 0xd30], 0
call fcn.1008dc90
add esp, 0xc
lea eax, [ebp - 0xda0]
push 0
push eax
push 0x800
lea eax, [ebp - 0xd10]
push eax
push 0xc
lea eax, [ebp - 0xd34]
push eax
push 0x2d1400
push dword [ebp - 0xd9c]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x10086488
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 0x10085ecf
movsx eax, byte [ebp - 0xfd]
push eax
call fcn.1009bdc1
add esp, 4
test eax, eax
je 0x1008648e
test bl, bl
jne 0x1008620a
mov dword [ebp - 0xd14], 0xf
mov dword [ebp - 0xd18], 0
mov byte [ebp - 0xd28], bl
cmp byte [ebp - 0x110], bl
jne 0x10085efd
xor ecx, ecx
jmp 0x10085f0f
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10085f06
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0xd28]
call fcn.10005859
lea eax, [ebp - 0xd28]
mov dword [ebp - 4], 0
cmp esi, eax
je 0x10085fa3
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x10085f78
mov ecx, dword [esi]
inc eax
cmp eax, 0x1000
jb 0x10085f6f
test cl, 0x1f
jne 0x100864ce
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x100864ce
sub ecx, eax
cmp ecx, 4
jb 0x100864ce
cmp ecx, 0x23
ja 0x100864ce
mov ecx, eax
push ecx
call fcn.1008a772
add esp, 4
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x10085f90
mov eax, dword [esi]
jmp 0x10085f92
mov eax, esi
mov byte [eax], 0
mov ecx, esi
lea eax, [ebp - 0xd28]
push eax
call fcn.10007941
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xd14]
cmp eax, 0x10
jb 0x10085ff6
mov ecx, dword [ebp - 0xd28]
inc eax
cmp eax, 0x1000
jb 0x10085fed
test cl, 0x1f
jne 0x100864ce
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x100864ce
sub ecx, eax
cmp ecx, 4
jb 0x100864ce
cmp ecx, 0x23
ja 0x100864ce
mov ecx, eax
push ecx
call fcn.1008a772
add esp, 4
cmp byte [ebp - 0x210], 0
mov dword [ebp - 0xd14], 0xf
mov dword [ebp - 0xd18], 0
mov byte [ebp - 0xd28], 0
jne 0x1008601e
xor ecx, ecx
jmp 0x10086030
lea ecx, [ebp - 0x210]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10086027
sub ecx, edx
push ecx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0xd28]
call fcn.10005859
lea eax, [ebp - 0xd28]
mov dword [ebp - 4], 1
cmp edi, eax
je 0x100860c4
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x10086099
mov ecx, dword [edi]
inc eax
cmp eax, 0x1000
jb 0x10086090
test cl, 0x1f
jne 0x100864ce
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x100864ce
sub ecx, eax
cmp ecx, 4
jb 0x100864ce
cmp ecx, 0x23
ja 0x100864ce
mov ecx, eax
push ecx
call fcn.1008a772
add esp, 4
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x100860b1
mov eax, dword [edi]
jmp 0x100860b3
mov eax, edi
mov byte [eax], 0
mov ecx, edi
lea eax, [ebp - 0xd28]
push eax
call fcn.10007941
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xd14]
cmp eax, 0x10
jb 0x10086117
mov ecx, dword [ebp - 0xd28]
inc eax
cmp eax, 0x1000
jb 0x1008610e
test cl, 0x1f
jne 0x100864ce
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x100864ce
sub ecx, eax
cmp ecx, 4
jb 0x100864ce
cmp ecx, 0x23
ja 0x100864ce
mov ecx, eax
push ecx
call fcn.1008a772
add esp, 4
cmp byte [ebp - 0x310], 0
mov dword [ebp - 0xd14], 0xf
mov dword [ebp - 0xd18], 0
mov byte [ebp - 0xd28], 0
jne 0x1008613f
xor ecx, ecx
jmp 0x10086151
lea ecx, [ebp - 0x310]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10086148
sub ecx, edx
push ecx
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0xd28]
call fcn.10005859
mov ebx, dword [ebp - 0xda4]
lea eax, [ebp - 0xd28]
mov dword [ebp - 4], 2
cmp ebx, eax
je 0x100861eb
mov eax, dword [ebx + 0x14]
cmp eax, 0x10
jb 0x100861c0
mov ecx, dword [ebx]
inc eax
cmp eax, 0x1000
jb 0x100861b7
test cl, 0x1f
jne 0x100864ce
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x100864ce
sub ecx, eax
cmp ecx, 4
jb 0x100864ce
cmp ecx, 0x23
ja 0x100864ce
mov ecx, eax
push ecx
call fcn.1008a772
add esp, 4
mov dword [ebx + 0x14], 0xf
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], 0
jb 0x100861d8
mov eax, dword [ebx]
jmp 0x100861da
mov eax, ebx
mov byte [eax], 0
mov ecx, ebx
lea eax, [ebp - 0xd28]
push eax
call fcn.10007941
mov eax, dword [ebp - 0xd14]
cmp eax, 0x10
jb 0x10086208
inc eax
push 1
push eax
push dword [ebp - 0xd28]
call fcn.10001f08
add esp, 0xc
mov bl, 1
lea ecx, [ebp - 0xd94]
call fcn.100856b0
mov dword [ebp - 4], 3
cmp byte [ebp - 0x110], 0
mov dword [ebp - 0xd14], 0xf
mov dword [ebp - 0xd18], 0
mov byte [ebp - 0xd28], 0
jne 0x10086244
xor ecx, ecx
jmp 0x10086259
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10086250
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0xd28]
call fcn.10005859
mov eax, dword [ebp - 0xd80]
cmp eax, 0x10
jb 0x10086289
inc eax
push 1
push eax
push dword [ebp - 0xd94]
call fcn.10001f08
add esp, 0xc
lea eax, [ebp - 0xd28]
mov dword [ebp - 0xd80], 0xf
push eax
lea ecx, [ebp - 0xd94]
mov dword [ebp - 0xd84], 0
mov byte [ebp - 0xd94], 0
call fcn.10007941
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xd14]
cmp eax, 0x10
jb 0x100862d7
inc eax
push 1
push eax
push dword [ebp - 0xd28]
call fcn.10001f08
add esp, 0xc
cmp byte [ebp - 0x210], 0
mov dword [ebp - 0xd14], 0xf
mov dword [ebp - 0xd18], 0
mov byte [ebp - 0xd28], 0
jne 0x100862ff
xor ecx, ecx
jmp 0x10086311
lea ecx, [ebp - 0x210]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10086308
sub ecx, edx
push ecx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0xd28]
call fcn.10005859
mov eax, dword [ebp - 0xd68]
cmp eax, 0x10
jb 0x10086341
inc eax
push 1
push eax
push dword [ebp - 0xd7c]
call fcn.10001f08
add esp, 0xc
lea eax, [ebp - 0xd28]
mov dword [ebp - 0xd68], 0xf
push eax
lea ecx, [ebp - 0xd7c]
mov dword [ebp - 0xd6c], 0
mov byte [ebp - 0xd7c], 0
call fcn.10007941
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xd14]
cmp eax, 0x10
jb 0x1008638f
inc eax
push 1
push eax
push dword [ebp - 0xd28]
call fcn.10001f08
add esp, 0xc
cmp byte [ebp - 0x310], 0
mov dword [ebp - 0xd38], 0xf
mov dword [ebp - 0xd3c], 0
mov byte [ebp - 0xd4c], 0
jne 0x100863b7
xor ecx, ecx
jmp 0x100863c9
lea ecx, [ebp - 0x310]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100863c0
sub ecx, edx
push ecx
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0xd4c]
call fcn.10005859
mov eax, dword [ebp - 0xd50]
cmp eax, 0x10
jb 0x100863f9
inc eax
push 1
push eax
push dword [ebp - 0xd64]
call fcn.10001f08
add esp, 0xc
lea eax, [ebp - 0xd4c]
mov dword [ebp - 0xd50], 0xf
push eax
lea ecx, [ebp - 0xd64]
mov dword [ebp - 0xd54], 0
mov byte [ebp - 0xd64], 0
call fcn.10007941
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xd38]
cmp eax, 0x10
jb 0x10086447
inc eax
push 1
push eax
push dword [ebp - 0xd4c]
call fcn.10001f08
add esp, 0xc
mov ecx, dword [ebp - 0xda8]
lea eax, [ebp - 0xd94]
push eax
mov dword [ebp - 0xd38], 0xf
mov dword [ebp - 0xd3c], 0
mov byte [ebp - 0xd4c], 0
call fcn.10087560
lea ecx, [ebp - 0xd94]
mov dword [ebp - 4], 0xffffffff
call fcn.1007ac00
jmp 0x1008648e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0xd9c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0xd98]
inc eax
mov dword [ebp - 0xd98], eax
cmp eax, 0x10
jl 0x10085d40
mov al, bl
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
call fcn.100906d1
int3