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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov dword [ebp - 8], ecx
movzx eax, byte [0x1003ea3a]
test eax, eax
jne 0x1000cc89
jmp 0x1000cffe
mov ecx, 2
shl ecx, 2
mov edx, 0x6d
mov word [ebp + ecx - 0x18], dx
mov eax, 2
imul ecx, eax, 3
mov edx, 0x54
mov word [ebp + ecx - 0x18], dx
mov eax, 2
imul ecx, eax, 0
mov edx, 0x55
mov word [ebp + ecx - 0x18], dx
mov eax, 2
shl eax, 0
mov ecx, 0x70
mov word [ebp + eax - 0x18], cx
mov edx, 2
shl edx, 1
mov eax, 0x64
mov word [ebp + edx - 0x18], ax
mov ecx, 2
imul edx, ecx, 5
xor eax, eax
mov word [ebp + edx - 0x18], ax
lea ecx, [ebp - 0x18]
push ecx
push 0x5a0
mov ecx, dword [ebp - 8]
call fcn.10007a70
test eax, eax
jne 0x1000cd0b
jmp 0x1000cffe
push 0x5a0
mov ecx, dword [ebp - 8]
call fcn.100081e0
test eax, eax
jne 0x1000cd21
jmp 0x1000cffe
mov byte [ebp - 1], 0
push str.GlobalAweAPCPDBUpdMutex
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1000cd52
mov edx, dword [ebp - 0xc]
push edx
call fcn.10013a80
add esp, 4
mov byte [ebp - 1], 1
jmp 0x1000cd61
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x1000cd61
mov byte [ebp - 1], 1
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1000cd6e
jmp 0x1000cffe
mov ecx, 2
shl ecx, 3
mov edx, 0x73
mov word [ebp + ecx - 0x5c], dx
mov eax, 2
imul ecx, eax, 0x1e
mov edx, 0x74
mov word [ebp + ecx - 0x5c], dx
mov eax, 2
imul ecx, eax, 0x19
mov edx, 0x65
mov word [ebp + ecx - 0x5c], dx
mov eax, 2
imul ecx, eax, 0x17
mov edx, 0x61
mov word [ebp + ecx - 0x5c], dx
mov eax, 2
imul ecx, eax, 0xe
mov edx, 0x64
mov word [ebp + ecx - 0x5c], dx
mov eax, 2
imul ecx, eax, 0x1a
mov edx, 0x20
mov word [ebp + ecx - 0x5c], dx
mov eax, 2
imul ecx, eax, 5
mov edx, 0x20
mov word [ebp + ecx - 0x5c], dx
mov eax, 2
imul ecx, eax, 0x14
mov edx, 0x50
mov word [ebp + ecx - 0x5c], dx
mov eax, 2
imul ecx, eax, 0x1c
mov edx, 0x61
mov word [ebp + ecx - 0x5c], dx
mov eax, 2
imul ecx, eax, 0x18
mov edx, 0x73
mov word [ebp + ecx - 0x5c], dx
mov eax, 2
imul ecx, eax, 0xc
mov edx, 0x55
mov word [ebp + ecx - 0x5c], dx
mov eax, 2
imul ecx, eax, 0x16
mov edx, 0x65
mov word [ebp + ecx - 0x5c], dx
mov eax, 2
shl eax, 1
mov ecx, 0x61
mov word [ebp + eax - 0x5c], cx
mov edx, 2
imul eax, edx, 0x1f
mov ecx, 0x2e
mov word [ebp + eax - 0x5c], cx
mov edx, 2
imul eax, edx, 3
mov ecx, 0x72
mov word [ebp + eax - 0x5c], cx
mov edx, 2
imul eax, edx, 0x12
mov ecx, 0x2e
mov word [ebp + eax - 0x5c], cx
mov edx, 2
imul eax, edx, 0x15
mov ecx, 0x6c
mov word [ebp + eax - 0x5c], cx
mov edx, 2
imul eax, edx, 9
mov ecx, 0x65
mov word [ebp + eax - 0x5c], cx
mov edx, 2
shl edx, 0
mov eax, 0x74
mov word [ebp + edx - 0x5c], ax
mov ecx, 2
imul edx, ecx, 0x1d
mov eax, 0x69
mov word [ebp + edx - 0x5c], ax
mov ecx, 2
imul edx, ecx, 6
mov eax, 0x42
mov word [ebp + edx - 0x5c], ax
mov ecx, 2
imul edx, ecx, 0x13
mov eax, 0x20
mov word [ebp + edx - 0x5c], ax
mov ecx, 2
imul edx, ecx, 0
mov eax, 0x53
mov word [ebp + edx - 0x5c], ax
mov ecx, 2
imul edx, ecx, 0x11
mov eax, 0x65
mov word [ebp + edx - 0x5c], ax
mov ecx, 2
imul edx, ecx, 0x1b
mov eax, 0x77
mov word [ebp + edx - 0x5c], ax
mov ecx, 2
imul edx, ecx, 0xd
mov eax, 0x70
mov word [ebp + edx - 0x5c], ax
mov ecx, 2
shl ecx, 5
xor edx, edx
mov word [ebp + ecx - 0x5c], dx
mov eax, 2
shl eax, 2
mov ecx, 0x74
mov word [ebp + eax - 0x5c], cx
mov edx, 2
shl edx, 4
mov eax, 0x74
mov word [ebp + edx - 0x5c], ax
mov ecx, 2
imul edx, ecx, 0xa
mov eax, 0x73
mov word [ebp + edx - 0x5c], ax
mov ecx, 2
imul edx, ecx, 0xf
mov eax, 0x61
mov word [ebp + edx - 0x5c], ax
mov ecx, 2
imul edx, ecx, 0xb
mov eax, 0x20
mov word [ebp + edx - 0x5c], ax
mov ecx, 2
imul edx, ecx, 7
mov eax, 0x61
mov word [ebp + edx - 0x5c], ax
lea ecx, [ebp - 0x5c]
push ecx
call fcn.100072d0
add esp, 4
cmp dword [0x1003ea44], 0
je 0x1000cfe0
mov edx, dword [0x1003ea44]
push edx
call fcn.10013a80
add esp, 4
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push 0x10010b30
push 0
push 0
call fcn.10014080
add esp, 0x18
mov dword [0x1003ea44], eax
mov esp, ebp
pop ebp
ret