Function at 0x14001704c
Capabilities:
Unmount volume via ioctl

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r15
sub rsp, 0x60
mov esi, 2
mov r13d, r9d
mov r12d, r8d
mov rbx, rdx
mov ebp, ecx
lea r15d, [rsi + 1]
test rdx, rdx
jne 0x1400170a5
mov edx, 0xc0000000
call qword [0x1400f1e00]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001721c
mov edx, 0x80000000
mov ecx, ebp
call qword [0x1400f1e00]
jmp 0x140017177
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, 0x3a
cmp eax, esi
jne 0x1400170bf
xor ecx, ecx
cmp word [rbx + 2], bp
jmp 0x1400170e1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, r15d
jne 0x1400170e6
lea rcx, [rbx + 2]
lea rdx, [0x1400d8a78]
call fcn.1400ba7bc
xor ecx, ecx
test eax, eax
sete cl
jmp 0x1400170e8
xor ecx, ecx
mov edx, 0xc0000000
test ecx, ecx
je 0x1400171a7
mov rax, qword [str.._:]
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x48]
mov qword [rcx], rax
mov eax, dword [0x1400d8a70]
mov ebp, 0x20000000
mov dword [rcx + 8], eax
movzx eax, word [0x1400d8a74]
xor r9d, r9d
mov word [rcx + 0xc], ax
movzx eax, word [rbx]
lea rcx, [rsp + 0x48]
mov r8d, r15d
mov dword [rsp + 0x28], ebp
mov word [rsp + 0x50], ax
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001721c
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x48]
xor r9d, r9d
mov r8d, r15d
mov edx, 0x80000000
mov dword [rsp + 0x28], ebp
mov dword [rsp + 0x20], r15d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001721c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jne 0x140017196
lea eax, [rdi + 2]
jmp 0x140017354
lea rcx, str.Error_opening_device:
call fcn.1400167b0
jmp 0x140017352
mov rcx, rbx
call qword [0x1400f1e08]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001721c
mov edx, 0x80000000
mov rcx, rbx
call qword [0x1400f1e08]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001721c
call qword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 1
je 0x140017212
sub eax, 0x56
je 0x140017212
sub eax, ebp
je 0x1400171fa
sub eax, 0x7a
je 0x1400171fa
cmp eax, 0x101b
je 0x1400171fa
mov rcx, rbx
call fcn.1400167b0
jmp 0x140017212
call fcn.1400ba598
lea rdx, str.Not_a_mount_point:__1_ws__n
mov r8, rbx
lea rcx, [rax + 0x60]
call fcn.140016728
mov eax, 9
jmp 0x140017354
mov rcx, rdi
call fcn.14001682c
test eax, eax
jne 0x140017230
lea esi, [rax + 5]
jmp 0x140017349
test r15b, r12b
je 0x1400172c9
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x98]
mov qword [rsp + 0x30], rax
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x90018
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x140017293
lea rax, str.Error
test rbx, rbx
cmove rbx, rax
mov rcx, rbx
call fcn.1400167b0
jmp 0x140017349
and qword [rsp + 0x38], 0
lea rax, [rsp + 0x98]
xor r9d, r9d
mov qword [rsp + 0x30], rax
and dword [rsp + 0x28], 0
and qword [rsp + 0x20], 0
xor r8d, r8d
mov edx, 0x90020
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x140017278
and qword [rsp + 0x38], 0
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], r12d
mov dword [rsp + 0x44], r13d
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x14001731a
mov rcx, rbx
call fcn.1400167b0
cmp dword [rsp + 0x40], 0
je 0x140017347
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.1400ba598
lea rdx, str._1_ws_:_Not_all_new_options_were_successfully_changed.
lea rcx, [rax + 0x60]
mov r8, rbx
call fcn.140016728
mov eax, r15d
jmp 0x140017354
xor esi, esi
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 rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rsi
ret