Function at 0x10bedbf
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 0x10403b8
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x14], 1
call fcn.010bd0c6
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 0x10bee05
mov dword [ebx], eax
cmp esi, eax
je 0x10befb1
cmp esi, 0xffffffff
je 0x10befb1
cmp ebx, eax
jne 0x10bee4f
push 0x57
pop ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10befe4
test byte [eax + 0x1c], 8
je 0x10befe4
push 0x10403a8
push ecx
push 0x1040210
push 0x39
jmp 0x10bef8a
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 0x10beec4
and dword [ebp - 0x14], 0
mov ecx, eax
call fcn.010bd130
mov dword [ebp - 0x18], eax
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10befe4
test byte [eax + 0x1c], 8
je 0x10befe4
push 0x1040338
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 0x1040210
push 0x3a
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acf68
jmp 0x10befe4
test byte [ebp - 0x24], 0x10
je 0x10beedc
and dword [ebp - 0x18], 0
mov dword [ebx], edi
mov dword [ebp - 0x14], 1
jmp 0x10befe4
mov eax, dword [ebp - 0x28]
cmp eax, 2
jb 0x10befab
cmp eax, 3
jbe 0x10befa6
cmp eax, 6
jbe 0x10befab
cmp eax, 8
jbe 0x10bef20
cmp eax, 0x12
je 0x10bef19
cmp eax, 0x14
je 0x10bef19
cmp eax, 0x24
jne 0x10befab
push 6
jmp 0x10befa8
mov eax, edi
jmp 0x10befad
test byte [ebp - 0x24], 1
je 0x10bef2a
push 2
jmp 0x10befa8
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.010be73b
test eax, eax
jne 0x10bef97
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 0x10befe4
test byte [eax + 0x1c], 8
je 0x10befe4
push 0x103acc4
call esi
push eax
mov eax, dword [0x10e308c]
push 0x1040210
push 0x3b
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010acf68
jmp 0x10befe4
mov ecx, dword [ebp - 0x1c]
xor eax, eax
cmp byte [ecx + 0xa], al
sete al
inc eax
inc eax
jmp 0x10befad
push 5
pop eax
jmp 0x10befad
xor eax, eax
mov dword [ebx], eax
jmp 0x10befe4
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0x57
mov eax, dword [0x10e308c]
cmp eax, 0x10e308c
je 0x10befe4
test byte [eax + 0x1c], 8
je 0x10befe4
push 0x103d3b0
push 0x1040210
push 0x38
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010af793
push dword [ebp - 0x1c]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push 0x10403b8
call fcn.010bd0fb
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.010989ab
leave
ret 8