Function at 0x1400c1d08
Capabilities:
Unmount volume via ioctl

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push r12
push r14
mov rbp, rsp
sub rsp, 0x80
xorps xmm0, xmm0
xorps xmm1, xmm1
xor ebx, ebx
mov rsi, rdx
mov r12, rcx
mov dword [rbp + 0x30], ebx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [rbx + 1]
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 0x1400c1d7a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsi], eax
mov ebx, 3
jmp 0x1400c1f6e
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, r12
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax + rax]
lea r14, [0x14017a048]
test eax, eax
jne 0x1400c1dfe
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsi], eax
cmp eax, 0x3e5
jne 0x1400c1fbe
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x1400c1dfc
test byte [rcx + 0x1c], 4
je 0x1400c1dfc
cmp byte [rcx + 0x19], 4
jb 0x1400c1dfc
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614e8]
mov edx, 0xf9
call fcn.140006b98
mov dword [rsi], ebx
mov r9d, 1
mov dword [rbp + 0x30], ebx
lea r8, [rbp + 0x30]
mov rcx, r12
lea rdx, [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
nop dword [rax + rax]
test eax, eax
jne 0x1400c1e65
mov rax, qword [0x14017a048]
cmp rax, r14
je 0x1400c1e65
test byte [rax + 0x1c], 4
je 0x1400c1e65
cmp byte [rax + 0x19], 3
jb 0x1400c1e65
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
lea r8, [0x1401614e8]
mov edx, 0xfb
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.140006bc4
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 0x1400c1d62
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, r12
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
nop dword [rax + rax]
test eax, eax
jne 0x1400c1f07
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsi], eax
cmp eax, 0x3e5
jne 0x1400c1ffc
mov dword [rsi], ebx
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x1400c1f07
test byte [rcx + 0x1c], 4
je 0x1400c1f07
cmp byte [rcx + 0x19], 4
jb 0x1400c1f07
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614e8]
mov edx, 0xfc
call fcn.140006b98
mov r9d, 1
mov dword [rbp + 0x30], ebx
lea r8, [rbp + 0x30]
mov rcx, r12
lea rdx, [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
nop dword [rax + rax]
test eax, eax
jne 0x1400c1f6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsi], eax
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x1400c1f69
test byte [rcx + 0x1c], 4
je 0x1400c1f69
cmp byte [rcx + 0x19], 2
jb 0x1400c1f69
mov edx, 0xfe
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614e8]
mov r9d, eax
call fcn.140006bc4
mov ebx, 0x1c
mov rcx, qword [rbp - 0x28]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x1400c1f88
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
mov rcx, qword [rbp - 8]
lea rdx, [rcx - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x1400c1fa2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
lea r11, [rsp + 0x80]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop r12
pop rbp
ret
mov rcx, qword [0x14017a048]
lea r14, [0x14017a048]
cmp rcx, r14
je 0x1400c1ff5
test byte [rcx + 0x1c], 4
je 0x1400c1ff5
cmp byte [rcx + 0x19], 3
jb 0x1400c1ff5
mov rcx, qword [rcx + 0x10]
lea r8, [0x1401614e8]
mov edx, 0xfa
mov r9d, eax
call fcn.140006bc4
mov dword [rsi], ebx
jmp 0x1400c1e65
mov rcx, qword [0x14017a048]
cmp rcx, r14
je 0x1400c1f69
test byte [rcx + 0x1c], 4
je 0x1400c1f69
cmp byte [rcx + 0x19], 2
jb 0x1400c1f69
mov edx, 0xfd
jmp 0x1400c1f56