Function at 0x1400c5340
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 edi, edi
mov rbx, r9
mov dword [rbp + 0x48], edi
mov r14b, r8b
mov qword [rbp - 0x20], rdi
mov r12, rdx
mov rsi, rcx
mov rcx, qword [0x14016a048]
lea r13, [0x14016a048]
mov r15b, 4
cmp rcx, r13
je 0x1400c53b2
test byte [rcx + 0x1c], r15b
je 0x1400c53b2
cmp byte [rcx + 0x19], r15b
jb 0x1400c53b2
mov rcx, qword [rcx + 0x10]
lea r8, [0x140151728]
mov edx, 0x1b6
call fcn.14000c0e8
mov rcx, qword [0x14016a048]
mov qword [rbp - 0x10], rbx
mov byte [rbp - 8], dil
cmp rcx, r13
je 0x1400c53e8
test byte [rcx + 0x1c], r15b
je 0x1400c53e8
cmp byte [rcx + 0x19], 5
jb 0x1400c53e8
mov rcx, qword [rcx + 0x10]
lea r8, [0x140151728]
mov edx, 0x1b7
mov qword [rsp + 0x20], r12
mov r9, rsi
call fcn.140014ff8
mov r13, qword [rbp + 0x50]
lea rcx, [rbp - 0x10]
mov qword [r13], rdi
mov rdi, qword [rbp + 0x58]
mov rdx, rdi
and dword [rdi], 0
call fcn.1400c2954
mov ebx, eax
test eax, eax
je 0x1400c5457
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x1400c5bba
test byte [rcx + 0x1c], r15b
je 0x1400c5bba
cmp byte [rcx + 0x19], 2
jb 0x1400c5bba
mov eax, dword [rdi]
lea r8, [0x140151728]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1b8
mov r9d, ebx
mov dword [rsp + 0x20], eax
call fcn.1400c9c84
jmp 0x1400c5bba
mov r8, rdi
lea rdx, [rbp - 0x20]
mov rcx, r12
call fcn.1400c4608
mov ebx, eax
test eax, eax
je 0x1400c54b7
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x1400c5bba
test byte [rcx + 0x1c], r15b
je 0x1400c5bba
cmp byte [rcx + 0x19], 2
jb 0x1400c5bba
mov eax, dword [rdi]
mov edx, 0x1b9
mov rcx, qword [rcx + 0x10]
mov r9, r12
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
call fcn.1400c9f0c
jmp 0x1400c5bba
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x1400c54ef
test byte [rcx + 0x1c], r15b
je 0x1400c54ef
cmp byte [rcx + 0x19], r15b
jb 0x1400c54ef
mov r9, qword [rbp - 0x20]
lea r8, [0x140151728]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1ba
call fcn.1400408a4
lea rcx, [rbp - 0x10]
call fcn.1400c29ac
mov r15d, 0x218
xor ecx, ecx
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
nop dword [rax + rax]
mov rbx, rax
test rax, rax
jne 0x1400c552f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rdi], eax
mov ebx, 3
jmp 0x1400c5bba
mov r8, r15
xor edx, edx
mov rcx, rbx
call sub.msvcrt.dll_memset
movups xmm0, xmmword [0x140151738]
lea r15, [rbx + 0x1f8]
mov byte [rbx + 0x19], r14b
mov r8, rdi
mov rdx, r15
mov rcx, rsi
movdqu xmmword [rbx], xmm0
call fcn.1400c06f4
mov r14d, eax
test eax, eax
je 0x1400c55ba
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x1400c5bb7
test byte [rcx + 0x1c], 4
je 0x1400c5bb7
cmp byte [rcx + 0x19], 2
jb 0x1400c5bb7
mov eax, dword [rdi]
lea r8, [0x140151728]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1bb
mov dword [rsp + 0x28], eax
mov r9, rsi
mov dword [rsp + 0x20], r14d
call fcn.1400612e0
jmp 0x1400c5bb7
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
mov r14b, 4
cmp rcx, rax
je 0x1400c55fb
test byte [rcx + 0x1c], r14b
je 0x1400c55fb
cmp byte [rcx + 0x19], r14b
jb 0x1400c55fb
mov eax, dword [r15]
lea r8, [0x140151728]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1bc
mov r9, rsi
mov dword [rsp + 0x20], eax
call fcn.140014f78
and qword [rsp + 0x30], 0
mov r15d, 3
mov r8d, r15d
mov dword [rsp + 0x28], 0x40000080
xor r9d, r9d
mov dword [rsp + 0x20], r15d
mov edx, 0xc0000000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov qword [rbx + 0x10], rax
cmp rax, 0xffffffffffffffff
jne 0x1400c568a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, rbx
mov dword [rdi], eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x1400c5b78
test byte [rcx + 0x1c], r14b
je 0x1400c5b78
cmp byte [rcx + 0x19], 2
jb 0x1400c5b78
mov edx, 0x1bd
jmp 0x1400c5b5e
mov rcx, qword [0x14016a048]
lea rdx, [0x14016a048]
cmp rcx, rdx
je 0x1400c56c6
test byte [rcx + 0x1c], r14b
je 0x1400c56c6
cmp byte [rcx + 0x19], r14b
jb 0x1400c56c6
mov rcx, qword [rcx + 0x10]
lea r8, [0x140151728]
mov edx, 0x1be
mov qword [rsp + 0x20], rax
mov r9, rsi
call fcn.14005aaa8
and qword [rsp + 0x38], 0
lea rax, [rbp + 0x48]
mov rcx, qword [rbx + 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]
nop dword [rax + rax]
test eax, eax
jne 0x1400c5767
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rdi], eax
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x1400c5b78
test byte [rcx + 0x1c], r14b
je 0x1400c5b78
cmp byte [rcx + 0x19], 2
jb 0x1400c5b78
mov edx, 0x1bf
jmp 0x1400c5b5e
mov rax, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x20]
cmp rax, rdx
jge 0x1400c57d7
mov rcx, qword [0x14016a048]
lea r8, [0x14016a048]
cmp rcx, r8
je 0x1400c57ae
test byte [rcx + 0x1c], r14b
je 0x1400c57ae
cmp byte [rcx + 0x19], 2
jb 0x1400c57ae
mov rcx, qword [rcx + 0x10]
mov r9, rsi
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call fcn.1400c9fa4
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov ebx, 0xe
jmp 0x1400c5bba
mov rcx, qword [rbx + 0x10]
lea rax, [rbp + 0x48]
xor r14d, r14d
xor r9d, r9d
mov qword [rsp + 0x38], r14
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov edx, 0x90018
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x1400c5864
mov rax, qword [0x14016a048]
lea rcx, [0x14016a048]
mov r12b, 4
cmp rax, rcx
je 0x1400c5867
test byte [rax + 0x1c], r12b
je 0x1400c5867
cmp byte [rax + 0x19], r15b
jb 0x1400c5867
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14016a048]
lea r8, [0x140151728]
mov edx, 0x1c1
mov dword [rsp + 0x20], eax
mov r9, rsi
mov rcx, qword [rcx + 0x10]
call fcn.140014f78
jmp 0x1400c5867
mov r12b, 4
mov qword [rsp + 0x38], r14
lea rax, [rbp + 0x48]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rbp + 0x48], r14d
xor r8d, r8d
mov rcx, qword [rbx + 0x10]
mov edx, 0x90020
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x1400c5904
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rdi], eax
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x1400c5b78
test byte [rcx + 0x1c], r12b
je 0x1400c5b78
cmp byte [rcx + 0x19], 2
jb 0x1400c5b78
mov edx, 0x1c2
jmp 0x1400c5b5e
mov rcx, qword [rbx + 0x10]
mov r8, rdi
xor edx, edx
call fcn.1400c275c
mov rcx, qword [rbx + 0x10]
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test r14d, r14d
je 0x1400c5986
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x1400c5bb7
test byte [rcx + 0x1c], r12b
je 0x1400c5bb7
cmp byte [rcx + 0x19], 2
jb 0x1400c5bb7
mov rcx, qword [rcx + 0x10]
lea r8, [0x140151728]
mov edx, 0x1c3
mov dword [rsp + 0x20], r14d
mov r9, rsi
call fcn.14003fbc0
jmp 0x1400c5bb7
xor r14d, r14d
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov r8d, r15d
mov dword [rsp + 0x28], 0x40000080
mov edx, 0xc0000000
mov rcx, rsi
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
nop dword [rax + rax]
mov qword [rbx + 0x10], rax
cmp rax, 0xffffffffffffffff
jne 0x1400c5a11
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, rbx
mov dword [rdi], eax
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x1400c5b78
test byte [rcx + 0x1c], r12b
je 0x1400c5b78
cmp byte [rcx + 0x19], 2
jb 0x1400c5b78
mov edx, 0x1c4
jmp 0x1400c5b5e
mov rcx, qword [0x14016a048]
lea rdx, [0x14016a048]
cmp rcx, rdx
je 0x1400c5a4d
test byte [rcx + 0x1c], r12b
je 0x1400c5a4d
cmp byte [rcx + 0x19], r12b
jb 0x1400c5a4d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140151728]
mov edx, 0x1c5
mov qword [rsp + 0x20], rax
mov r9, rsi
call fcn.14005aaa8
mov rcx, qword [rbx + 0x10]
lea rax, [rbp + 0x48]
mov qword [rsp + 0x38], r14
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov dword [rsp + 0x28], r14d
mov edx, 0x90018
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x1400c5ad2
mov rax, qword [0x14016a048]
lea rcx, [0x14016a048]
cmp rax, rcx
je 0x1400c5ad2
test byte [rax + 0x1c], r12b
je 0x1400c5ad2
cmp byte [rax + 0x19], r15b
jb 0x1400c5ad2
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14016a048]
lea r8, [0x140151728]
mov edx, 0x1c6
mov dword [rsp + 0x20], eax
mov r9, rsi
mov rcx, qword [rcx + 0x10]
call fcn.140014f78
mov qword [rsp + 0x38], r14
lea rax, [rbp + 0x48]
mov qword [rsp + 0x30], rax
xor r9d, r9d
mov dword [rbp + 0x48], r14d
xor r8d, r8d
mov rcx, qword [rbx + 0x10]
mov edx, 0x90020
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x1400c5b7f
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rdi], eax
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x1400c5b78
test byte [rcx + 0x1c], r12b
je 0x1400c5b78
cmp byte [rcx + 0x19], 2
jb 0x1400c5b78
mov edx, 0x1c7
mov eax, dword [rdi]
mov r9, rsi
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0xd
call fcn.1400c9f0c
mov ebx, 0xd
jmp 0x1400c5bba
mov qword [r13], rbx
mov rcx, qword [0x14016a048]
lea rax, [0x14016a048]
cmp rcx, rax
je 0x1400c5bb7
test byte [rcx + 0x1c], r12b
je 0x1400c5bb7
cmp byte [rcx + 0x19], r12b
jb 0x1400c5bb7
mov rcx, qword [rcx + 0x10]
lea r8, [0x140151728]
mov edx, 0x1c8
call fcn.14000c0e8
mov ebx, r14d
lea rcx, [rbp - 0x10]
call fcn.1400c29ac
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