Function at 0x41a980
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x4521c5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x138
push ebx
push ebp
push esi
push edi
mov esi, ecx
mov ecx, dword [esi + 0xd0]
or edi, 0xffffffff
mov dword [esp + 0x18], edi
call dword [sym.imp.QtGui4.dll_public:_class_QTreeWidgetItem____thiscall_QTreeWidget::currentItem_void_const]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x30], ebx
je 0x41b1da
cmp dword [ebx + 0x20], 1
jne 0x41aa9d
lea eax, [esp + 0x14]
push 0x4e26
push eax
call dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeUrl_int_]
mov edi, eax
push 0
lea ecx, [esp + 0x2c]
mov dword [esp + 0x15c], 0
mov ebp, dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeString_int__enum_TLang_]
push 0x288f
push ecx
call ebp
add esp, 0x14
mov ebx, eax
push 0
lea edx, [esp + 0x20]
push 0x28ac
push edx
mov byte [esp + 0x15c], 1
call ebp
add esp, 0xc
push 0x400
push 2
push ecx
mov ecx, esp
mov byte [esp + 0x15c], 2
mov dword [esp + 0x34], esp
push esi
push edi
push ebx
mov dword [ecx], 0x800
push eax
lea ecx, [esp + 0x58]
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 + 0x1c]
mov byte [esp + 0x150], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x150], 5
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x14]
mov byte [esp + 0x150], 6
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x3c]
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QDialog::exec_void_]
lea ecx, [esp + 0x3c]
mov dword [esp + 0x150], 0xffffffff
call sub.standarddlgs.dll_public_virtual:_void___thiscall_CMessageBox::destructor_void_
jmp 0x41b1da
mov eax, dword [ebx + 0x64]
test eax, eax
mov ebp, dword [ebx + 0x38]
jne 0x41ac53
mov ecx, dword [esi + 0x268]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x20]
push eax
push ebp
push ecx
call dword [sym.imp.panda.dll_Ordinal_59]
add esp, 0xc
test eax, eax
jl 0x41afa2
mov edx, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x28]
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
mov dword [esp + 0x150], 7
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esp + 0x1c], eax
mov ecx, 1
lock xadd dword [eax], ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x154], 8
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::constructor_class_QString_const__]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], 0xa
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QDir::exists_class_QString_const__const]
test al, al
jne 0x41ac2b
lea ecx, [esp + 0x28]
push 0x4e26
push ecx
call dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeUrl_int_]
mov edi, eax
push 0
lea edx, [esp + 0x3c]
mov byte [esp + 0x15c], 0xb
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 + 0x1c]
push 0x288b
push eax
mov byte [esp + 0x15c], 0xc
call ebp
add esp, 0xc
push 0x400
push 2
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push esi
push edi
mov byte [esp + 0x164], 0xd
push ebx
mov dword [ecx], 0x800
push eax
lea ecx, [esp + 0x58]
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 + 0x18]
mov byte [esp + 0x150], 0xf
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x30]
mov byte [esp + 0x150], 0x10
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x150], 0x11
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x3c]
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QDialog::exec_void_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x150], 0xa
call sub.standarddlgs.dll_public_virtual:_void___thiscall_CMessageBox::destructor_void_
lea ecx, [esp + 0x14]
mov byte [esp + 0x150], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::destructor_void_]
lea ecx, [esp + 0x24]
mov dword [esp + 0x150], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x41b1ea
lea ecx, [esp + 0x14]
mov byte [esp + 0x150], 7
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::destructor_void_]
lea ecx, [esp + 0x24]
mov dword [esp + 0x150], edi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x41afa2
cmp eax, 1
je 0x41ac61
cmp eax, 2
jne 0x41afa2
test ebp, ebp
jge 0x41ac76
push ebx
push esi
call fcn.00417af0
mov ebp, eax
test ebp, ebp
jl 0x41b1ea
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
mov dword [esp + 0x150], 0x12
mov edi, dword [ebx + 0x14]
test edi, edi
je 0x41ad2b
push 0
lea edx, [esp + 0x2c]
push edx
mov ecx, edi
call dword [sym.imp.QtGui4.dll_public:_class_QString___thiscall_QTreeWidgetItem::text_int_]
mov byte [esp + 0x150], 0x13
mov ebx, dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
push eax
lea ecx, [esp + 0x18]
call ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x150], 0x12
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov dword [esp + 0x1c], 0
mov edi, dword [edi + 0x14]
test edi, edi
je 0x41ad13
push 0
lea eax, [esp + 0x2c]
push eax
mov ecx, edi
call dword [sym.imp.QtGui4.dll_public:_class_QString___thiscall_QTreeWidgetItem::text_int_]
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x154], 0x14
call ebx
lea ecx, [esp + 0x28]
mov byte [esp + 0x150], 0x12
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esp + 0x1c]
add eax, 1
cmp eax, 2
mov dword [esp + 0x1c], eax
jg 0x41ad27
test edi, edi
jne 0x41acdc
mov ebx, dword [esp + 0x30]
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 8], 2
jle 0x41af8a
push 3
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0x1c]
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::left_int_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x150], 0x15
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 0x41aed9
mov eax, dword [sym.imp.QtCore4.dll_struct_QString::Data_QString::shared_null]
mov dword [esp + 0x1c], eax
mov ecx, 1
lock xadd dword [eax], ecx
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x154], 0x16
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::constructor_class_QString_const__]
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], 0x18
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.QtCore4.dll_public:_bool___thiscall_QDir::exists_class_QString_const__const]
test al, al
jne 0x41aec2
lea ecx, [esp + 0x18]
push 0x4e26
push ecx
call dword [sym.imp.lang.dll_class_QString___cdecl_MoyeaMakeUrl_int_]
mov edi, eax
push 0
lea edx, [esp + 0x3c]
mov byte [esp + 0x15c], 0x19
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 + 0x2c]
push 0x288b
push eax
mov byte [esp + 0x15c], 0x1a
call ebp
add esp, 0xc
push 0x400
push 2
push ecx
mov ecx, esp
mov dword [esp + 0x40], esp
push esi
push edi
mov byte [esp + 0x164], 0x1b
push ebx
mov dword [ecx], 0x800
push eax
lea ecx, [esp + 0x58]
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 + 0x28]
mov byte [esp + 0x150], 0x1d
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x30]
mov byte [esp + 0x150], 0x1e
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x18]
mov byte [esp + 0x150], 0x1f
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x3c]
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QDialog::exec_void_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x150], 0x18
call sub.standarddlgs.dll_public_virtual:_void___thiscall_CMessageBox::destructor_void_
lea ecx, [esp + 0x24]
mov byte [esp + 0x150], 0x15
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::destructor_void_]
lea ecx, [esp + 0x20]
mov byte [esp + 0x150], 0x12
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x14]
mov dword [esp + 0x150], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x41b1ea
lea ecx, [esp + 0x24]
mov byte [esp + 0x150], 0x15
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QDir::destructor_void_]
jmp 0x41af78
cmp byte [0x4fbf83], 0
je 0x41aee9
push 0
call fcn.0042eec0
call fcn.00431d50
push 0
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c]
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 + 0x2f]
push edx
mov byte [esp + 0x33], al
call fcn.00431ce0
push 1
call fcn.0042eec0
cmp byte [0x4fbfac], 0
mov byte [0x4fbf83], 1
jne 0x41af78
call fcn.00431cb0
test al, al
jne 0x41af78
push 0x103
mov byte [esp + 0x40], al
lea eax, [esp + 0x41]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [esp + 0x40]
push str.monkey__d
push ecx
call dword [sym.imp.MSVCR80.dll_sprintf]
add esp, 0xc
lea edx, [esp + 0x3c]
push edx
call fcn.0042f060
mov byte [0x4fbfac], 1
lea ecx, [esp + 0x20]
mov byte [esp + 0x150], 0x12
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x14]
mov dword [esp + 0x150], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
or edi, 0xffffffff
mov ecx, dword [esi + 0x108]
push 0
call sub.control.dll_public:_void___thiscall_CSlider::SetState_enum_CSlider::State_
cmp dword [esi + 0x160], 2
je 0x41afef
push 0
lea eax, [esp + 0x3c]
push eax
mov ecx, ebx
call dword [sym.imp.QtGui4.dll_public:_class_QString___thiscall_QTreeWidgetItem::text_int_]
mov dword [esp + 0x150], 0x20
mov ecx, dword [esi + 0xec]
push eax
call sub.control.dll_public:_void___thiscall_CLabelTicker::setText_class_QString_const__
lea ecx, [esp + 0x38]
mov dword [esp + 0x150], edi
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [esi + 0x160]
mov ebx, 1
sub eax, ebx
je 0x41b13b
sub eax, ebx
je 0x41b098
sub eax, ebx
jne 0x41b1da
mov ecx, dword [esi + 0xf0]
mov dword [esi + 0x15c], ebp
mov dword [esi + 0x160], ebx
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + 0x18]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x1c]
sub edx, dword [eax + 0x14]
add eax, 0x10
add ecx, ebx
push ecx
add edx, ebx
push ebp
mov eax, esi
call fcn.0040d410
test eax, eax
mov dword [esp + 0x18], eax
jl 0x41b1da
mov ecx, dword [esi + 0x100]
call sub.control.dll_public:_bool___thiscall_CLabelVolume::isVolumeOpen_void_
test al, al
je 0x41b080
mov ecx, dword [esi + 0xfc]
call sub.control.dll_public:_int___thiscall_CSlider::GetValue_void_const
mov edx, dword [esi + 0x26c]
push eax
push edx
call dword [sym.imp.panda.dll_Ordinal_48]
mov dword [esp + 0x20], eax
jmp 0x41b1d7
mov eax, dword [esi + 0x26c]
push 0
push eax
call dword [sym.imp.panda.dll_Ordinal_48]
mov dword [esp + 0x20], eax
jmp 0x41b1d7
cmp dword [esi + 0x15c], 0
jl 0x41b0b7
mov ecx, dword [esi + 0x26c]
push ecx
call dword [sym.imp.panda.dll_Ordinal_8]
add esp, 4
mov dword [esp + 0x18], eax
jmp 0x41b128
test ebp, ebp
jl 0x41b130
mov edx, dword [esi + 0xf0]
mov dword [esi + 0x15c], ebp
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 0x18]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x1c]
sub edx, dword [eax + 0x14]
add eax, 0x10
add ecx, ebx
push ecx
add edx, ebx
push ebp
mov eax, esi
call fcn.0040d410
test eax, eax
mov dword [esp + 0x18], eax
jl 0x41b1da
mov ecx, dword [esi + 0x100]
call sub.control.dll_public:_bool___thiscall_CLabelVolume::isVolumeOpen_void_
test al, al
je 0x41b116
mov ecx, dword [esi + 0xfc]
call sub.control.dll_public:_int___thiscall_CSlider::GetValue_void_const
push eax
mov eax, dword [esi + 0x26c]
push eax
jmp 0x41b11f
mov ecx, dword [esi + 0x26c]
push 0
push ecx
call dword [sym.imp.panda.dll_Ordinal_48]
add esp, 8
test eax, eax
jl 0x41b1da
mov dword [esi + 0x160], ebx
jmp 0x41b1da
mov eax, dword [esi + 0x15c]
cmp eax, ebp
je 0x41b16b
test ebp, ebp
jl 0x41b16b
cmp eax, edi
je 0x41b16b
mov eax, dword [esi + 0x26c]
test eax, eax
je 0x41b16b
push eax
call dword [sym.imp.panda.dll_Ordinal_6]
add esp, 4
mov dword [esi + 0x26c], 0
mov edx, dword [esi + 0xf0]
mov dword [esi + 0x15c], ebp
mov dword [esi + 0x160], ebx
mov eax, dword [edx + 0x10]
mov ecx, dword [eax + 0x18]
sub ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x1c]
sub edx, dword [eax + 0x14]
add eax, 0x10
add ecx, ebx
push ecx
add edx, ebx
push ebp
mov eax, esi
call fcn.0040d410
test eax, eax
mov dword [esp + 0x18], eax
jl 0x41b1da
mov ecx, dword [esi + 0x100]
call sub.control.dll_public:_bool___thiscall_CLabelVolume::isVolumeOpen_void_
test al, al
je 0x41b1c8
mov ecx, dword [esi + 0xfc]
call sub.control.dll_public:_int___thiscall_CSlider::GetValue_void_const
push eax
mov eax, dword [esi + 0x26c]
push eax
jmp 0x41b1d1
mov ecx, dword [esi + 0x26c]
push 0
push ecx
call dword [sym.imp.panda.dll_Ordinal_48]
add esp, 8
mov ecx, dword [esp + 0x18]
push 1
call fcn.0041dee0
call fcn.00414130
mov ecx, dword [esp + 0x148]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x144
ret