Function at 0x670cadb0
Capabilities:
Get disk information
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x6713e75d
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x67221378]
xor eax, esp
mov dword [esp + 0x298], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67221378]
xor eax, esp
push eax
lea eax, [esp + 0x2b0]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp + 0x40]
test al, 8
jne 0x670cb223
mov ecx, dword [ebp + 0x10]
and eax, 0xfffffffb
or eax, 8
lea esi, [ebp + 0x10]
mov dword [ebp + 0x40], eax
cmp dword [ecx + 8], 0
je 0x670cb226
mov dword [esp + 0x18], sym.QtCore4.dll_struct_QString::Data_QString::shared_null
mov edx, sym.QtCore4.dll_struct_QString::Data_QString::shared_null
mov eax, 1
lock xadd dword [edx], eax
push 1
lea ecx, [esp + 0x18]
push ecx
mov ecx, esi
mov dword [esp + 0x2c0], 0
mov dword [esp + 0x1c], str..lnk
call sym.QtCore4.dll_public:_bool___thiscall_QString::endsWith_class_QLatin1String_const___enum_Qt::CaseSensitivity_const
push esi
test al, al
je 0x670caec8
lea esi, [esp + 0x18]
call fcn.670c7770
add esp, 4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2bc], 1
call fcn.6705a9c0
mov edx, dword [esp + 0x14]
mov byte [esp + 0x2b8], 0
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670cae8d
mov ecx, dword [esp + 0x14]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, dword [esp + 0x18]
cmp dword [eax + 8], 0
jne 0x670caed1
mov ebx, dword [ebp + 0x40]
shr ebx, 2
and bl, 1
mov dword [esp + 0x2b8], 0xffffffff
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x670caec1
mov eax, dword [esp + 0x18]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov al, bl
jmp 0x670cb22c
lea ecx, [esp + 0x1c]
call fcn.6705a9c0
lea ecx, [esp + 0x18]
lea edi, [esp + 0x14]
call fcn.670ca320
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2bc], 2
call fcn.6705a9c0
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x2b8], 0
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670caf12
mov eax, dword [esp + 0x14]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x8001
call edi
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0x34]
cmp eax, 0xffffffff
je 0x670caf62
push eax
call dword [sym.imp.MSVCR90.dll__get_osfhandle]
add esp, 4
cmp eax, 0xffffffff
je 0x670cb1f7
lea ecx, [esp + 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x670cb1f7
mov edx, dword [esp + 0x28]
or dword [ebp + 0x40], 4
mov dword [ebp + 0x30], edx
jmp 0x670cb1f7
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.670c80f0
add esp, 8
mov ecx, eax
mov byte [esp + 0x2b8], 3
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, dword [esp + 0x14]
mov dword [ebp + 0x30], eax
mov byte [esp + 0x2b8], 0
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670cafaf
mov ecx, dword [esp + 0x14]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
cmp dword [ebp + 0x30], 0xffffffff
mov ebx, 4
jne 0x670cb0cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x670cafd2
cmp eax, 0x20
jne 0x670cb0cb
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QDir::toNativeSeparators_class_QString_const__
add esp, 8
mov ecx, 0x5c
push 1
lea edx, [esp + 0x20]
mov word [esp + 0x20], cx
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c0], bl
call sym.QtCore4.dll_public:_bool___thiscall_QString::endsWith_class_QChar_const___enum_Qt::CaseSensitivity_const
test al, al
je 0x670cb039
lea esp, [esp]
push 1
lea ecx, [esp + 0x18]
call sym.QtCore4.dll_public:_void___thiscall_QString::chop_int_
push 1
lea ecx, [esp + 0x20]
mov eax, 0x5c
push ecx
lea ecx, [esp + 0x1c]
mov word [esp + 0x24], ax
call sym.QtCore4.dll_public:_bool___thiscall_QString::endsWith_class_QChar_const___enum_Qt::CaseSensitivity_const
test al, al
jne 0x670cb010
push 1
lea eax, [esp + 0x20]
mov edx, 0x3a
push eax
lea ecx, [esp + 0x1c]
mov word [esp + 0x24], dx
call sym.QtCore4.dll_public:_bool___thiscall_QString::endsWith_class_QChar_const___enum_Qt::CaseSensitivity_const
test al, al
jne 0x670cb0a9
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.670c80f0
add esp, 8
lea ecx, [esp + 0x5c]
push ecx
mov ecx, eax
mov byte [esp + 0x2bc], 5
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [esp + 0x1c]
mov esi, eax
mov byte [esp + 0x2b8], bl
call sym.QtCore4.dll_public:_void___thiscall_QString::destructor_void_
cmp esi, 0xffffffff
je 0x670cb0a9
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edx, dword [esp + 0x5c]
mov dword [ebp + 0x30], edx
mov eax, dword [esp + 0x14]
mov byte [esp + 0x2b8], 0
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x670cb0cb
mov edx, dword [esp + 0x14]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
xor eax, eax
cmp dword [ebp + 0x30], 0xffffffff
setne al
add eax, eax
add eax, eax
xor eax, dword [ebp + 0x40]
and eax, ebx
xor dword [ebp + 0x40], eax
test byte [ebp + 0x40], bl
jne 0x670cb1f7
lea esi, [esp + 0x18]
call fcn.670c6b80
test al, al
je 0x670cb13f
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + 0xc]
lea ecx, [esp + 0x14]
mov esi, eax
mov ax, word [edx]
push ecx
lea ecx, [esp + 0x20]
mov word [esp + 0x20], ax
call sym.QtCore4.dll_public:_class_QChar___thiscall_QChar::toUpper_void_
movzx ecx, word [eax]
sub ecx, 0x41
mov eax, 1
shl eax, cl
test esi, eax
je 0x670cb1f7
or dword [ebp + 0x40], ebx
mov dword [ebp + 0x30], 0x14
jmp 0x670cb1f7
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
call sym.QtCore4.dll_public:_static_class_QString___cdecl_QDir::toNativeSeparators_class_QString_const__
add esp, 8
push 1
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c0], 6
mov dword [esp + 0x24], 0x67179b80
call sym.QtCore4.dll_public:_bool___thiscall_QString::startsWith_class_QLatin1String_const___enum_Qt::CaseSensitivity_const
test al, al
je 0x670cb1e6
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xc]
mov cx, word [eax]
push 1
mov word [esp + 0x24], cx
mov edx, dword [esp + 0x24]
push 2
push edx
lea ecx, [esp + 0x20]
call sym.QtCore4.dll_public:_int___thiscall_QString::indexOf_class_QChar__int__enum_Qt::CaseSensitivity_const
test eax, eax
jle 0x670cb1cb
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0xc]
mov cx, word [edx]
push 1
mov word [esp + 0x24], cx
mov edx, dword [esp + 0x24]
inc eax
push eax
push edx
lea ecx, [esp + 0x20]
call sym.QtCore4.dll_public:_int___thiscall_QString::indexOf_class_QChar__int__enum_Qt::CaseSensitivity_const
test eax, eax
jle 0x670cb1cb
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 8]
dec ecx
cmp eax, ecx
jne 0x670cb1e6
lea edx, [esp + 0x14]
push edx
call fcn.670cab50
add esp, 4
test al, al
je 0x670cb1e6
or dword [ebp + 0x40], ebx
mov dword [ebp + 0x30], 0x10
lea ecx, [esp + 0x14]
mov byte [esp + 0x2b8], 0
call sym.QtCore4.dll_public:_void___thiscall_QString::destructor_void_
mov eax, dword [esp + 0x24]
push eax
call edi
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x2b8], 0xffffffff
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670cb223
mov eax, dword [esp + 0x18]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov eax, dword [ebp + 0x40]
shr eax, 2
and eax, 1
mov ecx, dword [esp + 0x2b0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x298]
xor ecx, esp
call fcn.671300ac
add esp, 0x2a8
ret