Function at 0x180004ec0
Capabilities:
Unmount volume via ioctl

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
sub rsp, 0xb0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov ebx, edx
mov rsi, rcx
xor ebp, ebp
mov r12, rbp
mov rdi, qword [rcx + 0x38]
mov rax, qword [rcx + 0x30]
mov qword [r11 - 0x28], rbp
xor ecx, ecx
mov qword [r11 - 0x58], rcx
mov qword [r11 - 0x50], rcx
mov qword [r11 - 0x48], rcx
mov qword [r11 - 0x40], rcx
lea rcx, [r11 - 0x68]
mov qword [r11 - 0x38], rcx
mov qword [r11 - 0x68], rax
mov dword [rsp + 0x68], 0x87342000
cmp rbp, rsi
je 0x180004f44
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x180004f3c
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0xa0], rsi
mov edx, 0x54
lea ecx, [rdx - 0x14]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x98], rax
mov qword [rax + 8], rbp
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x18], rdi
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsp + 0xa8], rax
test ebx, ebx
jne 0x180005603
mov rax, qword [rsp + 0x98]
mov dword [rax], 0x20015
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rbx, rax
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x10], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r11, rax
mov rax, qword [rsp + 0x98]
mov qword [rax + 8], r11
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x54
mov r8, qword [rsp + 0x98]
mov qword [rsp + 0x20], r8
mov r9d, ebx
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x18000503c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x18000503c
mov ecx, eax
call fcn.180004900
mov edi, eax
test eax, eax
jne 0x180005058
or edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x180005066
call fcn.1800048e0
mov edi, eax
test edi, edi
je 0x180005066
mov rax, qword [rsp + 0x98]
jmp 0x180005079
mov rax, qword [rsp + 0x98]
cmp dword [rax + 4], 0
je 0x1800050d8
mov edi, 0x80004005
test rax, rax
je 0x180005095
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x180005095
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x1800050b0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x98]
test rax, rax
je 0x1800050be
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1800050d1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, edi
jmp 0x180005948
mov r12, qword [rax + 0x28]
mov dword [rax], 0x20017
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x28], r12
mov rax, qword [rsp + 0x98]
mov dword [rax + 0x30], 0x90018
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rbx, rax
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x10], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r11, rax
mov rax, qword [rsp + 0x98]
mov qword [rax + 8], r11
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x54
mov r8, qword [rsp + 0x98]
mov qword [rsp + 0x20], r8
mov r9d, ebx
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x180005195
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x180005195
mov ecx, eax
call fcn.180004900
mov edi, eax
test eax, eax
jne 0x1800051b1
or edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1800051bf
call fcn.1800048e0
mov edi, eax
test edi, edi
je 0x1800051bf
mov rax, qword [rsp + 0x98]
jmp 0x1800051d6
mov rax, qword [rsp + 0x98]
cmp dword [rax + 4], 0
je 0x180005303
mov edi, 0x80004005
mov dword [rax], 0x20016
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x28], r12
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rbx, rax
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x10], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r11, rax
mov rax, qword [rsp + 0x98]
mov qword [rax + 8], r11
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x54
mov r8, qword [rsp + 0x98]
mov qword [rsp + 0x20], r8
mov r9d, ebx
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x18000527e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x18000527e
mov ecx, eax
call fcn.180004900
test eax, eax
jne 0x180005299
or edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x180005299
call fcn.1800048e0
nop
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1800052c0
mov rax, qword [rcx + 8]
test rax, rax
je 0x1800052c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x1800052de
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1800052e9
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1800052fc
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, edi
jmp 0x180005948
mov dword [rax], 0x20017
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x28], r12
mov rax, qword [rsp + 0x98]
mov dword [rax + 0x30], 0x90020
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rbx, rax
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x10], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r11, rax
mov rax, qword [rsp + 0x98]
mov qword [rax + 8], r11
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x54
mov r8, qword [rsp + 0x98]
mov qword [rsp + 0x20], r8
mov r9d, ebx
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1800053bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1800053bc
mov ecx, eax
call fcn.180004900
mov edi, eax
test eax, eax
jne 0x1800053d8
or edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1800053e6
call fcn.1800048e0
mov edi, eax
test edi, edi
je 0x1800053e6
mov rax, qword [rsp + 0x98]
jmp 0x1800053fd
mov rax, qword [rsp + 0x98]
cmp dword [rax + 4], 0
je 0x18000560b
mov edi, 0x80004005
mov dword [rax], 0x20017
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x28], r12
mov rax, qword [rsp + 0x98]
mov dword [rax + 0x30], 0x9001c
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rbx, rax
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x10], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r11, rax
mov rax, qword [rsp + 0x98]
mov qword [rax + 8], r11
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x54
mov r8, qword [rsp + 0x98]
mov qword [rsp + 0x20], r8
mov r9d, ebx
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1800054b4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1800054b4
mov ecx, eax
call fcn.180004900
test eax, eax
jne 0x1800054ce
or edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1800054ce
call fcn.1800048e0
mov rax, qword [rsp + 0x98]
mov dword [rax], 0x20016
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x28], r12
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rbx, rax
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x10], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r11, rax
mov rax, qword [rsp + 0x98]
mov qword [rax + 8], r11
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x54
mov r8, qword [rsp + 0x98]
mov qword [rsp + 0x20], r8
mov r9d, ebx
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x18000557e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x18000557e
mov ecx, eax
call fcn.180004900
test eax, eax
jne 0x180005599
or edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x180005599
call fcn.1800048e0
nop
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1800055c0
mov rax, qword [rcx + 8]
test rax, rax
je 0x1800055c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x1800055de
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1800055e9
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1800055fc
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, edi
jmp 0x180005948
mov rax, qword [rsp + 0x98]
mov dword [rax], 0x20002
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x28], r12
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x10], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r11, rax
mov rax, qword [rsp + 0x98]
mov qword [rax + 8], r11
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x54
mov r8, qword [rsp + 0x98]
mov qword [rsp + 0x20], r8
mov r9d, 0x54
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1800056a7
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1800056a7
mov ecx, eax
call fcn.180004900
mov edi, eax
test eax, eax
jne 0x1800056c3
or edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1800056d1
call fcn.1800048e0
mov edi, eax
test edi, edi
je 0x1800056d1
mov rax, qword [rsp + 0x98]
jmp 0x1800056e8
mov rax, qword [rsp + 0x98]
cmp dword [rax + 4], 0
je 0x180005815
mov edi, 0x80004005
mov dword [rax], 0x20016
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x28], r12
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rbx, rax
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x10], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov r11, rax
mov rax, qword [rsp + 0x98]
mov qword [rax + 8], r11
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x54
mov r8, qword [rsp + 0x98]
mov qword [rsp + 0x20], r8
mov r9d, ebx
mov edx, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x180005790
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x180005790
mov ecx, eax
call fcn.180004900
test eax, eax
jne 0x1800057ab
or edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1800057ab
call fcn.1800048e0
nop
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1800057d2
mov rax, qword [rcx + 8]
test rax, rax
je 0x1800057d2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x1800057f0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1800057fb
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x18000580e
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov eax, edi
jmp 0x180005948
cmp qword [rsi + 0x10], 0
je 0x180005862
mov qword [rsp + 0xd0], rbp
mov rbx, qword [0x18002c8b8]
test rbx, rbx
je 0x180005839
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov qword [rsp + 0xd0], rbx
test rbx, rbx
je 0x180005854
mov rax, qword [rbx]
mov rdx, qword [rsi + 0x10]
mov rcx, rbx
call qword [rax + 0x40]
nop
test rbx, rbx
je 0x180005862
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
xor eax, eax
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], eax
mov dword [rsp + 0x58], eax
mov dword [rsp + 0xd8], 8
mov dword [rsp + 0x48], 0x14
mov dword [rsp + 0x4c], 2
movzx ecx, word [rsi + 0x24]
call fcn.1800142ec
mov r11w, ax
lea ecx, [r11 - 0x41]
mov eax, 1
shl eax, cl
mov dword [rsp + 0x54], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x8004
mov r8d, 0x219
lea rdx, [rsp + 0xd8]
mov ecx, 0x68
call qword [sym.imp.USER32.dll_BroadcastSystemMessageW]
test eax, eax
jns 0x1800058e3
call fcn.1800048e0
mov ebp, eax
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x18000590a
mov rax, qword [rcx + 8]
test rax, rax
je 0x18000590a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x180005928
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x180005933
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x180005946
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, ebp
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret