Function at 0x10035df0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x1006a20a
mov eax, dword fs:[0]
push eax
sub esp, 0x250
mov eax, dword [0x1009b004]
xor eax, esp
mov dword [esp + 0x24c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1009b004]
xor eax, esp
push eax
lea eax, [esp + 0x264]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x34], edi
mov esi, dword [esp + 0x274]
mov dword [esp + 0x50], 0
mov eax, dword [sym.imp.Qt5Core.dll_struct_QListData::Data_const_QListData::shared_null]
mov dword [esp + 0x5c], esi
mov dword [esi], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x26c], 0
push eax
push 0x100
mov dword [esp + 0x58], 1
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp word [esp + 0x60], 0
lea ebx, [esp + 0x60]
je 0x10036333
mov ebp, dword [esp + 0x278]
push 0xffffffffffffffff
lea eax, [esp + 0x18]
push ebx
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromWCharArray_wchar_t_const___int_]
push 1
push 0x100724c0
mov dword [esp + 0x280], 1
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
mov dword [esp + 0x4c], eax
push 1
push 0x100724bc
mov byte [esp + 0x288], 2
call dword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____cdecl_QString::fromAscii_helper_char_const___int_]
add esp, 0x1c
mov dword [esp + 0x40], eax
push 1
lea eax, [esp + 0x3c]
mov byte [esp + 0x270], 3
push eax
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x20]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::replace_class_QString_const___class_QString_const___enum_Qt::CaseSensitivity_]
lea ecx, [esp + 0x40]
mov byte [esp + 0x26c], 2
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x38]
mov byte [esp + 0x26c], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, dword [ebp]
test eax, eax
je 0x1003609b
cmp eax, 1
jne 0x100362c2
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x10036175
push 1
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::left_int_]
mov eax, dword [esp + 0x18]
mov byte [esp + 0x26c], 5
cmp dword [eax + 4], 0
jle 0x10035f9b
mov eax, dword [esp + 0x278]
cmp dword [eax], 1
jne 0x10036082
mov eax, dword [esp + 0x27c]
test eax, eax
jne 0x10035fb2
push ecx
lea eax, [esp + 0x1c]
mov ecx, esp
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, edi
call fcn.100357a0
test al, al
je 0x10035f94
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.10006660
mov ebp, dword [esp + 0x278]
lea ecx, [esp + 0x18]
mov byte [esp + 0x26c], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x10036175
cmp eax, 1
jne 0x10035f94
lea ecx, [esp + 0x28]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esp + 0x44]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea eax, [esp + 0x44]
mov byte [esp + 0x26c], 7
push eax
lea eax, [esp + 0x2c]
push eax
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, edi
call fcn.100359d0
test al, al
je 0x10036059
push 0x100724e4
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x50]
push eax
call fcn.10003b10
lea ecx, [esp + 0x34]
mov byte [esp + 0x278], 8
push ecx
push eax
lea eax, [esp + 0x68]
push eax
call fcn.10003aa0
add esp, 0x18
push eax
mov ecx, esi
mov byte [esp + 0x270], 9
call fcn.10006660
lea ecx, [esp + 0x54]
mov byte [esp + 0x26c], 8
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x48]
mov byte [esp + 0x26c], 7
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x44]
mov byte [esp + 0x26c], 6
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x28]
mov byte [esp + 0x26c], 5
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x10035f94
lea ecx, [esp + 0x18]
mov byte [esp + 0x26c], 1
mov ebp, eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x10036175
push 1
lea eax, [esp + 0x18]
push eax
lea ebp, [edi + 0x28]
push ebp
call dword [sym.imp.Qt5Core.dll_bool___cdecl_QtPrivate::QStringList_contains_class_QStringList_const___class_QString_const___enum_Qt::CaseSensitivity_]
add esp, 0xc
test al, al
jne 0x10036148
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x1003616e
push 1
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::left_int_]
mov eax, dword [esp + 0x20]
mov byte [esp + 0x26c], 4
cmp dword [eax + 4], 0
jle 0x10036134
push ecx
lea eax, [esp + 0x24]
mov ecx, esp
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, edi
call fcn.100357a0
test al, al
jne 0x10036134
mov edi, dword [edi + 0x2c]
test edi, edi
je 0x10036118
jle 0x10036130
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
sub edx, dword [eax + 8]
cmp edi, edx
jle 0x10036130
lea eax, [esp + 0x14]
mov ecx, ebp
push eax
call fcn.10006660
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.10006660
mov edi, dword [esp + 0x34]
lea ecx, [esp + 0x20]
mov byte [esp + 0x26c], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
jmp 0x1003616e
mov eax, dword [esi]
cmp eax, dword [ebp]
je 0x1003616e
push ebp
lea ecx, [esp + 0x34]
call fcn.10020e20
mov ecx, dword [esp + 0x30]
mov eax, dword [esi]
mov dword [esi], ecx
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], eax
call fcn.100064d0
mov ebp, dword [esp + 0x278]
cmp dword [ebp], 1
jne 0x100362c2
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
jne 0x100362c2
push 1
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QString::left_int_]
mov eax, dword [esp + 0x27c]
mov byte [esp + 0x26c], 0xa
test eax, eax
jne 0x100361e1
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, edi
call fcn.100357a0
test al, al
je 0x100362b0
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.10006660
jmp 0x100362b0
cmp eax, 1
jne 0x100362b0
lea ecx, [esp + 0x24]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea ecx, [esp + 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_void_]
lea eax, [esp + 0x3c]
mov byte [esp + 0x26c], 0xc
push eax
lea eax, [esp + 0x28]
push eax
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
push eax
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov ecx, edi
call fcn.100359d0
test al, al
je 0x1003628c
push 0x100724e4
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x54]
push eax
call fcn.10003b10
lea ecx, [esp + 0x30]
mov byte [esp + 0x278], 0xd
push ecx
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.10003aa0
add esp, 0x18
push eax
mov ecx, esi
mov byte [esp + 0x270], 0xe
call fcn.10006660
lea ecx, [esp + 0x58]
mov byte [esp + 0x26c], 0xd
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x26c], 0xc
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x26c], 0xb
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x26c], 0xa
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x26c], 1
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
cmp dword [ebp], 3
jne 0x100362e0
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
jne 0x100362e0
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.10006660
cmp dword [ebp], 2
jne 0x100362fe
push ebx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 5
jne 0x100362fe
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.10006660
lea ecx, [esp + 0x14]
mov byte [esp + 0x26c], 0
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10036315
sub ecx, edx
sar ecx, 1
lea ebx, [ebx + ecx*2]
add ebx, 2
cmp word [ebx], ax
jne 0x10035e85
mov eax, dword [esp + 0x278]
cmp dword [eax], 0
jne 0x1003634e
mov ecx, dword [esi]
mov eax, dword [ecx + 0xc]
sub eax, dword [ecx + 8]
test eax, eax
jle 0x1003634e
mov dword [edi + 0x2c], eax
mov eax, esi
mov ecx, dword [esp + 0x264]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x24c]
xor ecx, esp
call fcn.1006169e
add esp, 0x25c
ret 0xc