Function at 0x180008280
Capabilities:
Unmount volume via ioctl

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0xb0
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov ebx, edx
mov rbp, rcx
mov rdi, qword [rcx + 0x28]
mov rax, qword [rcx + 0x20]
xor r12d, r12d
mov qword [r11 - 0x38], r12
xor ecx, ecx
mov qword [r11 - 0x68], rcx
mov qword [r11 - 0x60], rcx
mov qword [r11 - 0x58], rcx
mov qword [r11 - 0x50], rcx
lea rcx, [r11 - 0x78]
mov qword [r11 - 0x48], rcx
mov qword [r11 - 0x78], rax
mov dword [rsp + 0x68], 0x87342000
cmp r12, rbp
je 0x180008302
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 8]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1800082fa
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0xa0], rbp
mov edx, 0x54
lea ecx, [rdx - 0x14]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rsp + 0x98], rax
mov qword [rax + 8], r12
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x18], rdi
mov rax, qword [rsp + 0x98]
mov qword [rax + 0x20], r12
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 0x1800086e7
mov rax, qword [rsp + 0x98]
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], r12
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 + 0xe8]
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 0x180008415
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x180008415
mov ecx, eax
call fcn.1800048f0
mov edi, eax
test eax, eax
jne 0x180008431
or edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x18000843f
call fcn.1800048d0
mov edi, eax
test edi, edi
je 0x18000843f
mov rax, qword [rsp + 0x98]
jmp 0x180008452
mov rax, qword [rsp + 0x98]
cmp dword [rax + 4], 0
je 0x1800084b1
mov edi, 0x80004005
test rax, rax
je 0x18000846e
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18000846e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x180008489
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x98]
test rax, rax
je 0x180008497
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1800084aa
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, edi
jmp 0x180008a60
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], r12
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 + 0xe8]
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 0x18000856a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x18000856a
mov ecx, eax
call fcn.1800048f0
mov edi, eax
test eax, eax
jne 0x180008586
or edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x180008594
call fcn.1800048d0
mov edi, eax
test edi, edi
je 0x180008594
mov rax, qword [rsp + 0x98]
jmp 0x1800085ab
mov rax, qword [rsp + 0x98]
cmp dword [rax + 4], 0
je 0x1800086ef
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], r12
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 + 0xe8]
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 0x180008662
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x180008662
mov ecx, eax
call fcn.1800048f0
test eax, eax
jne 0x18000867d
or edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x18000867d
call fcn.1800048d0
nop
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1800086a4
mov rax, qword [rcx + 8]
test rax, rax
je 0x1800086a4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x1800086c2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1800086cd
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1800086e0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, edi
jmp 0x180008a60
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], r12
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 + 0xe8]
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 0x18000878b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x18000878b
mov ecx, eax
call fcn.1800048f0
mov edi, eax
test eax, eax
jne 0x1800087a7
or edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1800087b5
call fcn.1800048d0
mov edi, eax
test edi, edi
je 0x1800087b5
mov rcx, qword [rsp + 0x98]
jmp 0x1800087c8
mov rcx, qword [rsp + 0x98]
cmp dword [rcx + 4], 0
je 0x18000882a
mov edi, 0x80004005
test rcx, rcx
je 0x1800087e7
mov rax, qword [rcx + 8]
test rax, rax
je 0x1800087e7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x180008805
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x180008810
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x180008823
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov eax, edi
jmp 0x180008a60
mov qword [rsp + 0xe0], r12
mov rbx, qword [0x18002c8b8]
test rbx, rbx
je 0x18000884f
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rsp + 0x98]
mov qword [rsp + 0xe0], rbx
test rbx, rbx
je 0x1800088eb
mov rdi, qword [rbp + 0x60]
cmp rdi, qword [rbp + 0x68]
jbe 0x18000886f
call fcn.180013f94
mov rsi, qword [rbp + 0x48]
mov r13, qword [rbp + 0x68]
cmp qword [rbp + 0x60], r13
jbe 0x180008882
call fcn.180013f94
test rsi, rsi
je 0x18000888d
cmp rsi, qword [rbp + 0x48]
je 0x180008892
call fcn.180013f94
cmp rdi, r13
je 0x1800088e3
test rsi, rsi
jne 0x1800088a6
call fcn.180013f94
mov r11, r12
jmp 0x1800088a9
mov r11, qword [rsi]
cmp rdi, qword [r11 + 0x20]
jb 0x1800088b4
call fcn.180013f94
mov rax, qword [rbx]
mov rdx, qword [rdi]
mov rcx, rbx
call qword [rax + 0x40]
test rsi, rsi
jne 0x1800088cf
call fcn.180013f94
mov r11, r12
jmp 0x1800088d2
mov r11, qword [rsi]
cmp rdi, qword [r11 + 0x20]
jb 0x1800088dd
call fcn.180013f94
add rdi, 0x30
jmp 0x180008873
mov rcx, qword [rsp + 0x98]
cmp dword [rbp + 0xc], 3
jne 0x180008969
test rbx, rbx
je 0x180008907
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x180008926
mov rax, qword [rcx + 8]
test rax, rax
je 0x180008926
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x180008944
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x18000894f
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x180008962
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
jmp 0x180008a60
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 + 0xe8], 8
mov dword [rsp + 0x48], 0x14
mov dword [rsp + 0x4c], 2
movzx ecx, word [rbp + 0x1c]
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 + 0xe8]
mov ecx, 0x68
call qword [sym.imp.USER32.dll_BroadcastSystemMessageW]
test eax, eax
jns 0x1800089eb
call fcn.1800048d0
mov r12d, eax
test rbx, rbx
je 0x1800089fa
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x180008a21
mov rax, qword [rcx + 8]
test rax, rax
je 0x180008a21
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x180008a3f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x180008a4a
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x180008a5d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, r12d
mov rbx, qword [rsp + 0xf0]
add rsp, 0xb0
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret