Function at 0x140184e30
Capabilities:
Get storage device properties
Get volume information via ioctl

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x148]
sub rsp, 0x230
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140415a10]
xor rax, rsp
mov qword [rbp + 0x120], rax
mov r15d, r8d
movzx r14d, cx
xor ebx, ebx
movsd xmm0, qword [0x140345f80]
movsd qword [rbp + 0x10], xmm0
mov eax, dword [0x140345f88]
mov dword [rbp + 0x18], eax
movzx eax, word [0x140345f8c]
mov word [rbp + 0x1c], ax
mov word [rbp + 0x18], cx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x40100000
lea r8d, [rbx + 3]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140184edc
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x100081
lea r8d, [r9 + 3]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140184f2a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, [rbp + 0x10]
lea rcx, str.Failed_to_open_handle_to_volume__s__error__d__r_n
call fcn.1402b9694
jmp 0x140185112
mov dword [rbp - 0x80], ebx
xor edx, edx
lea r8d, [rdx + 0x5c]
lea rcx, [rbp - 0x7c]
call fcn.1402bfa30
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x100
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x560000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140184f83
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS_failed_on_drive__c__error__d__r_n
jmp 0x140184ff3
mov edx, dword [rsp + 0x60]
cmp edx, 0x20
jae 0x140184f9a
lea rcx, str.IOCTL_VOLUME_GET_VOLUME_DISK_EXTENTS_returned__d_bytes_r_n
call fcn.1402b9694
jmp 0x140184fff
cmp dword [rbp + 0x20], 1
je 0x140184fae
lea rcx, str.Striped_or_spanned_volumes_are_not__yet__supported__r_n
call fcn.1402b9694
jmp 0x140184fff
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x60
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x90064
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14018500d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.FSCTL_GET_NTFS_VOLUME_DATA_failed_on_drive__c__error__d__r_n
mov r8d, eax
movzx edx, r14w
call fcn.1402b9694
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140185112
mov qword [rbp - 0x20], 1
mov dword [rbp - 0x10], ebx
xor eax, eax
mov qword [rbp - 0xc], rax
mov qword [rbp - 4], rax
mov qword [rbp + 4], rax
mov dword [rbp + 0xc], eax
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 0xc
lea r8, [rbp - 0x20]
mov edx, 0x2d1400
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140185093
mov edi, dword [rbp - 8]
mov r8d, edi
shr r8d, 0xa
lea rdx, [rbp + 0x10]
lea rcx, str._ws_MaximumTransferLength:__uKB_r_n
call fcn.1402b7a88
cmp edi, 0x8000
jb 0x140185093
mov eax, 0x20000
cmp edi, eax
cmova edi, eax
jmp 0x140185098
mov edi, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.1400fe750
mov rsi, rax
mov ecx, 0x770
call fcn.1402b6dbc
mov r10, rax
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140185112
mov r8d, dword [rbp - 0x54]
mov ecx, r8d
imul rcx, qword [rbp - 0x40]
mov dword [rsp + 0x58], r15d
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x40], rcx
mov rcx, qword [rbp + 0x30]
mov qword [rsp + 0x38], rcx
mov eax, dword [rbp - 0x4c]
mov dword [rsp + 0x30], eax
mov eax, dword [rbp - 0x50]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r8d
mov r9d, dword [rbp - 0x58]
mov r8d, dword [rbp + 0x28]
movzx edx, r14w
mov rcx, r10
call fcn.140184560
mov rbx, rax
mov rax, rbx
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1402b6d40
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret