Function at 0x7ff6d8e95470
Capabilities:
Check mutex on windows

Disassembly:
mov r11, rsp
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0xf0
mov rax, qword [0x7ff6d8eee010]
xor rax, rsp
mov qword [rsp + 0xd0], rax
mov rax, qword [rsp + 0x148]
xorps xmm0, xmm0
mov r12, qword [rsp + 0x140]
mov esi, r9d
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x30], rax
mov r14, r8
mov rax, qword [rsp + 0x150]
mov r13, rdx
movups xmmword [rsp + 0x70], xmm0
mov qword [rsp + 0x50], rax
xor eax, eax
movsxd r15, ecx
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
mov dword [r11 - 0x58], eax
movups xmmword [r11 - 0x78], xmm0
movups xmmword [r11 - 0x68], xmm0
test r12, r12
je 0x7ff6d8e95781
test r8, r8
jne 0x7ff6d8e95507
test r9d, r9d
jne 0x7ff6d8e95781
mov ecx, 0x38
mov qword [rsp + 0x138], rbx
call fcn.7ff6d8eac5b0
mov rbx, rax
test rax, rax
jne 0x7ff6d8e9554d
lea eax, [rbx + 5]
mov rbx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.7ff6d8e98b50
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rsi
ret
xor eax, eax
xor r8d, r8d
mov qword [rbx], rax
xor edx, edx
mov qword [rbx + 8], rax
xor ecx, ecx
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.DLL_CreateMutexA]
mov qword [rbx + 0x30], rax
test rax, rax
jne 0x7ff6d8e9558b
mov rcx, rbx
call fcn.7ff6d8ea4cd0
mov eax, 0xb
jmp 0x7ff6d8e95524
mov qword [rsp + 0xe8], rbp
mov rdx, rbx
mov ecx, r15d
mov qword [rsp + 0xe0], rdi
mov dword [rbx + 0x28], 1
mov dword [rbx + 0x20], 1
call fcn.7ff6d8e937d0
movaps xmm0, xmmword [r13]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x28], rax
mov r9, r14
mov r8d, 0x28
mov dword [rsp + 0x70], 4
mov ecx, r15d
mov dword [rsp + 0x20], esi
movups xmmword [rsp + 0x78], xmm0
mov rbp, rax
call fcn.7ff6d8e93cb0
mov edi, eax
test eax, eax
jne 0x7ff6d8e955f1
mov edi, dword [rbx + 8]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x7ff6d8e95607
call fcn.7ff6d8ea4cd0
mov qword [rbx + 0x10], 0
cmp edi, 0x304
jne 0x7ff6d8e95677
movaps xmm0, xmmword [r13]
lea rdx, [rsp + 0x40]
mov r9d, dword [rsp + 0x158]
mov ecx, r15d
mov r8, qword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
call fcn.7ff6d8e95380
mov edi, eax
test eax, eax
jne 0x7ff6d8e95677
mov qword [rsp + 0x28], rbp
lea r8d, [rax + 0x28]
mov r9, r14
mov dword [rsp + 0x20], esi
lea rdx, [rsp + 0x60]
mov ecx, r15d
call fcn.7ff6d8e93cb0
mov edi, eax
test eax, eax
jne 0x7ff6d8e95660
mov edi, dword [rbx + 8]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x7ff6d8e95677
call fcn.7ff6d8ea4cd0
xor r14d, r14d
mov qword [rbx + 0x10], r14
jmp 0x7ff6d8e9567a
xor r14d, r14d
lea rsi, [r15 + r15*4]
mov qword [rsp + 0x50], rbp
shl rsi, 4
lea r15, [0x7ff6d8ef18a0]
mov edx, 0xffffffff
test edi, edi
jne 0x7ff6d8e956fc
mov qword [r12], rbp
mov rcx, qword [rsi + r15 + 0x18]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
sub dword [rbx + 0x28], 1
jne 0x7ff6d8e956ef
cmp dword [rbx + 0x24], edi
je 0x7ff6d8e956ef
lea rcx, [r15 + 0x20]
add rcx, rsi
lea rdx, [rsp + 0x50]
call fcn.7ff6d8e94e60
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x7ff6d8e956d5
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rbx + 0x30], r14
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x7ff6d8e956e7
call fcn.7ff6d8ea4cd0
mov qword [rbx + 0x10], r14
mov rcx, rbx
call fcn.7ff6d8ea4cd0
mov rcx, qword [rsi + r15 + 0x18]
call qword [sym.imp.KERNEL32.DLL_ReleaseMutex]
jmp 0x7ff6d8e9576a
mov rcx, qword [rsi + r15 + 0x18]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
sub dword [rbx + 0x28], 1
jne 0x7ff6d8e9574d
lea rcx, [r15 + 0x20]
add rcx, rsi
lea rdx, [rsp + 0x50]
call fcn.7ff6d8e94e60
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x7ff6d8e95731
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rbx + 0x30], r14
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x7ff6d8e95743
call fcn.7ff6d8ea4cd0
mov qword [rbx + 0x10], r14
mov rcx, rbx
call fcn.7ff6d8ea4cd0
jmp 0x7ff6d8e95754
mov dword [rbx + 0x24], 1
mov rcx, qword [rsi + r15 + 0x18]
call qword [sym.imp.KERNEL32.DLL_ReleaseMutex]
mov rax, qword [rsp + 0x30]
mov dword [rax], 1
mov rbp, qword [rsp + 0xe8]
mov eax, edi
mov rdi, qword [rsp + 0xe0]
jmp 0x7ff6d8e95524
mov eax, 6
jmp 0x7ff6d8e9552c