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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
mov r13, r9
mov rsi, r8
mov r12, rcx
mov r14, qword [rsp + 0xf0]
mov rax, qword [0x140213038]
xor rax, rsp
mov qword [rsp + 0x80], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rax
movaps xmm0, xmmword [0x1401d9dd0]
movaps xmmword [rsp + 0x60], xmm0
movzx r8d, byte [r14 + 0x1f]
test r8b, r8b
mov qword [rsp + 0x40], rdx
jns 0x14003eafa
mov rdx, qword [r14 + 8]
mov r8, qword [r14 + 0x10]
jmp 0x14003eafe
lea rdx, [r14 + 8]
add r8, r8
lea rbp, [rsp + 0x48]
mov rcx, rbp
call fcn.1400cfb20
lea rdi, [rsp + 0x60]
mov rcx, rdi
mov rdx, rax
call fcn.14016f460
lea rdx, str.GlobalChromeSetupMutex_
mov rcx, rbp
mov r8, rdi
call fcn.140022cc0
cmp byte [rbp + 0x17], 0
jns 0x14003eb3b
mov rbp, qword [rsp + 0x48]
xor r15d, r15d
xor ecx, ecx
xor edx, edx
mov r8, rbp
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
test rax, rax
je 0x14003eb75
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp rdi, 0xffffffffffffffff
je 0x14003ef93
call fcn.1400d9600
mov r15, rdi
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [rsp + 0x5f], 0
jns 0x14003eb86
mov rcx, qword [rsp + 0x48]
call fcn.140100564
lea rax, [r15 + 1]
cmp rax, 1
ja 0x14003eb9d
mov qword [r12], 0
jmp 0x14003ef31
lea rdx, str.GlobalChromeSetupExitEvent_
lea rbx, [rsp + 0x48]
lea r8, [rsp + 0x60]
mov rcx, rbx
call fcn.140022cc0
cmp byte [rbx + 0x17], 0
jns 0x14003ebc1
mov rbx, qword [rsp + 0x48]
xor ebp, ebp
xor ecx, ecx
mov edx, 1
xor r8d, r8d
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
test rax, rax
je 0x14003ec00
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp rdi, 0xffffffffffffffff
je 0x14003efb6
call fcn.1400d9600
mov rbp, rdi
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [rsp + 0x5f], 0
jns 0x14003ec11
mov rcx, qword [rsp + 0x48]
call fcn.140100564
lea rax, [rbp + 1]
cmp rax, 1
ja 0x14003ec28
mov qword [r12], 0
jmp 0x14003ef1a
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], rsi
mov ecx, 0x20
call fcn.140100528
mov r13, rax
call fcn.1400d9600
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsp + 0x28], rbp
call fcn.1400d9600
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsp + 0x20], 0
call fcn.1400d9600
test r15, r15
je 0x14003ec8b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsp + 0x20], r15
call fcn.1400d9600
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
mov qword [r13], rax
mov rbx, qword [rsp + 0x20]
mov qword [rsp + 0x20], rax
lea rbp, [rbx + 1]
cmp rbp, 2
jb 0x14003ecaa
call fcn.1400d9600
cmp qword [r13], rbx
je 0x14003ece0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rax, qword [r13]
inc rax
cmp rax, 2
jae 0x14003ef9b
cmp rbp, 2
jb 0x14003ecd8
mov qword [r13], rbx
call fcn.1400d9600
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [r13 + 8], 0xffffffffffffffff
lea rsi, [r13 + 0x10]
xor eax, eax
mov qword [rsp + 0x48], rax
mov rbx, qword [rsp + 0x28]
mov qword [rsp + 0x28], rax
cmp rbx, 0xffffffffffffffff
je 0x14003ed0d
test rbx, rbx
je 0x14003ed31
call fcn.1400d9600
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
lea rax, [rbx + 1]
cmp rax, 2
jb 0x14003ed29
mov qword [rsp + 0x48], rbx
call fcn.1400d9600
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rbp, [rsp + 0x48]
mov rcx, rsi
mov rdx, rbp
call fcn.14016f560
mov rax, qword [rsp + 0x20]
inc rax
cmp rax, 2
jb 0x14003ed67
call fcn.1400d9600
mov rcx, qword [rsp + 0x20]
call fcn.1400e0e60
mov qword [rsp + 0x20], 0
mov rax, qword [rsp + 0x28]
inc rax
cmp rax, 2
jb 0x14003ed8d
call fcn.1400d9600
mov rcx, qword [rsp + 0x28]
call fcn.1400e0e60
mov qword [rsp + 0x28], 0
lea rdx, str.GlobalChromeSetupExitEventMutex_
lea r8, [rsp + 0x60]
mov rcx, rbp
call fcn.140022cc0
cmp byte [rsp + 0x5f], 0
jns 0x14003edad
mov rbp, qword [rsp + 0x48]
xor r15d, r15d
xor ecx, ecx
xor edx, edx
mov r8, rbp
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
test rax, rax
je 0x14003ede7
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp rdi, 0xffffffffffffffff
je 0x14003efbd
call fcn.1400d9600
mov r15, rdi
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [rsp + 0x5f], 0
jns 0x14003edf8
mov rcx, qword [rsp + 0x48]
call fcn.140100564
lea rdi, [r15 + 1]
cmp rdi, 1
ja 0x14003ee14
mov qword [r12], 0
mov ebx, 1
jmp 0x14003ee96
lea rcx, [rsp + 0x48]
mov qword [rcx], 0x4c4b40
call fcn.1400dd9a0
mov rcx, r15
mov edx, eax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
and eax, 0xffffff7f
xor ebp, ebp
cmp eax, 1
sbb rbp, rbp
not rbp
or rbp, r15
test eax, eax
jne 0x14003ee7a
mov rcx, rsi
call fcn.1400e3930
mov rbx, qword [r13]
lea rcx, [rsp + 0x48]
mov qword [rcx], 0x4c4b40
call fcn.1400dd9a0
mov rcx, rbx
mov edx, eax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x14003ef80
mov qword [r12], 0
mov ebx, 1
cmp rbp, 0xffffffffffffffff
je 0x14003ee96
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
cmp rdi, 2
jb 0x14003eea9
call fcn.1400d9600
mov rcx, r15
call fcn.1400e0e60
test ebx, ebx
je 0x14003eeef
test r13, r13
je 0x14003ef15
mov rcx, rsi
call fcn.1400e38f0
mov rcx, qword [r13 + 8]
cmp rcx, 0xffffffffffffffff
je 0x14003eeca
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rax, qword [r13]
inc rax
cmp rax, 2
jb 0x14003eee5
call fcn.1400d9600
mov rcx, qword [r13]
call fcn.1400e0e60
mov rcx, r13
call fcn.140100564
jmp 0x14003ef15
mov rsi, qword [rsp + 0x30]
mov rcx, rsi
call fcn.140168040
mov rcx, r14
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
mov r9, rsi
call fcn.14003da90
mov qword [r12], r13
xor r15d, r15d
xor ebp, ebp
lea rax, [rbp + 1]
cmp rax, 2
jb 0x14003ef31
call fcn.1400d9600
mov rcx, rbp
call fcn.1400e0e60
lea rax, [r15 + 1]
cmp rax, 2
jb 0x14003ef48
call fcn.1400d9600
mov rcx, r15
call fcn.1400e0e60
cmp byte [rsp + 0x77], 0
jns 0x14003ef59
mov rcx, qword [rsp + 0x60]
call fcn.140100564
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1401013e0
mov rax, r12
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [r13 + 8], rbx
mov rcx, rsi
call fcn.1400e3920
xor ebx, ebx
jmp 0x14003ee87
xor r15d, r15d
jmp 0x14003eb6d
call fcn.1400d9600
mov rcx, qword [r13]
call fcn.1400e0e60
mov qword [r13], 0
jmp 0x14003ecc9
xor ebp, ebp
jmp 0x14003ebf8
xor r15d, r15d
jmp 0x14003eddf