Function at 0x10086480
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c45bf
mov eax, dword fs:[0]
push eax
sub esp, 0xd9c
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 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.1008e420
push dword [ebp - 0xd98]
lea eax, [ebp - 0x510]
push str..PhysicalDrive_d
push 0xffffffffffffffff
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 dword [ebp - 0xd9c], eax
cmp eax, 0xffffffff
je 0x10086c2a
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.1008e420
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 0x10086c18
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 0x1008665f
movsx eax, byte [ebp - 0xfd]
push eax
call fcn.1009c571
add esp, 4
test eax, eax
je 0x10086c1e
test bl, bl
jne 0x1008699a
mov dword [ebp - 0xd14], 0xf
mov dword [ebp - 0xd18], 0
mov byte [ebp - 0xd28], bl
cmp byte [ebp - 0x110], bl
jne 0x1008668d
xor ecx, ecx
jmp 0x1008669f
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10086696
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0xd28]
call fcn.10005844
lea eax, [ebp - 0xd28]
mov dword [ebp - 4], 0
cmp esi, eax
je 0x10086733
mov eax, dword [esi + 0x14]
cmp eax, 0x10
jb 0x10086708
mov ecx, dword [esi]
inc eax
cmp eax, 0x1000
jb 0x100866ff
test cl, 0x1f
jne 0x10086c5e
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x10086c5e
sub ecx, eax
cmp ecx, 4
jb 0x10086c5e
cmp ecx, 0x23
ja 0x10086c5e
mov ecx, eax
push ecx
call fcn.1008aee5
add esp, 4
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 0
jb 0x10086720
mov eax, dword [esi]
jmp 0x10086722
mov eax, esi
mov byte [eax], 0
mov ecx, esi
lea eax, [ebp - 0xd28]
push eax
call fcn.10007921
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xd14]
cmp eax, 0x10
jb 0x10086786
mov ecx, dword [ebp - 0xd28]
inc eax
cmp eax, 0x1000
jb 0x1008677d
test cl, 0x1f
jne 0x10086c5e
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x10086c5e
sub ecx, eax
cmp ecx, 4
jb 0x10086c5e
cmp ecx, 0x23
ja 0x10086c5e
mov ecx, eax
push ecx
call fcn.1008aee5
add esp, 4
cmp byte [ebp - 0x210], 0
mov dword [ebp - 0xd14], 0xf
mov dword [ebp - 0xd18], 0
mov byte [ebp - 0xd28], 0
jne 0x100867ae
xor ecx, ecx
jmp 0x100867c0
lea ecx, [ebp - 0x210]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100867b7
sub ecx, edx
push ecx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0xd28]
call fcn.10005844
lea eax, [ebp - 0xd28]
mov dword [ebp - 4], 1
cmp edi, eax
je 0x10086854
mov eax, dword [edi + 0x14]
cmp eax, 0x10
jb 0x10086829
mov ecx, dword [edi]
inc eax
cmp eax, 0x1000
jb 0x10086820
test cl, 0x1f
jne 0x10086c5e
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x10086c5e
sub ecx, eax
cmp ecx, 4
jb 0x10086c5e
cmp ecx, 0x23
ja 0x10086c5e
mov ecx, eax
push ecx
call fcn.1008aee5
add esp, 4
mov dword [edi + 0x14], 0xf
cmp dword [edi + 0x14], 0x10
mov dword [edi + 0x10], 0
jb 0x10086841
mov eax, dword [edi]
jmp 0x10086843
mov eax, edi
mov byte [eax], 0
mov ecx, edi
lea eax, [ebp - 0xd28]
push eax
call fcn.10007921
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0xd14]
cmp eax, 0x10
jb 0x100868a7
mov ecx, dword [ebp - 0xd28]
inc eax
cmp eax, 0x1000
jb 0x1008689e
test cl, 0x1f
jne 0x10086c5e
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x10086c5e
sub ecx, eax
cmp ecx, 4
jb 0x10086c5e
cmp ecx, 0x23
ja 0x10086c5e
mov ecx, eax
push ecx
call fcn.1008aee5
add esp, 4
cmp byte [ebp - 0x310], 0
mov dword [ebp - 0xd14], 0xf
mov dword [ebp - 0xd18], 0
mov byte [ebp - 0xd28], 0
jne 0x100868cf
xor ecx, ecx
jmp 0x100868e1
lea ecx, [ebp - 0x310]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100868d8
sub ecx, edx
push ecx
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0xd28]
call fcn.10005844
mov ebx, dword [ebp - 0xda4]
lea eax, [ebp - 0xd28]
mov dword [ebp - 4], 2
cmp ebx, eax
je 0x1008697b
mov eax, dword [ebx + 0x14]
cmp eax, 0x10
jb 0x10086950
mov ecx, dword [ebx]
inc eax
cmp eax, 0x1000
jb 0x10086947
test cl, 0x1f
jne 0x10086c5e
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x10086c5e
sub ecx, eax
cmp ecx, 4
jb 0x10086c5e
cmp ecx, 0x23
ja 0x10086c5e
mov ecx, eax
push ecx
call fcn.1008aee5
add esp, 4
mov dword [ebx + 0x14], 0xf
cmp dword [ebx + 0x14], 0x10
mov dword [ebx + 0x10], 0
jb 0x10086968
mov eax, dword [ebx]
jmp 0x1008696a
mov eax, ebx
mov byte [eax], 0
mov ecx, ebx
lea eax, [ebp - 0xd28]
push eax
call fcn.10007921
mov eax, dword [ebp - 0xd14]
cmp eax, 0x10
jb 0x10086998
inc eax
push 1
push eax
push dword [ebp - 0xd28]
call fcn.10001ef8
add esp, 0xc
mov bl, 1
lea ecx, [ebp - 0xd94]
call fcn.10085e40
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 0x100869d4
xor ecx, ecx
jmp 0x100869e9
lea ecx, [ebp - 0x110]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100869e0
sub ecx, edx
push ecx
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0xd28]
call fcn.10005844
mov eax, dword [ebp - 0xd80]
cmp eax, 0x10
jb 0x10086a19
inc eax
push 1
push eax
push dword [ebp - 0xd94]
call fcn.10001ef8
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.10007921
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xd14]
cmp eax, 0x10
jb 0x10086a67
inc eax
push 1
push eax
push dword [ebp - 0xd28]
call fcn.10001ef8
add esp, 0xc
cmp byte [ebp - 0x210], 0
mov dword [ebp - 0xd14], 0xf
mov dword [ebp - 0xd18], 0
mov byte [ebp - 0xd28], 0
jne 0x10086a8f
xor ecx, ecx
jmp 0x10086aa1
lea ecx, [ebp - 0x210]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10086a98
sub ecx, edx
push ecx
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0xd28]
call fcn.10005844
mov eax, dword [ebp - 0xd68]
cmp eax, 0x10
jb 0x10086ad1
inc eax
push 1
push eax
push dword [ebp - 0xd7c]
call fcn.10001ef8
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.10007921
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xd14]
cmp eax, 0x10
jb 0x10086b1f
inc eax
push 1
push eax
push dword [ebp - 0xd28]
call fcn.10001ef8
add esp, 0xc
cmp byte [ebp - 0x310], 0
mov dword [ebp - 0xd38], 0xf
mov dword [ebp - 0xd3c], 0
mov byte [ebp - 0xd4c], 0
jne 0x10086b47
xor ecx, ecx
jmp 0x10086b59
lea ecx, [ebp - 0x310]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10086b50
sub ecx, edx
push ecx
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0xd4c]
call fcn.10005844
mov eax, dword [ebp - 0xd50]
cmp eax, 0x10
jb 0x10086b89
inc eax
push 1
push eax
push dword [ebp - 0xd64]
call fcn.10001ef8
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.10007921
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xd38]
cmp eax, 0x10
jb 0x10086bd7
inc eax
push 1
push eax
push dword [ebp - 0xd4c]
call fcn.10001ef8
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.10087cf0
lea ecx, [ebp - 0xd94]
mov dword [ebp - 4], 0xffffffff
call fcn.1007b390
jmp 0x10086c1e
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 0x100864d0
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.1008aeea
mov esp, ebp
pop ebp
ret
call fcn.10090e61
int3