Function at 0x1000b720
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2cdc
call fcn.100459f0
push ebx
push esi
push edi
xor edi, edi
lea eax, [ebp - 0x5c8]
push edi
push 0x10081358
push eax
mov ebx, edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x5c8]
push edi
push edi
push 3
push edi
push 3
push edi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 8], esi
cmp esi, 0xffffffff
je 0x1000ba04
push 0x2710
xorps xmm0, xmm0
mov dword [ebp - 4], edi
lea eax, [ebp - 0x2cd8]
movq qword [ebp - 0x18], xmm0
push edi
push eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call fcn.10047830
add esp, 0xc
lea eax, [ebp - 4]
push edi
push eax
push 0x2710
lea eax, [ebp - 0x2cd8]
push eax
push 0xc
lea eax, [ebp - 0x18]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1000b9fd
push 0x80
lea eax, [ebp - 0x3c8]
push edi
push eax
call fcn.10047830
push 0x80
lea eax, [ebp - 0x2c8]
push edi
push eax
call fcn.10047830
push 0x80
lea eax, [ebp - 0x248]
push edi
push eax
call fcn.10047830
push 0x80
lea eax, [ebp - 0x348]
push edi
push eax
call fcn.10047830
mov edx, dword [ebp - 0x2ccc]
lea eax, [ebp - 0x248]
add esp, 0x30
push eax
push ecx
lea ecx, [ebp - 0x2cd8]
call fcn.1000b4e0
mov edx, dword [ebp - 0x2cc8]
lea eax, [ebp - 0x2c8]
add esp, 8
push eax
push ecx
lea ecx, [ebp - 0x2cd8]
call fcn.1000b4e0
mov edx, dword [ebp - 0x2cc4]
lea eax, [ebp - 0x348]
add esp, 8
push eax
push ecx
lea ecx, [ebp - 0x2cd8]
call fcn.1000b4e0
mov edx, dword [ebp - 0x2cc0]
lea eax, [ebp - 0x3c8]
add esp, 8
push eax
push ecx
lea ecx, [ebp - 0x2cd8]
call fcn.1000b4e0
push 0x1a0
lea eax, [ebp - 0x1c0]
mov dword [ebp - 0x20], edi
xorps xmm0, xmm0
push edi
push eax
movlpd qword [ebp - 0x1c8], xmm0
call fcn.10047830
lea ecx, [ebp - 0x248]
add esp, 0x14
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000b8a5
sub ecx, edx
je 0x1000b8c7
xor ecx, ecx
mov al, byte [ebp + ecx - 0x248]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x1a1], al
test al, al
jne 0x1000b8b2
lea ecx, [ebp - 0x2c8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000b8d0
sub ecx, edx
je 0x1000b90e
lea edx, [ebp - 0x2c8]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x1000b8e3
lea edi, [ebp - 0x1a0]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000b8f3
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp - 8]
xor edi, edi
xor ecx, ecx
mov al, byte [ebp + ecx - 0x348]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0xa1], al
test al, al
jne 0x1000b910
xor ecx, ecx
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x3c8]
lea ecx, [ecx + 1]
mov byte [ebp + ecx - 0x121], al
test al, al
jne 0x1000b930
lea ecx, [ebp - 0x120]
call fcn.1000b650
lea ecx, [ebp - 0x1a0]
call fcn.1000b650
lea ecx, [ebp - 0xa0]
call fcn.1000b650
push 0x2710
lea eax, [ebp - 0x2cd8]
push 0
push eax
call fcn.10047830
add esp, 0xc
lea eax, [ebp - 4]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2cd8]
push eax
push 0
push 0
push 0x700a0
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1000b9fd
cmp dword [ebp - 0x2cd0], 0xc
mov eax, dword [ebp - 0x2cc0]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x2cbc]
mov dword [ebp - 0x1c4], eax
jne 0x1000b9fd
lea edx, [ebp - 0x120]
mov dword [ebp - 0x20], 2
lea ecx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x1000b9d3
sub edx, ecx
xor ecx, ecx
test edx, edx
jle 0x1000b9f4
movsx ax, byte [ebp + ecx - 0x120]
mov word [ebx + ecx*2], ax
inc ecx
cmp ecx, edx
jl 0x1000b9e2
xor eax, eax
mov word [ebx + edx*2], ax
lea edi, [eax + 1]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret