Function at 0x4411dd
Capabilities:
Get disk information
Unmount volume via ioctl

Disassembly:
push ebp
push ebx
mov edx, 0xa
sub esp, 4
mov dword [esp], 0
dec edx
jne 0x4411e4
call fcn.0055ab90
mov edx, dword [esp + 0x34]
lea ecx, [esp]
call fcn.004f4000
mov dword [section..data], 0xa002c7
mov dword [section..data], 0xa002cf
mov dword [esp + 8], 1
mov dword [section..data], 0xa002da
mov dword [section..data], 0xa002dc
push edx
call fcn.0055a9f0
pop edx
push eax
push 2
push edx
call fcn.0055a9f0
pop edx
push eax
mov edx, str.Eject_drive__
push edx
call fcn.0055aac0
mov edx, dword [esp + 0xc]
push edx
call fcn.0055aac0
mov edx, 0x638cee
push edx
call fcn.0055aac0
call fcn.0055ab20
mov eax, str.DRVMS_EjectMedia
push eax
mov eax, str.drive_ms
push eax
call fcn.004f4332
add dword [esp + 8], edx
call fcn.004967c8
call fcn.004f4350
mov dword [section..data], 0xa002de
push edx
call fcn.0055a9f0
pop edx
push eax
push edx
call fcn.0055a9f0
pop edx
push eax
push 1
push dword [esp + 0xc]
call fcn.00549920
lea eax, [esp + 4]
push eax
call fcn.0055aa30
mov dword [section..data], 0xa002e0
push edx
call fcn.0055a9f0
pop edx
push eax
mov edx, str.._
push edx
call fcn.0055aac0
mov edx, dword [esp + 4]
push edx
call fcn.0055aac0
mov edx, 0x638acc
push edx
call fcn.0055aac0
lea eax, [esp + 0x18]
push eax
call fcn.0055aa30
mov dword [section..data], 0xa002e1
mov edx, dword [esp]
push edx
call fcn.0055a9f0
pop edx
push eax
push edx
call fcn.0055aac0
mov edx, 0x654898
push edx
call fcn.0055aac0
lea eax, [esp + 0x14]
push eax
call fcn.0055aa30
mov dword [section..data], 0xa002e3
push dword [esp + 0x10]
call sub.KERNEL32.dll_GetDriveTypeW
mov dword [esp + 0x18], eax
mov dword [section..data], 0xa002e5
push dword [esp + 0x18]
mov dword [section..data], 0xa002e6
mov ebx, 2
cmp ebx, dword [esp]
jne 0x441383
mov dword [section..data], 0xa002e7
mov dword [esp + 0x20], 0xc0000000
mov dword [section..data], 0xa002e9
jmp 0x44145c
mov dword [section..data], 0xa002e9
mov ebx, 5
cmp ebx, dword [esp]
jne 0x4413b8
mov dword [section..data], 0xa002ea
mov dword [esp + 0x20], getsockopt
mov dword [section..data], 0xa002ec
jmp 0x44145c
mov dword [section..data], 0xa002ec
mov dword [section..data], 0xa002ed
push edx
call fcn.0055a9f0
pop edx
push eax
push 0
push edx
call fcn.0055a9f0
pop edx
push eax
mov edx, str.ERROR__Cannot_eject._Drive_type_is_incorrect
push edx
call fcn.0055aac0
push edx
call fcn.0055a9f0
pop edx
push eax
push edx
call fcn.0055a9f0
pop edx
push eax
mov eax, dword [esp + 0x30]
cdq
push edx
push eax
call fcn.00548d10
pop eax
mov edx, 0x65535e
push edx
call fcn.0055aac0
call fcn.0055ab20
mov eax, str.DRVMS_EjectMedia
push eax
mov eax, str.drive_ms
push eax
call fcn.004f4332
add dword [esp + 8], edx
call fcn.004967c8
call fcn.004f4350
mov dword [section..data], 0xa002ee
mov dword [esp + 0xc], 0xfffffa22
mov dword [section..data], 0xa002ef
add esp, 4
jmp 0x441ab6
mov dword [section..data], 0xa002f0
pop eax
mov dword [section..data], 0xa002f2
push 0
push 0
push 3
push 0
push 3
push dword [esp + 0x30]
push dword [esp + 0x2c]
call sub.KERNEL32.dll_CreateFileW
mov dword [esp + 4], eax
mov dword [section..data], 0xa002f4
mov ebx, dword [esp + 4]
cmp ebx, 0xffffffff
jne 0x441536
mov dword [section..data], 0xa002f6
push edx
call fcn.0055a9f0
pop edx
push eax
push 0
push edx
call fcn.0055a9f0
pop edx
push eax
mov edx, str.ERROR__Couldnt_get_a_handle_to_drive__
push edx
call fcn.0055aac0
mov edx, dword [esp + 0xc]
push edx
call fcn.0055aac0
mov edx, str.____Please_eject_manually_
push edx
call fcn.0055aac0
call fcn.0055ab20
mov eax, str.DRVMS_EjectMedia
push eax
mov eax, str.drive_ms
push eax
call fcn.004f4332
add dword [esp + 8], edx
call fcn.004967c8
call fcn.004f4350
mov dword [section..data], 0xa002f8
mov dword [esp + 8], 0xfffffa23
mov dword [section..data], 0xa002f9
jmp 0x441ab6
mov dword [section..data], 0xa002fa
mov dword [section..data], 0xa002fc
push 3
mov eax, str.Drive_opened
push eax
mov eax, str.DRVMS_EjectMedia
push eax
mov eax, str.drive_ms
push eax
call fcn.004967c8
mov dword [section..data], 0xa002fe
mov ebx, dword [esp + 0x18]
cmp ebx, 2
jne 0x441980
mov dword [section..data], 0xa002ff
push 3
mov eax, str.Drive_is_removeable___try_to_lock_it
push eax
mov eax, str.DRVMS_EjectMedia
push eax
mov eax, str.drive_ms
push eax
call fcn.004967c8
mov dword [section..data], 0xa00301
mov dword [esp + 8], 0xfffffa1e
mov dword [section..data], 0xa00302
mov dword [esp + 0xc], 1
jmp 0x4415d3
mov dword [section..data], 0xa00302
mov eax, 0x14
cmp eax, dword [esp + 0xc]
jl 0x4416b8
mov dword [section..data], 0xa00303
push 0
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
push 0
push 0x90018
push dword [esp + 0x20]
call sub.KERNEL32.dll_DeviceIoControl
and eax, eax
je 0x441660
mov dword [section..data], 0xa00304
mov dword [esp + 8], 1
mov dword [section..data], 0xa00305
push 3
mov eax, str.lock_success
push eax
mov eax, str.DRVMS_EjectMedia
push eax
mov eax, str.drive_ms
push eax
call fcn.004967c8
mov dword [section..data], 0xa00306
jmp 0x4416b8
mov dword [section..data], 0xa00307
mov dword [section..data], 0xa00308
push 2
mov eax, str.Retry_lock_device
push eax
mov eax, str.DRVMS_EjectMedia
push eax
mov eax, str.drive_ms
push eax
call fcn.004967c8
mov dword [section..data], 0xa00309
push 0x118
call fcn.0054c6d6
mov dword [section..data], 0xa0030a
inc dword [esp + 0xc]
jno 0x4415c9
mov dword [section..data], 0xa0030c
mov ebx, dword [esp + 8]
cmp ebx, 0xfffffa1e
jne 0x441740
mov dword [section..data], 0xa0030d
push edx
call fcn.0055a9f0
pop edx
push eax
push 0
push edx
call fcn.0055a9f0
pop edx
push eax
mov edx, str.ERROR__Couldnt_lock_the_volume_in_drive
push edx
call fcn.0055aac0
mov edx, dword [esp + 0xc]
push edx
call fcn.0055aac0
mov edx, 0x63749e
push edx
call fcn.0055aac0
call fcn.0055ab20
mov eax, str.DRVMS_EjectMedia
push eax
mov eax, str.drive_ms
push eax
call fcn.004f4332
add dword [esp + 8], edx
call fcn.004967c8
call fcn.004f4350
mov dword [section..data], 0xa0030e
jmp 0x441ab6
mov dword [section..data], 0xa0030f
mov dword [section..data], 0xa00311
push 3
mov eax, str.Drive_locked
push eax
mov eax, str.DRVMS_EjectMedia
push eax
mov eax, str.drive_ms
push eax
call fcn.004967c8
mov dword [section..data], 0xa00314
push 3
mov eax, str.Dismount_volume
push eax
mov eax, str.DRVMS_EjectMedia
push eax
mov eax, str.drive_ms
push eax
call fcn.004967c8
mov dword [section..data], 0xa00316
push 0
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
push 0
push 0x90020
push dword [esp + 0x20]
call sub.KERNEL32.dll_DeviceIoControl
and eax, eax
je 0x4417d4
xor eax, eax
jmp 0x4417d9
mov eax, 1
and eax, eax
je 0x441865
mov dword [section..data], 0xa00317
push edx
call fcn.0055a9f0
pop edx
push eax
push 0
push edx
call fcn.0055a9f0
pop edx
push eax
mov edx, str.ERROR__Couldnt_dismount_the_volume_in_drive
push edx
call fcn.0055aac0
mov edx, dword [esp + 0xc]
push edx
call fcn.0055aac0
mov edx, 0x63749e
push edx
call fcn.0055aac0
call fcn.0055ab20
mov eax, str.DRVMS_EjectMedia
push eax
mov eax, str.drive_ms
push eax
call fcn.004f4332
add dword [esp + 8], edx
call fcn.004967c8
call fcn.004f4350
mov dword [section..data], 0xa00318
mov dword [esp + 8], 0xfffffa1d
mov dword [section..data], 0xa00319
jmp 0x441ab6
mov dword [section..data], 0xa0031a
mov dword [section..data], 0xa0031d
push 3
mov eax, str.Remove_storage_media
push eax
mov eax, str.DRVMS_EjectMedia
push eax
mov eax, str.drive_ms
push eax
call fcn.004967c8
mov dword [section..data], 0xa0031f
lea ebp, [esp + 0x24]
mov byte [ebp], 0
mov dword [section..data], 0xa00320
push 0
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 1
lea eax, [esp + 0x38]
push eax
push 0x2d4804
push dword [esp + 0x20]
call sub.KERNEL32.dll_DeviceIoControl
and eax, eax
je 0x4418e5
xor eax, eax
jmp 0x4418ea
mov eax, 1
and eax, eax
je 0x441976
mov dword [section..data], 0xa00321
push edx
call fcn.0055a9f0
pop edx
push eax
push 0
push edx
call fcn.0055a9f0
pop edx
push eax
mov edx, str.ERROR__Couldnt_remove_the_media_in_drive
push edx
call fcn.0055aac0
mov edx, dword [esp + 0xc]
push edx
call fcn.0055aac0
mov edx, 0x63749e
push edx
call fcn.0055aac0
call fcn.0055ab20
mov eax, str.DRVMS_EjectMedia
push eax
mov eax, str.drive_ms
push eax
call fcn.004f4332
add dword [esp + 8], edx
call fcn.004967c8
call fcn.004f4350
mov dword [section..data], 0xa00322
mov dword [esp + 8], 0xfffffa1c
mov dword [section..data], 0xa00323
jmp 0x441ab6
mov dword [section..data], 0xa00324
mov dword [section..data], 0xa00326
mov dword [section..data], 0xa00328
push 3
mov eax, str.Eject_drive
push eax
mov eax, str.DRVMS_EjectMedia
push eax
mov eax, str.drive_ms
push eax
call fcn.004967c8
mov dword [section..data], 0xa0032a
push 0
lea eax, [esp + 0x24]
push eax
push 0
push 0
push 0
push 0
push 0x2d4808
push dword [esp + 0x20]
call sub.KERNEL32.dll_DeviceIoControl
and eax, eax
je 0x4419ee
xor eax, eax
jmp 0x4419f3
mov eax, 1
and eax, eax
je 0x441a7c
mov dword [section..data], 0xa0032b
push edx
call fcn.0055a9f0
pop edx
push eax
push 0
push edx
call fcn.0055a9f0
pop edx
push eax
mov edx, str.ERROR__Couldnt_eject_the_media_in_drive
push edx
call fcn.0055aac0
mov edx, dword [esp + 0xc]
push edx
call fcn.0055aac0
mov edx, 0x63749e
push edx
call fcn.0055aac0
call fcn.0055ab20
mov eax, str.DRVMS_EjectMedia
push eax
mov eax, str.drive_ms
push eax
call fcn.004f4332
add dword [esp + 8], edx
call fcn.004967c8
call fcn.004f4350
mov dword [section..data], 0xa0032c
mov dword [esp + 8], 0xfffffa1b
mov dword [section..data], 0xa0032d
jmp 0x441ab6
mov dword [section..data], 0xa0032e
mov dword [section..data], 0xa00330
push 3
mov eax, str.Drive_ejected
push eax
mov eax, str.DRVMS_EjectMedia
push eax
mov eax, str.drive_ms
push eax
call fcn.004967c8
mov dword [section..data], 0xa00332
mov dword [section..data], 0xa00336
mov ebx, dword [esp + 4]
cmp ebx, 0xffffffff
je 0x441b02
mov dword [section..data], 0xa00337
push 3
mov eax, str.Close_handle
push eax
mov eax, str.DRVMS_EjectMedia
push eax
mov eax, str.drive_ms
push eax
call fcn.004967c8
mov dword [section..data], 0xa00339
push dword [esp + 4]
call sub.KERNEL32.dll_CloseHandle
mov dword [section..data], 0xa0033a
mov dword [section..data], 0xa0033c
push edx
call fcn.0055a9f0
pop edx
push eax
push 3
push edx
call fcn.0055a9f0
pop edx
push eax
mov edx, str.Result__
push edx
call fcn.0055aac0
push edx
call fcn.0055a9f0
pop edx
push eax
push edx
call fcn.0055a9f0
pop edx
push eax
mov eax, dword [esp + 0x1c]
cdq
push edx
push eax
call fcn.00548d10
pop eax
mov edx, 0x638cee
push edx
call fcn.0055aac0
call fcn.0055ab20
mov eax, str.DRVMS_EjectMedia
push eax
mov eax, str.drive_ms
push eax
call fcn.004f4332
add dword [esp + 8], edx
call fcn.004967c8
call fcn.004f4350
mov dword [section..data], 0xa0033e
mov eax, dword [esp + 8]
jmp 0x441b9e
push dword [esp + 0x14]
call fcn.0055abf0
push dword [esp + 0x10]
call fcn.0055abf0
push dword [esp]
call fcn.0055abf0
add esp, 0x28
pop ebx
pop ebp
ret 4