Function at 0x140063550
Capabilities:
Check mutex on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x188
movaps xmmword [rsp + 0x170], xmm7
movaps xmmword [rsp + 0x160], xmm6
mov r14, r8
mov r13, rdx
mov rbx, rcx
mov rax, qword [0x14022c040]
xor rax, rsp
mov qword [rsp + 0x158], rax
movaps xmm6, xmmword [0x1401fa990]
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
lea rdx, [rsp + 0xb0]
mov qword [rdx], 0
mov rcx, r13
call qword [sym.imp.USERENV.dll_DeriveAppContainerSidFromAppContainerName]
test eax, eax
js 0x14006396e
mov rdi, qword [rsp + 0xb0]
lea rcx, [rsp + 0x40]
mov rdx, rdi
call fcn.140124c50
test rdi, rdi
je 0x1400635e2
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov al, byte [rsp + 0x58]
test al, al
je 0x14006394b
lea r8, str._app_container_profile_lock_0278d671_c445_4dfa_a8b4_d5ccf66d4cc3
xor esi, esi
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
test rax, rax
je 0x14006362b
mov r15, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp r15, 0xffffffffffffffff
je 0x1400638f7
call fcn.1400a7ad0
mov rsi, r15
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140063957
cmp byte [rsp + 0x58], 0
je 0x1400638e9
mov eax, dword [0x140245758]
mov ecx, dword [0x14023adf0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jle 0x1400636bb
lea rcx, [0x140245758]
call fcn.140133c60
cmp dword [0x140245758], 0xffffffff
jne 0x1400636bb
lea rcx, str.kernelbase.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.AppContainerRegisterSid
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14006396b
mov qword [0x140245750], rax
lea rcx, [0x140245758]
call fcn.140133eb0
mov rax, qword [0x140245750]
mov rcx, qword [rsp + 0x40]
mov rdx, r13
mov r8, r14
call qword [0x14021e390]
cmp eax, 0x800700b7
jne 0x140063a40
mov qword [rsp + 0x28], rsi
cmp byte [rsp + 0x58], 0
je 0x1400638e9
mov rsi, rbx
mov ecx, pe_nt_image_headers64
call fcn.140133b54
mov r14, rax
mov rbp, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x30], rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], 0
lea rax, [0x1401fc4d0]
mov qword [r14], rax
test r13, r13
je 0x1400638e9
lea r12, [r14 + 8]
movabs rbx, 0x7ffffffffffffff7
mov rcx, r13
call fcn.1401341e0
cmp rax, rbx
ja 0x140063963
mov r15, rax
mov qword [rsp + 0x38], rdi
cmp rax, 0xa
mov rbx, rsi
jbe 0x1400638c8
mov rdi, rbp
mov rbp, r13
mov r13, qword [rsp + 0x28]
mov rsi, rbx
mov rax, r15
or rax, 3
lea rcx, [rax + 1]
cmp rax, 0xb
mov ebx, 0xd
cmovne rbx, rcx
test rbx, rbx
js 0x140063946
lea rcx, [rbx + rbx]
call fcn.140133b54
mov r12, rax
mov qword [r14 + 8], rax
movabs rax, 0x7ffffffffffffff7
add rax, rbx
add rax, 9
mov qword [r14 + 0x18], rax
mov qword [r14 + 0x10], r15
mov rbx, rsi
mov rsi, r13
mov r13, rbp
mov rbp, rdi
lea rdi, [r12 + r15*2]
cmp r12, r13
seta al
cmp rdi, r13
setbe cl
or cl, al
je 0x1400638e9
test r15, r15
je 0x1400637fc
add r15, r15
mov rcx, r12
mov rdx, r13
mov r8, r15
call fcn.14016a030
mov word [rdi], 0
mov qword [r14 + 0x20], rbp
mov rax, qword [rsp + 0x38]
mov qword [r14 + 0x28], rax
mov rax, qword [rsp + 0x30]
mov qword [r14 + 0x30], rax
mov byte [r14 + 0x38], 0
xorps xmm0, xmm0
movups xmmword [r14 + 0x40], xmm0
movups xmmword [r14 + 0x50], xmm0
movups xmmword [r14 + 0x60], xmm0
mov dword [r14 + 0x70], 2
mov qword [rbx], r14
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea rax, [rsi + 1]
cmp rax, 2
jb 0x140063875
call fcn.1400a7ad0
cmp qword [0x14023e3e8], 0
je 0x1400638fe
mov rcx, qword [0x14023e3e8]
mov rax, qword [rcx]
mov rax, qword [rax]
mov rdx, rsi
call qword [0x14021e390]
mov al, byte [rsp + 0x58]
test al, 1
je 0x140063887
mov rcx, qword [rsp + 0x40]
test rcx, rcx
jne 0x1400638d6
mov rcx, qword [rsp + 0x158]
xor rcx, rsp
cmp rcx, qword [0x14022c040]
je 0x1400638a1
call fcn.1401363f0
int3
mov rax, rbx
movaps xmm6, xmmword [rsp + 0x160]
movaps xmm7, xmmword [rsp + 0x170]
add rsp, 0x188
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov byte [r14 + 0x1f], r15b
mov rsi, qword [rsp + 0x28]
jmp 0x1400637ce
mov rax, qword [rsp + 0x48]
mov rdx, rax
sub rdx, rcx
dec rax
cmp rdx, rax
jbe 0x1400638eb
ud2
mov qword [rsp + 0x48], rcx
call fcn.140133b2c
jmp 0x140063887
xor esi, esi
jmp 0x140063623
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, [0x140211538]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140063bb0
lea rcx, [sym.chrome.exe_GetHandleVerifier]
cmp rax, rcx
je 0x140063940
call qword [0x14021e390]
mov rcx, rax
xor edx, edx
call fcn.14001e8b0
jmp 0x14006385f
xor ecx, ecx
mov dl, 1
jmp 0x140063936
call fcn.14016eb90
mov qword [rbx], 0
jmp 0x140063879
mov qword [rbx], 0
jmp 0x140063842
mov rcx, r12
call fcn.14016eb50
int3
xor eax, eax
mov byte [rsp + 0x40], al
mov byte [rsp + 0x58], al
jmp 0x1400635e2
test al, al
je 0x1400638e9
lea rcx, [rsp + 0x40]
call fcn.1401c8980
jmp 0x140063a47
lea rcx, [rsp + 0x140]
call fcn.14012cd10
cmp byte [rsp + 0x78], 0
je 0x1400638e9
lea rcx, [rsp + 0x60]
call fcn.140066d30
xor r15d, r15d
cmp byte [rsp + 0x78], 1
jne 0x1400639ca
lea rcx, [rsp + 0x60]
call fcn.14012cd10
mov al, byte [rsp + 0x58]
test r15b, r15b
je 0x14006397d
test al, al
je 0x1400638e9
mov ecx, pe_nt_image_headers64
call fcn.140133b54
mov r14, rax
movaps xmm6, xmmword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
xorps xmm7, xmm7
movaps xmmword [rsp + 0x40], xmm7
mov qword [rsp + 0x50], 0
lea rax, [0x1401fc4d0]
mov qword [r14], rax
lea rcx, [r14 + 8]
mov rdx, r13
call fcn.1400d72a0
movups xmmword [r14 + 0x20], xmm6
mov qword [r14 + 0x30], rsi
mov byte [r14 + 0x38], 0
movups xmmword [r14 + 0x40], xmm7
movups xmmword [r14 + 0x50], xmm7
movups xmmword [r14 + 0x60], xmm7
mov dword [r14 + 0x70], 2
jmp 0x140063a4a
mov rdi, rsi
test eax, eax
jns 0x140063a52
xor r14d, r14d
mov rsi, rdi
jmp 0x140063836
cmp byte [rsp + 0x58], 0
je 0x1400638e9
lea r14, [rsp + 0x60]
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
mov rcx, r14
mov rdx, r13
call fcn.1401c8b60
cmp byte [r14 + 0x18], 1
jne 0x1400639b6
lea rcx, [rsp + 0x60]
call fcn.140067040
mov r15b, 1
test al, al
jne 0x1400639b9
cmp byte [rsp + 0x78], 0
je 0x1400638e9
lea rcx, [rsp + 0x60]
call fcn.1400383f0
test al, al
je 0x1400639b6
cmp byte [rsp + 0x78], 0
je 0x1400638e9
movabs rsi, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x140]
mov qword [r14 + 0x10], rsi
movaps xmmword [r14], xmm6
lea rax, [0x14021a130]
lea r8, [rsp + 0x130]
mov qword [r8], rax
mov qword [r8 + 8], 2
lea rcx, [rsp + 0x60]
mov rdx, r14
call fcn.1400f4ad0
mov rcx, r14
call fcn.1400383f0
test al, al
je 0x140063994
lea r14, [rsp + 0xb0]
mov qword [r14 + 0x70], rsi
movaps xmmword [r14 + 0x60], xmm6
movaps xmmword [r14 + 0x50], xmm6
movaps xmmword [r14 + 0x40], xmm6
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, [rsp + 0x140]
mov rcx, r14
mov r8d, 4
call fcn.14006c660
cmp byte [r14 + 0x70], 1
jne 0x140063b7c
lea rcx, [rsp + 0xb0]
mov edx, 0x1000
mov r8d, 3
mov r9d, 1
call fcn.140058f30
test al, al
jne 0x140063bb7
xor ebp, ebp
cmp byte [rsp + 0x120], 1
jne 0x140063b95
lea rcx, [rsp + 0xb0]
call fcn.14006c5b0
lea rcx, [rsp + 0x140]
call fcn.14012cd10
test bpl, bpl
je 0x1400639a1
jmp 0x1400639b9
xor ecx, ecx
jmp 0x140063934
cmp byte [rsp + 0x120], 0
je 0x1400638e9
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0xb0]
lea rdx, [rsp + 0x40]
xor ebp, ebp
xor r8d, r8d
mov r9d, 0x1f01ff
call fcn.14019bda0
test al, al
je 0x140063b7e
cmp byte [rsp + 0x120], 0
je 0x1400638e9
lea rcx, [rsp + 0xb0]
lea rdx, [rsp + 0x140]
mov r8d, 0x14
call fcn.14009f250
test al, al
je 0x140063b7c
lea rax, str.Temp
lea r8, [rsp + 0x88]
mov qword [r8], rax
mov qword [r8 + 8], 4
lea rcx, [rsp + 0x140]
lea r14, [rsp + 0x98]
mov rdx, r14
call fcn.1400f4ad0
mov rcx, r14
call fcn.1400383f0
mov ebp, eax
mov rcx, r14
call fcn.14012cd10
jmp 0x140063b7e