Function at 0x1400603c0
Capabilities:
Unmount volume via ioctl

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov word [rsp + 8], cx
push rsi
push rdi
sub rsp, 0x1c8
lea rax, [rsp + 0x90]
lea rcx, str..C:
mov rdi, rax
mov rsi, rcx
mov ecx, InitCommonControls
rep movsb byte [rdi], byte [rsi]
mov byte [rsp + 0x50], 1
lea rdx, [rsp + 0xa0]
movzx ecx, word [rsp + 0x1e0]
call fcn.1400620e0
test eax, eax
jne 0x140060431
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Get_Volume_Information_failed__d
call fcn.140064030
xor eax, eax
jmp 0x140060ca0
cmp dword [rsp + 0xa4], 1
je 0x14006044e
lea rcx, str.Volume_is_not_protected
call fcn.140064030
xor eax, eax
jmp 0x140060ca0
mov eax, 2
imul rax, rax, 4
movzx ecx, word [rsp + 0x1e0]
mov word [rsp + rax + 0x90], cx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
mov edx, 0xc0000000
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x1400604c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Open_Volume_failed__d
call fcn.140064030
xor eax, eax
jmp 0x140060ca0
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x14009ec88]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x90018
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0x58]
test eax, eax
jne 0x1400606e6
cmp dword [rsp + 0x1f0], 0
je 0x140060692
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x90020
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0x58]
test eax, eax
jne 0x1400605a6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
mov edx, dword [rsp + 0x68]
lea rcx, str.Dismount_Volume1_failed__d
call fcn.140064030
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140060ca0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
mov edx, 0xc0000000
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x14006061e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x6c], eax
mov edx, dword [rsp + 0x6c]
lea rcx, str.Open_Volume1_failed__d
call fcn.140064030
mov ecx, dword [rsp + 0x6c]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140060ca0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x90018
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0x58]
test eax, eax
jne 0x140060690
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], eax
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [rsp + 0x70]
lea rcx, str.Lock_Volume11_failed__d
call fcn.140064030
mov ecx, dword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140060ca0
jmp 0x1400606e6
movzx eax, byte [rsp + 0x50]
test eax, eax
je 0x1400606b0
mov byte [rsp + 0x50], 0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14006044e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x74], eax
mov edx, dword [rsp + 0x74]
lea rcx, str.Lock_Volume11_failed__d
call fcn.140064030
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x74]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140060ca0
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
lea r9, str.DpShadow
lea r8, str.._s_x
mov edx, 0x40
lea rcx, [rsp + 0x140]
call fcn.140003410
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
mov edx, 0xc0000000
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xffffffffffffffff
jne 0x1400607ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x78], eax
mov r8d, dword [rsp + 0x78]
lea rdx, [rsp + 0x140]
lea rcx, str.Open_Volume2__s__failed__d
call fcn.140064030
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x9001c
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140060ca0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x90018
mov rcx, qword [rsp + 0x60]
call qword [rsp + 0x58]
test eax, eax
jne 0x140060a45
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x90020
mov rcx, qword [rsp + 0x60]
call qword [rsp + 0x58]
test eax, eax
jne 0x1400608bf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x7c], eax
mov edx, dword [rsp + 0x7c]
lea rcx, str.Dismount_Volume2_failed__d
call fcn.140064030
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x9001c
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x7c]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140060ca0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 3
mov edx, 0xc0000000
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0xffffffffffffffff
jne 0x140060983
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x80], eax
mov edx, dword [rsp + 0x80]
lea rcx, str.Open_Volume3_failed__d
call fcn.140064030
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x9001c
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140060ca0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x90018
mov rcx, qword [rsp + 0x60]
call qword [rsp + 0x58]
test eax, eax
jne 0x140060a45
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x84], eax
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x9001c
mov rcx, qword [rsp + 0x48]
call qword [rsp + 0x58]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [rsp + 0x84]
lea rcx, str.Lock_Volume12_failed__d
call fcn.140064030
mov ecx, dword [rsp + 0x84]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140060ca0
jmp 0x14014de73
add rsp, 0x1c8
pop rdi
pop rsi
ret