Function at 0x1007cd0
Capabilities:
Check if file exists
Unmount volume via ioctl

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
push esi
push edi
push 0xc0000000
jne 0x1007d45
mov edi, dword [ebp + 8]
mov ebx, dword [sym.imp.imdisk.cpl__ImDiskOpenDeviceByNumber_8]
push edi
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x1007e30
push 0x80000000
push edi
call ebx
mov esi, eax
cmp esi, 0xffffffff
jne 0x1007e30
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x1007e18
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
push 0x1005374
call dword [sym.imp.msvcrt.dll_fputs]
add esp, 8
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edi, dword [sym.imp.imdisk.cpl__ImDiskOpenDeviceByMountPoint_8]
push ebx
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x1007e30
push 0x80000000
push ebx
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x1007e30
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x91
ja 0x1007dd0
je 0x1007df2
sub eax, 1
je 0x1007daa
sub eax, 0x56
jne 0x1007dde
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push eax
push 0x1004c78
call dword [sym.imp.msvcrt.dll_fputs]
add esp, 8
pop edi
pop esi
mov eax, 9
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [sym.imp.msvcrt.dll__iob]
add ecx, 0x40
push ecx
push 0x1004be4
call dword [sym.imp.msvcrt.dll_fputs]
add esp, 8
pop edi
pop esi
mov eax, 9
pop ebx
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 0x10b
je 0x1007df2
cmp eax, 0x1126
je 0x1007df2
push ebx
call fcn.01006240
pop edi
pop esi
mov eax, 9
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [sym.imp.msvcrt.dll__iob]
push ebx
add edx, 0x40
push 0x1005324
push edx
call fcn.010061c0
add esp, 0xc
pop edi
pop esi
mov eax, 9
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x10046f4
call fcn.01006240
pop edi
pop esi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push esi
call fcn.010062b0
test eax, eax
jne 0x1007e4f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 5
pop ebx
mov esp, ebp
pop ebp
ret 0x10
test byte [ebp + 0x10], 3
mov edi, dword [sym.imp.msvcrt.dll_puts]
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
je 0x1007ee5
push 0x10052a8
call edi
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push 0x1005294
call edi
add esp, 4
push 0
lea ecx, [ebp + 8]
push ecx
push 0
push 0
push 0
push 0
push 0x90018
push esi
call ebx
test eax, eax
jne 0x1007ec1
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x1007ea6
mov eax, 0x1005388
push eax
call fcn.01006240
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 2
pop ebx
mov esp, ebp
pop ebp
ret 0x10
push 0x100525c
call edi
add esp, 4
push 0
lea edx, [ebp + 8]
push edx
push 0
push 0
push 0
push 0
push 0x90020
push esi
call ebx
test eax, eax
je 0x1007e9a
push 0x1005678
call edi
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
add esp, 4
push 0
lea edx, [ebp + 8]
push edx
push 8
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push 8
mov dword [ebp - 4], ecx
mov ecx, eax
push ecx
push 0x83722014
push esi
call ebx
test eax, eax
jne 0x1007f21
mov edx, dword [ebp + 0xc]
push edx
call fcn.01006240
cmp dword [ebp - 8], 0
push esi
je 0x1007f57
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
mov ecx, dword [sym.imp.msvcrt.dll__iob]
push eax
add ecx, 0x40
push 0x1005640
push ecx
call fcn.010061c0
add esp, 0xc
pop edi
pop esi
mov eax, 3
pop ebx
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x10051dc
call edi
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10