Function at 0x1400b0de8
Capabilities:
Unmount volume via ioctl

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
xor ebx, ebx
mov rdi, rdx
mov r14, rcx
mov dword [rbp + 0x40], ebx
xor edx, edx
lea rcx, [rbp - 0x40]
lea r15d, [rbx + 0x20]
lea r12d, [rbx + 1]
mov r8d, r15d
mov esi, r12d
call sub.msvcrt.dll_memset
mov r8d, r15d
lea rcx, [rbp - 0x20]
xor edx, edx
call sub.msvcrt.dll_memset
xor r9d, r9d
xor r8d, r8d
mov edx, r12d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp - 0x28], rax
test rax, rax
jne 0x1400b0e68
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
mov ebx, 3
jmp 0x1400b1050
lea rax, [rbp - 0x40]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov edx, 0x90018
mov dword [rsp + 0x28], ebx
mov rcx, r14
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea r12, [0x14016d090]
mov r15b, 4
lea r13, [0x14014e198]
test eax, eax
jne 0x1400b0f16
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
cmp eax, 0x3e5
jne 0x1400b0ee2
mov rcx, qword [0x14016d090]
cmp rcx, r12
je 0x1400b0f10
test byte [rcx + 0x1c], r15b
je 0x1400b0f10
cmp byte [rcx + 0x19], r15b
jb 0x1400b0f10
mov rcx, qword [rcx + 0x10]
mov edx, 0xf9
mov r8, r13
call fcn.140004968
jmp 0x1400b0f10
mov rcx, qword [0x14016d090]
cmp rcx, r12
je 0x1400b0f0e
test byte [rcx + 0x1c], r15b
je 0x1400b0f0e
cmp byte [rcx + 0x19], 3
jb 0x1400b0f0e
mov rcx, qword [rcx + 0x10]
mov edx, 0xfa
mov r9d, eax
mov r8, r13
call fcn.140004988
mov esi, ebx
mov dword [rdi], ebx
test esi, esi
je 0x1400b0f6d
mov r9d, 1
mov dword [rbp + 0x40], ebx
lea r8, [rbp + 0x40]
mov rcx, r14
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x1400b0f6d
mov rax, qword [0x14016d090]
cmp rax, r12
je 0x1400b0f6d
test byte [rax + 0x1c], r15b
je 0x1400b0f6d
cmp byte [rax + 0x19], 3
jb 0x1400b0f6d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [0x14016d090]
mov edx, 0xfb
mov r9d, eax
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.140004988
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp - 8], rax
test rax, rax
je 0x1400b0e56
lea rax, [rbp - 0x20]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rbx
mov edx, 0x90020
mov dword [rsp + 0x28], ebx
mov rcx, r14
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400b0ff9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
cmp eax, 0x3e5
jne 0x1400b109b
mov dword [rdi], ebx
mov rcx, qword [0x14016d090]
cmp rcx, r12
je 0x1400b0ff9
test byte [rcx + 0x1c], r15b
je 0x1400b0ff9
cmp byte [rcx + 0x19], r15b
jb 0x1400b0ff9
mov rcx, qword [rcx + 0x10]
mov edx, 0xfc
mov r8, r13
call fcn.140004968
mov r9d, 1
mov dword [rbp + 0x40], ebx
lea r8, [rbp + 0x40]
mov rcx, r14
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x1400b1050
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rdi], eax
mov rcx, qword [0x14016d090]
cmp rcx, r12
je 0x1400b104b
test byte [rcx + 0x1c], r15b
je 0x1400b104b
cmp byte [rcx + 0x19], 2
jb 0x1400b104b
mov edx, 0xfe
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r13
call fcn.140004988
mov ebx, 0x1c
mov rcx, qword [rbp - 0x28]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400b1064
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 8]
lea rdx, [rcx - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x1400b1078
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rcx, qword [0x14016d090]
cmp rcx, r12
je 0x1400b104b
test byte [rcx + 0x1c], r15b
je 0x1400b104b
cmp byte [rcx + 0x19], 2
jb 0x1400b104b
mov edx, 0xfd
jmp 0x1400b103c