Function at 0x1000ebd0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10053f80
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1006c070]
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 esi, dword [ebp + 0xc]
or ebx, 0xffffffff
mov dword [ebp - 0x40], esi
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
lea edx, [eax - 0x10]
mov edi, dword [edx]
je 0x1000ec59
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x1000ec3a
cmp dword [eax - 8], 0
jge 0x1000ec2a
push 0x80070057
call fcn.1000de50
mov dword [eax - 0xc], 0
xor ecx, ecx
mov eax, dword [esi]
mov word [eax], cx
jmp 0x1000ec59
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000ec4d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
call fcn.10001da0
mov ecx, eax
test ecx, ecx
jne 0x1000ec6e
push 0x80004005
call fcn.1000de50
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x14], ax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x20], 0x5c005c
push eax
mov dword [ebp - 0x1c], 0x5c002e
mov dword [ebp - 0x18], 0x3a0043
call fcn.1000f9b0
mov esi, dword [ebp - 0x34]
add esp, 8
push 0
push 0
push 3
push 0
push 3
push 0
push esi
call dword [0x100766e4]
mov dword [ebp - 0x3c], eax
cmp eax, 0xffffffff
jne 0x1000ecd6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1000edbd
push 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x24], 0
push ecx
push 8
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x48], 0
push ecx
push 0xc
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x44], 0
push ecx
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
push 0x2d1400
movq qword [ebp - 0x2c], xmm0
push eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call dword [0x100766e0]
test eax, eax
je 0x1000edb2
mov edi, dword [ebp - 0x44]
push edi
call fcn.1002d2da
add esp, 4
mov dword [ebp - 0x30], eax
push edi
push 0
push eax
call fcn.10030000
add esp, 0xc
lea eax, [ebp - 0x38]
push 0
push eax
push edi
mov edi, dword [ebp - 0x30]
lea eax, [ebp - 0x2c]
push edi
push 0xc
push eax
push 0x2d1400
push dword [ebp - 0x3c]
call dword [0x100766e0]
test eax, eax
je 0x1000eda9
mov eax, dword [edi + 0x18]
test eax, eax
je 0x1000eda9
add eax, edi
lea ecx, [ebp - 0x30]
push eax
call fcn.1000f3c0
mov ecx, dword [ebp - 0x40]
push eax
mov byte [ebp - 4], 1
call fcn.1000f330
mov byte [ebp - 4], 0
mov eax, ebx
mov edx, dword [ebp - 0x30]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1000eda9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
call fcn.1002d2d5
add esp, 4
push dword [ebp - 0x3c]
call dword [0x100766c8]
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1000edd9
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
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.1002ccf4
mov esp, ebp
pop ebp
ret 8