Function at 0x1400bf594
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 [0x14017b048]
lea rax, [0x14017b048]
mov dil, 4
cmp rcx, rax
je 0x1400bf60d
test byte [rcx + 0x1c], dil
je 0x1400bf60d
cmp byte [rcx + 0x19], dil
jb 0x1400bf60d
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d3e8]
mov edx, 0x1b6
call fcn.140004c10
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
mov qword [rbp - 0x10], rbx
mov r13b, sil
mov byte [rbp - 8], sil
cmp rcx, rax
je 0x1400bf646
test byte [rcx + 0x1c], dil
je 0x1400bf646
cmp byte [rcx + 0x19], 5
jb 0x1400bf646
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d3e8]
mov edx, 0x1b7
mov qword [rsp + 0x20], r15
mov r9, r14
call fcn.140005dc4
mov rax, qword [rbp + 0x50]
mov qword [rax], rsi
mov rsi, qword [rbp + 0x58]
and dword [rsi], 0
cmp rbx, 0xffffffffffffffff
je 0x1400bf6d3
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
nop dword [rax + rax]
test eax, eax
jne 0x1400bf6cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsi], eax
mov ebx, 0x13
mov rcx, qword [0x14017b048]
lea r9, [0x14017b048]
cmp rcx, r9
je 0x1400bfe38
test byte [rcx + 0x1c], dil
je 0x1400bfe38
cmp byte [rcx + 0x19], 2
jb 0x1400bfe38
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d3e8]
mov edx, 0x1b8
mov dword [rsp + 0x20], eax
mov r9d, ebx
call fcn.1400b311c
jmp 0x1400bfe38
mov r13b, 1
mov byte [rbp - 8], r13b
mov r8, rsi
lea rdx, [rbp - 0x20]
mov rcx, r15
call fcn.1400bf474
mov ebx, eax
test eax, eax
je 0x1400bf720
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x1400bfe38
test byte [rcx + 0x1c], dil
je 0x1400bfe38
cmp byte [rcx + 0x19], 2
jb 0x1400bfe38
mov edx, 0x1b9
mov r9, r15
jmp 0x1400bfde5
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x1400bf758
test byte [rcx + 0x1c], dil
je 0x1400bf758
cmp byte [rcx + 0x19], dil
jb 0x1400bf758
mov r9, qword [rbp - 0x20]
lea r8, [0x14015d3e8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1ba
call fcn.140010518
test r13b, r13b
je 0x1400bf76a
lea rcx, [rbp - 0x10]
call fcn.1400b3970
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 0x1400bf79d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsi], eax
lea ebx, [rdi + 3]
jmp 0x1400bfe38
mov r8, rbx
xor edx, edx
mov rcx, rdi
call sub.msvcrt.dll_memset
movups xmm0, xmmword [0x14015d3f8]
mov byte [rdi + 0x19], r12b
mov r8, rsi
lea r12, [rdi + 0x1f8]
mov rcx, r14
mov rdx, r12
movdqu xmmword [rdi], xmm0
call fcn.1400b4660
mov ebx, eax
test eax, eax
je 0x1400bf826
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x1400bfe38
test byte [rcx + 0x1c], 4
je 0x1400bfe38
cmp byte [rcx + 0x19], 2
jb 0x1400bfe38
mov eax, dword [rsi]
lea r8, [0x14015d3e8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1bb
mov dword [rsp + 0x28], eax
mov r9, r14
mov dword [rsp + 0x20], ebx
call fcn.140010a44
jmp 0x1400bfe38
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x1400bf865
test byte [rcx + 0x1c], 4
je 0x1400bf865
cmp byte [rcx + 0x19], 4
jb 0x1400bf865
mov eax, dword [r12]
lea r8, [0x14015d3e8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x1bc
mov r9, r14
mov dword [rsp + 0x20], eax
call fcn.140005d40
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 0x1400bf8f7
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 [0x14017b048]
lea rax, [0x14017b048]
mov ebx, 0xd
cmp rcx, rax
je 0x1400bfe38
test byte [rcx + 0x1c], 4
je 0x1400bfe38
cmp byte [rcx + 0x19], 2
jb 0x1400bfe38
mov edx, 0x1bd
jmp 0x1400bfde2
mov rcx, qword [0x14017b048]
lea rdx, [0x14017b048]
mov r10, rax
mov r12b, 4
cmp rcx, rdx
je 0x1400bf93d
test byte [rcx + 0x1c], r12b
je 0x1400bf93d
cmp byte [rcx + 0x19], r12b
jb 0x1400bf93d
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d3e8]
mov edx, 0x1be
mov qword [rsp + 0x20], rax
mov r9, r14
call fcn.140010880
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 0x1400bf9e2
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 [0x14017b048]
lea rax, [0x14017b048]
mov ebx, 0xd
cmp rcx, rax
je 0x1400bfe38
test byte [rcx + 0x1c], r12b
je 0x1400bfe38
cmp byte [rcx + 0x19], 2
jb 0x1400bfe38
mov edx, 0x1bf
jmp 0x1400bfde2
mov rax, qword [rbp - 0x18]
mov rdx, qword [rbp - 0x20]
cmp rax, rdx
jge 0x1400bfa52
mov rcx, qword [0x14017b048]
lea r9, [0x14017b048]
cmp rcx, r9
je 0x1400bfa29
test byte [rcx + 0x1c], r12b
je 0x1400bfa29
cmp byte [rcx + 0x19], 2
jb 0x1400bfa29
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.1400b33f8
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 0x1400bfe38
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 0x1400bfad9
mov rax, qword [0x14017b048]
lea rcx, [0x14017b048]
cmp rax, rcx
je 0x1400bfad9
test byte [rax + 0x1c], r12b
je 0x1400bfad9
cmp byte [rax + 0x19], bl
jb 0x1400bfad9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
lea r8, [0x14015d3e8]
mov edx, 0x1c1
mov dword [rsp + 0x20], eax
mov r9, r14
mov rcx, qword [rcx + 0x10]
call fcn.140005d40
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 0x1400bfb7b
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 [0x14017b048]
lea rax, [0x14017b048]
mov ebx, 0xd
cmp rcx, rax
je 0x1400bfe38
test byte [rcx + 0x1c], r12b
je 0x1400bfe38
cmp byte [rcx + 0x19], 2
jb 0x1400bfe38
mov edx, 0x1c2
jmp 0x1400bfde2
mov rcx, qword [rdi + 0x10]
mov r8, rsi
xor edx, edx
call fcn.1400bef00
mov rcx, qword [rdi + 0x10]
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test r15d, r15d
je 0x1400bfbfd
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x1400bfe35
test byte [rcx + 0x1c], r12b
je 0x1400bfe35
cmp byte [rcx + 0x19], 2
jb 0x1400bfe35
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d3e8]
mov edx, 0x1c3
mov dword [rsp + 0x20], r15d
mov r9, r14
call fcn.140005d40
jmp 0x1400bfe35
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 0x1400bfc8b
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 [0x14017b048]
lea rax, [0x14017b048]
lea ebx, [r15 + 0xd]
cmp rcx, rax
je 0x1400bfe38
test byte [rcx + 0x1c], r12b
je 0x1400bfe38
cmp byte [rcx + 0x19], 2
jb 0x1400bfe38
mov edx, 0x1c4
jmp 0x1400bfde2
mov rcx, qword [0x14017b048]
lea rdx, [0x14017b048]
mov r10, rax
cmp rcx, rdx
je 0x1400bfcce
test byte [rcx + 0x1c], r12b
je 0x1400bfcce
cmp byte [rcx + 0x19], r12b
jb 0x1400bfcce
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d3e8]
mov edx, 0x1c5
mov qword [rsp + 0x20], rax
mov r9, r14
call fcn.140010880
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 0x1400bfd51
mov rax, qword [0x14017b048]
lea rcx, [0x14017b048]
cmp rax, rcx
je 0x1400bfd51
test byte [rax + 0x1c], r12b
je 0x1400bfd51
cmp byte [rax + 0x19], bl
jb 0x1400bfd51
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
lea r8, [0x14015d3e8]
mov edx, 0x1c6
mov dword [rsp + 0x20], eax
mov r9, r14
mov rcx, qword [rcx + 0x10]
call fcn.140005d40
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 0x1400bfdfa
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 [0x14017b048]
lea rax, [0x14017b048]
mov ebx, 0xd
cmp rcx, rax
je 0x1400bfe38
test byte [rcx + 0x1c], r12b
je 0x1400bfe38
cmp byte [rcx + 0x19], 2
jb 0x1400bfe38
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.1400b3358
jmp 0x1400bfe38
mov rax, qword [rbp + 0x50]
mov qword [rax], rdi
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x1400bfe35
test byte [rcx + 0x1c], r12b
je 0x1400bfe35
cmp byte [rcx + 0x19], r12b
jb 0x1400bfe35
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015d3e8]
mov edx, 0x1c8
call fcn.140004c10
mov ebx, r15d
test r13b, r13b
je 0x1400bfe46
lea rcx, [rbp - 0x10]
call fcn.1400b3970
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