Function at 0x420690
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x44fd48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
push 0x4d7a9f
lea ecx, [esp + 0x24]
mov dword [esp + 0x28], 0xffffffff
mov byte [esp + 0x1a], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push 0x4d7a9f
lea ecx, [esp + 0x20]
mov dword [esp + 0x68], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
mov ebx, dword [esp + 0x6c]
mov byte [esp + 0x64], 1
mov ecx, dword [ebx + 0xd0]
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QTreeWidget::topLevelItemCount_void_const]
xor ecx, ecx
test eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x38], ecx
jle 0x420a22
jmp 0x420714
mov ebx, dword [esp + 0x6c]
push ecx
mov ecx, dword [ebx + 0xd0]
call dword [sym.imp.QtGui4.dll_public:_class_QTreeWidgetItem____thiscall_QTreeWidget::topLevelItem_int_const]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x30], ebp
je 0x420a0d
mov eax, dword [ebp + 0x64]
cmp eax, 3
jne 0x4209d7
push 0
lea eax, [esp + 0x44]
push eax
mov ecx, ebp
mov byte [esp + 0x1f], 0
call dword [sym.imp.QtGui4.dll_public:_class_QString___thiscall_QTreeWidgetItem::text_int_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 2
mov edi, dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::trimmed_void_]
push ecx
mov ecx, eax
call edi
mov byte [esp + 0x64], 3
mov esi, dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
push eax
lea ecx, [esp + 0x24]
call esi
lea ecx, [esp + 0x3c]
mov byte [esp + 0x64], 2
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x40]
mov byte [esp + 0x64], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov edx, dword [esp + 0x20]
mov eax, dword [edx + 8]
test eax, eax
je 0x42086a
cmp eax, 3
jle 0x42086a
push 3
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x28]
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::left_int_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], 4
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]
mov ebx, 5
cmp eax, ebx
jne 0x420834
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 8]
add eax, 0xfffffffd
push eax
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x28]
mov byte [esp + 0x1f], 1
call dword [sym.imp.QtCore4.dll_public:_class_QString___thiscall_QString::right_int_]
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], bl
call edi
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x68], 6
call esi
lea ecx, [esp + 0x44]
mov byte [esp + 0x64], bl
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x64], 4
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x420848
push 0x4d7a9f
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b], 0
call dword [sym.imp.QtCore4.dll_public:_class_QString____thiscall_QString::operator_char_const__]
mov ecx, dword [esp + 0x1c]
cmp dword [ecx + 8], 0
je 0x42085b
lea esi, [esp + 0x1c]
call fcn.0040b9a0
lea ecx, [esp + 0x2c]
mov byte [esp + 0x64], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, ebp
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QTreeWidgetItem::childCount_void_const]
xor esi, esi
test eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x34], esi
jle 0x420974
push esi
mov ecx, ebp
call dword [sym.imp.QtGui4.dll_public:_class_QTreeWidgetItem____thiscall_QTreeWidgetItem::child_int_const]
mov edi, eax
test edi, edi
je 0x420963
push 0
mov ecx, edi
call dword [sym.imp.QtGui4.dll_public:_enum_Qt::CheckState___thiscall_QTreeWidgetItem::checkState_int_]
cmp eax, 2
jne 0x4208e4
cmp dword [edi + 0x38], 0
mov byte [esp + 0x16], 1
jge 0x4208bc
mov edx, dword [esp + 0x6c]
push edi
push edx
call fcn.00417af0
push ecx
lea eax, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ebx, dword [esp + 0x70]
push edi
call fcn.00420a60
test eax, eax
jl 0x4208e4
mov dword [esp + 0x24], 0
mov ecx, edi
call dword [sym.imp.QtGui4.dll_public:_int___thiscall_QTreeWidgetItem::childCount_void_const]
xor ebp, ebp
test eax, eax
mov dword [esp + 0x48], eax
jle 0x42095f
push ebp
mov ecx, edi
call dword [sym.imp.QtGui4.dll_public:_class_QTreeWidgetItem____thiscall_QTreeWidgetItem::child_int_const]
mov esi, eax
test esi, esi
je 0x420952
push 0
mov ecx, esi
call dword [sym.imp.QtGui4.dll_public:_enum_Qt::CheckState___thiscall_QTreeWidgetItem::checkState_int_]
cmp eax, 2
jne 0x420952
cmp dword [esi + 0x38], 0
mov byte [esp + 0x16], 1
jge 0x42092a
mov ecx, dword [esp + 0x6c]
push esi
push ecx
call fcn.00417af0
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x5c], esp
push edx
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ebx, dword [esp + 0x70]
push esi
call fcn.00420a60
test eax, eax
jl 0x420952
mov dword [esp + 0x24], 0
add ebp, 1
cmp ebp, dword [esp + 0x48]
jl 0x4208f6
mov esi, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
add esi, 1
cmp esi, dword [esp + 0x4c]
mov dword [esp + 0x34], esi
jl 0x420884
cmp byte [esp + 0x16], 0
je 0x420a0d
cmp byte [esp + 0x17], 0
je 0x4209d0
push 0
lea eax, [esp + 0x54]
push eax
mov ecx, ebp
call dword [sym.imp.QtGui4.dll_public:_class_QString___thiscall_QTreeWidgetItem::text_int_]
push 0
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
mov byte [esp + 0x6c], 7
call dword [sym.imp.QtCore4.dll_public:_class_QChar___thiscall_QString::at_int_const]
lea ecx, [esp + 0x50]
mov byte [esp + 0x64], 1
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x18]
call dword [sym.imp.QtCore4.dll_public:_char___thiscall_QChar::toAscii_void_const]
lea edx, [esp + 0x17]
push edx
mov byte [esp + 0x1b], al
call fcn.00431ce0
mov byte [esp + 0x16], 0
jmp 0x420a0d
test eax, eax
jne 0x420a0d
push eax
mov ecx, ebp
call dword [sym.imp.QtGui4.dll_public:_enum_Qt::CheckState___thiscall_QTreeWidgetItem::checkState_int_]
cmp eax, 2
jne 0x420a0d
push ecx
mov ecx, esp
mov dword [esp + 0x5c], esp
push 0x4d7a9f
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::constructor_char_const__]
push ebp
call fcn.00420a60
test eax, eax
jl 0x420a0d
mov dword [esp + 0x24], 0
mov ecx, dword [esp + 0x38]
add ecx, 1
cmp ecx, dword [esp + 0x54]
mov dword [esp + 0x38], ecx
jl 0x420710
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 0
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x20]
mov dword [esp + 0x64], 0xffffffff
call dword [sym.imp.QtCore4.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x58
ret 4