Function at 0x1000b050
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050360
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x10067070]
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 0x1000b0d9
cmp dword [edx + 0xc], 0
lea ecx, [edx + 0xc]
jge 0x1000b0ba
cmp dword [eax - 8], 0
jge 0x1000b0aa
push 0x80070057
call fcn.1000a3a0
mov dword [eax - 0xc], 0
xor ecx, ecx
mov eax, dword [esi]
mov word [eax], cx
jmp 0x1000b0d9
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x1000b0cd
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.10001c90
mov ecx, eax
test ecx, ecx
jne 0x1000b0ee
push 0x80004005
call fcn.1000a3a0
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.1000bed0
mov esi, dword [ebp - 0x34]
add esp, 8
push 0
push 0
push 3
push 0
push 3
push 0
push esi
call dword [0x1007110c]
mov dword [ebp - 0x3c], eax
cmp eax, 0xffffffff
jne 0x1000b156
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x1000b23d
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 [0x10071108]
test eax, eax
je 0x1000b232
mov edi, dword [ebp - 0x44]
push edi
call fcn.1002a8a9
add esp, 4
mov dword [ebp - 0x30], eax
push edi
push 0
push eax
call fcn.1002d3e0
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 [0x10071108]
test eax, eax
je 0x1000b229
mov eax, dword [edi + 0x18]
test eax, eax
je 0x1000b229
add eax, edi
lea ecx, [ebp - 0x30]
push eax
call fcn.1000b840
mov ecx, dword [ebp - 0x40]
push eax
mov byte [ebp - 4], 1
call fcn.1000b7b0
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 0x1000b229
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push edi
call fcn.1002a8b2
add esp, 4
push dword [ebp - 0x3c]
call dword [0x100710f0]
xor edi, edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1000b259
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.1002a2e5
mov esp, ebp
pop ebp
ret 8