Function at 0x7e2841
Capabilities:
Unmount volume via ioctl

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x10]
xor ebx, ebx
push edi
mov edi, eax
cmp eax, ebx
jne 0x7e285d
mov edi, dword [esi + 0x14]
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x7e287b
push eax
call fcn.007e3dad
push edi
push eax
push 0x1011
call fcn.007e32cb
add esp, 0xc
jmp 0x7e2888
push edi
push 0x1012
call fcn.007e32cb
pop ecx
pop ecx
push 0x101d
call fcn.007e32cb
mov esi, dword [esi + 0x14]
pop ecx
push esi
lea eax, [ebp - 0x3c]
mov dword [ebp + 8], esi
mov esi, dword [0x10011ac]
push eax
call esi
mov edi, dword [0x10011b0]
push 0x2a
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x54], eax
push 7
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0xc0100080
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x5c], 0x18
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], 0x40
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call edi
cmp eax, ebx
mov dword [ebp - 8], eax
jge 0x7e2906
push 0x1013
call fcn.007e32cb
pop ecx
push dword [ebp - 8]
call dword [0x10011a8]
push eax
call fcn.007e331c
jmp 0x7e2ca2
lea eax, [ebp - 0x24]
push eax
push 0x10012fc
push 0x100120c
push dword [ebp + 8]
call fcn.007e3ce8
cmp eax, ebx
mov dword [ebp - 8], eax
jge 0x7e2942
push 0x1014
call fcn.007e32cb
pop ecx
push dword [ebp - 8]
call dword [0x10011a8]
push eax
call fcn.007e331c
jmp 0x7e2c8e
push dword [ebp - 0x24]
lea eax, [ebp - 0x3c]
push eax
call esi
push 0x4021
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x54], eax
push ebx
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0x100000
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x5c], 0x18
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], 0x40
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call edi
push dword [ebp - 0x24]
mov dword [ebp - 8], eax
call fcn.007e3170
cmp dword [ebp - 8], ebx
jge 0x7e2998
push 0x1015
jmp 0x7e2928
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x28]
call fcn.007e24da
push dword [ebp - 0x28]
mov dword [ebp - 8], eax
call dword [0x10011b4]
cmp dword [ebp - 8], ebx
jge 0x7e29c3
push 0x1016
jmp 0x7e2928
mov eax, dword [ebp - 0x14]
sub eax, ebx
je 0x7e2a09
dec eax
je 0x7e29f8
dec eax
je 0x7e29e7
push 0x1017
call fcn.007e32cb
pop ecx
mov dword [ebp - 8], 0xc0000001
jmp 0x7e2c8e
mov eax, dword [0x1015bc0]
mov eax, dword [eax + 8]
mov dword [ebp - 8], 0x2000
jmp 0x7e2a17
mov eax, dword [0x1015bc0]
mov eax, dword [eax + 4]
mov dword [ebp - 8], 0x600
jmp 0x7e2a17
mov eax, dword [0x1015bc0]
mov eax, dword [eax]
mov dword [ebp - 8], 0x200
mov ecx, dword [ebp - 8]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
xor edx, edx
mov eax, ecx
div edi
mov dword [ebp - 0x20], ecx
cmp edx, ebx
je 0x7e2a36
mov eax, ecx
sub eax, edx
add eax, edi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, edi
push eax
call fcn.007e314b
mov esi, eax
mov dword [ebp - 0x34], esi
cmp esi, ebx
jne 0x7e2a61
push 0x1018
call fcn.007e32cb
pop ecx
mov dword [ebp - 8], 0xc000009a
jmp 0x7e2c8e
push ebx
push edi
push ebx
push esi
call fcn.007e42bc
cmp eax, ebx
je 0x7e2a72
sub esi, eax
add esi, edi
push 0x90018
push dword [ebp - 0xc]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov byte [ebp + 0xb], bl
mov byte [ebp - 2], bl
mov byte [ebp - 1], bl
call fcn.007e25a1
cmp eax, ebx
jge 0x7e2aa4
cmp byte [ebp + 0xc], bl
jne 0x7e2aa0
mov byte [ebp - 1], 1
mov dword [ebp - 0x2c], eax
jmp 0x7e2adb
mov byte [ebp + 0xb], 1
push 0x90020
push dword [ebp - 0xc]
call fcn.007e25a1
cmp eax, ebx
jge 0x7e2abe
mov byte [ebp - 2], 1
mov dword [ebp - 0x30], eax
jmp 0x7e2adb
cmp byte [ebp + 0xb], 1
jne 0x7e2adb
push 0x101e
call fcn.007e32cb
mov dword [esp], 0x101d
call fcn.007e32cb
pop ecx
mov edi, dword [0x1001010]
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
call edi
cmp eax, 0xffffffff
jne 0x7e2af8
push 0x1019
jmp 0x7e2c56
push ebx
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x18]
push esi
push dword [ebp - 0xc]
call dword [0x1001020]
test eax, eax
je 0x7e2c51
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x10], eax
jne 0x7e2c51
xor eax, eax
cmp dword [ebp - 0x14], ebx
jl 0x7e2b4c
cmp dword [ebp - 0x14], 1
jle 0x7e2b46
cmp dword [ebp - 0x14], 2
jne 0x7e2b4c
cmp dword [0x1015bc0], 0x1011a00
push 0x54
pop eax
je 0x7e2b4c
mov byte [esi + 0x24], 0x80
jmp 0x7e2b4c
movzx eax, byte [esi + 1]
inc eax
inc eax
mov ecx, dword [ebp - 8]
sub ecx, eax
push ecx
mov ecx, dword [ebp - 0x1c]
add ecx, eax
push ecx
add eax, esi
push eax
call fcn.007e427c
add esp, 0xc
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
call edi
cmp eax, 0xffffffff
je 0x7e2aee
cmp dword [ebp - 0x14], 1
push ebx
lea eax, [ebp - 0x10]
push eax
je 0x7e2b8e
mov edi, dword [ebp - 0x20]
jmp 0x7e2bcf
push 0x101b
jmp 0x7e2c56
push 0x200
push esi
push dword [ebp - 0xc]
call dword [0x1001058]
test eax, eax
je 0x7e2b84
cmp dword [ebp - 0x10], 0x200
jne 0x7e2b84
push ebx
push ebx
push 0x1800
push dword [ebp - 0xc]
call edi
cmp eax, 0xffffffff
je 0x7e2aee
push ebx
lea eax, [ebp - 0x10]
push eax
mov edi, 0x200
add esi, 0x400
push edi
push esi
push dword [ebp - 0xc]
call dword [0x1001058]
test eax, eax
je 0x7e2b84
cmp dword [ebp - 0x10], edi
jne 0x7e2b84
mov eax, dword [ebp - 0x14]
xor ecx, ecx
sub eax, ebx
mov dword [ebp - 8], ebx
je 0x7e2c03
dec eax
je 0x7e2bfc
dec eax
jne 0x7e2c08
mov ecx, 0x10012dc
jmp 0x7e2c08
mov ecx, 0x10012e8
jmp 0x7e2c08
mov ecx, 0x10012f4
cmp byte [ebp - 1], 1
push ecx
jne 0x7e2c20
push 0x101f
call fcn.007e32cb
pop ecx
pop ecx
push dword [ebp - 0x2c]
jmp 0x7e2c35
cmp byte [ebp - 2], 1
jne 0x7e2c43
push 0x1020
call fcn.007e32cb
pop ecx
pop ecx
push dword [ebp - 0x30]
call dword [0x10011a8]
push eax
call fcn.007e331c
jmp 0x7e2c6f
push 0x101c
call fcn.007e32cb
pop ecx
pop ecx
jmp 0x7e2c6f
push 0x101a
call fcn.007e32cb
pop ecx
call dword [0x100105c]
push eax
call fcn.007e331c
mov dword [ebp - 8], 0xc0000001
cmp byte [ebp + 0xb], bl
jne 0x7e2c86
cmp byte [ebp - 1], bl
jne 0x7e2c86
push 0x9001c
push dword [ebp - 0xc]
call fcn.007e25a1
push dword [ebp - 0x34]
call fcn.007e3170
push dword [ebp - 0xc]
call dword [0x10011b4]
push 0x101d
call fcn.007e32cb
pop ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 8