Function at 0x1400bf154
Capabilities:
Get disk size
Unmount volume via ioctl

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
xor esi, esi
mov rbx, r9
mov dword [rbp + 0x48], esi
mov r12b, r8b
mov qword [rbp - 0x20], rsi
mov r15, rdx
mov r14, rcx
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
mov dil, 4
cmp rcx, rax
je 0x1400bf1cd
test byte [rcx + 0x1c], dil
je 0x1400bf1cd
cmp byte [rcx + 0x19], dil
jb 0x1400bf1cd
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015c278]
mov edx, 0x1b6
call fcn.140004b70
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
mov qword [rbp - 0x10], rbx
mov r13b, sil
mov byte [rbp - 8], sil
cmp rcx, rax
je 0x1400bf206
test byte [rcx + 0x1c], dil
je 0x1400bf206
cmp byte [rcx + 0x19], 5
jb 0x1400bf206
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015c278]
mov edx, 0x1b7
mov qword [rsp + 0x20], r15
mov r9, r14
call fcn.140005d24
mov rax, qword [rbp + 0x50]
mov qword [rax], rsi
mov rsi, qword [rbp + 0x58]
and dword [rsi], 0
cmp rbx, 0xffffffffffffffff
je 0x1400bf293
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
nop dword [rax + rax]
test eax, eax
jne 0x1400bf28c
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsi], eax
mov ebx, 0x13
mov rcx, qword [0x14017a048]
lea r9, [0x14017a048]
cmp rcx, r9
je 0x1400bf9f8
test byte [rcx + 0x1c], dil
je 0x1400bf9f8
cmp byte [rcx + 0x19], 2
jb 0x1400bf9f8
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015c278]
mov edx, 0x1b8
mov dword [rsp + 0x20], eax
mov r9d, ebx
call fcn.1400b2cdc
jmp 0x1400bf9f8
mov r13b, 1
mov byte [rbp - 8], r13b
mov r8, rsi
lea rdx, [rbp - 0x20]
mov rcx, r15
call fcn.1400bf034
mov ebx, eax
test eax, eax
je 0x1400bf2e0
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x1400bf9f8
test byte [rcx + 0x1c], dil
je 0x1400bf9f8
cmp byte [rcx + 0x19], 2
jb 0x1400bf9f8
mov edx, 0x1b9
mov r9, r15
jmp 0x1400bf9a5
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x1400bf318
test byte [rcx + 0x1c], dil
je 0x1400bf318
cmp byte [rcx + 0x19], dil
jb 0x1400bf318
mov r9, qword [rbp - 0x20]
lea r8, [0x14015c278]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1ba
call fcn.140010438
test r13b, r13b
je 0x1400bf32a
lea rcx, [rbp - 0x10]
call fcn.1400b3530
mov r13b, byte [rbp - 8]
mov ebx, 0x218
xor ecx, ecx
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
nop dword [rax + rax]
mov rdi, rax
test rax, rax
jne 0x1400bf35d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsi], eax
lea ebx, [rdi + 3]
jmp 0x1400bf9f8
mov r8, rbx
xor edx, edx
mov rcx, rdi
call sub.msvcrt.dll_memset
movups xmm0, xmmword [0x14015c288]
mov byte [rdi + 0x19], r12b
mov r8, rsi
lea r12, [rdi + 0x1f8]
mov rcx, r14
mov rdx, r12
movdqu xmmword [rdi], xmm0
call fcn.1400b4220
mov ebx, eax
test eax, eax
je 0x1400bf3e6
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x1400bf9f8
test byte [rcx + 0x1c], 4
je 0x1400bf9f8
cmp byte [rcx + 0x19], 2
jb 0x1400bf9f8
mov eax, dword [rsi]
lea r8, [0x14015c278]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1bb
mov dword [rsp + 0x28], eax
mov r9, r14
mov dword [rsp + 0x20], ebx
call fcn.140010964
jmp 0x1400bf9f8
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x1400bf425
test byte [rcx + 0x1c], 4
je 0x1400bf425
cmp byte [rcx + 0x19], 4
jb 0x1400bf425
mov eax, dword [r12]
lea r8, [0x14015c278]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1bc
mov r9, r14
mov dword [rsp + 0x20], eax
call fcn.140005ca0
and qword [rsp + 0x30], 0
mov ebx, 3
mov r8d, ebx
mov dword [rsp + 0x28], 0x40000080
xor r9d, r9d
mov dword [rsp + 0x20], ebx
mov edx, 0xc0000000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov qword [rdi + 0x10], rax
cmp rax, 0xffffffffffffffff
jne 0x1400bf4b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, rdi
mov dword [rsi], eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
mov ebx, 0xd
cmp rcx, rax
je 0x1400bf9f8
test byte [rcx + 0x1c], 4
je 0x1400bf9f8
cmp byte [rcx + 0x19], 2
jb 0x1400bf9f8
mov edx, 0x1bd
jmp 0x1400bf9a2
mov rcx, qword [0x14017a048]
lea rdx, [0x14017a048]
mov r10, rax
mov r12b, 4
cmp rcx, rdx
je 0x1400bf4fd
test byte [rcx + 0x1c], r12b
je 0x1400bf4fd
cmp byte [rcx + 0x19], r12b
jb 0x1400bf4fd
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015c278]
mov edx, 0x1be
mov qword [rsp + 0x20], rax
mov r9, r14
call fcn.1400107a0
mov r10, qword [rdi + 0x10]
and qword [rsp + 0x38], 0
lea rax, [rbp + 0x48]
mov qword [rsp + 0x30], rax
xor r9d, r9d
lea rax, [rbp - 0x18]
mov dword [rsp + 0x28], 8
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov edx, 0x7405c
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x1400bf5a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [rdi + 0x10]
mov dword [rsi], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
mov ebx, 0xd
cmp rcx, rax
je 0x1400bf9f8
test byte [rcx + 0x1c], r12b
je 0x1400bf9f8
cmp byte [rcx + 0x19], 2
jb 0x1400bf9f8
mov edx, 0x1bf
jmp 0x1400bf9a2
mov rax, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x20]
cmp rax, rdx
jge 0x1400bf612
mov rcx, qword [0x14017a048]
lea r9, [0x14017a048]
cmp rcx, r9
je 0x1400bf5e9
test byte [rcx + 0x1c], r12b
je 0x1400bf5e9
cmp byte [rcx + 0x19], 2
jb 0x1400bf5e9
mov rcx, qword [rcx + 0x10]
mov r9, r14
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rax
call fcn.1400b2fb8
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov ebx, 0xe
jmp 0x1400bf9f8
mov rcx, qword [rdi + 0x10]
lea rax, [rbp + 0x48]
xor r15d, r15d
xor r9d, r9d
mov qword [rsp + 0x38], r15
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov edx, 0x90018
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x1400bf699
mov rax, qword [0x14017a048]
lea rcx, [0x14017a048]
cmp rax, rcx
je 0x1400bf699
test byte [rax + 0x1c], r12b
je 0x1400bf699
cmp byte [rax + 0x19], bl
jb 0x1400bf699
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
lea r8, [0x14015c278]
mov edx, 0x1c1
mov dword [rsp + 0x20], eax
mov r9, r14
mov rcx, qword [rcx + 0x10]
call fcn.140005ca0
mov qword [rsp + 0x38], r15
lea rax, [rbp + 0x48]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rbp + 0x48], r15d
xor r8d, r8d
mov rcx, qword [rdi + 0x10]
mov edx, 0x90020
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x1400bf73b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [rdi + 0x10]
mov dword [rsi], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
mov ebx, 0xd
cmp rcx, rax
je 0x1400bf9f8
test byte [rcx + 0x1c], r12b
je 0x1400bf9f8
cmp byte [rcx + 0x19], 2
jb 0x1400bf9f8
mov edx, 0x1c2
jmp 0x1400bf9a2
mov rcx, qword [rdi + 0x10]
mov r8, rsi
xor edx, edx
call fcn.1400beac0
mov rcx, qword [rdi + 0x10]
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test r15d, r15d
je 0x1400bf7bd
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x1400bf9f5
test byte [rcx + 0x1c], r12b
je 0x1400bf9f5
cmp byte [rcx + 0x19], 2
jb 0x1400bf9f5
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015c278]
mov edx, 0x1c3
mov dword [rsp + 0x20], r15d
mov r9, r14
call fcn.140005ca0
jmp 0x1400bf9f5
xor r15d, r15d
xor r9d, r9d
mov qword [rsp + 0x30], r15
mov r8d, ebx
mov dword [rsp + 0x28], 0x40000080
mov edx, 0xc0000000
mov rcx, r14
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov qword [rdi + 0x10], rax
cmp rax, 0xffffffffffffffff
jne 0x1400bf84b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, rdi
mov dword [rsi], eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
lea ebx, [r15 + 0xd]
cmp rcx, rax
je 0x1400bf9f8
test byte [rcx + 0x1c], r12b
je 0x1400bf9f8
cmp byte [rcx + 0x19], 2
jb 0x1400bf9f8
mov edx, 0x1c4
jmp 0x1400bf9a2
mov rcx, qword [0x14017a048]
lea rdx, [0x14017a048]
mov r10, rax
cmp rcx, rdx
je 0x1400bf88e
test byte [rcx + 0x1c], r12b
je 0x1400bf88e
cmp byte [rcx + 0x19], r12b
jb 0x1400bf88e
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015c278]
mov edx, 0x1c5
mov qword [rsp + 0x20], rax
mov r9, r14
call fcn.1400107a0
mov r10, qword [rdi + 0x10]
mov qword [rsp + 0x38], r15
lea rax, [rbp + 0x48]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], r15d
xor r8d, r8d
mov edx, 0x90018
mov qword [rsp + 0x20], r15
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x1400bf911
mov rax, qword [0x14017a048]
lea rcx, [0x14017a048]
cmp rax, rcx
je 0x1400bf911
test byte [rax + 0x1c], r12b
je 0x1400bf911
cmp byte [rax + 0x19], bl
jb 0x1400bf911
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
lea r8, [0x14015c278]
mov edx, 0x1c6
mov dword [rsp + 0x20], eax
mov r9, r14
mov rcx, qword [rcx + 0x10]
call fcn.140005ca0
mov qword [rsp + 0x38], r15
lea rax, [rbp + 0x48]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rbp + 0x48], r15d
xor r8d, r8d
mov rcx, qword [rdi + 0x10]
mov edx, 0x90020
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x1400bf9ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [rdi + 0x10]
mov dword [rsi], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
mov ebx, 0xd
cmp rcx, rax
je 0x1400bf9f8
test byte [rcx + 0x1c], r12b
je 0x1400bf9f8
cmp byte [rcx + 0x19], 2
jb 0x1400bf9f8
mov edx, 0x1c7
mov r9, r14
mov eax, dword [rsi]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
call fcn.1400b2f18
jmp 0x1400bf9f8
mov rax, qword [rbp + 0x50]
mov qword [rax], rdi
mov rcx, qword [0x14017a048]
lea rax, [0x14017a048]
cmp rcx, rax
je 0x1400bf9f5
test byte [rcx + 0x1c], r12b
je 0x1400bf9f5
cmp byte [rcx + 0x19], r12b
jb 0x1400bf9f5
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015c278]
mov edx, 0x1c8
call fcn.140004b70
mov ebx, r15d
test r13b, r13b
je 0x1400bfa06
lea rcx, [rbp - 0x10]
call fcn.1400b3530
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret