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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ff24
mov eax, dword fs:[0]
push eax
sub esp, 0x24c
mov eax, dword [section..data]
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 esi, dword [ebp + 8]
xor ebx, ebx
test byte [0x4d0290], 1
lea edi, [ebx + 7]
jne 0x424a90
or dword [0x4d0290], 1
push 0x26
xor eax, eax
push str.DEB796DA_F98E_48A4_AE1E_71411184820E
mov ecx, 0x4d0274
mov dword [ebp - 4], ebx
mov dword [0x4d0288], edi
mov dword [0x4d0284], ebx
mov word [0x4d0274], ax
call fcn.00403bac
push 0x497755
call fcn.00403649
add esp, 4
mov dword [ebp - 4], 0xffffffff
test byte [0x4d0290], 2
jne 0x424ae1
or dword [0x4d0290], 2
xor ecx, ecx
push 0x13
mov word [0x4d0258], cx
push str.shared_memory_mutex
mov ecx, 0x4d0258
mov dword [ebp - 4], 1
mov dword [0x4d026c], edi
mov dword [0x4d0268], ebx
call fcn.00403bac
push 0x497720
call fcn.00403649
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, 4
test byte [0x4d0290], al
jne 0x424b35
or dword [0x4d0290], eax
push 0x15
xor edx, edx
push str.shared_memory_content
mov ecx, 0x4d023c
mov dword [ebp - 4], 2
mov dword [0x4d0250], edi
mov dword [0x4d024c], ebx
mov word [0x4d023c], dx
call fcn.00403bac
push 0x4976eb
call fcn.00403649
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00402e70
mov edx, dword [0x4d0274]
mov eax, 8
add esp, 0xc
cmp dword [0x4d0288], eax
jae 0x424b62
mov edx, 0x4d0274
cmp dword [esi + 0x14], eax
jb 0x424b6b
mov ecx, dword [esi]
jmp 0x424b6d
mov ecx, esi
cmp dword [0x4d026c], eax
mov eax, dword [0x4d0258]
jae 0x424b7f
mov eax, 0x4d0258
push edx
push ecx
push eax
push str._ws__ws_starup_object__ws
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call fcn.00417c94
add esp, 0x18
xor edx, edx
lea eax, [ebp - 0x218]
mov word [ebp - 0x254], dx
mov dword [ebp - 0x240], edi
mov dword [ebp - 0x244], ebx
lea edx, [eax + 2]
jmp 0x424bbe
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x424bbe
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x254]
call fcn.00403bac
push 0xffffffffffffffff
xor ecx, ecx
push ebx
lea edx, [ebp - 0x254]
mov word [ebp - 0x234], cx
push edx
lea ecx, [ebp - 0x234]
mov dword [ebp - 4], 3
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], ebx
call fcn.00404e0e
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x424c2c
lea eax, [ebp - 0x234]
push eax
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov esi, eax
cmp esi, ebx
jne 0x424c50
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 0x255], bl
cmp eax, 2
je 0x424c57
mov byte [ebp - 0x255], 1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
mov eax, dword [ebp - 0x238]
cmp eax, ebx
je 0x424c80
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x238]
push eax
call esi
mov dword [ebp - 0x238], ebx
mov esi, 8
cmp dword [ebp - 0x220], esi
jb 0x424c9c
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.00404f07
add esp, 4
xor edx, edx
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], dx
cmp dword [ebp - 0x240], esi
jb 0x424cc8
mov eax, dword [ebp - 0x254]
push eax
call fcn.00404f07
add esp, 4
mov al, byte [ebp - 0x255]
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.0040330b
mov esp, ebp
pop ebp
ret