Function at 0x670c8800
Capabilities:
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x6713e241
mov eax, dword fs:[0]
push eax
sub esp, 0x25c
mov eax, dword [0x67221378]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x67221378]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov eax, dword [esp + 0x280]
mov eax, dword [eax]
mov ebp, dword [esp + 0x284]
mov dword [esp + 0x14], eax
mov ecx, 1
lock xadd dword [eax], ecx
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 8]
xor ebx, ebx
mov dword [esp + 0x278], ebx
cmp eax, 2
jne 0x670c888f
mov edx, dword [ecx + 0xc]
cmp word [edx + 2], 0x3a
jne 0x670c888f
push ecx
mov eax, esp
mov ecx, 0x5c
mov word [eax], cx
lea ecx, [esp + 0x18]
mov dword [esp + 0x1c], esp
call sym.QtCore4.dll_public:_class_QString____thiscall_QString::operator_class_QChar_
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
call fcn.670c80f0
add esp, 8
mov ecx, eax
mov byte [esp + 0x278], 1
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [esp + 0x18]
mov edi, eax
mov byte [esp + 0x278], bl
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x670c88da
mov eax, dword [esp + 0x18]
push eax
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
cmp edi, 0xffffffff
jne 0x670c89bc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
je 0x670c88f7
cmp eax, 0x20
jne 0x670c89bc
mov ecx, 0x5c
push 1
lea edx, [esp + 0x1c]
mov word [esp + 0x1c], cx
push edx
lea ecx, [esp + 0x1c]
call sym.QtCore4.dll_public:_bool___thiscall_QString::endsWith_class_QChar_const___enum_Qt::CaseSensitivity_const
test al, al
je 0x670c893e
push 1
lea ecx, [esp + 0x18]
call sym.QtCore4.dll_public:_void___thiscall_QString::chop_int_
push 1
lea ecx, [esp + 0x1c]
mov eax, 0x5c
push ecx
lea ecx, [esp + 0x1c]
mov word [esp + 0x20], ax
call sym.QtCore4.dll_public:_bool___thiscall_QString::endsWith_class_QChar_const___enum_Qt::CaseSensitivity_const
test al, al
jne 0x670c8915
push 1
lea eax, [esp + 0x1c]
mov edx, 0x3a
push eax
lea ecx, [esp + 0x1c]
mov word [esp + 0x20], dx
call sym.QtCore4.dll_public:_bool___thiscall_QString::endsWith_class_QChar_const___enum_Qt::CaseSensitivity_const
test al, al
jne 0x670c89bc
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.670c80f0
add esp, 8
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
mov byte [esp + 0x27c], 2
call sym.QtCore4.dll_public:_unsigned_short_int_const____thiscall_QString::utf16_void_const
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edx, dword [esp + 0x18]
mov esi, eax
mov byte [esp + 0x278], bl
or eax, 0xffffffff
lock xadd dword [edx], eax
jne 0x670c89ac
mov ecx, dword [esp + 0x18]
push ecx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
cmp esi, 0xffffffff
je 0x670c89bc
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, dword [esp + 0x1c]
cmp ebp, ebx
je 0x670c89c9
cmp edi, 0xffffffff
setne dl
mov byte [ebp], dl
mov ecx, dword [esp + 0x14]
or eax, 0xffffffff
mov dword [esp + 0x278], eax
cmp edi, eax
jne 0x670c89f2
lock xadd dword [ecx], eax
jne 0x670c89ee
mov edx, dword [esp + 0x14]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
xor al, al
jmp 0x670c8a0f
mov ebx, edi
shr ebx, 4
and bl, 1
lock xadd dword [ecx], eax
jne 0x670c8a0d
mov edx, dword [esp + 0x14]
push edx
call sym.QtCore4.dll_private:_static_void___cdecl_QString::free_struct_QString::Data__
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.671300ac
add esp, 0x268
ret