Function at 0x1400b8948
Capabilities:
Unmount volume via ioctl

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r13
push r14
mov rbp, rsp
sub rsp, 0x80
xorps xmm0, xmm0
xorps xmm1, xmm1
xor ebx, ebx
mov rdi, rdx
mov r14, rcx
mov dword [rbp + 0x40], ebx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea eax, [rbx + 1]
mov edx, eax
mov esi, eax
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x10], xmm1
call qword [sym.imp.KERNEL32.dll_CreateEventW]
nop dword [rax + rax]
mov qword [rbp - 0x28], rax
test rax, rax
jne 0x1400b89c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rdi], eax
mov ebx, 3
jmp 0x1400b8bd9
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]
nop dword [rax + rax]
lea r12, [0x14017a048]
lea r13, [0x14015c278]
test eax, eax
jne 0x1400b8a78
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rdi], eax
cmp eax, 0x3e5
jne 0x1400b8a44
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x1400b8a72
test byte [rcx + 0x1c], 4
je 0x1400b8a72
cmp byte [rcx + 0x19], 4
jb 0x1400b8a72
mov rcx, qword [rcx + 0x10]
mov edx, 0xf9
mov r8, r13
call fcn.140004b70
jmp 0x1400b8a72
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x1400b8a70
test byte [rcx + 0x1c], 4
je 0x1400b8a70
cmp byte [rcx + 0x19], 3
jb 0x1400b8a70
mov rcx, qword [rcx + 0x10]
mov edx, 0xfa
mov r9d, eax
mov r8, r13
call fcn.140004b9c
mov esi, ebx
mov dword [rdi], ebx
test esi, esi
je 0x1400b8ad8
mov r9d, 1
lea r8, [rbp + 0x40]
lea rdx, [rbp - 0x40]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
nop dword [rax + rax]
test eax, eax
jne 0x1400b8ad8
mov rax, qword [0x14017a048]
cmp rax, r12
je 0x1400b8ad8
test byte [rax + 0x1c], 4
je 0x1400b8ad8
cmp byte [rax + 0x19], 3
jb 0x1400b8ad8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
mov edx, 0xfb
mov r9d, eax
mov r8, r13
mov rcx, qword [rcx + 0x10]
call fcn.140004b9c
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
nop dword [rax + rax]
mov qword [rbp - 8], rax
test rax, rax
je 0x1400b89a9
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]
nop dword [rax + rax]
test eax, eax
jne 0x1400b8b76
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rdi], eax
cmp eax, 0x3e5
jne 0x1400b8c2c
mov dword [rdi], ebx
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x1400b8b76
test byte [rcx + 0x1c], 4
je 0x1400b8b76
cmp byte [rcx + 0x19], 4
jb 0x1400b8b76
mov rcx, qword [rcx + 0x10]
mov edx, 0xfc
mov r8, r13
call fcn.140004b70
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]
nop dword [rax + rax]
test eax, eax
jne 0x1400b8bd9
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rdi], eax
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x1400b8bd4
test byte [rcx + 0x1c], 4
je 0x1400b8bd4
cmp byte [rcx + 0x19], 2
jb 0x1400b8bd4
mov edx, 0xfe
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r13
call fcn.140004b9c
mov ebx, 0x1c
mov rcx, qword [rbp - 0x28]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400b8bf3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rbp - 8]
lea rdx, [rcx - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x1400b8c0d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret
mov rcx, qword [0x14017a048]
cmp rcx, r12
je 0x1400b8bd4
test byte [rcx + 0x1c], 4
je 0x1400b8bd4
cmp byte [rcx + 0x19], 2
jb 0x1400b8bd4
mov edx, 0xfd
jmp 0x1400b8bc5