Function at 0x14001d040
Capabilities:
Unmount volume via ioctl

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov esi, 2
xor ebx, ebx
mov r14d, r9d
mov r13d, r8d
mov rbp, rdx
mov r12d, ecx
lea r15d, [rsi + 1]
cmp rdx, rbx
je 0x14001d1d0
cmp ecx, 0xffffffff
jne 0x14001d1d0
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea r12d, [rsi + 0x38]
cmp eax, esi
jne 0x14001d09d
cmp word [rbp + 2], r12w
jmp 0x14001d0bd
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, r15d
jne 0x14001d0c4
lea rcx, [rbp + 2]
lea rdx, [0x14011f960]
call fcn.1401030b4
cmp eax, ebx
mov ecx, ebx
sete cl
jmp 0x14001d0c6
mov ecx, ebx
mov edx, 0xc0000000
cmp ecx, ebx
je 0x14001d15c
mov rax, qword [str.._:]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rbx
mov qword [rcx], rax
mov eax, dword [0x14011f958]
mov r12d, 0x20000000
mov dword [rcx + 8], eax
movzx eax, word [0x14011f95c]
xor r9d, r9d
mov word [rcx + 0xc], ax
movzx eax, word [rbp]
lea rcx, [rsp + 0x48]
mov r8d, r15d
mov dword [rsp + 0x28], r12d
mov word [rsp + 0x50], ax
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001d20e
mov qword [rsp + 0x30], rbx
lea rcx, [rsp + 0x48]
xor r9d, r9d
mov r8d, r15d
mov edx, 0x80000000
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x14001d1f2
mov rcx, rbp
call qword [0x14013d0c8]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001d20e
mov edx, 0x80000000
mov rcx, rbp
call qword [0x14013d0c8]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001d20e
call qword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 1
je 0x14001d1c6
sub eax, 0x56
je 0x14001d1c6
sub eax, r12d
je 0x14001d1ae
sub eax, 0x7a
je 0x14001d1ae
cmp eax, 0x101b
jne 0x14001d1c6
call fcn.140102e90
lea rdx, str.Not_a_mount_point:__1_ws__n
mov r8, rbp
lea rcx, [rax + 0x60]
call fcn.14001c878
mov eax, 9
jmp 0x14001d319
mov edx, 0xc0000000
call qword [0x14013d0c0]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001d20e
mov edx, 0x80000000
mov ecx, r12d
call qword [0x14013d0c0]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001d20e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
setne bl
lea eax, [rbx + 1]
jmp 0x14001d319
mov rcx, rdi
call fcn.14001c888
cmp eax, ebx
jne 0x14001d224
mov esi, 5
jmp 0x14001d30e
test r15b, r13b
je 0x14001d29c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x98]
mov qword [rsp + 0x30], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x90018
mov rcx, rdi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, ebx
je 0x14001d30e
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x98]
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov edx, 0x90020
mov rcx, rdi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp eax, ebx
je 0x14001d30e
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x98]
mov r9d, 8
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], r9d
lea r8, [rsp + 0x40]
mov edx, 0x83722014
mov rcx, rdi
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], r13d
mov dword [rsp + 0x44], r14d
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
cmp dword [rsp + 0x40], ebx
je 0x14001d30c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.140102e90
lea rdx, str._1_ws_:_Not_all_new_options_were_successfully_changed.
lea rcx, [rax + 0x60]
mov r8, rbp
call fcn.14001c878
mov eax, r15d
jmp 0x14001d319
mov esi, ebx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret