Function at 0x10beaf3
Capabilities:
Get storage device properties

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x10e3200]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x18], 0
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push 0x1040290
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], 1
call fcn.010bce33
and dword [ebp - 0x30], 0
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], eax
cmp ebx, eax
je 0x10beb39
mov dword [ebx], eax
cmp esi, eax
je 0x10bece5
cmp esi, 0xffffffff
je 0x10bece5
cmp ebx, eax
jne 0x10beb83
push 0x57
pop ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bed18
test byte [eax + 0x1c], 8
je 0x10bed18
push 0x1040280
push ecx
push 0x10400e8
push 0x39
jmp 0x10becbe
push 4
pop edi
push edi
push 8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
push esi
mov esi, dword [sym.imp.ntdll.dll_NtQueryVolumeInformationFile]
call esi
test eax, eax
jge 0x10bebf8
and dword [ebp - 0x14], 0
mov ecx, eax
call fcn.010bce9d
mov dword [ebp - 0x18], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bed18
test byte [eax + 0x1c], 8
je 0x10bed18
push 0x1040210
push edi
push 8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x20]
call esi
push eax
mov eax, dword [0x10e308c]
push 0x10400e8
push 0x3a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acaf3
jmp 0x10bed18
test byte [ebp - 0x24], 0x10
je 0x10bec10
and dword [ebp - 0x18], 0
mov dword [ebx], edi
mov dword [ebp - 0x14], 1
jmp 0x10bed18
mov eax, dword [ebp - 0x28]
cmp eax, 2
jb 0x10becdf
cmp eax, 3
jbe 0x10becda
cmp eax, 6
jbe 0x10becdf
cmp eax, 8
jbe 0x10bec54
cmp eax, 0x12
je 0x10bec4d
cmp eax, 0x14
je 0x10bec4d
cmp eax, 0x24
jne 0x10becdf
push 6
jmp 0x10becdc
mov eax, edi
jmp 0x10bece1
test byte [ebp - 0x24], 1
je 0x10bec5e
push 2
jmp 0x10becdc
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor esi, esi
push esi
lea eax, [ebp - 0x1c]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push 0x2d1400
push dword [ebp - 0x20]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
call fcn.010be46f
test eax, eax
jne 0x10beccb
mov dword [ebp - 0x14], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov dword [ebp - 0x18], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bed18
test byte [eax + 0x1c], 8
je 0x10bed18
push 0x103ab9c
call esi
push eax
mov eax, dword [0x10e308c]
push 0x10400e8
push 0x3b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acaf3
jmp 0x10bed18
mov ecx, dword [ebp - 0x1c]
xor eax, eax
cmp byte [ecx + 0xa], al
sete al
inc eax
inc eax
jmp 0x10bece1
push 5
pop eax
jmp 0x10bece1
xor eax, eax
mov dword [ebx], eax
jmp 0x10bed18
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x57
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10bed18
test byte [eax + 0x1c], 8
je 0x10bed18
push 0x103d288
push 0x10400e8
push 0x38
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010af4af
push dword [ebp - 0x1c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0x1040290
call fcn.010bce68
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010987b7
leave
ret 8