Function at 0x180008290
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 0x180008312
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 8]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x18000830a
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 0x1800086f7
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 0x180008425
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x180008425
mov ecx, eax
call fcn.180004900
mov edi, eax
test eax, eax
jne 0x180008441
or edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x18000844f
call fcn.1800048e0
mov edi, eax
test edi, edi
je 0x18000844f
mov rax, qword [rsp + 0x98]
jmp 0x180008462
mov rax, qword [rsp + 0x98]
cmp dword [rax + 4], 0
je 0x1800084c1
mov edi, 0x80004005
test rax, rax
je 0x18000847e
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x18000847e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x98]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x180008499
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x98]
test rax, rax
je 0x1800084a7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1800084ba
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, edi
jmp 0x180008a70
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 0x18000857a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x18000857a
mov ecx, eax
call fcn.180004900
mov edi, eax
test eax, eax
jne 0x180008596
or edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1800085a4
call fcn.1800048e0
mov edi, eax
test edi, edi
je 0x1800085a4
mov rax, qword [rsp + 0x98]
jmp 0x1800085bb
mov rax, qword [rsp + 0x98]
cmp dword [rax + 4], 0
je 0x1800086ff
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 0x180008672
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x180008672
mov ecx, eax
call fcn.180004900
test eax, eax
jne 0x18000868d
or edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x18000868d
call fcn.1800048e0
nop
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1800086b4
mov rax, qword [rcx + 8]
test rax, rax
je 0x1800086b4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x1800086d2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x1800086dd
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1800086f0
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, edi
jmp 0x180008a70
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 0x18000879b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x18000879b
mov ecx, eax
call fcn.180004900
mov edi, eax
test eax, eax
jne 0x1800087b7
or edx, 0xffffffff
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1800087c5
call fcn.1800048e0
mov edi, eax
test edi, edi
je 0x1800087c5
mov rcx, qword [rsp + 0x98]
jmp 0x1800087d8
mov rcx, qword [rsp + 0x98]
cmp dword [rcx + 4], 0
je 0x18000883a
mov edi, 0x80004005
test rcx, rcx
je 0x1800087f7
mov rax, qword [rcx + 8]
test rax, rax
je 0x1800087f7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x180008815
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x180008820
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x180008833
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov eax, edi
jmp 0x180008a70
mov qword [rsp + 0xe0], r12
mov rbx, qword [0x18002c8b8]
test rbx, rbx
je 0x18000885f
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 0x1800088fb
mov rdi, qword [rbp + 0x60]
cmp rdi, qword [rbp + 0x68]
jbe 0x18000887f
call fcn.180013f94
mov rsi, qword [rbp + 0x48]
mov r13, qword [rbp + 0x68]
cmp qword [rbp + 0x60], r13
jbe 0x180008892
call fcn.180013f94
test rsi, rsi
je 0x18000889d
cmp rsi, qword [rbp + 0x48]
je 0x1800088a2
call fcn.180013f94
cmp rdi, r13
je 0x1800088f3
test rsi, rsi
jne 0x1800088b6
call fcn.180013f94
mov r11, r12
jmp 0x1800088b9
mov r11, qword [rsi]
cmp rdi, qword [r11 + 0x20]
jb 0x1800088c4
call fcn.180013f94
mov rax, qword [rbx]
mov rdx, qword [rdi]
mov rcx, rbx
call qword [rax + 0x40]
test rsi, rsi
jne 0x1800088df
call fcn.180013f94
mov r11, r12
jmp 0x1800088e2
mov r11, qword [rsi]
cmp rdi, qword [r11 + 0x20]
jb 0x1800088ed
call fcn.180013f94
add rdi, 0x30
jmp 0x180008883
mov rcx, qword [rsp + 0x98]
cmp dword [rbp + 0xc], 3
jne 0x180008979
test rbx, rbx
je 0x180008917
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x180008936
mov rax, qword [rcx + 8]
test rax, rax
je 0x180008936
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x180008954
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x18000895f
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x180008972
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
jmp 0x180008a70
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 0x1800089fb
call fcn.1800048e0
mov r12d, eax
test rbx, rbx
je 0x180008a0a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x180008a31
mov rax, qword [rcx + 8]
test rax, rax
je 0x180008a31
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0xa8]
test rax, rax
je 0x180008a4f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x98]
test rcx, rcx
je 0x180008a5a
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x180008a6d
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