Function at 0x1400307c0
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 rdi, [rsp + 0x178]
lea rsi, [0x140040e60]
mov ecx, 0xe
rep movsb byte [rdi], byte [rsi]
mov byte [rsp + 0x171], 1
mov byte [rsp + 0x194], 0
mov byte [rsp + 0x170], 0
lea rdx, [rsp + 0x160]
movzx ecx, word [rsp + 0x1e0]
call fcn.140032db0
test eax, eax
jne 0x14003083e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x140040e70]
call fcn.1400356f0
xor eax, eax
jmp 0x140031164
cmp dword [rsp + 0x164], 1
je 0x14003085b
lea rcx, [0x140040eb8]
call fcn.1400356f0
xor eax, eax
jmp 0x140031164
movzx eax, word [rsp + 0x1e0]
mov word [rsp + 0x180], ax
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 + 0x178]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0xc0], rax
cmp qword [rsp + 0xc0], 0xffffffffffffffff
jne 0x1400308ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [0x140040ee8]
call fcn.1400356f0
xor eax, eax
jmp 0x140031164
lea rcx, [0x140040f28]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140040f18]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x188], rax
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x190]
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 + 0xc0]
call qword [rsp + 0x188]
test eax, eax
jne 0x140030a85
cmp dword [rsp + 0x1f0], 0
je 0x140030a1c
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x190]
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 + 0xc0]
call qword [rsp + 0x188]
test eax, eax
jne 0x1400309d1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x1a0], eax
mov edx, dword [rsp + 0x1a0]
lea rcx, [0x140040f48]
call fcn.1400356f0
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140031164
mov byte [rsp + 0x194], 1
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x190]
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 + 0xc0]
call qword [rsp + 0x188]
jmp 0x140030a85
movzx eax, byte [rsp + 0x171]
test eax, eax
je 0x140030a43
mov byte [rsp + 0x171], 0
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14003085b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x1a4], eax
mov edx, dword [rsp + 0x1a4]
lea rcx, [0x140040f80]
call fcn.1400356f0
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x1a4]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140031164
mov eax, dword [rsp + 0x160]
mov dword [rsp + 0x20], eax
lea r9, str.DpShadow
lea r8, [0x140040fb0]
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.14001d240
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 + 0x40]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rsp + 0x198], rax
cmp qword [rsp + 0x198], 0xffffffffffffffff
jne 0x140030b7f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x1a8], eax
mov r8d, dword [rsp + 0x1a8]
lea rdx, [rsp + 0x40]
lea rcx, [0x140040fc8]
call fcn.1400356f0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x190]
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 + 0xc0]
call qword [rsp + 0x188]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x1a8]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140031164
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x190]
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 + 0x198]
call qword [rsp + 0x188]
test eax, eax
jne 0x140030ceb
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x190]
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 + 0x198]
call qword [rsp + 0x188]
test eax, eax
jne 0x140030ca2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x1ac], eax
mov edx, dword [rsp + 0x1ac]
lea rcx, [0x140041000]
call fcn.1400356f0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x190]
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 + 0xc0]
call qword [rsp + 0x188]
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x1ac]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140031164
mov byte [rsp + 0x170], 1
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x190]
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 + 0x198]
call qword [rsp + 0x188]
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x190]
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 + 0x198]
call qword [rsp + 0x188]
test eax, eax
jne 0x140030e16
movzx eax, byte [rsp + 0x170]
test eax, eax
jne 0x140030e16
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x1b0], eax
mov edx, dword [rsp + 0x1b0]
lea rcx, str.Dismount_Volume3_failed__d
call fcn.1400356f0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x190]
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 + 0x198]
call qword [rsp + 0x188]
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x190]
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 + 0xc0]
call qword [rsp + 0x188]
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x1b0]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140031164
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x190]
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 + 0xc0]
call qword [rsp + 0x188]
test eax, eax
jne 0x140030f41
movzx eax, byte [rsp + 0x194]
test eax, eax
jne 0x140030f41
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x1b4], eax
mov edx, dword [rsp + 0x1b4]
lea rcx, str.Dismount_Volume4_failed__d
call fcn.1400356f0
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x190]
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 + 0x198]
call qword [rsp + 0x188]
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x190]
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 + 0xc0]
call qword [rsp + 0x188]
mov rcx, qword [rsp + 0x198]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xc0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x1b4]
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x140031164
jmp 0x1400bf5b7
add rsp, 0x1c8
pop rdi
pop rsi
ret