Function at 0x41c134
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, 0x4a77b4
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 0x41c173
cmp esi, ebx
je 0x41c173
mov ax, word [esi]
cmp ax, 0x41
jb 0x41c173
cmp ax, 0x5a
ja 0x41c173
or ax, 0x20
mov word [esi], ax
cmp dword [ebp + 0x14], ebx
je 0x41c19f
push dword [ebp + 8]
push ebx
call dword [0x4bdf38]
test eax, eax
jne 0x41c50f
cmp esi, ebx
jne 0x41c193
mov esi, str.Error
push esi
call fcn.00411a02
pop ecx
jmp 0x41c4e4
push 0x448
lea ecx, [ebp - 4]
call fcn.0043d373
cmp esi, ebx
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
jne 0x41c21a
push 0xc0000000
push dword [ebp + 8]
call dword [0x4bdf50]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41c38e
push 0x80000000
push dword [ebp + 8]
call dword [0x4bdf50]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41c38e
push 0x80
push dword [ebp + 8]
call dword [0x4bdf50]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41c38e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 2
pop esi
cmp eax, esi
jne 0x41c381
xor esi, esi
inc esi
jmp 0x41c3e5
mov edi, dword [sym.imp.KERNEL32.DLL_lstrlenW]
push esi
call edi
cmp eax, 2
jne 0x41c234
xor eax, eax
cmp word [esi + 2], 0x3a
sete al
jmp 0x41c255
push esi
call edi
cmp eax, 3
jne 0x41c253
lea eax, [esi + 2]
push 0x4a678c
push eax
call fcn.0048fd7c
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x41c255
xor eax, eax
cmp eax, ebx
je 0x41c309
cmp dword [ebp - 0x10], ebx
mov eax, dword [ebp + 0xc]
mov ax, word [eax]
mov esi, str.._:
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 0x41c2a6
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 0x41c2a6
test byte [ebp + 0x1c], 0x11
jne 0x41c2a6
push dword [ebp + 0x18]
movzx eax, ax
push ebx
push eax
call fcn.004118e7
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 0x41c38e
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 0x41c38e
push ebx
push 0x20000000
push 3
push ebx
push 3
push 0x80
lea eax, [ebp - 0x28]
push eax
call esi
jmp 0x41c1f6
push 0xc0000000
push esi
call dword [0x4bdf54]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41c38e
push 0x80000000
push esi
call dword [0x4bdf54]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41c38e
push 0x80
push esi
call dword [0x4bdf54]
mov edi, eax
cmp edi, 0xffffffff
jne 0x41c38e
call dword [sym.imp.KERNEL32.DLL_GetLastError]
dec eax
je 0x41c37d
sub eax, 0x56
je 0x41c37d
sub eax, 0x3a
je 0x41c36a
sub eax, 0x7a
je 0x41c36a
sub eax, 0x101b
je 0x41c36a
push esi
call fcn.00411a02
pop ecx
jmp 0x41c37d
push esi
push str.Not_a_mount_point:__1_ws__n
push 0x4bc870
call fcn.004119a6
add esp, 0xc
push 9
jmp 0x41c3e4
push str.Error_opening_device:
call fcn.00411a02
pop ecx
jmp 0x41c3e5
push edi
call fcn.00411a53
test eax, eax
pop ecx
jne 0x41c3a4
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push 5
jmp 0x41c3e4
mov esi, dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
push ebx
lea eax, [ebp + 0x14]
push eax
push 0x448
push dword [ebp - 0xc]
push ebx
push ebx
push 0x83722008
push edi
call esi
test eax, eax
jne 0x41c3f4
push dword [ebp + 0xc]
call fcn.00411a02
push dword [ebp + 0xc]
push str._1_ws_:_Is_that_drive_really_an_ImDisk_drive_
push 0x4bc870
call fcn.004119a6
add esp, 0x10
push 2
pop esi
lea ecx, [ebp - 4]
call fcn.00437960
mov eax, esi
jmp 0x41c5fb
cmp dword [ebp + 0x14], 0x36
jae 0x41c414
push dword [ebp + 0xc]
push str._1_ws_:_Is_that_drive_really_an_ImDisk_drive_
push 0x4bc870
call fcn.004119a6
add esp, 0xc
jmp 0x41c4dc
mov eax, dword [ebp - 0xc]
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 0x41c440
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 0x41c485
cmp dword [ebp + 0x10], ebx
je 0x41c4c9
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 0x41c49a
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 0x41c4c9
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 0x41c4ec
cmp dword [ebp + 0x10], ebx
je 0x41c4c3
push ebx
push edi
call dword [0x4bdf38]
neg eax
sbb eax, eax
inc eax
jmp 0x41c4c5
xor eax, eax
cmp eax, ebx
je 0x41c4ec
mov eax, dword [ebp + 0xc]
cmp eax, ebx
jne 0x41c4d5
mov eax, str.Error
push eax
call fcn.00411a02
pop ecx
lea ecx, [ebp - 4]
call fcn.00437960
push 2
pop eax
jmp 0x41c5fb
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.00437960
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x41c5f9
mov edi, dword [sym.imp.KERNEL32.DLL_lstrlenW]
push esi
call edi
cmp eax, 2
jne 0x41c531
xor eax, eax
cmp word [esi + 2], 0x3a
sete al
jmp 0x41c552
push esi
call edi
cmp eax, 3
jne 0x41c550
lea eax, [esi + 2]
push 0x4a678c
push eax
call fcn.0048fd7c
neg eax
pop ecx
sbb eax, eax
pop ecx
inc eax
jmp 0x41c552
xor eax, eax
cmp eax, ebx
je 0x41c5b3
mov esi, 0x4a77b4
lea edi, [ebp - 0xc]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [ebp + 0xc]
mov ax, word [esi]
mov word [ebp - 0xc], ax
push ebx
lea eax, [ebp - 0xc]
push eax
push 2
call dword [sym.imp.KERNEL32.DLL_DefineDosDeviceW]
test eax, eax
jne 0x41c583
push esi
call fcn.00411a02
pop ecx
xor eax, eax
mov ax, word [esi]
push eax
call fcn.0043ad1b
test byte [ebp + 0x1c], 0x11
pop ecx
jne 0x41c5f9
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 0x18]
push 3
push ebx
push 7
push 0x219
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
jmp 0x41c5f9
push esi
call dword [0x4bdf58]
test eax, eax
jne 0x41c5f9
call dword [sym.imp.KERNEL32.DLL_GetLastError]
dec eax
je 0x41c5f9
sub eax, 0x56
je 0x41c5f9
sub eax, 0x3a
je 0x41c5e6
sub eax, 0x7a
je 0x41c5e6
sub eax, 0x101b
je 0x41c5e6
push esi
call fcn.00411a02
pop ecx
jmp 0x41c5f9
push esi
push str.Not_a_mount_point:__1_ws__n
push 0x4bc870
call fcn.004119a6
add esp, 0xc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret