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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x515d0a
mov eax, dword fs:[0]
push eax
sub esp, 0x288
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 eax, dword [ebp + 8]
xor ebx, ebx
or edi, 0xffffffff
test byte [0x567c1c], 1
mov dword [ebp - 0x294], eax
jne 0x437860
or dword [0x567c1c], 1
xor ecx, ecx
push 0x26
mov word [0x567c00], cx
mov esi, 7
push 0x51f528
mov ecx, 0x567c00
mov dword [ebp - 4], ebx
mov dword [0x567c14], esi
mov dword [0x567c10], ebx
call fcn.0040392d
push 0x51c38a
call fcn.00403649
add esp, 4
mov dword [ebp - 4], edi
jmp 0x437865
mov esi, 7
test byte [0x567c1c], 2
jne 0x4378b2
or dword [0x567c1c], 2
push 0x13
xor edx, edx
push str.shared_memory_mutex
mov ecx, 0x567b44
mov dword [ebp - 4], 1
mov dword [0x567b58], esi
mov dword [0x567b54], ebx
mov word [0x567b44], dx
call fcn.0040392d
push 0x51c355
call fcn.00403649
add esp, 4
mov dword [ebp - 4], edi
test byte [0x567c1c], 4
jne 0x4378fe
or dword [0x567c1c], 4
push 0x15
xor eax, eax
push str.shared_memory_content
mov ecx, 0x567b28
mov dword [ebp - 4], 2
mov dword [0x567b3c], esi
mov dword [0x567b38], ebx
mov word [0x567b28], ax
call fcn.0040392d
push 0x51c320
call fcn.00403649
add esp, 4
mov dword [ebp - 4], edi
test byte [0x567c1c], 8
jne 0x43794b
or dword [0x567c1c], 8
xor ecx, ecx
push 0x26
mov word [0x567b0c], cx
push str.DEB796DA_F98E_48A4_AE1E_71411184821F
mov ecx, 0x567b0c
mov dword [ebp - 4], 3
mov dword [0x567b20], esi
mov dword [0x567b1c], ebx
call fcn.0040392d
push 0x51c2eb
call fcn.00403649
add esp, 4
mov dword [ebp - 4], edi
mov eax, 0x10
test byte [0x567c1c], al
jne 0x43799b
or dword [0x567c1c], eax
push 0x17
xor edx, edx
push str.uwp_shared_memory_mutex
mov ecx, 0x567af0
mov dword [ebp - 4], 4
mov dword [0x567b04], esi
mov dword [0x567b00], ebx
mov word [0x567af0], dx
call fcn.0040392d
push 0x51c2b6
call fcn.00403649
add esp, 4
mov dword [ebp - 4], edi
mov eax, 0x20
test byte [0x567c1c], al
jne 0x4379ea
or dword [0x567c1c], eax
push 0x19
xor eax, eax
push str.uwp_shared_memory_content
mov ecx, 0x567ad4
mov dword [ebp - 4], 5
mov dword [0x567ae8], esi
mov dword [0x567ae4], ebx
mov word [0x567ad4], ax
call fcn.0040392d
push 0x51c281
call fcn.00403649
add esp, 4
mov dword [ebp - 4], edi
push edi
xor ecx, ecx
push ebx
mov word [ebp - 0x28c], cx
push 0x567c00
lea ecx, [ebp - 0x28c]
mov dword [ebp - 0x278], esi
mov dword [ebp - 0x27c], ebx
call fcn.00404e84
push edi
push ebx
xor edx, edx
push 0x567b44
lea ecx, [ebp - 0x254]
mov dword [ebp - 4], 6
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x244], ebx
mov word [ebp - 0x254], dx
call fcn.00404e84
mov byte [ebp - 4], 7
call fcn.00415df9
test al, al
je 0x437a70
push edi
push ebx
push 0x567b0c
lea ecx, [ebp - 0x28c]
call fcn.00404e84
push edi
push ebx
push 0x567af0
lea ecx, [ebp - 0x254]
call fcn.00404e84
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00402e70
mov edx, dword [ebp - 0x28c]
mov ecx, 8
add esp, 0xc
cmp dword [ebp - 0x278], ecx
jae 0x437a9e
lea edx, [ebp - 0x28c]
mov eax, dword [ebp - 0x294]
cmp dword [eax + 0x14], ecx
jb 0x437aab
mov eax, dword [eax]
cmp dword [ebp - 0x240], ecx
mov ecx, dword [ebp - 0x254]
jae 0x437abf
lea ecx, [ebp - 0x254]
push edx
push eax
push ecx
push str._ws__ws_starup_object__ws
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call fcn.0040c420
add esp, 0x18
xor edx, edx
lea eax, [ebp - 0x218]
mov word [ebp - 0x270], dx
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x260], ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x437af9
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x270]
call fcn.0040392d
push edi
xor ecx, ecx
push ebx
lea edx, [ebp - 0x270]
mov word [ebp - 0x234], cx
push edx
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], 8
mov dword [ebp - 0x238], ebx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
call fcn.00404e84
cmp dword [ebp - 0x220], 8
mov eax, dword [ebp - 0x234]
jae 0x437b63
lea eax, [ebp - 0x234]
push eax
push ebx
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov edi, eax
cmp edi, ebx
jne 0x437b87
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [ebp - 0x28d], bl
cmp eax, 2
je 0x437b8e
mov byte [ebp - 0x28d], 1
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
mov eax, dword [ebp - 0x238]
cmp eax, ebx
je 0x437bb7
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x238]
push eax
call edi
mov dword [ebp - 0x238], ebx
mov edi, 8
cmp dword [ebp - 0x220], edi
jb 0x437bd3
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.00404f7d
add esp, 4
xor edx, edx
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x224], ebx
mov word [ebp - 0x234], dx
cmp dword [ebp - 0x25c], edi
jb 0x437bff
mov eax, dword [ebp - 0x270]
push eax
call fcn.00404f7d
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x25c], esi
mov dword [ebp - 0x260], ebx
mov word [ebp - 0x270], cx
cmp dword [ebp - 0x240], edi
jb 0x437c2b
mov edx, dword [ebp - 0x254]
push edx
call fcn.00404f7d
add esp, 4
xor eax, eax
mov dword [ebp - 0x240], esi
mov dword [ebp - 0x244], ebx
mov word [ebp - 0x254], ax
cmp dword [ebp - 0x278], edi
jb 0x437c57
mov ecx, dword [ebp - 0x28c]
push ecx
call fcn.00404f7d
add esp, 4
mov al, byte [ebp - 0x28d]
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