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

Disassembly:
mov qword [rsp + 8], rbx
mov byte [rsp + 0x18], r8b
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
xor ebx, ebx
mov r15, r9
mov dword [rbp + 0x58], ebx
mov r12, rdx
mov qword [rbp - 0x20], rbx
mov r14, rcx
mov rcx, qword [0x14016f048]
lea rsi, [0x14016f048]
mov r13b, 4
cmp rcx, rsi
je 0x1400b7d00
test byte [rcx + 0x1c], r13b
je 0x1400b7d00
cmp byte [rcx + 0x19], r13b
jb 0x1400b7d00
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x1b6
call fcn.1400049d8
mov rcx, qword [0x14016f048]
mov qword [rbp - 0x10], r15
mov dil, bl
mov byte [rbp - 8], bl
cmp rcx, rsi
je 0x1400b7d38
test byte [rcx + 0x1c], r13b
je 0x1400b7d38
cmp byte [rcx + 0x19], 5
jb 0x1400b7d38
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x1b7
mov qword [rsp + 0x20], r12
mov r9, r14
call fcn.1400059ac
mov rax, qword [rbp + 0x60]
mov rsi, qword [rbp + 0x68]
mov qword [rax], rbx
mov dword [rsi], ebx
cmp r15, 0xffffffffffffffff
je 0x1400b7db8
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x1400b7db1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
mov ebx, 0x13
mov rcx, qword [0x14016f048]
lea rdx, [0x14016f048]
cmp rcx, rdx
je 0x1400b8484
test byte [rcx + 0x1c], r13b
je 0x1400b8484
cmp byte [rcx + 0x19], 2
jb 0x1400b8484
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x1b8
mov dword [rsp + 0x20], eax
mov r9d, ebx
call fcn.1400ac23c
jmp 0x1400b8484
mov dil, 1
mov byte [rbp - 8], dil
mov r8, rsi
lea rdx, [rbp - 0x20]
mov rcx, r12
call fcn.1400b7b84
mov ebx, eax
test eax, eax
je 0x1400b7e05
mov rcx, qword [0x14016f048]
lea rdx, [0x14016f048]
cmp rcx, rdx
je 0x1400b8484
test byte [rcx + 0x1c], r13b
je 0x1400b8484
cmp byte [rcx + 0x19], 2
jb 0x1400b8484
mov edx, 0x1b9
mov r9, r12
jmp 0x1400b8438
mov rcx, qword [0x14016f048]
lea rdx, [0x14016f048]
mov r13, qword [rbp - 0x20]
cmp rcx, rdx
je 0x1400b7e40
test byte [rcx + 0x1c], 4
je 0x1400b7e40
cmp byte [rcx + 0x19], 4
jb 0x1400b7e40
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x1ba
mov r9, r13
call fcn.14000fcd0
test dil, dil
je 0x1400b7e98
cmp r15, 0xffffffffffffffff
jne 0x1400b7e62
lea r8, str._hImpersonationToken___INVALID_HANDLE_VALUE
lea edx, [r15 + 0x5b]
lea rcx, str.base_stor_blb_blbimg_blbimg.cxx
call fcn.140082070
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
test eax, eax
jne 0x1400b7e94
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x1400b7e94
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov byte [rbp - 8], 0
mov ebx, 0x218
xor ecx, ecx
mov edx, ebx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
test rax, rax
jne 0x1400b7ebf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
lea ebx, [rdi + 3]
jmp 0x1400b8484
mov r8, rbx
xor edx, edx
mov rcx, rdi
call sub.msvcrt.dll_memset
movups xmm0, xmmword [0x14014f128]
mov al, byte [rbp + 0x50]
lea r15, [rdi + 0x1f8]
mov r8, rsi
mov byte [rdi + 0x19], al
mov rdx, r15
mov rcx, r14
movdqu xmmword [rdi], xmm0
call fcn.1400ad648
mov ebx, eax
test eax, eax
je 0x1400b7f4a
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400b8484
test byte [rcx + 0x1c], 4
je 0x1400b8484
cmp byte [rcx + 0x19], 2
jb 0x1400b8484
mov eax, dword [rsi]
lea r8, [0x14014f138]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1bb
mov dword [rsp + 0x28], eax
mov r9, r14
mov dword [rsp + 0x20], ebx
call fcn.14001017c
jmp 0x1400b8484
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400b7f88
test byte [rcx + 0x1c], 4
je 0x1400b7f88
cmp byte [rcx + 0x19], 4
jb 0x1400b7f88
mov eax, dword [r15]
lea r8, [0x14014f138]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1bc
mov r9, r14
mov dword [rsp + 0x20], eax
call fcn.140005938
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]
mov qword [rdi + 0x10], rax
cmp rax, 0xffffffffffffffff
jne 0x1400b8008
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov dword [rsi], eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
mov ebx, 0xd
cmp rcx, rax
je 0x1400b8484
test byte [rcx + 0x1c], 4
je 0x1400b8484
cmp byte [rcx + 0x19], 2
jb 0x1400b8484
mov edx, 0x1bd
jmp 0x1400b8435
mov rcx, qword [0x14016f048]
lea r15, [0x14016f048]
mov r10, rax
cmp rcx, r15
je 0x1400b804b
test byte [rcx + 0x1c], 4
je 0x1400b804b
cmp byte [rcx + 0x19], 4
jb 0x1400b804b
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x1be
mov qword [rsp + 0x20], rax
mov r9, r14
call fcn.14000ffe4
mov r10, qword [rdi + 0x10]
and qword [rsp + 0x38], 0
lea rax, [rbp + 0x58]
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]
test eax, eax
jne 0x1400b80d1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rdi + 0x10]
mov dword [rsi], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [0x14016f048]
mov ebx, 0xd
cmp rcx, r15
je 0x1400b8484
test byte [rcx + 0x1c], 4
je 0x1400b8484
cmp byte [rcx + 0x19], 2
jb 0x1400b8484
mov edx, 0x1bf
jmp 0x1400b8435
mov rax, qword [rbp - 0x18]
cmp rax, r13
jge 0x1400b812a
mov rcx, qword [0x14016f048]
cmp rcx, r15
je 0x1400b810d
test byte [rcx + 0x1c], 4
je 0x1400b810d
cmp byte [rcx + 0x19], 2
jb 0x1400b810d
mov rcx, qword [rcx + 0x10]
mov r9, r14
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call fcn.1400ac4c8
mov rcx, qword [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ebx, 0xe
jmp 0x1400b8484
mov rcx, qword [rdi + 0x10]
lea rax, [rbp + 0x58]
xor r13d, r13d
xor r9d, r9d
mov qword [rsp + 0x38], r13
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov edx, 0x90018
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400b81a3
mov rax, qword [0x14016f048]
mov r12b, 4
cmp rax, r15
je 0x1400b81a6
test byte [rax + 0x1c], r12b
je 0x1400b81a6
cmp byte [rax + 0x19], bl
jb 0x1400b81a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x14016f048]
lea r8, [0x14014f138]
mov edx, 0x1c1
mov dword [rsp + 0x20], eax
mov r9, r14
mov rcx, qword [rcx + 0x10]
call fcn.140005938
jmp 0x1400b81a6
mov r12b, 4
mov qword [rsp + 0x38], r13
lea rax, [rbp + 0x58]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rbp + 0x58], r13d
xor r8d, r8d
mov rcx, qword [rdi + 0x10]
mov edx, 0x90020
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400b8229
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rdi + 0x10]
mov dword [rsi], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [0x14016f048]
mov ebx, 0xd
cmp rcx, r15
je 0x1400b8484
test byte [rcx + 0x1c], r12b
je 0x1400b8484
cmp byte [rcx + 0x19], 2
jb 0x1400b8484
mov edx, 0x1c2
jmp 0x1400b8435
mov rcx, qword [rdi + 0x10]
mov r8, rsi
xor edx, edx
call fcn.1400b7690
mov rcx, qword [rdi + 0x10]
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r15d, r15d
je 0x1400b8296
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
cmp rcx, rax
je 0x1400b828e
test byte [rcx + 0x1c], r12b
je 0x1400b828e
cmp byte [rcx + 0x19], 2
jb 0x1400b828e
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x1c3
mov dword [rsp + 0x20], r15d
mov r9, r14
call fcn.140005938
mov ebx, r15d
jmp 0x1400b8484
mov qword [rsp + 0x30], r13
xor r9d, r9d
mov dword [rsp + 0x28], 0x40000080
mov r8d, ebx
mov edx, 0xc0000000
mov dword [rsp + 0x20], ebx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rdi + 0x10], rax
cmp rax, 0xffffffffffffffff
jne 0x1400b8310
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov dword [rsi], eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [0x14016f048]
lea rax, [0x14016f048]
mov ebx, 0xd
cmp rcx, rax
je 0x1400b8484
test byte [rcx + 0x1c], r12b
je 0x1400b8484
cmp byte [rcx + 0x19], 2
jb 0x1400b8484
mov edx, 0x1c4
jmp 0x1400b8435
mov rcx, qword [0x14016f048]
lea r15, [0x14016f048]
mov r10, rax
cmp rcx, r15
je 0x1400b8353
test byte [rcx + 0x1c], r12b
je 0x1400b8353
cmp byte [rcx + 0x19], r12b
jb 0x1400b8353
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x1c5
mov qword [rsp + 0x20], rax
mov r9, r14
call fcn.14000ffe4
mov r10, qword [rdi + 0x10]
mov qword [rsp + 0x38], r13
lea rax, [rbp + 0x58]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rsp + 0x28], r13d
xor r8d, r8d
mov edx, 0x90018
mov qword [rsp + 0x20], r13
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400b83c3
mov rax, qword [0x14016f048]
cmp rax, r15
je 0x1400b83c3
test byte [rax + 0x1c], r12b
je 0x1400b83c3
cmp byte [rax + 0x19], bl
jb 0x1400b83c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x14016f048]
lea r8, [0x14014f138]
mov edx, 0x1c6
mov dword [rsp + 0x20], eax
mov r9, r14
mov rcx, qword [rcx + 0x10]
call fcn.140005938
mov qword [rsp + 0x38], r13
lea rax, [rbp + 0x58]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rbp + 0x58], r13d
xor r8d, r8d
mov rcx, qword [rdi + 0x10]
mov edx, 0x90020
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400b844d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rdi + 0x10]
mov dword [rsi], eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [0x14016f048]
mov ebx, 0xd
cmp rcx, r15
je 0x1400b8484
test byte [rcx + 0x1c], r12b
je 0x1400b8484
cmp byte [rcx + 0x19], 2
jb 0x1400b8484
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.1400ac438
jmp 0x1400b8484
mov rax, qword [rbp + 0x60]
mov qword [rax], rdi
mov rcx, qword [0x14016f048]
cmp rcx, r15
je 0x1400b8481
test byte [rcx + 0x1c], r12b
je 0x1400b8481
cmp byte [rcx + 0x19], r12b
jb 0x1400b8481
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014f138]
mov edx, 0x1c8
call fcn.1400049d8
mov ebx, r13d
lea rcx, [rbp - 0x10]
call fcn.1400aca38
mov eax, ebx
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret