Function at 0x58ecc9
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 0x58ece5
mov edi, dword [esi + 0x14]
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x58ed03
push eax
call fcn.00590235
push edi
push eax
push 0x1011
call fcn.0058f753
add esp, 0xc
jmp 0x58ed10
push edi
push 0x1012
call fcn.0058f753
pop ecx
pop ecx
push 0x101d
call fcn.0058f753
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], pe_nt_image_headers32
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call edi
cmp eax, ebx
mov dword [ebp - 8], eax
jge 0x58ed8e
push 0x1013
call fcn.0058f753
pop ecx
push dword [ebp - 8]
call dword [0x10011a8]
push eax
call fcn.0058f7a4
jmp 0x58f12a
lea eax, [ebp - 0x24]
push eax
push 0x10012fc
push 0x100120c
push dword [ebp + 8]
call fcn.00590170
cmp eax, ebx
mov dword [ebp - 8], eax
jge 0x58edca
push 0x1014
call fcn.0058f753
pop ecx
push dword [ebp - 8]
call dword [0x10011a8]
push eax
call fcn.0058f7a4
jmp 0x58f116
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], pe_nt_image_headers32
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call edi
push dword [ebp - 0x24]
mov dword [ebp - 8], eax
call fcn.0058f5f8
cmp dword [ebp - 8], ebx
jge 0x58ee20
push 0x1015
jmp 0x58edb0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x28]
call fcn.0058e962
push dword [ebp - 0x28]
mov dword [ebp - 8], eax
call dword [0x10011b4]
cmp dword [ebp - 8], ebx
jge 0x58ee4b
push 0x1016
jmp 0x58edb0
mov eax, dword [ebp - 0x14]
sub eax, ebx
je 0x58ee91
dec eax
je 0x58ee80
dec eax
je 0x58ee6f
push 0x1017
call fcn.0058f753
pop ecx
mov dword [ebp - 8], 0xc0000001
jmp 0x58f116
mov eax, dword [0x1015bc0]
mov eax, dword [eax + 8]
mov dword [ebp - 8], 0x2000
jmp 0x58ee9f
mov eax, dword [0x1015bc0]
mov eax, dword [eax + 4]
mov dword [ebp - 8], 0x600
jmp 0x58ee9f
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 0x58eebe
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.0058f5d3
mov esi, eax
mov dword [ebp - 0x34], esi
cmp esi, ebx
jne 0x58eee9
push 0x1018
call fcn.0058f753
pop ecx
mov dword [ebp - 8], 0xc000009a
jmp 0x58f116
push ebx
push edi
push ebx
push esi
call fcn.00590744
cmp eax, ebx
je 0x58eefa
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.0058ea29
cmp eax, ebx
jge 0x58ef2c
cmp byte [ebp + 0xc], bl
jne 0x58ef28
mov byte [ebp - 1], 1
mov dword [ebp - 0x2c], eax
jmp 0x58ef63
mov byte [ebp + 0xb], 1
push 0x90020
push dword [ebp - 0xc]
call fcn.0058ea29
cmp eax, ebx
jge 0x58ef46
mov byte [ebp - 2], 1
mov dword [ebp - 0x30], eax
jmp 0x58ef63
cmp byte [ebp + 0xb], 1
jne 0x58ef63
push 0x101e
call fcn.0058f753
mov dword [esp], 0x101d
call fcn.0058f753
pop ecx
mov edi, dword [0x1001010]
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
call edi
cmp eax, 0xffffffff
jne 0x58ef80
push 0x1019
jmp 0x58f0de
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 0x58f0d9
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x10], eax
jne 0x58f0d9
xor eax, eax
cmp dword [ebp - 0x14], ebx
jl 0x58efd4
cmp dword [ebp - 0x14], 1
jle 0x58efce
cmp dword [ebp - 0x14], 2
jne 0x58efd4
cmp dword [0x1015bc0], 0x1011a00
push 0x54
pop eax
je 0x58efd4
mov byte [esi + 0x24], 0x80
jmp 0x58efd4
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.00590704
add esp, 0xc
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
call edi
cmp eax, 0xffffffff
je 0x58ef76
cmp dword [ebp - 0x14], 1
push ebx
lea eax, [ebp - 0x10]
push eax
je 0x58f016
xor edi, edi
nop
jmp 0x58f057
push 0x101b
jmp 0x58f0de
push 0
push esi
push dword [ebp - 0xc]
call dword [0x1001058]
test eax, eax
je 0x58f00c
cmp dword [ebp - 0x10], 0
jne 0x58f00c
push ebx
push ebx
push 0x1800
push dword [ebp - 0xc]
call edi
cmp eax, 0xffffffff
je 0x58ef76
push ebx
lea eax, [ebp - 0x10]
push eax
mov edi, 0
add esi, 0x400
push edi
push esi
push dword [ebp - 0xc]
call dword [0x1001058]
test eax, eax
je 0x58f00c
cmp dword [ebp - 0x10], edi
jne 0x58f00c
mov eax, dword [ebp - 0x14]
xor ecx, ecx
sub eax, ebx
mov dword [ebp - 8], ebx
je 0x58f08b
dec eax
je 0x58f084
dec eax
jne 0x58f090
mov ecx, 0x10012dc
jmp 0x58f090
mov ecx, 0x10012e8
jmp 0x58f090
mov ecx, 0x10012f4
cmp byte [ebp - 1], 1
push ecx
jne 0x58f0a8
push 0x101f
call fcn.0058f753
pop ecx
pop ecx
push dword [ebp - 0x2c]
jmp 0x58f0bd
cmp byte [ebp - 2], 1
jne 0x58f0cb
push 0x1020
call fcn.0058f753
pop ecx
pop ecx
push dword [ebp - 0x30]
call dword [0x10011a8]
push eax
call fcn.0058f7a4
jmp 0x58f0f7
push 0x101c
call fcn.0058f753
pop ecx
pop ecx
jmp 0x58f0f7
push 0x101a
call fcn.0058f753
pop ecx
call dword [0x100105c]
push eax
call fcn.0058f7a4
mov dword [ebp - 8], 0xc0000001
cmp byte [ebp + 0xb], bl
jne 0x58f10e
cmp byte [ebp - 1], bl
jne 0x58f10e
push 0x9001c
push dword [ebp - 0xc]
call fcn.0058ea29
push dword [ebp - 0x34]
call fcn.0058f5f8
push dword [ebp - 0xc]
call dword [0x10011b4]
push 0x101d
call fcn.0058f753
pop ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 8