Function at 0x1000e360
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10051e90
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10069070]
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 0x1000e3e9
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x1000e3ca
cmp dword [eax - 8], 0
jge 0x1000e3ba
push 0x80070057
call fcn.1000d5e0
mov dword [eax - 0xc], 0
xor ecx, ecx
mov eax, dword [esi]
mov word [eax], cx
jmp 0x1000e3e9
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000e3dd
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 0x1000e3fe
push 0x80004005
call fcn.1000d5e0
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.1000f140
mov esi, dword [ebp - 0x34]
add esp, 8
push 0
push 0
push 3
push 0
push 3
push 0
push esi
call dword [0x100736e4]
mov dword [ebp - 0x3c], eax
cmp eax, 0xffffffff
jne 0x1000e466
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1000e54d
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 [0x100736e0]
test eax, eax
je 0x1000e542
mov edi, dword [ebp - 0x44]
push edi
call fcn.1002b1ec
add esp, 4
mov dword [ebp - 0x30], eax
push edi
push 0
push eax
call fcn.1002df10
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 [0x100736e0]
test eax, eax
je 0x1000e539
mov eax, dword [edi + 0x18]
test eax, eax
je 0x1000e539
add eax, edi
lea ecx, [ebp - 0x30]
push eax
call fcn.1000eb50
mov ecx, dword [ebp - 0x40]
push eax
mov byte [ebp - 4], 1
call fcn.1000eac0
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 0x1000e539
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
call fcn.1002b1e7
add esp, 4
push dword [ebp - 0x3c]
call dword [0x100736c8]
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1000e569
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.1002ac23
mov esp, ebp
pop ebp
ret 8