Function at 0x64e7d0
Capabilities:
Unmount volume via ioctl

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x14c
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x130], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], ebx
call fcn.0064d010
mov dword [ebp - 0x12c], eax
test eax, eax
js 0x64eb98
lea edi, [ebp - 0x11c]
mov esi, dword [0x90b650]
mov dword [ebp - 0x11c], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x90018
mov eax, dword [ebx + 0x23c]
mov dword [esp], eax
call esi
sub esp, 0x20
test eax, eax
je 0x64e9e0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x90020
mov eax, dword [ebx + 0x23c]
mov dword [esp], eax
call esi
sub esp, 0x20
test eax, eax
je 0x64e998
mov dword [ebp - 0x120], 0
lea eax, [ebp - 0x120]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 4
mov dword [esp + 8], eax
mov dword [esp + 4], 0x2d4804
mov eax, dword [ebx + 0x23c]
mov dword [esp], eax
call esi
sub esp, 0x20
test eax, eax
je 0x64eb30
mov eax, dword [0x9003c0]
mov dword [ebp - 0x134], eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x2d4808
mov eax, dword [ebx + 0x23c]
mov dword [esp], eax
call esi
sub esp, 0x20
test eax, eax
je 0x64eb60
mov eax, dword [0x9003c0]
mov edx, dword [ebp - 0x134]
sub eax, edx
cmp eax, 0x14
jbe 0x64ea30
cmp byte [ebp - 0x130], 0
jne 0x64eac8
xor esi, esi
jmp 0x64e9c4
call dword [0x90b6dc]
neg eax
mov dword [esp + 0xc], eax
mov esi, eax
mov eax, dword [ebx + 0x1cc]
mov dword [esp + 4], 0x806218
mov dword [esp + 8], eax
mov dword [esp], 3
call fcn.004fc8f0
mov eax, dword [ebp - 0x12c]
test eax, eax
jne 0x64ea16
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
call dword [0x90b6dc]
neg eax
mov dword [esp + 0xc], eax
mov esi, eax
mov eax, dword [ebx + 0x1cc]
mov dword [esp + 4], 0x8061fb
mov dword [esp + 8], eax
mov dword [esp], 3
call fcn.004fc8f0
mov eax, dword [ebp - 0x12c]
test eax, eax
je 0x64e9ce
mov dword [esp], ebx
mov dword [esp + 4], 0
call fcn.0064d230
lea esp, [ebp - 0xc]
mov eax, esi
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], eax
mov dword [esp + 4], 0x806284
mov dword [esp], 5
call fcn.004fc8f0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], edi
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x2d480c
mov eax, dword [ebx + 0x23c]
mov dword [esp], eax
call esi
sub esp, 0x20
test eax, eax
jne 0x64e981
call dword [0x90b6dc]
neg eax
mov dword [esp + 0xc], eax
mov esi, eax
mov eax, dword [ebx + 0x1cc]
mov dword [esp + 4], 0x8062c4
mov dword [esp + 8], eax
mov dword [esp], 3
call fcn.004fc8f0
jmp 0x64e9c4
mov esi, dword [ebx + 0x1cc]
mov dword [esp], 0x8062e8
call fcn.007101e8
mov dword [esp + 0xc], esi
lea esi, [ebp - 0x118]
mov dword [esp], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 0x100
call fcn.00723ce0
mov dword [esp], esi
xor esi, esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xbb8
mov dword [esp + 4], 0
call fcn.004022b0
jmp 0x64e9c4
call dword [0x90b6dc]
neg eax
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x1cc]
mov dword [esp + 4], 0x806238
mov dword [esp + 8], eax
mov dword [esp], 3
call fcn.004fc8f0
jmp 0x64e916
call dword [0x90b6dc]
neg eax
mov dword [esp + 0xc], eax
mov esi, eax
mov eax, dword [ebx + 0x1cc]
mov dword [esp + 4], 0x806260
mov dword [esp + 8], eax
mov dword [esp], 3
call fcn.004fc8f0
jmp 0x64e9c4
mov esi, 0xffffffff
jmp 0x64e9ce