Function at 0x1002aee0
Capabilities:
Get volume information via ioctl

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10123d08
push 0x100e3724
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x10144008]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x94], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x90], eax
mov ecx, 0x1014814b
call fcn.100e5245
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x24], 0
push 0x60
push 0
lea eax, [ebp - 0x8c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xorps xmm0, xmm0
movq qword [ebp - 0x2c], xmm0
xor esi, esi
xor eax, eax
mov dword [ebp - 0xa0], eax
xor edi, edi
mov dword [ebp - 0x98], edi
mov dword [ebp - 4], eax
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
call ebx
mov ecx, dword [ebp - 0x94]
call fcn.1002a070
test eax, eax
jne 0x1002b11f
mov ecx, dword [ebp - 0x9c]
call fcn.1002a150
test eax, eax
jne 0x1002b11f
push 4
push dword [ebp - 0x90]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002b11f
push 4
push dword [ebp - 0x90]
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x1002b11f
mov eax, dword [ebp - 0x90]
mov dword [eax], edi
mov eax, dword [ebp - 0x94]
cmp dword [eax + 0x40], 1
je 0x1002afec
push 0x32
jmp 0x1002b121
push 0
lea ecx, [ebp - 0x24]
push ecx
push 0x60
lea ecx, [ebp - 0x8c]
push ecx
push 0
push 0
push 0x90064
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1002b123
mov eax, dword [ebp - 0x5c]
add eax, 0xf
mov dword [ebp - 0xa8], eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
mov dword [ebp - 0xac], ecx
test ecx, ecx
jne 0x1002b043
push 0xe
jmp 0x1002b121
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x28], eax
push 0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0xa8]
push ecx
push 8
lea eax, [ebp - 0x2c]
push eax
push 0x90068
mov eax, dword [ebp - 0x94]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1002b123
mov eax, dword [ebp - 0xac]
add eax, 0xc
movzx ecx, word [eax + 0x14]
add ecx, eax
mov dword [ebp - 0xb0], ecx
mov edx, dword [eax + 0x18]
add edx, eax
nop dword [eax]
cmp ecx, edx
jae 0x1002b0c8
cmp dword [ecx], 0x80
jne 0x1002b0bd
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0xa0], eax
movzx esi, word [ecx + 0x14]
add esi, ecx
jmp 0x1002b0ca
add ecx, dword [ecx + 4]
mov dword [ebp - 0xb0], ecx
jmp 0x1002b0a0
xor eax, eax
test esi, esi
je 0x1002b123
test eax, eax
je 0x1002b123
add eax, 4
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x98], edi
test edi, edi
je 0x1002b03c
mov eax, dword [ebp - 0xa0]
mov dword [edi], eax
push eax
push esi
lea eax, [edi + 4]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x90]
mov dword [eax], edi
mov dword [ebp - 0xa4], 1
jmp 0x1002b123
push 0x57
call ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.1002b15b
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.100e2b24
mov esp, ebp
pop ebp
ret 4