Function at 0x140035470
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 [0x14008e010]
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 0x140035781
test r8, r8
jne 0x140035507
test r9d, r9d
jne 0x140035781
mov ecx, 0x38
mov qword [rsp + 0x138], rbx
call fcn.14004c5b0
mov rbx, rax
test rax, rax
jne 0x14003554d
lea eax, [rbx + 5]
mov rbx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140038b50
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 0x14003558b
mov rcx, rbx
call fcn.140044cd0
mov eax, listen
jmp 0x140035524
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.1400337d0
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.140033cb0
mov edi, eax
test eax, eax
jne 0x1400355f1
mov edi, dword [rbx + 8]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140035607
call fcn.140044cd0
mov qword [rbx + 0x10], 0
cmp edi, 0x304
jne 0x140035677
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.140035380
mov edi, eax
test eax, eax
jne 0x140035677
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.140033cb0
mov edi, eax
test eax, eax
jne 0x140035660
mov edi, dword [rbx + 8]
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140035677
call fcn.140044cd0
xor r14d, r14d
mov qword [rbx + 0x10], r14
jmp 0x14003567a
xor r14d, r14d
lea rsi, [r15 + r15*4]
mov qword [rsp + 0x50], rbp
shl rsi, 4
lea r15, [0x1400918a0]
mov edx, 0xffffffff
test edi, edi
jne 0x1400356fc
mov qword [r12], rbp
mov rcx, qword [rsi + r15 + 0x18]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
sub dword [rbx + 0x28], 1
jne 0x1400356ef
cmp dword [rbx + 0x24], edi
je 0x1400356ef
lea rcx, [r15 + 0x20]
add rcx, rsi
lea rdx, [rsp + 0x50]
call fcn.140034e60
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x1400356d5
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rbx + 0x30], r14
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x1400356e7
call fcn.140044cd0
mov qword [rbx + 0x10], r14
mov rcx, rbx
call fcn.140044cd0
mov rcx, qword [rsi + r15 + 0x18]
call qword [sym.imp.KERNEL32.DLL_ReleaseMutex]
jmp 0x14003576a
mov rcx, qword [rsi + r15 + 0x18]
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
sub dword [rbx + 0x28], 1
jne 0x14003574d
lea rcx, [r15 + 0x20]
add rcx, rsi
lea rdx, [rsp + 0x50]
call fcn.140034e60
mov rcx, qword [rbx + 0x30]
test rcx, rcx
je 0x140035731
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rbx + 0x30], r14
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x140035743
call fcn.140044cd0
mov qword [rbx + 0x10], r14
mov rcx, rbx
call fcn.140044cd0
jmp 0x140035754
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 0x140035524
mov eax, 6
jmp 0x14003552c