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

Disassembly:
push 0xffffffffffffffff
push 0x6714709d
mov eax, dword fs:[0]
push eax
sub esp, 0x29c
mov eax, dword [0x67237378]
xor eax, esp
mov dword [esp + 0x298], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67237378]
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 0x670c8c9f
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 0x670c8ca2
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
test al, al
push esi
je 0x670c8948
lea esi, [esp + 0x18]
call fcn.670c5200
add esp, 4
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2bc], 1
call fcn.67058a30
mov edx, dword [esp + 0x14]
mov byte [esp + 0x2b8], 0
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670c890d
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 0x670c8951
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 0x670c8941
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 0x670c8ca8
lea ecx, [esp + 0x1c]
call fcn.67058a30
lea ecx, [esp + 0x18]
lea edi, [esp + 0x14]
call fcn.670c7d90
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2bc], 2
call fcn.67058a30
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x2b8], 0
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670c8992
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 0x670c89e2
push eax
call dword [sym.imp.MSVCR80.dll__get_osfhandle]
add esp, 4
cmp eax, 0xffffffff
je 0x670c8c73
lea ecx, [esp + 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x670c8c73
mov edx, dword [esp + 0x28]
or dword [ebp + 0x40], 4
mov dword [ebp + 0x30], edx
jmp 0x670c8c73
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.670c5b50
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 0x670c8a2f
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 0x670c8b43
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x670c8a52
cmp eax, 0x20
jne 0x670c8b43
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
mov esi, 0x5c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2c0], bl
mov word [esp + 0x24], si
call sym.QtCore4.dll_public:_bool___thiscall_QString::endsWith_class_QChar_const___enum_Qt::CaseSensitivity_const
test al, al
je 0x670c8ab4
lea esp, [esp]
push 1
lea ecx, [esp + 0x18]
call sym.QtCore4.dll_public:_void___thiscall_QString::chop_int_
push 1
lea edx, [esp + 0x20]
push edx
lea ecx, [esp + 0x1c]
mov word [esp + 0x24], si
call sym.QtCore4.dll_public:_bool___thiscall_QString::endsWith_class_QChar_const___enum_Qt::CaseSensitivity_const
test al, al
jne 0x670c8a90
push 1
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
mov word [esp + 0x24], 0x3a
call sym.QtCore4.dll_public:_bool___thiscall_QString::endsWith_class_QChar_const___enum_Qt::CaseSensitivity_const
test al, al
jne 0x670c8b21
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.670c5b50
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 0x670c8b21
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 0x670c8b43
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 0x670c8c73
lea esi, [esp + 0x18]
call fcn.670c4600
test al, al
je 0x670c8bb7
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 0x670c8c73
or dword [ebp + 0x40], ebx
mov dword [ebp + 0x30], 0x14
jmp 0x670c8c73
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], 0x67186718
call sym.QtCore4.dll_public:_bool___thiscall_QString::startsWith_class_QLatin1String_const___enum_Qt::CaseSensitivity_const
test al, al
je 0x670c8c62
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 0x670c8c47
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]
add eax, 1
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 0x670c8c47
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 8]
add ecx, 0xffffffff
cmp eax, ecx
jne 0x670c8c62
lea edx, [esp + 0x14]
push edx
call fcn.670c85d0
add esp, 4
test al, al
je 0x670c8c62
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 0x670c8c9f
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.67134048
add esp, 0x2a8
ret