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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x433581
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x446054]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4476e4]
mov edi, dword [ebp + 8]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x447594]
cmp eax, dword [ecx + 4]
jg 0x41f1c4
cmp dword [0x447590], 8
mov eax, 0x44757c
cmovae eax, dword [0x44757c]
push eax
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
test eax, eax
jne 0x41f19d
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
jne 0x41f1a4
cmp dword [0x447578], 0
jne 0x41f199
cmp dword [0x447590], 8
mov eax, 0x44757c
cmovae eax, dword [0x44757c]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x447578], eax
test eax, eax
je 0x41f1a4
call esi
cmp eax, 0xb7
je 0x41f1a4
mov al, 1
jmp 0x41f1a6
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042d821
mov esp, ebp
pop ebp
ret 4
push 0x447594
call fcn.0042d98d
add esp, 4
cmp dword [0x447594], 0xffffffff
jne 0x41f12e
mov esi, dword [sym.imp.Qt5CoreKso.dll_private:_static_struct_kso_qt::QTypedArrayData_unsigned_short_int_____cdecl_kso_qt::QString::fromAscii_helper_char_const___int_]
push 0xc
push 0x436a04
mov dword [ebp - 4], 0
call esi
mov dword [ebp - 0x34], eax
push 0xa
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 1
push edi
push eax
call dword [sym.imp.Qt5CoreKso.dll_public:_static_class_kso_qt::QString___cdecl_kso_qt::QString::number_unsigned_long_int__int_]
mov ebx, eax
push 9
push str.___1__2__
mov byte [ebp - 4], 2
call esi
mov dword [ebp - 0x30], eax
add esp, 0x18
mov byte [ebp - 0x2c], 0x20
mov ecx, esp
mov byte [ebp - 4], 3
push dword [ebp - 0x2c]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QChar::constructor_struct_kso_qt::QLatin1Char_]
mov edi, dword [sym.imp.Qt5CoreKso.dll_public:_class_kso_qt::QString___thiscall_kso_qt::QString::arg_class_kso_qt::QString_const___int__class_kso_qt::QChar_]
lea eax, [ebp - 0x34]
push 0
push eax
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x30]
call edi
mov esi, eax
push ecx
mov ecx, esp
mov byte [ebp - 0x2c], 0x20
push dword [ebp - 0x2c]
mov byte [ebp - 4], 4
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QChar::constructor_struct_kso_qt::QLatin1Char_]
push 0
push ebx
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
push ecx
mov ecx, eax
call dword [sym.imp.Qt5CoreKso.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_kso_qt::QString::toStdWString_void_]
mov edi, eax
mov dword [0x447578], 0
mov dword [0x44758c], 0
mov dword [0x447590], 0
cmp dword [edi + 0x14], 8
mov ebx, dword [edi + 0x10]
mov byte [ebp - 4], 6
jb 0x41f2a7
mov edi, dword [edi]
jmp 0x41f2a7
cmp ebx, 8
jae 0x41f2d7
mov eax, dword [edi]
mov dword [0x44757c], eax
mov eax, dword [edi + 4]
mov dword [0x447580], eax
mov eax, dword [edi + 8]
mov dword [0x447584], eax
mov eax, dword [edi + 0xc]
mov dword [0x447588], eax
mov dword [0x447590], 7
jmp 0x41f313
mov esi, ebx
mov eax, 0x7ffffffe
or esi, 7
mov ecx, 0x44757c
cmp esi, eax
cmova esi, eax
lea eax, [esi + 1]
push eax
call fcn.004020e0
lea ecx, [ebx*2 + 2]
mov dword [0x44757c], eax
push ecx
push edi
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [0x447590], esi
jmp 0x41f313
mov edx, dword [ebp - 0x14]
mov dword [0x44758c], ebx
cmp edx, 8
jb 0x41f357
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41f34b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x41f34b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0042d5b4
add esp, 8
jmp 0x41f357
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::destructor_void_]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::destructor_void_]
lea ecx, [ebp - 0x30]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::destructor_void_]
lea ecx, [ebp - 0x40]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::destructor_void_]
lea ecx, [ebp - 0x34]
call dword [sym.imp.Qt5CoreKso.dll_public:_void___thiscall_kso_qt::QString::destructor_void_]
push 0x434f00
call fcn.0042d80c
push 0x447594
call fcn.0042d943
add esp, 8
jmp 0x41f12e