Function at 0x14004af10
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
sub rsp, 0x170
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x140071010]
xor rax, rsp
mov qword [rbp + 0x120], rax
xor r14d, r14d
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test rax, rax
je 0x14004af6a
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
lea edx, [r14 + 5]
call qword [sym.imp.USER32.dll_ShowWindow]
movabs rax, 0x8f5ff49f19db6a42
mov qword [rbp], rax
movabs rdi, 0xe76b7d0e11ad78d6
mov qword [rbp + 8], rdi
movabs rsi, 0x8f5ff4eb78be0201
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], rdi
movdqa xmm0, xmmword [rbp]
xorps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp], xmm0
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
lea rdx, [rbp]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowTextA]
movabs rax, 0x8f5ff4eb78be0828
mov qword [rbp], rax
mov qword [rbp + 8], rdi
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x38], rdi
movdqa xmm0, xmmword [rbp]
xorps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp], xmm0
movabs rax, 0x8f5ff4eb788e2c30
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rdi
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x48], rdi
movdqa xmm0, xmmword [rbp + 0x30]
xorps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp + 0x30], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
lea rax, [rbp + 0x30]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], r14b
jne 0x14004b026
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x10]
call fcn.140037dc0
nop
movabs rax, 0xe8319d9f0adf7652
mov qword [rbp + 0x30], rax
movabs rax, 0xe76b7d26318356f8
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x48], rdi
movdqa xmm0, xmmword [rbp + 0x30]
xorps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp + 0x30], xmm0
lea r8, [rbp + 0x10]
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x60]
call fcn.14004ca00
nop
lea rcx, [rbp]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rcx + r8], 0
jne 0x14004b090
lea rdx, [rbp]
mov rcx, rax
call fcn.14004c5f0
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], r14
mov qword [rbp + 0xd8], r14
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd0], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rcx, [rbp + 0xc0]
call fcn.140038a00
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x14004b12d
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b128
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004b128
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004e540
movdqa xmm0, xmmword [0x140068b10]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x14004b17c
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004b177
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004b177
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004e540
movabs rax, 0xfd2a87cb1dd5634c
mov qword [rbp + 0x60], rax
movabs rax, 0x860c5d6b79d958b3
mov qword [rbp + 0x68], rax
movabs rax, 0xc8b8fc618cefb56
mov qword [rbp + 0x70], rax
movabs rax, 0xff531df2a924d511
mov qword [rbp + 0x78], rax
movabs rax, 0xe0278882b98b8cf9
mov qword [rbp + 0x80], rax
movabs rax, 0x5182cb56b3baedd
mov qword [rbp + 0x88], rax
movabs rax, 0xf8ddeac5a81a38bd
mov qword [rbp + 0x90], rax
movabs r13, 0x1888162cd7322e4c
mov qword [rbp + 0x98], r13
mov qword [rbp + 0xc0], rsi
mov qword [rbp + 0xc8], rdi
movabs r12, 0x7ffeafb571ee9e3b
mov qword [rbp + 0xd0], r12
movabs r15, 0x93265bd08943bb78
mov qword [rbp + 0xd8], r15
movabs rax, 0xc049ede7cbe8ff95
mov qword [rbp + 0xe0], rax
movabs rax, 0x617d5bda0f55c78a
mov qword [rbp + 0xe8], rax
movabs rax, 0xf2fc8fa1c777189f
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], r13
vmovdqu ymm0, ymmword [rbp + 0xc0]
vpxor ymm1, ymm0, ymmword [rbp + 0x60]
vmovdqa ymmword [rbp + 0x60], ymm1
vmovdqu ymm0, ymmword [rbp + 0x80]
vpxor ymm1, ymm0, ymmword [rbp + 0xe0]
vmovdqa ymmword [rbp + 0x80], ymm1
vxorps xmm2, xmm2, xmm2
vmovups xmmword [rbp + 0x10], xmm2
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], r14
lea rax, [rbp + 0x60]
vzeroupper
inc rbx
cmp byte [rax + rbx], 0
jne 0x14004b2a4
mov r8, rbx
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.140037dc0
lea rcx, [rbp + 0x10]
call fcn.140038a00
movabs rax, 0xe27ba88719dd6d4d
mov qword [rbp + 0xc0], rax
movabs rax, 0x8a0a0f697edf08af
mov qword [rbp + 0xc8], rax
movabs rax, 0x7ffeafb571ee9e1f
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], r15
mov qword [rbp + 0x60], rsi
mov qword [rbp + 0x68], rdi
mov qword [rbp + 0x70], r12
mov qword [rbp + 0x78], r15
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0xc0]
vmovdqa ymmword [rbp + 0xc0], ymm1
lea r8, [rbp + 0xc0]
xor edx, edx
xor ecx, ecx
vzeroupper
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14004b557
movabs rax, 0xea2b9d850ccc6d47
mov qword [rbp], rax
movabs rax, 0xe76b7d0e11ad58f6
mov qword [rbp + 8], rax
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x48], rdi
movdqa xmm0, xmmword [rbp]
xorps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp], xmm0
movabs rax, 0xe608988a1dcc6c54
mov qword [rbp + 0x30], rax
movabs rax, 0xe76b7d0e66c21cb8
mov qword [rbp + 0x38], rax
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x48], rdi
movdqa xmm0, xmmword [rbp + 0x30]
xorps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp + 0x30], xmm0
lea rdx, [rbp]
lea rcx, [rbp + 0x30]
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x14004b3f1
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.14004e450
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
movabs rax, 0xea32958c58db6a55
mov qword [rbp + 0xc0], rax
movabs rax, 0xc71f126031de11f6
mov qword [rbp + 0xc8], rax
movabs rax, 0x5e99c1dc1f80eb49
mov qword [rbp + 0xd0], rax
movabs rax, 0xb34328b1ec2feb58
mov qword [rbp + 0xd8], rax
movabs rax, 0xaf0fcd93b9898be6
mov qword [rbp + 0xe0], rax
movabs rax, 0x35d3eae663bb3f8
mov qword [rbp + 0xe8], rax
movabs rax, 0x878eafc4b5187efa
mov qword [rbp + 0xf0], rax
movabs rax, 0x70fc364bb95b4022
mov qword [rbp + 0xf8], rax
movabs rax, 0x7e011456c4ab7fcc
mov qword [rbp + 0x100], rax
movabs rcx, 0xc35f8f16ab4a697e
mov qword [rbp + 0x108], rcx
mov qword [rbp + 0x60], rsi
mov qword [rbp + 0x68], rdi
mov qword [rbp + 0x70], r12
mov qword [rbp + 0x78], r15
movabs rax, 0xc049ede7cbe8ff95
mov qword [rbp + 0x80], rax
movabs rax, 0x617d5bda0f55c78a
mov qword [rbp + 0x88], rax
movabs rax, 0xf2fc8fa1c777189f
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], r13
movabs rax, 0x50757533acc85fa9
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], rcx
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0xc0]
vmovdqa ymmword [rbp + 0xc0], ymm1
vmovdqu ymm0, ymmword [rbp + 0xe0]
vpxor ymm1, ymm0, ymmword [rbp + 0x80]
vmovdqa ymmword [rbp + 0xe0], ymm1
vmovdqa xmm2, xmmword [rbp + 0x100]
vxorps xmm2, xmm2, xmmword [rbp + 0xa0]
vmovdqa xmmword [rbp + 0x100], xmm2
mov edx, 4
lea rcx, [rbp + 0xc0]
vzeroupper
call fcn.1400385a0
int3
movabs rax, 0xfc36d49f19db6a42
mov qword [rbp + 0xc0], rax
movabs rax, 0x9e0f1c6b63c119f6
mov qword [rbp + 0xc8], rax
movabs rax, 0x1890c6db1f9bec1b
mov qword [rbp + 0xd0], rax
movabs rax, 0x93265bd08943bb59
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0x60], rsi
mov qword [rbp + 0x68], rdi
mov qword [rbp + 0x70], r12
mov qword [rbp + 0x78], r15
vmovdqu ymm0, ymmword [rbp + 0x60]
vpxor ymm1, ymm0, ymmword [rbp + 0xc0]
vmovdqa ymmword [rbp + 0xc0], ymm1
mov edx, 5
lea rcx, [rbp + 0xc0]
vzeroupper
call fcn.1400385a0
int3