Function at 0x1400bcb8c
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 [0x1401782b0]
lea rsi, [0x1401782b0]
mov r13b, 4
cmp rcx, rsi
je 0x1400bcbf8
test byte [rcx + 0x1c], r13b
je 0x1400bcbf8
cmp byte [rcx + 0x19], r13b
jb 0x1400bcbf8
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c88]
mov edx, 0x1b6
call fcn.140004c6c
mov rcx, qword [0x1401782b0]
mov qword [rbp - 0x10], r15
mov dil, bl
mov byte [rbp - 8], bl
cmp rcx, rsi
je 0x1400bcc30
test byte [rcx + 0x1c], r13b
je 0x1400bcc30
cmp byte [rcx + 0x19], 5
jb 0x1400bcc30
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c88]
mov edx, 0x1b7
mov qword [rsp + 0x20], r12
mov r9, r14
call fcn.140005d7c
mov rax, qword [rbp + 0x60]
mov rsi, qword [rbp + 0x68]
mov qword [rax], rbx
mov dword [rsi], ebx
cmp r15, 0xffffffffffffffff
je 0x1400bccb0
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x1400bcca9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
mov rcx, qword [0x1401782b0]
lea rdx, [0x1401782b0]
mov ebx, 0x13
cmp rcx, rdx
je 0x1400bd370
test byte [rcx + 0x1c], r13b
je 0x1400bd370
cmp byte [rcx + 0x19], 2
jb 0x1400bd370
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c88]
mov edx, 0x1b8
mov dword [rsp + 0x20], eax
mov r9d, ebx
call fcn.1400b0eb8
jmp 0x1400bd370
mov dil, 1
mov byte [rbp - 8], dil
mov r8, rsi
lea rdx, [rbp - 0x20]
mov rcx, r12
call fcn.1400bca74
mov ebx, eax
test eax, eax
je 0x1400bccfd
mov rcx, qword [0x1401782b0]
lea rdx, [0x1401782b0]
cmp rcx, rdx
je 0x1400bd370
test byte [rcx + 0x1c], r13b
je 0x1400bd370
cmp byte [rcx + 0x19], 2
jb 0x1400bd370
mov edx, 0x1b9
mov r9, r12
jmp 0x1400bd324
mov rcx, qword [0x1401782b0]
lea rdx, [0x1401782b0]
mov r13, qword [rbp - 0x20]
cmp rcx, rdx
je 0x1400bcd38
test byte [rcx + 0x1c], 4
je 0x1400bcd38
cmp byte [rcx + 0x19], 4
jb 0x1400bcd38
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c88]
mov edx, 0x1ba
mov r9, r13
call fcn.140010678
test dil, dil
je 0x1400bcd90
cmp r15, 0xffffffffffffffff
jne 0x1400bcd5a
lea r8, str._hImpersonationToken___INVALID_HANDLE_VALUE
lea edx, [r15 + 0x5b]
lea rcx, str.base_stor_blb_blbimg_blbimg.cxx
call fcn.14008624c
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
test eax, eax
jne 0x1400bcd8c
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x1400bcd8c
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 0x1400bcdb7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
lea ebx, [rdi + 3]
jmp 0x1400bd370
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
movups xmm0, xmmword [0x140158c78]
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.1400b23dc
mov ebx, eax
test eax, eax
je 0x1400bce42
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x1400bd370
test byte [rcx + 0x1c], 4
je 0x1400bd370
cmp byte [rcx + 0x19], 2
jb 0x1400bd370
mov eax, dword [rsi]
lea r8, [0x140158c88]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1bb
mov dword [rsp + 0x28], eax
mov r9, r14
mov dword [rsp + 0x20], ebx
call fcn.140010c10
jmp 0x1400bd370
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x1400bce80
test byte [rcx + 0x1c], 4
je 0x1400bce80
cmp byte [rcx + 0x19], 4
jb 0x1400bce80
mov eax, dword [r15]
lea r8, [0x140158c88]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1bc
mov r9, r14
mov dword [rsp + 0x20], eax
call fcn.140005ce8
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 0x1400bcf00
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov dword [rsi], eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
mov ebx, 0xd
cmp rcx, rax
je 0x1400bd370
test byte [rcx + 0x1c], 4
je 0x1400bd370
cmp byte [rcx + 0x19], 2
jb 0x1400bd370
mov edx, 0x1bd
jmp 0x1400bd321
mov rcx, qword [0x1401782b0]
lea r15, [0x1401782b0]
cmp rcx, r15
je 0x1400bcf3c
test byte [rcx + 0x1c], 4
je 0x1400bcf3c
cmp byte [rcx + 0x19], 4
jb 0x1400bcf3c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c88]
mov edx, 0x1be
mov qword [rsp + 0x20], rax
mov r9, r14
call fcn.140010a18
and qword [rsp + 0x38], 0
lea rax, [rbp + 0x58]
mov rcx, qword [rdi + 0x10]
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
lea rax, [rbp - 0x18]
mov dword [rsp + 0x28], 8
mov edx, 0x7405c
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400bcfc3
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 [0x1401782b0]
mov ebx, 0xd
cmp rcx, r15
je 0x1400bd370
test byte [rcx + 0x1c], 4
je 0x1400bd370
cmp byte [rcx + 0x19], 2
jb 0x1400bd370
mov edx, 0x1bf
jmp 0x1400bd321
mov rax, qword [rbp - 0x18]
cmp rax, r13
jge 0x1400bd01c
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x1400bcfff
test byte [rcx + 0x1c], 4
je 0x1400bcfff
cmp byte [rcx + 0x19], 2
jb 0x1400bcfff
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.1400b1190
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 0x1400bd370
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 0x1400bd095
mov rax, qword [0x1401782b0]
mov r12b, 4
cmp rax, r15
je 0x1400bd098
test byte [rax + 0x1c], r12b
je 0x1400bd098
cmp byte [rax + 0x19], bl
jb 0x1400bd098
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1401782b0]
lea r8, [0x140158c88]
mov edx, 0x1c1
mov dword [rsp + 0x20], eax
mov r9, r14
mov rcx, qword [rcx + 0x10]
call fcn.140005ce8
jmp 0x1400bd098
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 0x1400bd11b
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 [0x1401782b0]
mov ebx, 0xd
cmp rcx, r15
je 0x1400bd370
test byte [rcx + 0x1c], r12b
je 0x1400bd370
cmp byte [rcx + 0x19], 2
jb 0x1400bd370
mov edx, 0x1c2
jmp 0x1400bd321
mov rcx, qword [rdi + 0x10]
mov r8, rsi
xor edx, edx
call fcn.1400bc570
mov rcx, qword [rdi + 0x10]
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r15d, r15d
je 0x1400bd188
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
cmp rcx, rax
je 0x1400bd180
test byte [rcx + 0x1c], r12b
je 0x1400bd180
cmp byte [rcx + 0x19], 2
jb 0x1400bd180
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c88]
mov edx, 0x1c3
mov dword [rsp + 0x20], r15d
mov r9, r14
call fcn.140005ce8
mov ebx, r15d
jmp 0x1400bd370
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 0x1400bd202
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov dword [rsi], eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [0x1401782b0]
lea rax, [0x1401782b0]
mov ebx, 0xd
cmp rcx, rax
je 0x1400bd370
test byte [rcx + 0x1c], r12b
je 0x1400bd370
cmp byte [rcx + 0x19], 2
jb 0x1400bd370
mov edx, 0x1c4
jmp 0x1400bd321
mov rcx, qword [0x1401782b0]
lea r15, [0x1401782b0]
cmp rcx, r15
je 0x1400bd23e
test byte [rcx + 0x1c], r12b
je 0x1400bd23e
cmp byte [rcx + 0x19], r12b
jb 0x1400bd23e
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c88]
mov edx, 0x1c5
mov qword [rsp + 0x20], rax
mov r9, r14
call fcn.140010a18
mov rcx, qword [rdi + 0x10]
lea rax, [rbp + 0x58]
mov qword [rsp + 0x38], r13
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov dword [rsp + 0x28], r13d
mov edx, 0x90018
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400bd2af
mov rax, qword [0x1401782b0]
cmp rax, r15
je 0x1400bd2af
test byte [rax + 0x1c], r12b
je 0x1400bd2af
cmp byte [rax + 0x19], bl
jb 0x1400bd2af
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1401782b0]
lea r8, [0x140158c88]
mov edx, 0x1c6
mov dword [rsp + 0x20], eax
mov r9, r14
mov rcx, qword [rcx + 0x10]
call fcn.140005ce8
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 0x1400bd339
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 [0x1401782b0]
mov ebx, 0xd
cmp rcx, r15
je 0x1400bd370
test byte [rcx + 0x1c], r12b
je 0x1400bd370
cmp byte [rcx + 0x19], 2
jb 0x1400bd370
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.1400b10e4
jmp 0x1400bd370
mov rax, qword [rbp + 0x60]
mov qword [rax], rdi
mov rcx, qword [0x1401782b0]
cmp rcx, r15
je 0x1400bd36d
test byte [rcx + 0x1c], r12b
je 0x1400bd36d
cmp byte [rcx + 0x19], r12b
jb 0x1400bd36d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140158c88]
mov edx, 0x1c8
call fcn.140004c6c
mov ebx, r13d
lea rcx, [rbp - 0x10]
call fcn.1400b1798
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