Function at 0x4184b0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x45019e
push eax
mov dword fs:[0], esp
sub esp, 0x150
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x15c], edi
jl 0x4184f0
mov eax, dword [esi + 0x160]
cmp eax, 1
je 0x4184eb
cmp eax, 2
jne 0x4184f0
call fcn.0041a830
mov ecx, dword [esi + 0xd0]
call dword [sym.imp.QtGui4.dll_public:_class_QTreeWidgetItem____thiscall_QTreeWidget::currentItem_void_const]
mov ebp, eax
cmp ebp, edi
je 0x418bec
mov eax, dword [ebp + 0x64]
cmp eax, edi
mov ebx, dword [ebp + 0x38]
jne 0x4186bc
mov ecx, dword [esi + 0x268]
lea eax, [esp + 0x24]
push eax
push ebx
push ecx
mov dword [esp + 0x30], edi
call dword [sym.imp.panda.dll_Ordinal_59]
add esp, 0xc
test eax, eax
jl 0x418a08
mov edx, dword [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
mov dword [esp + 0x168], edi
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esp + 0x14], eax
mov ecx, 1
lock xadd dword [eax], ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x14]
mov byte [esp + 0x16c], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::constructor_class_QString_const__]
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 3
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x14]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QDir::exists_class_QString_const__const]
test al, al
jne 0x418690
lea ecx, [esp + 0x20]
push 0x4e26
push ecx
call dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeUrl_int_]
mov edi, eax
push 0
lea edx, [esp + 0x40]
mov byte [esp + 0x174], 4
mov ebp, dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeString_int__enum_TLang_]
push 0x288f
push edx
call ebp
add esp, 0x14
mov ebx, eax
push 0
lea eax, [esp + 0x30]
push 0x288b
push eax
mov byte [esp + 0x174], 5
call ebp
add esp, 0xc
push 0x400
push 2
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push esi
push edi
mov byte [esp + 0x17c], 6
push ebx
mov dword [ecx], 0x800
push eax
lea ecx, [esp + 0x70]
call sub.standarddlgs.dll_public:_void___thiscall_CMessageBox::constructor_class_QString_const___class_QString_const___class_QString_const___class_QWidget___class_QFlags_enum_Qt::WindowType___enum_CMessageBox::Icon__int_
lea ecx, [esp + 0x2c]
mov byte [esp + 0x168], 8
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x34]
mov byte [esp + 0x168], 9
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x168], 0xa
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x54]
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QDialog::exec_void_]
lea ecx, [esp + 0x54]
mov byte [esp + 0x168], 3
call sub.standarddlgs.dll_public_virtual:_void___thiscall_CMessageBox::destructor_void_
lea ecx, [esp + 0x10]
mov byte [esp + 0x168], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::destructor_void_]
lea ecx, [esp + 0x18]
mov dword [esp + 0x168], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x418bf1
lea ecx, [esp + 0x10]
mov byte [esp + 0x168], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::destructor_void_]
lea ecx, [esp + 0x18]
mov dword [esp + 0x168], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x418a08
cmp eax, 1
je 0x4186ca
cmp eax, 2
jne 0x418a08
cmp ebx, edi
jge 0x4186df
push ebp
push esi
call fcn.00417af0
mov ebx, eax
cmp ebx, edi
jl 0x418bf1
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esp + 0x10], eax
mov ecx, 1
lock xadd dword [eax], ecx
mov dword [esp + 0x168], 0xb
mov edi, dword [ebp + 0x14]
test edi, edi
je 0x418792
push 0
lea edx, [esp + 0x24]
push edx
mov ecx, edi
call dword [sym.imp.QtGui4.dll_public:_class_QString___thiscall_QTreeWidgetItem::text_int_]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x16c], 0xc
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [esp + 0x20]
mov byte [esp + 0x168], 0xb
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [esp + 0x14], 0
mov edi, dword [edi + 0x14]
test edi, edi
je 0x41877e
push 0
lea eax, [esp + 0x24]
push eax
mov ecx, edi
call dword [sym.imp.QtGui4.dll_public:_class_QString___thiscall_QTreeWidgetItem::text_int_]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x16c], 0xd
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [esp + 0x20]
mov byte [esp + 0x168], 0xb
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, 2
mov dword [esp + 0x14], eax
jg 0x418792
test edi, edi
jne 0x418743
mov ecx, dword [esp + 0x10]
cmp dword [ecx + 8], 2
jle 0x4189f1
push 3
lea edx, [esp + 0x28]
push edx
lea ecx, [esp + 0x18]
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::left_int_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x168], 0xe
call dword [sym.imp.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
je 0x418940
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esp + 0x14], eax
mov ecx, 1
lock xadd dword [eax], ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x16c], 0xf
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::constructor_class_QString_const__]
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 0x11
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QDir::exists_class_QString_const__const]
test al, al
jne 0x418929
lea ecx, [esp + 0x2c]
push 0x4e26
push ecx
call dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeUrl_int_]
mov edi, eax
push 0
lea edx, [esp + 0x40]
mov byte [esp + 0x174], 0x12
mov ebp, dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeString_int__enum_TLang_]
push 0x288f
push edx
call ebp
add esp, 0x14
mov ebx, eax
push 0
lea eax, [esp + 0x24]
push 0x288b
push eax
mov byte [esp + 0x174], 0x13
call ebp
add esp, 0xc
push 0x400
push 2
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push esi
push edi
mov byte [esp + 0x17c], 0x14
push ebx
mov dword [ecx], 0x800
push eax
lea ecx, [esp + 0x70]
call sub.standarddlgs.dll_public:_void___thiscall_CMessageBox::constructor_class_QString_const___class_QString_const___class_QString_const___class_QWidget___class_QFlags_enum_Qt::WindowType___enum_CMessageBox::Icon__int_
lea ecx, [esp + 0x20]
mov byte [esp + 0x168], 0x16
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x34]
mov byte [esp + 0x168], 0x17
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x168], 0x18
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x54]
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QDialog::exec_void_]
lea ecx, [esp + 0x54]
mov byte [esp + 0x168], 0x11
call sub.standarddlgs.dll_public_virtual:_void___thiscall_CMessageBox::destructor_void_
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], 0xe
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x168], 0xb
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x10]
mov dword [esp + 0x168], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x418bf1
lea ecx, [esp + 0x18]
mov byte [esp + 0x168], 0xe
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::destructor_void_]
jmp 0x4189df
cmp byte [0x4fbf83], 0
je 0x418950
push 0
call fcn.0042eec0
call fcn.00431d50
push 0
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x18]
call dword [sym.imp.QtCore4.dll_public:_class_QChar___thiscall_QString::at_int_const]
mov ecx, eax
call dword [sym.imp.QtCore4.dll_public:_char___thiscall_QChar::toAscii_void_const]
lea edx, [esp + 0x1f]
push edx
mov byte [esp + 0x23], al
call fcn.00431ce0
push 1
call fcn.0042eec0
cmp byte [0x4fbfac], 0
mov byte [0x4fbf83], 1
jne 0x4189df
call fcn.00431cb0
test al, al
jne 0x4189df
push 0x103
mov byte [esp + 0x58], al
lea eax, [esp + 0x59]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [esp + 0x58]
push str.monkey__d
push ecx
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x54]
push edx
call fcn.0042f060
mov byte [0x4fbfac], 1
lea ecx, [esp + 0x24]
mov byte [esp + 0x168], 0xb
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x10]
mov dword [esp + 0x168], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
xor edi, edi
mov byte [0x4fbf82], 1
call fcn.00414090
mov ecx, dword [esi + 0x100]
mov dword [esp + 0x28], edi
call sub.control.dll_public:_bool___thiscall_CLabelVolume::isVolumeOpen_void_
test al, al
je 0x418a2f
mov dword [esp + 0x28], 1
mov ecx, dword [esi + 0xfc]
push edi
push esi
push edi
lea eax, [esp + 0x34]
push eax
call sub.control.dll_public:_int___thiscall_CSlider::GetValue_void_const
mov ecx, dword [esi + 0x268]
mov edx, dword [0x4fbf6c]
push eax
push ebx
push ecx
push edx
lea ecx, [esp + 0x58]
call dword [sym.imp.editor.dll_public:_void___thiscall_CEditor::constructor_void___void___int__int__int___int__class_QWidget___bool_]
lea ecx, [esp + 0x38]
mov dword [esp + 0x168], 0x19
call dword [sym.imp.editor.dll_public:_int___thiscall_CEditor::EditShow_void_]
mov edi, eax
xor ecx, ecx
cmp edi, ecx
mov byte [0x4fbf82], 0
jl 0x418bc0
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esp + 0x14], eax
mov edx, 1
lock xadd dword [eax], edx
mov byte [esp + 0x168], 0x1a
lea eax, [esp + 0x44]
push eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esi + 0x268]
push ebx
push ecx
call dword [sym.imp.panda.dll_Ordinal_75]
mov eax, dword [esp + 0x50]
lea edx, [esp + 0x20]
add esp, 0xc
push edx
call fcn.0040b470
add esp, 4
lea eax, [esp + 0x14]
push eax
push 2
mov ecx, ebp
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QTreeWidgetItem::setText_int__class_QString_const__]
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esp + 0x30], eax
mov ecx, 1
lock xadd dword [eax], ecx
xor eax, eax
mov byte [esp + 0x168], 0x1b
lea edx, [esp + 0x3c]
push edx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x268]
push ebx
push eax
call dword [sym.imp.panda.dll_Ordinal_66]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
add esp, 0xc
push ecx
push edx
lea ebx, [esp + 0x38]
call fcn.0040b700
add esp, 8
mov eax, ebx
push eax
push 3
mov ecx, ebp
call dword [sym.imp.QtGui4.dll_public:_void___thiscall_QTreeWidgetItem::setText_int__class_QString_const__]
mov ecx, dword [esi + 0xfc]
push edi
call sub.control.dll_public:_void___thiscall_CSlider::SetValue_int_
cmp dword [esp + 0x28], 0
mov ecx, dword [esi + 0x100]
jne 0x418b74
push 0
call sub.control.dll_public:_void___thiscall_CLabelVolume::SetVolumeOpen_bool_
mov eax, dword [esi + 0x160]
cmp eax, 1
je 0x418b69
cmp eax, 2
jne 0x418b9c
mov ecx, dword [esi + 0x26c]
push 0
push ecx
jmp 0x418b93
push 1
call sub.control.dll_public:_void___thiscall_CLabelVolume::SetVolumeOpen_bool_
mov eax, dword [esi + 0x160]
cmp eax, 1
je 0x418b8b
cmp eax, 2
jne 0x418b9c
mov edx, dword [esi + 0x26c]
push edi
push edx
call dword [sym.imp.panda.dll_Ordinal_48]
add esp, 8
lea ecx, [esp + 0x30]
mov byte [esp + 0x168], 0x1a
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x14]
mov byte [esp + 0x168], 0x19
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
cmp byte [0x4fbf83], 0
je 0x418bd7
push 0
call fcn.0042eec0
mov byte [0x4fbf83], 0
lea ecx, [esp + 0x38]
mov dword [esp + 0x168], 0xffffffff
call dword [sym.imp.editor.dll_public:_void___thiscall_CEditor::destructor_void_]
call fcn.00414090
mov ecx, dword [esp + 0x160]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x15c
ret