Function at 0x14003efa0
Capabilities:
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 r14, r9
mov r15, r8
mov r13, rdx
mov rsi, rcx
mov rbx, qword [rsp + 0xf0]
mov rax, qword [0x14024f018]
xor rax, rsp
mov qword [rsp + 0x80], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x70], rax
movaps xmm0, xmmword [0x1402183e0]
movaps xmmword [rsp + 0x60], xmm0
movzx r8d, byte [rbx + 0x1f]
test r8b, r8b
jns 0x14003f008
mov rdx, qword [rbx + 8]
mov r8, qword [rbx + 0x10]
jmp 0x14003f00c
lea rdx, [rbx + 8]
add r8, r8
lea rbp, [rsp + 0x48]
mov rcx, rbp
call fcn.1400e7c80
lea rdi, [rsp + 0x60]
mov rcx, rdi
mov rdx, rax
call fcn.14015beb0
lea rdx, str.GlobalChromeSetupMutex_
mov rcx, rbp
mov r8, rdi
call fcn.1401367a0
cmp byte [rbp + 0x17], 0
jns 0x14003f049
mov rbp, qword [rsp + 0x48]
xor r12d, r12d
xor ecx, ecx
xor edx, edx
mov r8, rbp
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
test rax, rax
je 0x14003f083
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp rdi, 0xffffffffffffffff
je 0x14003f1a7
call fcn.1400ed9a0
mov r12, rdi
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [rsp + 0x5f], 0
jns 0x14003f094
mov rcx, qword [rsp + 0x48]
call fcn.140105bb4
lea rax, [r12 + 1]
cmp rax, 1
ja 0x14003f0f6
mov qword [rsi], 0
lea rax, [r12 + 1]
cmp rax, 2
jb 0x14003f0be
call fcn.1400ed9a0
mov rcx, r12
call fcn.1400f1110
cmp byte [rsp + 0x77], 0
jns 0x14003f0cf
mov rcx, qword [rsp + 0x60]
call fcn.140105bb4
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.140106490
mov rax, rsi
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, str.GlobalChromeSetupExitEvent_
lea rbp, [rsp + 0x48]
lea r8, [rsp + 0x60]
mov rcx, rbp
call fcn.1401367a0
cmp byte [rbp + 0x17], 0
jns 0x14003f11a
mov rbp, qword [rsp + 0x48]
xor eax, eax
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov edx, 1
xor r8d, r8d
mov r9, rbp
call qword [sym.imp.KERNEL32.dll_CreateEventW]
test rax, rax
je 0x14003f160
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp rdi, 0xffffffffffffffff
je 0x14003f3ca
call fcn.1400ed9a0
mov qword [rsp + 0x28], rdi
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [rsp + 0x5f], 0
jns 0x14003f171
mov rcx, qword [rsp + 0x48]
call fcn.140105bb4
mov rdi, qword [rsp + 0x28]
lea rax, [rdi + 1]
cmp rax, 1
ja 0x14003f1af
mov qword [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14003f0a6
call fcn.1400ed9a0
mov rcx, rdi
call fcn.1400f1110
jmp 0x14003f0a6
xor r12d, r12d
jmp 0x14003f07b
mov ecx, 0x20
call fcn.140105b78
mov rbp, rax
call fcn.1400ed9a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rdi
mov edi, eax
mov qword [rsp + 0x40], rcx
call fcn.1400ed9a0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov qword [rsp + 0x38], 0
call fcn.1400ed9a0
test r12, r12
je 0x14003f20b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsp + 0x38], r12
call fcn.1400ed9a0
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
lea rdx, [rsp + 0x38]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x28], rbp
mov rcx, rbp
call fcn.14003f400
lea rdx, str.GlobalChromeSetupExitEventMutex_
lea rbp, [rsp + 0x48]
lea r8, [rsp + 0x60]
mov rcx, rbp
call fcn.1401367a0
cmp byte [rbp + 0x17], 0
jns 0x14003f246
mov rbp, qword [rsp + 0x48]
xor r12d, r12d
xor ecx, ecx
xor edx, edx
mov r8, rbp
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
test rax, rax
je 0x14003f280
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp rdi, 0xffffffffffffffff
je 0x14003f3f0
call fcn.1400ed9a0
mov r12, rdi
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [rsp + 0x5f], 0
jns 0x14003f291
mov rcx, qword [rsp + 0x48]
call fcn.140105bb4
lea rax, [r12 + 1]
cmp rax, 1
mov rbp, qword [rsp + 0x28]
ja 0x14003f2b2
mov qword [rsi], 0
mov edi, 1
jmp 0x14003f347
lea rcx, [rsp + 0x48]
mov qword [rcx], 0x4c4b40
call fcn.1400f0ab0
mov rcx, r12
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, r12
test eax, eax
jne 0x14003f322
mov rdi, qword [rsp + 0x28]
lea rcx, [rdi + 0x10]
mov qword [rsp + 0x30], rcx
call fcn.1400f3580
mov rdi, qword [rdi]
lea rcx, [rsp + 0x48]
mov qword [rcx], 0x4c4b40
call fcn.1400f0ab0
mov rcx, rdi
mov edx, eax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x14003f3d6
mov qword [rsi], 0
mov edi, 1
cmp rbp, 0xffffffffffffffff
je 0x14003f33d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rbp, qword [rsp + 0x28]
lea rax, [r12 + 1]
cmp rax, 2
jb 0x14003f35a
call fcn.1400ed9a0
mov rcx, r12
call fcn.1400f1110
test edi, edi
je 0x14003f3a4
test rbp, rbp
je 0x14003f3c0
mov rcx, rbp
add rcx, 0x10
call fcn.140053680
mov rcx, qword [rbp + 8]
cmp rcx, 0xffffffffffffffff
je 0x14003f37f
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rax, qword [rbp]
inc rax
cmp rax, 2
jb 0x14003f39a
call fcn.1400ed9a0
mov rcx, qword [rbp]
call fcn.1400f1110
mov rcx, rbp
call fcn.140105bb4
jmp 0x14003f3c0
mov rcx, r14
call fcn.140169850
mov rcx, rbx
mov rdx, r13
mov r8, r15
mov r9, r14
call fcn.14003de00
mov qword [rsi], rbp
xor r12d, r12d
xor edi, edi
jmp 0x14003f187
xor eax, eax
mov qword [rsp + 0x28], rax
jmp 0x14003f158
mov rax, qword [rsp + 0x28]
mov qword [rax + 8], rdi
mov rcx, qword [rsp + 0x30]
call fcn.1400f3570
xor edi, edi
jmp 0x14003f32e
xor r12d, r12d
jmp 0x14003f278