Function at 0x7ff649575470
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 [0x7ff6495ce010]
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 0x7ff649575781
test r8, r8
jne 0x7ff649575507
test r9d, r9d
jne 0x7ff649575781
mov ecx, 0x38
mov qword [rsp + 0x138], rbx
call fcn.7ff64958c5b0
mov rbx, rax
test rax, rax
jne 0x7ff64957554d
lea eax, [rbx + 5]
mov rbx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.7ff649578b50
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 0x7ff64957558b
mov rcx, rbx
call fcn.7ff649584cd0
mov eax, 0xb
jmp 0x7ff649575524
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.7ff6495737d0
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.7ff649573cb0
mov edi, eax
test eax, eax
jne 0x7ff6495755f1
mov edi, dword [rbx + 8]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x7ff649575607
call fcn.7ff649584cd0
mov qword [rbx + 0x10], 0
cmp edi, 0x304
jne 0x7ff649575677
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.7ff649575380
mov edi, eax
test eax, eax
jne 0x7ff649575677
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.7ff649573cb0
mov edi, eax
test eax, eax
jne 0x7ff649575660
mov edi, dword [rbx + 8]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x7ff649575677
call fcn.7ff649584cd0
xor r14d, r14d
mov qword [rbx + 0x10], r14
jmp 0x7ff64957567a
xor r14d, r14d
lea rsi, [r15 + r15*4]
mov qword [rsp + 0x50], rbp
shl rsi, 4
lea r15, [0x7ff6495d18a0]
mov edx, 0xffffffff
test edi, edi
jne 0x7ff6495756fc
mov qword [r12], rbp
mov rcx, qword [rsi + r15 + 0x18]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
sub dword [rbx + 0x28], 1
jne 0x7ff6495756ef
cmp dword [rbx + 0x24], edi
je 0x7ff6495756ef
lea rcx, [r15 + 0x20]
add rcx, rsi
lea rdx, [rsp + 0x50]
call fcn.7ff649574e60
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x7ff6495756d5
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rbx + 0x30], r14
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x7ff6495756e7
call fcn.7ff649584cd0
mov qword [rbx + 0x10], r14
mov rcx, rbx
call fcn.7ff649584cd0
mov rcx, qword [rsi + r15 + 0x18]
call qword [sym.imp.KERNEL32.DLL_ReleaseMutex]
jmp 0x7ff64957576a
mov rcx, qword [rsi + r15 + 0x18]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
sub dword [rbx + 0x28], 1
jne 0x7ff64957574d
lea rcx, [r15 + 0x20]
add rcx, rsi
lea rdx, [rsp + 0x50]
call fcn.7ff649574e60
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x7ff649575731
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rbx + 0x30], r14
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x7ff649575743
call fcn.7ff649584cd0
mov qword [rbx + 0x10], r14
mov rcx, rbx
call fcn.7ff649584cd0
jmp 0x7ff649575754
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 0x7ff649575524
mov eax, 6
jmp 0x7ff64957552c