Function at 0x426510
Capabilities:
Check if file exists
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c7e5
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x43c51c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea esi, [ecx + 0x14]
mov dword [ebp - 0x40], 0
mov eax, dword [esi]
cmp dword [eax + 4], 0
jne 0x4265f3
push ecx
lea ecx, [ebp - 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QFileInfo::constructor_class_QFile_const__]
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_class_QString___thiscall_QFileInfo::absoluteFilePath_void_]
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 1
push eax
call dword [sym.imp.Qt5Core.dll_private:_static_class_QString___cdecl_QString::toLower_helper_class_QString__]
push 0xffffffffffffffff
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 2
push str.QtLockedFile_mutex
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::fromLatin1_char_const___int_]
add esp, 0x14
push eax
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
lea eax, [ebp - 0x38]
mov dword [ebp - 0x40], 3
push eax
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::append_class_QString_const__]
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::operator_class_QString_const__]
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x44]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x38]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x34]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QFileInfo::destructor_void_]
push esi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::constructor_class_QString_const__]
mov dword [ebp - 4], 5
test edi, edi
js 0x426633
push 0xa
lea eax, [ebp - 0x34]
push edi
push eax
call dword [sym.imp.Qt5Core.dll_public:_static_class_QString___cdecl_QString::number_int__int_]
add esp, 0xc
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 6
call dword [sym.imp.Qt5Core.dll_public:_class_QString____thiscall_QString::append_class_QString_const__]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x2c]
push eax
call dword [sym.imp.Qt5Core.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_QString::toStdWString_void_]
cmp byte [ebp + 0xc], 0
je 0x42666e
cmp dword [eax + 0x14], 8
jb 0x42664e
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.004262f0
test esi, esi
jne 0x4266ad
push str.QtLockedFile::lock__:_CreateMutex_failed
jmp 0x4266a2
cmp dword [eax + 0x14], 8
jb 0x426676
mov eax, dword [eax]
push eax
push 0
push 0x100001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.004262f0
test esi, esi
jne 0x4266ad
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4266ab
push str.QtLockedFile::lock__:_OpenMutex_failed
call dword [sym.imp.Qt5Core.dll_void___cdecl_qErrnoWarning_char_const__]
add esp, 4
xor esi, esi
lea ecx, [ebp - 0x2c]
call dword [sym.imp.Qt5Core.dll_public:_void___thiscall_QString::destructor_void_]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00427b79
mov esp, ebp
pop ebp
ret 8