Function at 0x1401149f8
Capabilities:
Get volume information via ioctl

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x138]
sub rsp, 0x200
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14045cbf0]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rdi, rdx
mov qword [rsp + 0x60], rdx
mov r13, rcx
xor esi, esi
mov r12d, esi
cmp qword [rdx], rsi
jne 0x140114a4f
lea r12d, [rsi + 0x57]
jmp 0x14011507e
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, qword [rdi]
mov qword [rbp - 0x50], rcx
mov rax, qword [rdi + 8]
mov qword [rbp - 0x48], rax
test rax, rax
je 0x140114a75
lock inc dword [rax + 8]
mov rax, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov qword [r13 + 0xb0], rcx
mov rbx, qword [r13 + 0xb8]
mov qword [r13 + 0xb8], rax
test rbx, rbx
je 0x140114aad
lock dec dword [rbx + 8]
jne 0x140114aad
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lock dec dword [rbx + 0xc]
jne 0x140114aad
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rax, qword [rdi]
mov cl, byte [rax + 0x18]
mov byte [r13 + 0x5c], cl
mov rax, qword [rdi]
mov rax, qword [rax + 0x10]
mov qword [r13 + 0xe0], rax
mov rax, qword [rdi]
mov rcx, qword [rax]
call fcn.140111538
test al, al
je 0x140114adf
mov r12d, 0x32
jmp 0x14011507e
mov rdx, qword [rdi]
lea rcx, [rsp + 0x68]
call fcn.14000c4d8
nop
lea r8, [0x140330de8]
lea rdx, [0x140352420]
lea rcx, [rsp + 0x68]
call fcn.14000b658
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
mov r8, qword [rsp + 0x68]
lea rdx, str.._s
lea rcx, [rsp + 0x70]
call fcn.14000d9c8
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], rsi
mov dword [rsp + 0x28], 0x20000000
mov r9d, 3
mov dword [rsp + 0x20], r9d
mov r8d, 0xc0000000
mov rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x78]
call fcn.14007db5c
test eax, eax
jns 0x140114b7a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov r14, qword [rbp - 0x78]
jmp 0x14011502e
mov qword [rsp + 0x38], rsi
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x60
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x90064
mov r14, qword [rbp - 0x78]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140114bd7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov esi, 0x57
cmp eax, esi
jne 0x14011502e
mov r12d, 0x3ed
jmp 0x14011502e
mov r15d, dword [rbp + 0x40]
add r15d, 0xf
mov dword [rsp + 0x58], r15d
mov ecx, r15d
call fcn.1400b9290
mov rbx, rax
mov qword [rbp - 0x68], rax
mov ecx, dword [rbp + 0x40]
mov rax, qword [rbp + 0x48]
cqo
idiv rcx
dec rax
mov qword [rsp + 0x40], rax
mov esi, 0x57
xor edi, edi
mov qword [rbx], rdi
mov qword [rsp + 0x38], rdi
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rbx
mov r9d, 8
lea r8, [rsp + 0x40]
mov edx, 0x90068
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140114c9f
mov rax, qword [rsp + 0x40]
cmp rax, qword [rbx]
jne 0x140114c9f
dec rax
mov qword [rsp + 0x40], rax
cmp rax, 0x10
cmovl r12d, esi
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x30]
mov r11, qword [r13]
mov rcx, r13
call qword [r11 + 0x10]
test al, al
jne 0x140114c90
mov rcx, qword [r13 + 0xe0]
test rcx, rcx
je 0x140114c96
mov rax, qword [rcx]
call qword [rax + 0x30]
test al, al
jne 0x140114c96
mov r12d, 0x4c7
test r12d, r12d
je 0x140114c0e
xor esi, esi
test r12d, r12d
mov rdi, qword [rsp + 0x60]
jne 0x140115025
mov rax, qword [rdi]
mov rdx, qword [rax]
lea rcx, [rbp + 0x70]
call fcn.14010e8bc
nop
mov r15d, esi
mov rsi, qword [rsp + 0x40]
xor edx, edx
mov qword [rsp + 0x78], rdx
lea rcx, [rbp - 0x38]
call fcn.14011521c
nop
xor eax, eax
mov qword [rsp + 0x60], rax
mov rcx, qword [r13 + 0xe0]
test rcx, rcx
je 0x140114cf9
mov rax, qword [rcx]
xor edx, edx
lea r8d, [r15 + 0x64]
call qword [rax + 0x28]
xor eax, eax
mov byte [rsp + 0x48], 1
mov rdi, qword [rsp + 0x78]
test r12d, r12d
jne 0x140114f40
mov qword [rbx], rax
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x70]
call fcn.14010e97c
mov r12d, eax
xor r8d, r8d
test eax, eax
jne 0x140114f0d
inc r15
cmp qword [rbp - 0x28], r8
jne 0x140114d40
mov eax, 0xc0000002
jmp 0x140114d69
mov dword [rsp + 0x28], 6
mov dword [rsp + 0x20], 8
lea r9, [rbp - 0x80]
lea r8, [rbp - 8]
mov rdx, qword [rsp + 0x50]
lea rcx, [rbp - 0x38]
call fcn.14011511c
xor r8d, r8d
mov ecx, eax
mov edx, 0xc0000000
and ecx, edx
cmp ecx, edx
jne 0x140114d91
mov rdx, qword [rbp - 0x10]
test rdx, rdx
jne 0x140114d88
or r12d, 0xffffffff
jmp 0x140114f0d
mov ecx, eax
call rdx
jmp 0x140114e9a
movabs rcx, 0xffffffffffff
mov rax, qword [rbp - 0x80]
and rax, rcx
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x40], rax
test rdi, rdi
jne 0x140114dc1
mov rdi, rax
mov rcx, rsi
sub rcx, rax
add rcx, rcx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x38], r8
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 8
lea r8, [rsp + 0x40]
mov edx, 0x90068
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor r10d, r10d
test eax, eax
je 0x140114e94
movzx ecx, word [rbx + 0x20]
or r8d, 0xffffffff
jmp 0x140114e0e
add ecx, dword [rdx + 4]
lea rdx, [rcx + rbx + 0xc]
cmp dword [rdx], r8d
jne 0x140114e0b
mov r9d, dword [rbx + 8]
sub r9d, ecx
sub r9d, 8
mov r8d, r9d
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x30], r10
mov qword [rsp + 0x28], r10
mov byte [rsp + 0x20], r10b
mov rdx, qword [rsp + 0x50]
mov rcx, r13
call fcn.140112b18
mov r12d, eax
xor r8d, r8d
test eax, eax
jne 0x140114f0d
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], r8
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
lea r9d, [r12 + 8]
lea r8, [rsp + 0x40]
mov edx, 0x90068
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor edx, edx
test eax, eax
jne 0x140114e9f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
jmp 0x140114f0d
mov ecx, dword [rsp + 0x48]
movzx ecx, cl
mov rax, qword [rbx]
cmp qword [rsp + 0x40], rax
cmove ecx, edx
mov dword [rsp + 0x48], ecx
mov rax, qword [r13]
mov rcx, r13
call qword [rax + 0x30]
mov r11, qword [r13]
mov rcx, r13
call qword [r11 + 0x10]
test al, al
jne 0x140114ee4
mov rcx, qword [r13 + 0xe0]
test rcx, rcx
je 0x140114f0d
mov rax, qword [rcx]
call qword [rax + 0x30]
test al, al
jne 0x140114eea
mov r12d, 0x4c7
mov rcx, qword [r13 + 0xe0]
test rcx, rcx
je 0x140114f0d
test r12d, r12d
jne 0x140114f0d
mov rax, qword [rcx]
mov rdx, qword [rbp - 0x80]
sub rdx, rdi
mov r8, qword [rsp + 0x60]
call qword [rax + 0x28]
cmp qword [rsp + 0x50], 0xffffffffffffffff
je 0x140114f34
cmp r12d, 0x4c7
je 0x140114f29
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp byte [rsp + 0x48], al
jne 0x140114d03
mov qword [rsp + 0x78], rdi
xor esi, esi
cmp qword [r13 + 0xe0], rsi
je 0x140114ff6
test r12d, r12d
je 0x140114fe6
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x58], rax
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x400
mov r8d, r12d
xor edx, edx
mov ecx, 0x1100
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov r8, qword [rbp - 0x60]
lea rdx, [0x140350d0c]
lea rcx, [rbp - 0x58]
call fcn.14000d9c8
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov r15d, esi
mov rdx, qword [rbp - 0x58]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140114fde
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rbp - 0x68]
mov r14, qword [rbp - 0x78]
lea r9, [r15 + r15]
mov r8, r15
mov rdx, qword [r13 + 0xe0]
jmp 0x140115001
mov r9d, 0x64
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x70]
call fcn.14010e3cc
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14011501b
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rcx, [rbp + 0x70]
call fcn.14010e6ac
nop
mov rcx, rbx
call fcn.1400bee7c
nop
test r14, r14
je 0x14011503d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14011505e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14011507e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r12d
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1400be110
mov rbx, qword [rsp + 0x250]
add rsp, 0x200
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret