Function at 0x1400ba378
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 [0x1401720a0]
lea rsi, [0x1401720a0]
mov r13b, 4
cmp rcx, rsi
je 0x1400ba3e4
test byte [rcx + 0x1c], r13b
je 0x1400ba3e4
cmp byte [rcx + 0x19], r13b
jb 0x1400ba3e4
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0x1b6
call fcn.140004b74
mov rcx, qword [0x1401720a0]
mov qword [rbp - 0x10], r15
mov dil, bl
mov byte [rbp - 8], bl
cmp rcx, rsi
je 0x1400ba41c
test byte [rcx + 0x1c], r13b
je 0x1400ba41c
cmp byte [rcx + 0x19], 5
jb 0x1400ba41c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0x1b7
mov qword [rsp + 0x20], r12
mov r9, r14
call fcn.140005bdc
mov rax, qword [rbp + 0x60]
mov rsi, qword [rbp + 0x68]
mov qword [rax], rbx
mov dword [rsi], ebx
cmp r15, 0xffffffffffffffff
je 0x1400ba49c
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x1400ba495
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
mov rcx, qword [0x1401720a0]
lea rdx, [0x1401720a0]
mov ebx, 0x13
cmp rcx, rdx
je 0x1400bab5c
test byte [rcx + 0x1c], r13b
je 0x1400bab5c
cmp byte [rcx + 0x19], 2
jb 0x1400bab5c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0x1b8
mov dword [rsp + 0x20], eax
mov r9d, ebx
call fcn.1400ae748
jmp 0x1400bab5c
mov dil, 1
mov byte [rbp - 8], dil
mov r8, rsi
lea rdx, [rbp - 0x20]
mov rcx, r12
call fcn.1400ba260
mov ebx, eax
test eax, eax
je 0x1400ba4e9
mov rcx, qword [0x1401720a0]
lea rdx, [0x1401720a0]
cmp rcx, rdx
je 0x1400bab5c
test byte [rcx + 0x1c], r13b
je 0x1400bab5c
cmp byte [rcx + 0x19], 2
jb 0x1400bab5c
mov edx, 0x1b9
mov r9, r12
jmp 0x1400bab10
mov rcx, qword [0x1401720a0]
lea rdx, [0x1401720a0]
mov r13, qword [rbp - 0x20]
cmp rcx, rdx
je 0x1400ba524
test byte [rcx + 0x1c], 4
je 0x1400ba524
cmp byte [rcx + 0x19], 4
jb 0x1400ba524
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0x1ba
mov r9, r13
call fcn.140010244
test dil, dil
je 0x1400ba57c
cmp r15, 0xffffffffffffffff
jne 0x1400ba546
lea r8, str._hImpersonationToken___INVALID_HANDLE_VALUE
lea edx, [r15 + 0x5b]
lea rcx, str.base_stor_blb_blbimg_blbimg.cxx
call fcn.14008410c
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
test eax, eax
jne 0x1400ba578
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x1400ba578
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 0x1400ba5a3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
lea ebx, [rdi + 3]
jmp 0x1400bab5c
mov r8, rbx
xor edx, edx
mov rcx, rax
call sub.msvcrt.dll_memset
movups xmm0, xmmword [0x140152e58]
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.1400afbe8
mov ebx, eax
test eax, eax
je 0x1400ba62e
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400bab5c
test byte [rcx + 0x1c], 4
je 0x1400bab5c
cmp byte [rcx + 0x19], 2
jb 0x1400bab5c
mov eax, dword [rsi]
lea r8, [0x140152e48]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1bb
mov dword [rsp + 0x28], eax
mov r9, r14
mov dword [rsp + 0x20], ebx
call fcn.140010730
jmp 0x1400bab5c
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400ba66c
test byte [rcx + 0x1c], 4
je 0x1400ba66c
cmp byte [rcx + 0x19], 4
jb 0x1400ba66c
mov eax, dword [r15]
lea r8, [0x140152e48]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1bc
mov r9, r14
mov dword [rsp + 0x20], eax
call fcn.140005b60
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 0x1400ba6ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov dword [rsi], eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
mov ebx, 0xd
cmp rcx, rax
je 0x1400bab5c
test byte [rcx + 0x1c], 4
je 0x1400bab5c
cmp byte [rcx + 0x19], 2
jb 0x1400bab5c
mov edx, 0x1bd
jmp 0x1400bab0d
mov rcx, qword [0x1401720a0]
lea r15, [0x1401720a0]
cmp rcx, r15
je 0x1400ba728
test byte [rcx + 0x1c], 4
je 0x1400ba728
cmp byte [rcx + 0x19], 4
jb 0x1400ba728
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0x1be
mov qword [rsp + 0x20], rax
mov r9, r14
call fcn.140010584
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 0x1400ba7af
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 [0x1401720a0]
mov ebx, 0xd
cmp rcx, r15
je 0x1400bab5c
test byte [rcx + 0x1c], 4
je 0x1400bab5c
cmp byte [rcx + 0x19], 2
jb 0x1400bab5c
mov edx, 0x1bf
jmp 0x1400bab0d
mov rax, qword [rbp - 0x18]
cmp rax, r13
jge 0x1400ba808
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x1400ba7eb
test byte [rcx + 0x1c], 4
je 0x1400ba7eb
cmp byte [rcx + 0x19], 2
jb 0x1400ba7eb
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.1400ae9f8
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 0x1400bab5c
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 0x1400ba881
mov rax, qword [0x1401720a0]
mov r12b, 4
cmp rax, r15
je 0x1400ba884
test byte [rax + 0x1c], r12b
je 0x1400ba884
cmp byte [rax + 0x19], bl
jb 0x1400ba884
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1401720a0]
lea r8, [0x140152e48]
mov edx, 0x1c1
mov dword [rsp + 0x20], eax
mov r9, r14
mov rcx, qword [rcx + 0x10]
call fcn.140005b60
jmp 0x1400ba884
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 0x1400ba907
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 [0x1401720a0]
mov ebx, 0xd
cmp rcx, r15
je 0x1400bab5c
test byte [rcx + 0x1c], r12b
je 0x1400bab5c
cmp byte [rcx + 0x19], 2
jb 0x1400bab5c
mov edx, 0x1c2
jmp 0x1400bab0d
mov rcx, qword [rdi + 0x10]
mov r8, rsi
xor edx, edx
call fcn.1400b9d5c
mov rcx, qword [rdi + 0x10]
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r15d, r15d
je 0x1400ba974
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
cmp rcx, rax
je 0x1400ba96c
test byte [rcx + 0x1c], r12b
je 0x1400ba96c
cmp byte [rcx + 0x19], 2
jb 0x1400ba96c
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0x1c3
mov dword [rsp + 0x20], r15d
mov r9, r14
call fcn.140005b60
mov ebx, r15d
jmp 0x1400bab5c
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 0x1400ba9ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov dword [rsi], eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [0x1401720a0]
lea rax, [0x1401720a0]
mov ebx, 0xd
cmp rcx, rax
je 0x1400bab5c
test byte [rcx + 0x1c], r12b
je 0x1400bab5c
cmp byte [rcx + 0x19], 2
jb 0x1400bab5c
mov edx, 0x1c4
jmp 0x1400bab0d
mov rcx, qword [0x1401720a0]
lea r15, [0x1401720a0]
cmp rcx, r15
je 0x1400baa2a
test byte [rcx + 0x1c], r12b
je 0x1400baa2a
cmp byte [rcx + 0x19], r12b
jb 0x1400baa2a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0x1c5
mov qword [rsp + 0x20], rax
mov r9, r14
call fcn.140010584
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 0x1400baa9b
mov rax, qword [0x1401720a0]
cmp rax, r15
je 0x1400baa9b
test byte [rax + 0x1c], r12b
je 0x1400baa9b
cmp byte [rax + 0x19], bl
jb 0x1400baa9b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x1401720a0]
lea r8, [0x140152e48]
mov edx, 0x1c6
mov dword [rsp + 0x20], eax
mov r9, r14
mov rcx, qword [rcx + 0x10]
call fcn.140005b60
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 0x1400bab25
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 [0x1401720a0]
mov ebx, 0xd
cmp rcx, r15
je 0x1400bab5c
test byte [rcx + 0x1c], r12b
je 0x1400bab5c
cmp byte [rcx + 0x19], 2
jb 0x1400bab5c
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.1400ae960
jmp 0x1400bab5c
mov rax, qword [rbp + 0x60]
mov qword [rax], rdi
mov rcx, qword [0x1401720a0]
cmp rcx, r15
je 0x1400bab59
test byte [rcx + 0x1c], r12b
je 0x1400bab59
cmp byte [rcx + 0x19], r12b
jb 0x1400bab59
mov rcx, qword [rcx + 0x10]
lea r8, [0x140152e48]
mov edx, 0x1c8
call fcn.140004b74
mov ebx, r13d
lea rcx, [rbp - 0x10]
call fcn.1400aefac
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