Function at 0x5a68c9
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 0x5a68e5
mov edi, dword [esi + 0x14]
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x5a6903
push eax
call fcn.005a7e35
push edi
push eax
push 0x1011
call fcn.005a7353
add esp, 0xc
jmp 0x5a6910
push edi
push 0x1012
call fcn.005a7353
pop ecx
pop ecx
push 0x101d
call fcn.005a7353
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 0x5a698e
push 0x1013
call fcn.005a7353
pop ecx
push dword [ebp - 8]
call dword [0x10011a8]
push eax
call fcn.005a73a4
jmp 0x5a6d2a
lea eax, [ebp - 0x24]
push eax
push 0x10012fc
push 0x100120c
push dword [ebp + 8]
call fcn.005a7d70
cmp eax, ebx
mov dword [ebp - 8], eax
jge 0x5a69ca
push 0x1014
call fcn.005a7353
pop ecx
push dword [ebp - 8]
call dword [0x10011a8]
push eax
call fcn.005a73a4
jmp 0x5a6d16
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.005a71f8
cmp dword [ebp - 8], ebx
jge 0x5a6a20
push 0x1015
jmp 0x5a69b0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x28]
call fcn.005a6562
push dword [ebp - 0x28]
mov dword [ebp - 8], eax
call dword [0x10011b4]
cmp dword [ebp - 8], ebx
jge 0x5a6a4b
push 0x1016
jmp 0x5a69b0
mov eax, dword [ebp - 0x14]
sub eax, ebx
je 0x5a6a91
dec eax
je 0x5a6a80
dec eax
je 0x5a6a6f
push 0x1017
call fcn.005a7353
pop ecx
mov dword [ebp - 8], 0xc0000001
jmp 0x5a6d16
mov eax, dword [0x1015bc0]
mov eax, dword [eax + 8]
mov dword [ebp - 8], 0x2000
jmp 0x5a6a9f
mov eax, dword [0x1015bc0]
mov eax, dword [eax + 4]
mov dword [ebp - 8], 0x600
jmp 0x5a6a9f
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 0x5a6abe
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.005a71d3
mov esi, eax
mov dword [ebp - 0x34], esi
cmp esi, ebx
jne 0x5a6ae9
push 0x1018
call fcn.005a7353
pop ecx
mov dword [ebp - 8], 0xc000009a
jmp 0x5a6d16
push ebx
push edi
push ebx
push esi
call fcn.005a8344
cmp eax, ebx
je 0x5a6afa
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.005a6629
cmp eax, ebx
jge 0x5a6b2c
cmp byte [ebp + 0xc], bl
jne 0x5a6b28
mov byte [ebp - 1], 1
mov dword [ebp - 0x2c], eax
jmp 0x5a6b63
mov byte [ebp + 0xb], 1
push 0x90020
push dword [ebp - 0xc]
call fcn.005a6629
cmp eax, ebx
jge 0x5a6b46
mov byte [ebp - 2], 1
mov dword [ebp - 0x30], eax
jmp 0x5a6b63
cmp byte [ebp + 0xb], 1
jne 0x5a6b63
push 0x101e
call fcn.005a7353
mov dword [esp], 0x101d
call fcn.005a7353
pop ecx
mov edi, dword [0x1001010]
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
call edi
cmp eax, 0xffffffff
jne 0x5a6b80
push 0x1019
jmp 0x5a6cde
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 0x5a6cd9
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x10], eax
jne 0x5a6cd9
xor eax, eax
cmp dword [ebp - 0x14], ebx
jl 0x5a6bd4
cmp dword [ebp - 0x14], 1
jle 0x5a6bce
cmp dword [ebp - 0x14], 2
jne 0x5a6bd4
cmp dword [0x1015bc0], 0x1011a00
push 0x54
pop eax
je 0x5a6bd4
mov byte [esi + 0x24], 0x80
jmp 0x5a6bd4
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.005a8304
add esp, 0xc
push ebx
push ebx
push ebx
push dword [ebp - 0xc]
call edi
cmp eax, 0xffffffff
je 0x5a6b76
cmp dword [ebp - 0x14], 1
push ebx
lea eax, [ebp - 0x10]
push eax
je 0x5a6c16
mov edi, dword [ebp - 0x20]
jmp 0x5a6c57
push 0x101b
jmp 0x5a6cde
push 0x200
push esi
push dword [ebp - 0xc]
call dword [0x1001058]
test eax, eax
je 0x5a6c0c
cmp dword [ebp - 0x10], 0x200
jne 0x5a6c0c
push ebx
push ebx
push 0x1800
push dword [ebp - 0xc]
call edi
cmp eax, 0xffffffff
je 0x5a6b76
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 0x5a6c0c
cmp dword [ebp - 0x10], edi
jne 0x5a6c0c
mov eax, dword [ebp - 0x14]
xor ecx, ecx
sub eax, ebx
mov dword [ebp - 8], ebx
je 0x5a6c8b
dec eax
je 0x5a6c84
dec eax
jne 0x5a6c90
mov ecx, 0x10012dc
jmp 0x5a6c90
mov ecx, 0x10012e8
jmp 0x5a6c90
mov ecx, 0x10012f4
cmp byte [ebp - 1], 1
push ecx
jne 0x5a6ca8
push 0x101f
call fcn.005a7353
pop ecx
pop ecx
push dword [ebp - 0x2c]
jmp 0x5a6cbd
cmp byte [ebp - 2], 1
jne 0x5a6ccb
push 0x1020
call fcn.005a7353
pop ecx
pop ecx
push dword [ebp - 0x30]
call dword [0x10011a8]
push eax
call fcn.005a73a4
jmp 0x5a6cf7
push 0x101c
call fcn.005a7353
pop ecx
pop ecx
jmp 0x5a6cf7
push 0x101a
call fcn.005a7353
pop ecx
call dword [0x100105c]
push eax
call fcn.005a73a4
mov dword [ebp - 8], 0xc0000001
cmp byte [ebp + 0xb], bl
jne 0x5a6d0e
cmp byte [ebp - 1], bl
jne 0x5a6d0e
push 0x9001c
push dword [ebp - 0xc]
call fcn.005a6629
push dword [ebp - 0x34]
call fcn.005a71f8
push dword [ebp - 0xc]
call dword [0x10011b4]
push 0x101d
call fcn.005a7353
pop ecx
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret 8