Function at 0x14001c164
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 0x14001c2f4
cmp ecx, 0xffffffff
jne 0x14001c2f4
mov rcx, rdx
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
lea r12d, [rsi + 0x38]
cmp eax, esi
jne 0x14001c1c1
cmp word [rbp + 2], r12w
jmp 0x14001c1e1
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_lstrlenW]
cmp eax, r15d
jne 0x14001c1e8
lea rcx, [rbp + 2]
lea rdx, [0x140110810]
call fcn.1400f4ab4
cmp eax, ebx
mov ecx, ebx
sete cl
jmp 0x14001c1ea
mov ecx, ebx
mov edx, 0xc0000000
cmp ecx, ebx
je 0x14001c280
mov rax, qword [0x140110800]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x30], rbx
mov qword [rcx], rax
mov eax, dword [0x140110808]
mov r12d, 0x20000000
mov dword [rcx + 8], eax
movzx eax, word [0x14011080c]
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 0x14001c332
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 0x14001c316
mov rcx, rbp
call qword [0x14012d080]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001c332
mov edx, 0x80000000
mov rcx, rbp
call qword [0x14012d080]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001c332
call qword [sym.imp.KERNEL32.DLL_GetLastError]
sub eax, 1
je 0x14001c2ea
sub eax, 0x56
je 0x14001c2ea
sub eax, r12d
je 0x14001c2d2
sub eax, 0x7a
je 0x14001c2d2
cmp eax, 0x101b
jne 0x14001c2ea
call fcn.1400f4890
lea rdx, [0x1401107e0]
mov r8, rbp
lea rcx, [rax + 0x60]
call fcn.14001b99c
mov eax, 9
jmp 0x14001c43d
mov edx, 0xc0000000
call qword [0x14012d078]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001c332
mov edx, 0x80000000
mov ecx, r12d
call qword [0x14012d078]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14001c332
call qword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, esi
setne bl
lea eax, [rbx + 1]
jmp 0x14001c43d
mov rcx, rdi
call fcn.14001b9ac
cmp eax, ebx
jne 0x14001c348
mov esi, 5
jmp 0x14001c432
test r15b, r13b
je 0x14001c3c0
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 0x14001c432
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 0x14001c432
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 0x14001c430
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
call fcn.1400f4890
lea rdx, [0x140110830]
lea rcx, [rax + 0x60]
mov r8, rbp
call fcn.14001b99c
mov eax, r15d
jmp 0x14001c43d
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