Function at 0x1800062a0
Capabilities:
Unmount volume via ioctl

Disassembly:
push rbx
push rsi
sub rsp, 0x98
mov ebx, r8d
mov rsi, rcx
cmp qword [rcx + 0x10], rdx
je 0x1800062c5
mov eax, 0x80070057
add rsp, 0x98
pop rsi
pop rbx
ret
mov r8, qword [rcx + 0x38]
mov rdx, qword [rcx + 0x30]
mov r9, rcx
lea rcx, [rsp + 0x40]
mov qword [rsp + 0xb8], rbp
mov qword [rsp + 0xc0], rdi
call fcn.180004960
cmp ebx, 1
jne 0x1800065e7
mov rax, qword [rsp + 0x78]
mov dword [rax], 0x20015
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rcx, qword [rsp + 0x78]
xor ebp, ebp
mov qword [rcx + 0x10], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rsp + 0x78]
mov r9d, ebx
mov qword [rcx + 8], rax
mov r8, qword [rsp + 0x78]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x54
mov qword [rsp + 0x20], r8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x180006389
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x180006389
mov ecx, eax
call fcn.1800048f0
mov edi, eax
test eax, eax
jne 0x1800063a5
mov rcx, qword [rsp + 0x88]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1800063b0
call fcn.1800048d0
mov edi, eax
test edi, edi
je 0x1800063b0
mov rax, qword [rsp + 0x78]
jmp 0x1800063bf
mov rax, qword [rsp + 0x78]
cmp dword [rax + 4], ebp
je 0x1800063fe
mov edi, 0x80004005
test rax, rax
je 0x1800063d8
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1800063d8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1800063f0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x1800066f2
jmp 0x1800066e9
mov rdi, qword [rax + 0x28]
mov dword [rax], 0x20017
mov rax, qword [rsp + 0x78]
mov qword [rax + 0x28], rdi
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x30], 0x90020
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rcx, qword [rsp + 0x78]
xor r9d, r9d
mov qword [rcx + 0x10], rbp
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rsp + 0x78]
mov r9d, ebx
mov qword [rcx + 8], rax
mov r8, qword [rsp + 0x78]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x54
mov qword [rsp + 0x20], r8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1800064a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1800064a4
mov ecx, eax
call fcn.1800048f0
test eax, eax
jne 0x1800064be
mov rcx, qword [rsp + 0x88]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1800064be
call fcn.1800048d0
mov rax, qword [rsp + 0x78]
mov dword [rax], 0x20016
mov rax, qword [rsp + 0x78]
mov qword [rax + 0x28], rdi
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rcx, qword [rsp + 0x78]
xor r9d, r9d
mov qword [rcx + 0x10], rbp
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rsp + 0x78]
mov r9d, ebx
mov qword [rcx + 8], rax
mov r8, qword [rsp + 0x78]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x54
mov qword [rsp + 0x20], r8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x180006559
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x180006559
mov ecx, eax
call fcn.1800048f0
test eax, eax
jne 0x180006573
mov rcx, qword [rsp + 0x88]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x180006573
call fcn.1800048d0
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x180006586
mov qword [rsi + 0x10], rbp
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1800065a7
mov rax, qword [rcx + 8]
test rax, rax
je 0x1800065a7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x1800065c2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1800065cd
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x1800065e0
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
jmp 0x180006cd5
mov rax, qword [rsp + 0x78]
mov dword [rax], 0x20015
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rcx, qword [rsp + 0x78]
xor ebp, ebp
mov qword [rcx + 0x10], rbp
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rsp + 0x78]
mov r9d, ebx
mov qword [rcx + 8], rax
mov r8, qword [rsp + 0x78]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x54
mov qword [rsp + 0x20], r8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x18000667d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x18000667d
mov ecx, eax
call fcn.1800048f0
mov edi, eax
test eax, eax
jne 0x180006699
mov rcx, qword [rsp + 0x88]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1800066a4
call fcn.1800048d0
mov edi, eax
test edi, edi
je 0x1800066a4
mov rax, qword [rsp + 0x78]
jmp 0x1800066b3
mov rax, qword [rsp + 0x78]
cmp dword [rax + 4], ebp
je 0x18000670c
mov edi, 0x80004005
test rax, rax
je 0x1800066cc
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1800066cc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1800066e4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x1800066f2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x180006705
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, edi
jmp 0x180006cd5
mov qword [rsp + 0x90], r12
mov r12, qword [rax + 0x28]
mov dword [rax], 0x20017
mov rax, qword [rsp + 0x78]
mov qword [rax + 0x28], r12
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x30], 0x90018
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rcx, qword [rsp + 0x78]
xor r9d, r9d
mov qword [rcx + 0x10], rbp
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rsp + 0x78]
mov r9d, ebx
mov qword [rcx + 8], rax
mov r8, qword [rsp + 0x78]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x54
mov qword [rsp + 0x20], r8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1800067bc
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1800067bc
mov ecx, eax
call fcn.1800048f0
mov edi, eax
test eax, eax
jne 0x1800067d8
mov rcx, qword [rsp + 0x88]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1800067e3
call fcn.1800048d0
mov edi, eax
test edi, edi
je 0x1800067e3
mov rax, qword [rsp + 0x78]
jmp 0x1800067f6
mov rax, qword [rsp + 0x78]
cmp dword [rax + 4], ebp
je 0x1800068f0
mov edi, 0x80004005
mov dword [rax], 0x20016
mov rax, qword [rsp + 0x78]
mov qword [rax + 0x28], r12
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rcx, qword [rsp + 0x78]
xor r9d, r9d
mov qword [rcx + 0x10], rbp
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rsp + 0x78]
mov r9d, ebx
mov qword [rcx + 8], rax
mov r8, qword [rsp + 0x78]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x54
mov qword [rsp + 0x20], r8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x18000688c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x18000688c
mov ecx, eax
call fcn.1800048f0
test eax, eax
jne 0x1800068a6
mov rcx, qword [rsp + 0x88]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1800068a6
call fcn.1800048d0
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1800068c7
mov rax, qword [rcx + 8]
test rax, rax
je 0x1800068c7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x1800068e2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x180006b3a
jmp 0x180006b34
mov rcx, qword [rsi + 0x10]
test rcx, rcx
je 0x180006908
mov qword [rsi + 0x10], rbp
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x78]
mov dword [rax], 0x20017
mov rax, qword [rsp + 0x78]
mov qword [rax + 0x28], r12
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x30], 0x90020
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rcx, qword [rsp + 0x78]
xor r9d, r9d
mov qword [rcx + 0x10], rbp
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rsp + 0x78]
mov r9d, ebx
mov qword [rcx + 8], rax
mov r8, qword [rsp + 0x78]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x54
mov qword [rsp + 0x20], r8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1800069ac
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x1800069ac
mov ecx, eax
call fcn.1800048f0
mov edi, eax
test eax, eax
jne 0x1800069c8
mov rcx, qword [rsp + 0x88]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1800069d3
call fcn.1800048d0
mov edi, eax
test edi, edi
je 0x1800069d3
mov rax, qword [rsp + 0x78]
jmp 0x1800069e2
mov rax, qword [rsp + 0x78]
cmp dword [rax + 4], ebp
je 0x180006a21
mov edi, 0x80004005
test rax, rax
je 0x1800069fb
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1800069fb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x180006a13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x180006b3a
jmp 0x180006b31
mov dword [rax], 0x20017
mov rax, qword [rsp + 0x78]
mov qword [rax + 0x28], r12
mov rax, qword [rsp + 0x78]
mov dword [rax + 0x30], 0x9001c
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rcx, qword [rsp + 0x78]
xor r9d, r9d
mov qword [rcx + 0x10], rbp
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rsp + 0x78]
mov r9d, ebx
mov qword [rcx + 8], rax
mov r8, qword [rsp + 0x78]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x54
mov qword [rsp + 0x20], r8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x180006ac5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x180006ac5
mov ecx, eax
call fcn.1800048f0
mov edi, eax
test eax, eax
jne 0x180006ae1
mov rcx, qword [rsp + 0x88]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x180006aec
call fcn.1800048d0
mov edi, eax
test edi, edi
je 0x180006aec
mov rax, qword [rsp + 0x78]
jmp 0x180006afb
mov rax, qword [rsp + 0x78]
cmp dword [rax + 4], ebp
je 0x180006b54
mov edi, 0x80004005
test rax, rax
je 0x180006b14
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x180006b14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x180006b2c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x78]
test rax, rax
je 0x180006b3a
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x180006b4d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov eax, edi
jmp 0x180006ccd
mov dword [rax], 0x20016
mov rax, qword [rsp + 0x78]
mov qword [rax + 0x28], r12
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov rcx, qword [rsp + 0x78]
xor r9d, r9d
mov qword [rcx + 0x10], rbp
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rcx, qword [rsp + 0x78]
mov r9d, ebx
mov qword [rcx + 8], rax
mov r8, qword [rsp + 0x78]
mov edx, dword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x54
mov qword [rsp + 0x20], r8
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x180006bec
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x180006bec
mov ecx, eax
call fcn.1800048f0
mov edi, eax
test eax, eax
jne 0x180006c08
mov rcx, qword [rsp + 0x88]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x180006c13
call fcn.1800048d0
mov edi, eax
test edi, edi
je 0x180006c13
mov rcx, qword [rsp + 0x78]
jmp 0x180006c22
mov rcx, qword [rsp + 0x78]
cmp dword [rcx + 4], ebp
je 0x180006c7b
mov edi, 0x80004005
test rcx, rcx
je 0x180006c3e
mov rax, qword [rcx + 8]
test rax, rax
je 0x180006c3e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x180006c59
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x180006c64
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x180006c77
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov eax, edi
jmp 0x180006ccd
mov rax, qword [rcx + 8]
test rax, rax
je 0x180006c92
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rsp + 0x88]
test rax, rax
je 0x180006cad
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x180006cb8
call qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x180006ccb
mov rax, qword [rcx]
call qword [rax + 0x10]
xor eax, eax
mov r12, qword [rsp + 0x90]
mov rbp, qword [rsp + 0xb8]
mov rdi, qword [rsp + 0xc0]
add rsp, 0x98
pop rsi
pop rbx
ret