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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov ebx, 0x41
sub esp, 0x4ac
mov dword [ebp - 0x484], eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
test eax, eax
mov esi, eax
jne 0x4281fb
jmp 0x429050
add ebx, 1
shr esi, 1
je 0x428330
test esi, 1
je 0x4281f0
lea eax, [ebp - 0x450]
movsx edi, bl
mov dword [esp + 4], 0x53b9b0
mov dword [esp + 8], edi
mov dword [ebp - 0x46c], edi
mov dword [esp], eax
call fcn.004343e0
lea eax, [ebp - 0x42c]
lea ecx, [ebp - 0x434]
mov dword [esp + 4], edi
mov dword [esp], 1
mov dword [ebp - 0x434], eax
call fcn.00526ab8
lea ecx, [ebp - 0x434]
sub esp, 8
mov dword [esp + 0xc], 0x25
mov dword [esp + 8], str.Checking_whether_drive_is_ejectable:
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00526ac0
sub esp, 0x10
lea ecx, [ebp - 0x418]
lea edi, [ebp - 0x410]
mov dword [esp], eax
call fcn.00526a40
mov eax, dword [ebp - 0x418]
sub esp, 4
cmp eax, edi
je 0x4282a1
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov eax, dword [ebp - 0x434]
lea edx, [ebp - 0x42c]
cmp eax, edx
je 0x4282b9
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
lea eax, [ebp - 0x450]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov dword [ebp - 0x470], eax
call eax
sub esp, 4
cmp eax, 6
ja case.0x4282db.0
jmp dword [eax*4 + 0x53be14]
mov dword [esp], str.The_drive_is_a_RAM_disk
mov esi, esi
lea edi, [edi]
lea ecx, [ebp - 0x418]
call fcn.00431570
mov eax, dword [ebp - 0x418]
sub esp, 4
cmp eax, edi
je 0x4281f0
mov dword [esp], eax
add ebx, 1
call sub.libstdc_6.dll_operator_delete_void_
shr esi, 1
jne 0x4281fb
nop
xor eax, eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.The_drive_is_a_CDROM
jmp 0x428300
mov dword [esp], str.The_drive_is_remote
jmp 0x428300
mov dword [esp], str.The_drive_is_fixed
lea ecx, [ebp - 0x418]
call fcn.00431570
mov eax, dword [ebp - 0x418]
sub esp, 4
cmp eax, edi
je 0x428387
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov eax, dword [ebp - 0x46c]
lea ecx, [ebp - 0x418]
mov dword [esp], 1
mov dword [ebp - 0x418], edi
mov dword [esp + 4], eax
call fcn.00526ab8
lea ecx, [ebp - 0x418]
sub esp, 8
mov dword [esp + 0xc], 0x1d
mov dword [esp + 8], str.Opening_drive_letter_handle:
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.00526ac0
sub esp, 0x10
lea ecx, [ebp - 0x434]
mov dword [esp], eax
call fcn.00526a40
mov eax, dword [ebp - 0x434]
lea edx, [ebp - 0x42c]
sub esp, 4
cmp eax, edx
je 0x428402
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov eax, dword [ebp - 0x418]
cmp eax, edi
je 0x428414
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov eax, dword [ebp - 0x46c]
mov dword [esp + 4], str.._c:
mov dword [esp + 8], eax
lea eax, [ebp - 0x418]
mov dword [esp], eax
call fcn.004343e0
lea eax, [ebp - 0x418]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [esp + 8], 3
mov dword [esp + 4], 0
mov dword [ebp - 0x480], eax
call eax
sub esp, 0x1c
cmp eax, 0xffffffff
mov edx, eax
je 0x4290ca
lea eax, [ebp - 0x434]
mov dword [esp], edx
mov dword [ebp - 0x478], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x418]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x2d1080
mov dword [esp + 0x10], eax
mov eax, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x474], eax
call eax
sub esp, 0x20
test eax, eax
mov eax, 0
cmovne eax, dword [ebp - 0x414]
lea ecx, [ebp - 0x418]
mov dword [esp], str.Closing_drive_letter_handle
mov dword [ebp - 0x47c], eax
call fcn.00431570
mov eax, dword [ebp - 0x418]
sub esp, 4
mov edx, dword [ebp - 0x478]
cmp eax, edi
je 0x428524
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov edx, dword [ebp - 0x478]
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp], edx
mov dword [ebp - 0x478], eax
call eax
sub esp, 4
test eax, eax
je 0x4290eb
mov edx, dword [ebp - 0x47c]
cmp dword [ebp - 0x484], edx
je 0x428590
mov dword [esp], str.Continuing_with_the_next_available_letter
jmp 0x428300
mov dword [esp], str.The_drive_is_removable
jmp 0x428367
mov dword [esp], str.The_drive_doesnt_exist
jmp 0x428300
mov dword [esp], str.The_drive_type_is_unknown
jmp 0x428300
lea ecx, [ebp - 0x418]
mov dword [esp], str.Drive_letter_device_matches
call fcn.00431570
mov eax, dword [ebp - 0x418]
sub esp, 4
cmp eax, edi
je 0x4285b7
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x488], esi
mov byte [ebp - 0x489], bl
lea ecx, [ebp - 0x418]
mov dword [esp], str.Ejecting_drive_letter
call fcn.00431570
mov eax, dword [ebp - 0x418]
sub esp, 4
cmp eax, edi
je 0x4285f4
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov eax, dword [ebp - 0x46c]
mov dword [esp + 4], str.._c:
mov dword [esp + 8], eax
lea eax, [ebp - 0x418]
mov dword [esp], eax
call fcn.004343e0
lea eax, [ebp - 0x418]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov dword [esp + 8], 3
mov dword [esp + 4], 0xc0000000
mov eax, dword [ebp - 0x480]
call eax
lea ecx, [ebp - 0x418]
sub esp, 0x1c
mov esi, eax
mov dword [esp], str.Creating_volume_handle
call fcn.00431570
mov eax, dword [ebp - 0x418]
sub esp, 4
cmp eax, edi
je 0x428681
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
cmp esi, 0xffffffff
je 0x428c60
lea eax, [ebp - 0x418]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x90028
mov dword [esp], esi
mov eax, dword [ebp - 0x474]
call eax
sub esp, 0x20
test eax, eax
jne 0x428770
mov dword [esp], str.Volume_is_not_mounted
lea ecx, [ebp - 0x418]
call fcn.00431570
mov eax, dword [ebp - 0x418]
sub esp, 4
cmp eax, edi
je 0x428701
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov dword [esp], esi
mov eax, dword [ebp - 0x478]
call eax
sub esp, 4
test eax, eax
je 0x42908a
add dword [ebp - 0x47c], 1
mov eax, dword [ebp - 0x47c]
cmp eax, 3
je 0x429018
lea ecx, [ebp - 0x418]
mov dword [esp], str.Retrying
call fcn.00431570
mov eax, dword [ebp - 0x418]
sub esp, 4
cmp eax, edi
je 0x428754
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov dword [esp], 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
jmp 0x4285cd
mov eax, dword [ebp - 0x46c]
mov dword [esp + 4], 0x53b9b0
mov dword [esp + 8], eax
lea eax, [ebp - 0x418]
mov dword [esp], eax
call fcn.00431010
lea eax, [ebp - 0x418]
mov dword [esp], eax
mov eax, dword [ebp - 0x470]
call eax
sub esp, 4
cmp eax, 3
jne 0x428ce9
lea ecx, [ebp - 0x418]
mov dword [esp], str.Drive_is_fixed
call fcn.00431570
mov eax, dword [ebp - 0x418]
sub esp, 4
cmp eax, edi
je 0x4287d4
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
lea eax, [ebp - 0x434]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0xc
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x418]
mov dword [esp + 4], 0x2d1080
mov dword [esp], esi
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x474]
call eax
sub esp, 0x20
test eax, eax
je 0x42915f
mov eax, dword [ebp - 0x414]
test eax, eax
mov dword [ebp - 0x494], eax
je 0x42915f
mov dword [esp], esi
mov eax, dword [ebp - 0x478]
call eax
sub esp, 4
test eax, eax
je 0x42908a
lea ecx, [ebp - 0x418]
mov dword [esp], str.Ejecting_fixed_drive
call fcn.00431570
mov eax, dword [ebp - 0x418]
sub esp, 4
cmp eax, edi
je 0x428877
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov dword [esp + 0xc], 0x12
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x606f04
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
sub esp, 0x10
cmp eax, 0xffffffff
mov esi, eax
je 0x429176
mov dword [ebp - 0x434], 0x1c
xor ebx, ebx
lea esi, [esi]
lea edi, [edi]
lea eax, [ebp - 0x434]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], 0x606f04
mov dword [esp + 4], 0
mov dword [esp], esi
mov dword [esp + 0x10], eax
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
sub esp, 0x14
test eax, eax
je 0x42916a
lea eax, [ebp - 0x464]
mov dword [ebp - 0x464], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x434]
mov dword [esp], esi
mov dword [esp + 4], eax
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailA]
mov eax, dword [ebp - 0x464]
sub esp, 0x18
sub eax, 1
cmp eax, 0x3ff
ja 0x429040
mov dword [ebp - 0x418], 5
xor edx, edx
xor eax, eax
mov dword [ebp + eax - 0x44c], edx
add eax, 4
cmp eax, 0x18
jb 0x428956
lea eax, [ebp - 0x450]
mov dword [ebp - 0x450], 0x1c
mov dword [esp + 0xc], 0x400
mov dword [esp], esi
mov dword [esp + 0x14], eax
lea eax, [ebp - 0x464]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x418]
mov dword [esp + 8], eax
lea eax, [ebp - 0x434]
mov dword [esp + 4], eax
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailA]
sub esp, 0x18
test eax, eax
je 0x429040
lea eax, [ebp - 0x414]
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], 0
mov dword [esp], eax
mov dword [esp + 8], 3
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x480]
call eax
sub esp, 0x1c
cmp eax, 0xffffffff
mov edx, eax
je 0x429040
lea eax, [ebp - 0x460]
mov dword [esp], edx
mov dword [ebp - 0x490], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0xc
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x45c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x2d1080
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x474]
call eax
sub esp, 0x20
test eax, eax
mov edx, dword [ebp - 0x490]
je 0x42902a
mov ecx, dword [ebp - 0x458]
mov dword [esp], edx
mov eax, dword [ebp - 0x478]
mov dword [ebp - 0x490], ecx
call eax
mov ecx, dword [ebp - 0x490]
sub esp, 4
test ecx, ecx
je 0x429040
cmp dword [ebp - 0x494], ecx
jne 0x429040
mov dword [esp], esi
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov eax, dword [ebp - 0x43c]
sub esp, 4
test eax, eax
mov dword [ebp - 0x490], eax
je 0x429176
mov dword [ebp - 0x450], 0
xor ebx, ebx
jmp 0x428b0b
add ebx, 1
cmp ebx, 3
je 0x4290c0
lea ecx, [ebp - 0x434]
mov dword [esp], str.Retrying
call fcn.00431570
mov eax, dword [ebp - 0x434]
lea edx, [ebp - 0x42c]
sub esp, 4
cmp eax, edx
je 0x428afb
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov dword [esp], 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
lea ecx, [ebp - 0x434]
mov dword [esp], str.Ejecting_device_instance
call fcn.00431570
mov eax, dword [ebp - 0x434]
lea edx, [ebp - 0x42c]
sub esp, 4
cmp eax, edx
je 0x428b38
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
lea eax, [ebp - 0x418]
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0x104
mov dword [esp + 8], eax
lea eax, [ebp - 0x450]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x490]
mov dword [esp], eax
call dword [sym.imp.SETUPAPI.dll_CM_Request_Device_EjectA]
sub esp, 0x14
test eax, eax
mov esi, eax
je 0x4291d2
lea ecx, [ebp - 0x434]
mov dword [esp], str.Ejecting_was_vetoed
call fcn.00431570
mov edx, dword [ebp - 0x434]
lea eax, [ebp - 0x42c]
sub esp, 4
cmp edx, eax
je 0x428ba5
mov dword [esp], edx
call sub.libstdc_6.dll_operator_delete_void_
cmp esi, 0x17
jne 0x428ac2
cmp dword [ebp - 0x450], 8
jne 0x428ac2
lea ecx, [ebp - 0x434]
mov dword [esp], str.Removing_subtree
lea ebx, [ebp - 0x42c]
call fcn.00431570
mov eax, dword [ebp - 0x434]
sub esp, 4
cmp eax, ebx
je 0x428be8
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
lea eax, [ebp - 0x418]
mov dword [esp + 0x10], 2
mov dword [esp + 0xc], 0x104
mov dword [esp + 8], eax
lea eax, [ebp - 0x450]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x490]
mov dword [esp], eax
call dword [sym.imp.SETUPAPI.dll_CM_Query_And_Remove_SubTreeA]
sub esp, 0x14
cmp eax, 0x33
je 0x429224
test eax, eax
je 0x428717
lea ecx, [ebp - 0x434]
mov dword [esp], str.Couldnt_eject_device_instance
lea ebx, [ebp - 0x42c]
call fcn.00431570
push eax
mov eax, dword [ebp - 0x434]
cmp eax, ebx
jne 0x4290a9
jmp 0x4290c0
lea ecx, [ebp - 0x418]
mov dword [esp], str.Couldnt_create_volume_handle
mov esi, dword [ebp - 0x488]
movzx ebx, byte [ebp - 0x489]
call fcn.00431570
mov eax, dword [ebp - 0x418]
sub esp, 4
cmp eax, edi
je 0x428c94
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov edx, dword [ebp - 0x47c]
test edx, edx
jne 0x429182
mov eax, 1
lea ecx, [ebp - 0x418]
mov dword [esp], str.Couldnt_eject_drive_letter
mov dword [ebp - 0x46c], eax
call fcn.00431570
mov edx, dword [ebp - 0x418]
sub esp, 4
mov eax, dword [ebp - 0x46c]
cmp edx, edi
je 0x428332
mov dword [esp], edx
call sub.libstdc_6.dll_operator_delete_void_
mov eax, dword [ebp - 0x46c]
jmp 0x428332
lea ecx, [ebp - 0x418]
mov dword [esp], str.Locking_volume
call fcn.00431570
mov eax, dword [ebp - 0x418]
sub esp, 4
cmp eax, edi
je 0x428d10
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov ebx, 0x14
jmp 0x428d39
mov dword [esp], 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
sub esp, 4
sub ebx, 1
je 0x4290f4
lea eax, [ebp - 0x418]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x90018
mov dword [esp], esi
mov eax, dword [ebp - 0x474]
call eax
sub esp, 0x20
test eax, eax
je 0x428d20
lea ecx, [ebp - 0x418]
mov dword [esp], str.Dismounting_volume
call fcn.00431570
mov eax, dword [ebp - 0x418]
sub esp, 4
cmp eax, edi
je 0x428dac
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
lea eax, [ebp - 0x418]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x90020
mov dword [esp], esi
mov eax, dword [ebp - 0x474]
call eax
sub esp, 0x20
test eax, eax
je 0x4291b6
lea ecx, [ebp - 0x418]
mov dword [esp], str.Ejecting_volume
call fcn.00431570
mov eax, dword [ebp - 0x418]
sub esp, 4
cmp eax, edi
je 0x428e23
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
lea eax, [ebp - 0x434]
mov byte [ebp - 0x450], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], eax
lea eax, [ebp - 0x450]
mov dword [esp + 0xc], 1
mov dword [esp + 4], 0x2d4804
mov dword [esp], esi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x474]
call eax
sub esp, 0x20
test eax, eax
je 0x42912d
mov ebx, 1
cmp ebx, 1
je 0x428f22
lea ecx, [ebp - 0x418]
mov dword [esp], str.Retrying_ejection
call fcn.00431570
mov eax, dword [ebp - 0x418]
sub esp, 4
cmp eax, edi
je 0x428eb1
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov dword [esp], 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x434]
sub esp, 4
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0x2d4808
mov dword [esp], esi
mov eax, dword [ebp - 0x474]
call eax
sub esp, 0x20
test eax, eax
jne 0x428f6e
cmp ebx, 5
je 0x4291b2
add ebx, 1
cmp ebx, 1
jne 0x428e8a
lea eax, [ebp - 0x434]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x2d4808
mov dword [esp], esi
mov eax, dword [ebp - 0x474]
call eax
sub esp, 0x20
test eax, eax
je 0x428f16
lea ecx, [ebp - 0x418]
mov dword [esp], str.Volume_ejected
call fcn.00431570
mov eax, dword [ebp - 0x418]
sub esp, 4
cmp eax, edi
je 0x428f95
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
lea ecx, [ebp - 0x418]
mov dword [esp], str.Unlocking_volume
call fcn.00431570
mov eax, dword [ebp - 0x418]
sub esp, 4
cmp eax, edi
je 0x428fbc
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
lea eax, [ebp - 0x418]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0x9001c
mov dword [esp], esi
mov eax, dword [ebp - 0x474]
call eax
sub esp, 0x20
test eax, eax
je 0x4291c4
mov dword [esp], str.Closing_volume_handle
jmp 0x4286e1
mov esi, dword [ebp - 0x488]
movzx ebx, byte [ebp - 0x489]
jmp 0x42854d
mov dword [esp], edx
mov eax, dword [ebp - 0x478]
call eax
sub esp, 4
nop
lea esi, [esi]
add ebx, 1
jmp 0x4288c0
lea ecx, [ebp - 0x418]
mov dword [esp], str.Couldnt_get_logical_drives
call fcn.00431570
mov eax, dword [ebp - 0x418]
lea edx, [ebp - 0x410]
sub esp, 4
cmp eax, edx
je 0x42907d
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
lea esp, [ebp - 0xc]
mov eax, 4
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.Couldnt_close_volume_handle
lea ecx, [ebp - 0x418]
call fcn.00431570
mov eax, dword [ebp - 0x418]
sub esp, 4
cmp eax, edi
je 0x4290c0
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
jmp 0x4290c0
mov eax, 4
jmp 0x428ca7
mov dword [esp], str.Couldnt_open_drive_letter_handle
lea ecx, [ebp - 0x418]
call fcn.00431570
mov eax, dword [ebp - 0x418]
sub esp, 4
cmp eax, edi
jne 0x429075
jmp 0x42907d
mov dword [esp], str.Couldnt_close_drive_letter_handle
jmp 0x4290d1
mov ebx, esi
mov dword [esp], str.Couldnt_lock_volume
lea ecx, [ebp - 0x418]
call fcn.00431570
mov eax, dword [ebp - 0x418]
sub esp, 4
cmp eax, edi
je 0x42911d
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov dword [esp], ebx
mov eax, dword [ebp - 0x478]
call eax
sub esp, 4
jmp 0x4290c0
lea ecx, [ebp - 0x418]
mov dword [esp], str.Couldnt_prevent_media_removal
mov ebx, esi
call fcn.00431570
mov eax, dword [ebp - 0x418]
sub esp, 4
cmp eax, edi
je 0x429156
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
mov dword [esp], str.Couldnt_eject_volume
jmp 0x4290fd
mov ebx, esi
mov dword [esp], str.Couldnt_get_device_number_from_volume_handle
jmp 0x4290fd
mov dword [esp], esi
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
sub esp, 4
mov dword [esp], str.Couldnt_get_instance_from_device_number
jmp 0x429091
lea ecx, [ebp - 0x418]
mov dword [esp], str.Drive_letter_has_already_been_ejected
call fcn.00431570
mov eax, dword [ebp - 0x418]
sub esp, 4
cmp eax, edi
je 0x42854d
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
jmp 0x42854d
mov ebx, esi
jmp 0x429156
mov ebx, esi
mov dword [esp], str.Couldnt_dismount_volume
jmp 0x4290fd
mov ebx, esi
mov dword [esp], str.Couldnt_unlock_volume
jmp 0x4290fd
lea ecx, [ebp - 0x434]
mov dword [esp], str.Ejected_device_instance_successfully
lea ebx, [ebp - 0x42c]
call fcn.00431570
mov eax, dword [ebp - 0x434]
sub esp, 4
cmp eax, ebx
je 0x428717
mov dword [esp], eax
call sub.libstdc_6.dll_operator_delete_void_
jmp 0x428717
mov eax, 2
jmp 0x428ca7