Function at 0x180004eb0
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 0x180004f34
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 8]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x180004f2c
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 0x1800055f3
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 0x18000502c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x18000502c
mov ecx, eax
call fcn.1800048f0
mov edi, eax
test eax, eax
jne 0x180005048
or edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x180005056
call fcn.1800048d0
mov edi, eax
test edi, edi
je 0x180005056
mov rax, qword [rsp + 0x98]
jmp 0x180005069
mov rax, qword [rsp + 0x98]
cmp dword [rax + 4], 0
je 0x1800050c8
mov edi, 0x80004005
test rax, rax
je 0x180005085
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x180005085
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x1800050a0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x98]
test rax, rax
je 0x1800050ae
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1800050c1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, edi
jmp 0x180005938
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 0x180005185
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x180005185
mov ecx, eax
call fcn.1800048f0
mov edi, eax
test eax, eax
jne 0x1800051a1
or edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1800051af
call fcn.1800048d0
mov edi, eax
test edi, edi
je 0x1800051af
mov rax, qword [rsp + 0x98]
jmp 0x1800051c6
mov rax, qword [rsp + 0x98]
cmp dword [rax + 4], 0
je 0x1800052f3
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 0x18000526e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x18000526e
mov ecx, eax
call fcn.1800048f0
test eax, eax
jne 0x180005289
or edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x180005289
call fcn.1800048d0
nop
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1800052b0
mov rax, qword [rcx + 8]
test rax, rax
je 0x1800052b0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x1800052ce
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1800052d9
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1800052ec
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, edi
jmp 0x180005938
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 0x1800053ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1800053ac
mov ecx, eax
call fcn.1800048f0
mov edi, eax
test eax, eax
jne 0x1800053c8
or edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1800053d6
call fcn.1800048d0
mov edi, eax
test edi, edi
je 0x1800053d6
mov rax, qword [rsp + 0x98]
jmp 0x1800053ed
mov rax, qword [rsp + 0x98]
cmp dword [rax + 4], 0
je 0x1800055fb
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 0x1800054a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1800054a4
mov ecx, eax
call fcn.1800048f0
test eax, eax
jne 0x1800054be
or edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1800054be
call fcn.1800048d0
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 0x18000556e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x18000556e
mov ecx, eax
call fcn.1800048f0
test eax, eax
jne 0x180005589
or edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x180005589
call fcn.1800048d0
nop
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1800055b0
mov rax, qword [rcx + 8]
test rax, rax
je 0x1800055b0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x1800055ce
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1800055d9
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1800055ec
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, edi
jmp 0x180005938
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 0x180005697
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x180005697
mov ecx, eax
call fcn.1800048f0
mov edi, eax
test eax, eax
jne 0x1800056b3
or edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1800056c1
call fcn.1800048d0
mov edi, eax
test edi, edi
je 0x1800056c1
mov rax, qword [rsp + 0x98]
jmp 0x1800056d8
mov rax, qword [rsp + 0x98]
cmp dword [rax + 4], 0
je 0x180005805
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 0x180005780
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x180005780
mov ecx, eax
call fcn.1800048f0
test eax, eax
jne 0x18000579b
or edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x18000579b
call fcn.1800048d0
nop
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1800057c2
mov rax, qword [rcx + 8]
test rax, rax
je 0x1800057c2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x1800057e0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1800057eb
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1800057fe
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov eax, edi
jmp 0x180005938
cmp qword [rsi + 0x10], 0
je 0x180005852
mov qword [rsp + 0xd0], rbp
mov rbx, qword [0x18002c8b8]
test rbx, rbx
je 0x180005829
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov qword [rsp + 0xd0], rbx
test rbx, rbx
je 0x180005844
mov rax, qword [rbx]
mov rdx, qword [rsi + 0x10]
mov rcx, rbx
call qword [rax + 0x40]
nop
test rbx, rbx
je 0x180005852
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 0x1800058d3
call fcn.1800048d0
mov ebp, eax
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1800058fa
mov rax, qword [rcx + 8]
test rax, rax
je 0x1800058fa
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x180005918
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x180005923
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x180005936
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