Function at 0x1000ea60
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10052a20
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1006a070]
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 0x1000eae9
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x1000eaca
cmp dword [eax - 8], 0
jge 0x1000eaba
push 0x80070057
call fcn.1000dce0
mov dword [eax - 0xc], 0
xor ecx, ecx
mov eax, dword [esi]
mov word [eax], cx
jmp 0x1000eae9
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000eadd
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.10001d90
mov ecx, eax
test ecx, ecx
jne 0x1000eafe
push 0x80004005
call fcn.1000dce0
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.1000f840
mov esi, dword [ebp - 0x34]
add esp, 8
push 0
push 0
push 3
push 0
push 3
push 0
push esi
call dword [0x100746e4]
mov dword [ebp - 0x3c], eax
cmp eax, 0xffffffff
jne 0x1000eb66
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1000ec4d
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 [0x100746e0]
test eax, eax
je 0x1000ec42
mov edi, dword [ebp - 0x44]
push edi
call fcn.1002ce89
add esp, 4
mov dword [ebp - 0x30], eax
push edi
push 0
push eax
call fcn.1002fb90
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 [0x100746e0]
test eax, eax
je 0x1000ec39
mov eax, dword [edi + 0x18]
test eax, eax
je 0x1000ec39
add eax, edi
lea ecx, [ebp - 0x30]
push eax
call fcn.1000f250
mov ecx, dword [ebp - 0x40]
push eax
mov byte [ebp - 4], 1
call fcn.1000f1c0
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 0x1000ec39
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
call fcn.1002ce84
add esp, 4
push dword [ebp - 0x3c]
call dword [0x100746c8]
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1000ec69
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.1002c8c0
mov esp, ebp
pop ebp
ret 8