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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x188
mov rsi, rcx
mov rax, qword [0x14036c038]
xor rax, rsp
mov qword [rsp + 0x180], rax
mov qword [rcx], 0
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0xc0]
mov qword [rdi + 0x10], r14
movaps xmm0, xmmword [0x1402fa4a0]
movaps xmmword [rdi], xmm0
lea rdx, str.Global_
mov rcx, rdi
call fcn.1401c9720
lea rbx, [0x1403103e4]
mov rcx, rbx
call fcn.1401b3d34
mov rcx, rdi
mov rdx, rbx
mov r8, rax
call fcn.14004b140
call fcn.14007ddd0
xor al, 1
lea rbx, [rsp + 0xe0]
mov rcx, rbx
mov edx, eax
call fcn.1400849d0
movzx r8d, byte [rbx + 0x17]
test r8b, r8b
js 0x1400a6480
and r8d, 0x7f
jmp 0x1400a6490
mov r8, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0xe0]
mov rcx, rdi
mov rdx, rbx
call fcn.14004b140
cmp byte [rsp + 0xf7], 0
jns 0x1400a64b2
mov rcx, qword [rsp + 0xe0]
call fcn.14018e000
lea rdx, str.ExperimentStorageMutex
mov r8d, 0x16
mov rcx, rdi
call fcn.14004b140
mov qword [rsp + 0xb8], r14
movzx eax, byte [rsp + 0xd7]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rsp + 0xc0]
cmovns rax, rdi
lea rdx, [rsp + 0x98]
mov qword [rdx], rax
cmovs rcx, qword [rsp + 0xc8]
mov qword [rdx + 8], rcx
lea rbx, [rsp + 0xe0]
mov rcx, rbx
call fcn.140134700
movzx eax, byte [rbx + 0x17]
mov ecx, eax
and ecx, 0x7f
test al, al
mov rax, qword [rbx]
cmovns rax, rbx
cmovs rcx, qword [rbx + 8]
mov qword [rsp + 0xa8], rax
mov qword [rsp + 0xb0], rcx
mov eax, dword [0x1403859f0]
mov ecx, dword [0x14037df2c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400a67be
mov rdx, qword [0x1403859e8]
lea rcx, [rsp + 0xb8]
lea r8, [rsp + 0xa8]
call fcn.14014ba80
cmp byte [rsp + 0xf7], 0
jns 0x1400a6591
mov rcx, qword [rsp + 0xe0]
call fcn.14018e000
lea rbx, [rsp + 0xe0]
mov r8d, 0xa0
mov rcx, rbx
mov dl, 0xaa
call fcn.140191990
lea rdx, str.D:_A__GA___BA__A__GA___IU_
lea r14, [rsp + 0x70]
mov rcx, r14
call fcn.1401c9720
mov rcx, rbx
mov rdx, r14
call fcn.140275f40
cmp byte [r14 + 0x17], 0
jns 0x1400a65d9
mov rcx, qword [rsp + 0x70]
call fcn.14018e000
cmp byte [rsp + 0xe0], 0
je 0x1400a6754
xorps xmm0, xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x90], 0
lea rbx, [rsp + 0xe8]
mov rcx, rbx
mov rdx, r14
call fcn.1400d7410
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
mov dword [rsp + 0x50], 0x18
mov qword [rsp + 0x58], r14
cmp byte [rsp + 0xd7], 0
jns 0x1400a6646
mov rdi, qword [rsp + 0xc0]
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rdi, rax
test rax, rax
je 0x1400a6707
cmp qword [rsi], rdi
je 0x1400a6695
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jae 0x1400a66ee
lea rax, [rdi + 1]
cmp rax, 2
jb 0x1400a668d
mov qword [rsi], rdi
call fcn.14013d7b0
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [rsp + 0xe0], 0
je 0x1400a66a7
mov rcx, rbx
call fcn.1400d6f90
lea rcx, [rsp + 0xb8]
call fcn.14014bb00
cmp byte [rsp + 0xd7], 0
jns 0x1400a66cb
mov rcx, qword [rsp + 0xc0]
call fcn.14018e000
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.14018f840
mov rax, rsi
add rsp, 0x188
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call fcn.14013d7b0
mov rcx, qword [rsi]
call fcn.14012a160
mov qword [rsi], 0
jmp 0x1400a667b
lea rdx, str.ExperimentStorage
lea r8, str.....chromeinstallerutilexperiment_storage.cc
lea r14, [rsp + 0x28]
mov rcx, r14
mov r9d, 0x117
call fcn.14013d790
lea r15, [rsp + 0x48]
mov rcx, r15
mov rdx, r14
call fcn.140201cb0
lea rdx, str.Failed_to_create_ExperimentStorage_mutex
mov rcx, r15
call fcn.140212330
mov rcx, r15
call fcn.140201ce0
jmp 0x1400a6662
lea rdx, str.ExperimentStorage
lea r8, str.....chromeinstallerutilexperiment_storage.cc
lea rbx, [rsp + 0x70]
mov rcx, rbx
mov r9d, 0x110
call fcn.14013d790
lea r15, [rsp + 0x28]
mov rcx, r15
mov rdx, rbx
call fcn.140201cb0
lea rdx, str.Failed_to_create_ExperimentStorage_mutex_security_descriptor
mov rcx, r15
call fcn.140212330
mov rcx, r15
call fcn.140201ce0
cmp byte [rsp + 0xe0], 0
xorps xmm0, xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
mov qword [rbx + 0x20], 0
jne 0x1400a6603
ud2
lea rcx, [0x1403859f0]
call fcn.14018e120
cmp dword [0x1403859f0], 0xffffffff
jne 0x1400a655e
lea rcx, str.ExperimentStorage_mutex_name
mov edx, 0x100
call fcn.1400b2aa0
mov qword [0x1403859e8], rax
lea rcx, [0x1403859f0]
call fcn.14018e1b8
jmp 0x1400a655e