Function at 0x1002691f
Capabilities:
Unmount volume via ioctl

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 0x1c]
push ebx
push esi
push edi
mov esi, 0x100cb6d4
lea edi, [ebp - 0x18]
movsd dword es:[edi], dword [esi]
and eax, 0x10
push 0
movsw word es:[edi], word [esi]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
pop ebx
je 0x1002695e
cmp esi, ebx
je 0x1002695e
mov ax, word [esi]
cmp ax, 0x41
jb 0x1002695e
cmp ax, 0x5a
ja 0x1002695e
or ax, 0x20
mov word [esi], ax
cmp dword [ebp + 0x14], ebx
je 0x1002697a
push dword [ebp + 8]
push ebx
call dword [0x100e3078]
test eax, eax
jne 0x10026c75
jmp 0x10026c4a
push 0x448
lea ecx, [ebp - 4]
call fcn.10045fcc
cmp esi, ebx
mov eax, dword [ebp - 4]
mov dword [ebp - 8], eax
jne 0x100269f5
push 0xc0000000
push dword [ebp + 8]
call dword [0x100e3090]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10026b3a
push 0x80000000
push dword [ebp + 8]
call dword [0x100e3090]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10026b3a
push 0x80
push dword [ebp + 8]
call dword [0x100e3090]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10026b3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 2
pop esi
cmp eax, esi
jne 0x10026b74
xor esi, esi
inc esi
jmp 0x10026b74
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 2
jne 0x10026a0f
xor eax, eax
cmp word [esi + 2], 0x3a
sete al
jmp 0x10026a30
push esi
call edi
cmp eax, 3
jne 0x10026a2e
lea eax, [esi + 2]
push 0x100c9a38
push eax
call fcn.100b450d
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x10026a30
xor eax, eax
cmp eax, ebx
je 0x10026ae0
cmp dword [ebp - 0x10], ebx
mov eax, dword [ebp + 0xc]
mov ax, word [eax]
mov esi, 0x100c9a28
lea edi, [ebp - 0x28]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov word [ebp - 0x20], ax
jne 0x10026a81
xor ecx, ecx
mov cx, 0x5a
cmp cx, ax
sbb ecx, ecx
inc ecx
cmp ax, 0x41
sbb edx, edx
inc edx
test edx, ecx
je 0x10026a81
test byte [ebp + 0x1c], 0x11
jne 0x10026a81
push dword [ebp + 0x18]
movzx eax, ax
push ebx
push eax
call fcn.100262ff
add esp, 0xc
mov esi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push ebx
push 0x20000000
push 3
push ebx
push 3
push 0xc0000000
lea eax, [ebp - 0x28]
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x10026b3a
push ebx
push 0x20000000
push 3
push ebx
push 3
push 0x80000000
lea eax, [ebp - 0x28]
push eax
call esi
mov edi, eax
cmp edi, 0xffffffff
jne 0x10026b3a
push ebx
push 0x20000000
push 3
push ebx
push 3
push 0x80
lea eax, [ebp - 0x28]
push eax
call esi
jmp 0x100269d1
push 0xc0000000
push esi
call dword [0x100e3094]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10026b3a
push 0x80000000
push esi
call dword [0x100e3094]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10026b3a
push 0x80
push esi
call dword [0x100e3094]
mov edi, eax
cmp edi, 0xffffffff
jne 0x10026b3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
je 0x10026b36
sub eax, 0x56
je 0x10026b36
sub eax, 0x3a
je 0x10026b36
sub eax, 0x7a
je 0x10026b36
sub eax, 0x101b
push 9
jmp 0x10026b73
push edi
call fcn.10013a6d
test eax, eax
pop ecx
jne 0x10026b50
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 5
jmp 0x10026b73
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push ebx
lea eax, [ebp + 0x14]
push eax
push 0x448
push dword [ebp - 8]
push ebx
push ebx
push 0x83722008
push edi
call esi
test eax, eax
jne 0x10026b83
push 2
pop esi
lea ecx, [ebp - 4]
call fcn.1003f96c
mov eax, esi
jmp 0x10026d37
cmp dword [ebp + 0x14], 0x36
jb 0x10026c42
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x2c]
xor ecx, ecx
cmp ax, bx
setne cl
mov dword [ebp - 0x10], eax
xor eax, eax
cmp dword [ebp + 0xc], ebx
sete al
test eax, ecx
je 0x10026bb9
mov ax, word [ebp - 0x10]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x18]
mov dword [ebp + 0xc], eax
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push ebx
lea eax, [ebp + 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push 0x90018
push edi
call esi
test eax, eax
jne 0x10026bfe
cmp dword [ebp + 0x10], ebx
je 0x10026c42
push ebx
lea eax, [ebp + 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push 0x90020
push edi
call esi
push ebx
lea eax, [ebp + 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push 0x90018
push edi
call esi
jmp 0x10026c13
push ebx
lea eax, [ebp + 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push 0x90020
push edi
call esi
test eax, eax
je 0x10026c42
push ebx
lea eax, [ebp + 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push 0x2d4808
push edi
call esi
test eax, eax
jne 0x10026c52
cmp dword [ebp + 0x10], ebx
je 0x10026c3c
push ebx
push edi
call dword [0x100e3078]
neg eax
sbb eax, eax
inc eax
jmp 0x10026c3e
xor eax, eax
cmp eax, ebx
je 0x10026c52
lea ecx, [ebp - 4]
call fcn.1003f96c
push 2
pop eax
jmp 0x10026d37
push ebx
lea eax, [ebp + 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push 0x9001c
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 4]
call fcn.1003f96c
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x10026d35
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push esi
call edi
cmp eax, 2
jne 0x10026c97
xor eax, eax
cmp word [esi + 2], 0x3a
sete al
jmp 0x10026cb8
push esi
call edi
cmp eax, 3
jne 0x10026cb6
lea eax, [esi + 2]
push 0x100c9a38
push eax
call fcn.100b450d
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x10026cb8
xor eax, eax
cmp eax, ebx
je 0x10026d14
mov esi, 0x100cb6d4
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [ebp + 0xc]
mov ax, word [esi]
mov word [ebp - 0x10], ax
push ebx
lea eax, [ebp - 0x10]
push eax
push 2
call dword [sym.imp.KERNEL32.dll_DefineDosDeviceW]
xor eax, eax
mov ax, word [esi]
push eax
call fcn.100432f8
test byte [ebp + 0x1c], 0x11
pop ecx
jne 0x10026d35
mov eax, dword [ebp + 0x18]
push ebx
push 1
lea eax, [eax + eax*4]
push eax
push 3
push ebx
push 7
push 0x219
push ebx
push 0x100e3108
call fcn.1001cab4
add esp, 0x24
jmp 0x10026d35
push esi
call dword [0x100e3098]
test eax, eax
jne 0x10026d35
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec eax
je 0x10026d35
sub eax, 0x56
je 0x10026d35
sub eax, 0x3a
je 0x10026d35
sub eax, 0x7a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret