Function at 0x140019d14
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 0x140019d6d
mov edx, 0xc0000000
call qword [0x140106e90]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140019ee4
mov edx, 0x80000000
mov ecx, ebp
call qword [0x140106e90]
jmp 0x140019e3f
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, 0x3a
cmp eax, esi
jne 0x140019d87
xor ecx, ecx
cmp word [rbx + 2], bp
jmp 0x140019da9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, r15d
jne 0x140019dae
lea rcx, [rbx + 2]
lea rdx, [0x1400ec498]
call fcn.1400cdbfc
xor ecx, ecx
test eax, eax
sete cl
jmp 0x140019db0
xor ecx, ecx
mov edx, 0xc0000000
test ecx, ecx
je 0x140019e6f
mov rax, qword [str.._:]
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x48]
mov qword [rcx], rax
mov eax, dword [0x1400ec490]
mov ebp, 0x20000000
mov dword [rcx + 8], eax
movzx eax, word [0x1400ec494]
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 0x140019ee4
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 0x140019ee4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jne 0x140019e5e
lea eax, [rdi + 2]
jmp 0x14001a01c
lea rcx, str.Error_opening_device:
call fcn.140019474
jmp 0x14001a01a
mov rcx, rbx
call qword [0x140106e98]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140019ee4
mov edx, 0x80000000
mov rcx, rbx
call qword [0x140106e98]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x140019ee4
call qword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 1
je 0x140019eda
sub eax, 0x56
je 0x140019eda
sub eax, ebp
je 0x140019ec2
sub eax, 0x7a
je 0x140019ec2
cmp eax, 0x101b
je 0x140019ec2
mov rcx, rbx
call fcn.140019474
jmp 0x140019eda
call fcn.1400cd9d8
lea rdx, str.Not_a_mount_point:__1_ws__n
mov r8, rbx
lea rcx, [rax + 0x60]
call fcn.1400193ec
mov eax, 9
jmp 0x14001a01c
mov rcx, rdi
call fcn.1400194f0
test eax, eax
jne 0x140019ef8
lea esi, [rax + 5]
jmp 0x14001a011
test r15b, r12b
je 0x140019f91
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 0x140019f5b
lea rax, str.Error
test rbx, rbx
cmove rbx, rax
mov rcx, rbx
call fcn.140019474
jmp 0x14001a011
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 0x140019f40
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 0x140019fe2
mov rcx, rbx
call fcn.140019474
cmp dword [rsp + 0x40], 0
je 0x14001a00f
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.1400cd9d8
lea rdx, str._1_ws_:_Not_all_new_options_were_successfully_changed.
lea rcx, [rax + 0x60]
mov r8, rbx
call fcn.1400193ec
mov eax, r15d
jmp 0x14001a01c
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