Function at 0x5fd290
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x72d150]
xor eax, ebp
mov dword [ebp - 8], eax
push esi
push edi
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5fd5f1
mov dword [ebp - 0x238], 0xffffffff
mov ecx, 0xc
mov esi, str.GlobalArcGame_ShareMem_
lea edi, [ebp - 0x210]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
push 0x1d6
push 0
lea ecx, [ebp - 0x1de]
push ecx
call fcn.005cddf0
add esp, 0xc
xor edx, edx
mov word [ebp - 0x234], dx
xor eax, eax
mov dword [ebp - 0x232], eax
mov dword [ebp - 0x22e], eax
mov dword [ebp - 0x22a], eax
mov dword [ebp - 0x226], eax
mov dword [ebp - 0x222], eax
mov dword [ebp - 0x21e], eax
mov dword [ebp - 0x21a], eax
mov word [ebp - 0x216], ax
push 0xa
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.004088c0
add esp, 0xc
lea eax, [ebp - 0x234]
push eax
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call fcn.005d16d5
add esp, 0xc
lea edx, [ebp - 0x210]
push edx
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x5fd5dd
push str.GlobalCoreClient_StartGameShareMemMutext
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x5fd5c4
push 0xbb8
mov eax, dword [ebp - 0x23c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
jne 0x5fd59f
push 0
push 0
push 0
push 0xf001f
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
je 0x5fd586
mov edx, dword [ebp - 0x244]
mov eax, dword [edx]
mov dword [ebp - 0x250], eax
mov ecx, dword [ebp - 0x244]
mov dword [ebp - 0x24c], ecx
mov edx, dword [ebp - 0x24c]
add edx, 4
mov dword [ebp - 0x24c], edx
mov dword [ebp - 0x248], 0
jmp 0x5fd435
mov eax, dword [ebp - 0x248]
add eax, 1
mov dword [ebp - 0x248], eax
mov ecx, dword [ebp - 0x248]
cmp ecx, dword [ebp - 0x250]
jge 0x5fd555
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x254], edx
mov eax, dword [ebp - 0x254]
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 4]
cmp edx, dword [ecx + 4]
jne 0x5fd53e
mov eax, dword [ebp - 0x254]
add eax, 0xa
push eax
push 0x104
mov ecx, dword [ebp - 4]
add ecx, 0x41a
push ecx
call fcn.005cdaa8
add esp, 0xc
mov edx, dword [ebp - 0x254]
add edx, 0x212
push edx
push 0x80
mov eax, dword [ebp - 4]
add eax, 0x622
push eax
call fcn.005cdaa8
add esp, 0xc
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x254]
mov ax, word [edx + 8]
mov word [ecx + 8], ax
mov ecx, dword [ebp - 0x254]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x254]
mov dword [edx], 0
xor eax, eax
mov ecx, dword [ebp - 0x254]
mov word [ecx + 8], ax
push 0x208
push 0
mov edx, dword [ebp - 0x254]
add edx, 0xa
push edx
call fcn.005cddf0
add esp, 0xc
push 0x100
push 0
mov eax, dword [ebp - 0x254]
add eax, 0x212
push eax
call fcn.005cddf0
add esp, 0xc
push 0x400
push 0
mov ecx, dword [ebp - 0x254]
add ecx, 0x312
push ecx
call fcn.005cddf0
add esp, 0xc
mov dword [ebp - 0x238], 0
jmp 0x5fd555
mov edx, dword [ebp - 0x24c]
add edx, 0x712
mov dword [ebp - 0x24c], edx
jmp 0x5fd426
mov eax, dword [ebp - 0x248]
cmp eax, dword [ebp - 0x250]
jne 0x5fd577
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
push str.cannt_find_StartInfo_For_Game__d
call fcn.005fd020
add esp, 8
mov eax, dword [ebp - 0x244]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x5fd590
mov dword [ebp - 0x238], 0xe0000008
mov ecx, dword [ebp - 0x23c]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x5fd5b5
cmp dword [ebp - 0x240], 0x102
jne 0x5fd5b5
mov dword [ebp - 0x238], 0xe0000009
mov edx, dword [ebp - 0x23c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5fd5ce
mov dword [ebp - 0x238], 0xe0000020
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x5fd5e7
mov dword [ebp - 0x238], 0xe0000007
mov eax, dword [ebp - 0x238]
jmp 0x5fd5f6
mov eax, 0xe0000001
pop edi
pop esi
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005cd251
mov esp, ebp
pop ebp
ret