Function at 0x14004fb90
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 [0x140107080]
xor rax, rsp
mov qword [rbp + 0x120], rax
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
test rax, rax
je 0x14004fbe8
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov rcx, rax
lea edx, [rdi + 5]
call qword [sym.imp.USER32.dll_ShowWindow]
movabs rax, 0x7dbba41899d68652
mov qword [rbp + 0x20], rax
movabs rax, 0x2cae3d0c74954ceb
mov qword [rbp + 0x28], rax
movabs r13, 0x2097c9231b14a947
mov qword [rbp + 0x30], r13
movabs r15, 0x87d0f772dc166220
mov qword [rbp + 0x38], r15
movabs r14, 0x5dc1d67dedb8ef05
mov qword [rbp + 0x40], r14
movabs rsi, 0x41c77c2c5ae134ae
mov qword [rbp + 0x48], rsi
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x58], r15
vmovdqu ymm0, ymmword [rbp + 0x20]
vpxor ymm1, ymm0, ymmword [rbp + 0x40]
vmovdqa ymmword [rbp + 0x20], ymm1
vzeroupper
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
lea rdx, [rbp + 0x20]
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowTextA]
movabs rax, 0x5dc1d67dedb8e52c
mov qword [rbp], rax
mov qword [rbp + 8], rsi
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], rsi
movdqa xmm0, xmmword [rbp]
xorps xmm0, xmmword [rbp + 0x10]
movdqa xmmword [rbp], xmm0
movabs rax, 0x5dc1d67ded88c134
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], rsi
movdqa xmm0, xmmword [rbp + 0x10]
xorps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x10], xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x50], xmm1
lea rax, [rbp + 0x10]
mov rbx, 0xffffffffffffffff
mov r8, rbx
inc r8
cmp byte [rax + r8], dil
jne 0x14004fcd6
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x40]
call fcn.14003a000
nop
movabs rax, 0x3aafbf099fd99b56
mov qword [rbp + 0x10], rax
movabs rax, 0x41c77c047acf1a80
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], rsi
movdqa xmm0, xmmword [rbp + 0x10]
xorps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x10], xmm0
lea r8, [rbp + 0x40]
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x60]
call fcn.140057a50
nop
lea rcx, [rbp]
mov r8, rbx
nop dword [rax + rax]
inc r8
cmp byte [rcx + r8], 0
jne 0x14004fd40
lea rdx, [rbp]
mov rcx, rax
call fcn.140056c40
xorps xmm0, xmm0
movups xmmword [rbp + 0xc0], xmm0
mov qword [rbp + 0xd0], rdi
mov qword [rbp + 0xd8], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0xc0], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xd0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
lea rcx, [rbp + 0xc0]
call fcn.14003a860
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0x10
jb 0x14004fddd
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fdd8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004fdd8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c6830
movdqa xmm0, xmmword [0x1400f3a70]
movdqu xmmword [rbp + 0x70], xmm0
mov byte [rbp + 0x60], 0
mov rdx, qword [rbp + 0x58]
cmp rdx, 0x10
jb 0x14004fe2c
inc rdx
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fe27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004fe27
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400c6830
movabs rax, 0x2fb4a55d88d38e48
mov qword [rbp + 0x60], rax
movabs rax, 0x20a05c49329514cb
mov qword [rbp + 0x68], rax
movabs rax, 0x53e2e9507234cc2a
mov qword [rbp + 0x70], rax
movabs rax, 0xeba5b150fc710c49
mov qword [rbp + 0x78], rax
movabs rax, 0x98e0a80cfc017625
mov qword [rbp + 0x80], rax
movabs rax, 0x968a31e7a3394ce5
mov qword [rbp + 0x88], rax
movabs rax, 0x2f42119b7e6236c9
mov qword [rbp + 0x90], rax
movabs r12, 0xe919ca0e1b5d3724
mov qword [rbp + 0x98], r12
mov qword [rbp + 0xc0], r14
mov qword [rbp + 0xc8], rsi
mov qword [rbp + 0xd0], r13
mov qword [rbp + 0xd8], r15
movabs rax, 0xb88ecd698e620549
mov qword [rbp + 0xe0], rax
movabs rax, 0xf2ef4688c75725b2
mov qword [rbp + 0xe8], rax
movabs rax, 0x256374ff110f16eb
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], r12
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 + 0x40], xmm2
mov qword [rbp + 0x50], rdi
mov qword [rbp + 0x58], rdi
lea rax, [rbp + 0x60]
vzeroupper
inc rbx
cmp byte [rax + rbx], 0
jne 0x14004ff40
mov r8, rbx
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x40]
call fcn.14003a000
lea rcx, [rbp + 0x40]
call fcn.14003a860
movabs rax, 0x30e58a118cdb8049
mov qword [rbp + 0xc0], rax
movabs rax, 0x2ca60e4b359344d7
mov qword [rbp + 0xc8], rax
movabs rax, 0x2097c9231b14a963
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], r15
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x68], rsi
mov qword [rbp + 0x70], r13
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 0x140050204
movabs rax, 0x38b5bf1399ca8043
mov qword [rbp], rax
movabs rax, 0x41c77c2c5ae1148e
mov qword [rbp + 8], rax
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], rsi
movdqa xmm0, xmmword [rbp]
xorps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp], xmm0
movabs rax, 0x3496ba1c88ca8150
mov qword [rbp + 0x10], rax
movabs rax, 0x41c77c2c2d8e50c0
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], rsi
movdqa xmm0, xmmword [rbp + 0x10]
xorps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x10], xmm0
lea rdx, [rbp]
lea rcx, [rbp + 0x10]
call qword [sym.imp.USER32.dll_FindWindowA]
test rax, rax
je 0x14005009e
mov qword [rbp + 0x10], 0x3e8
lea rcx, [rbp + 0x10]
call fcn.140057b90
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.1400c6740
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, 0x38acb71acddd8751
mov qword [rbp + 0xc0], rax
movabs rax, 0x61b313427a925d8e
mov qword [rbp + 0xc8], rax
movabs rax, 0x1f0a74a757adc35
mov qword [rbp + 0xd0], rax
movabs rax, 0xa7b58413b97a3200
mov qword [rbp + 0xd8], rax
movabs rax, 0xd7c8ed1dfc03713a
mov qword [rbp + 0xe0], rax
movabs rax, 0x90cf23fcae3951c0
mov qword [rbp + 0xe8], rax
movabs rax, 0x5011549a6360708e
mov qword [rbp + 0xf0], rax
movabs rax, 0x816dea697534594a
mov qword [rbp + 0xf8], rax
movabs rax, 0x1c8f061033e46468
mov qword [rbp + 0x100], rax
movabs rcx, 0xd2dc3664cba4c956
mov qword [rbp + 0x108], rcx
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x68], rsi
mov qword [rbp + 0x70], r13
mov qword [rbp + 0x78], r15
movabs rax, 0xb88ecd698e620549
mov qword [rbp + 0x80], rax
movabs rax, 0xf2ef4688c75725b2
mov qword [rbp + 0x88], rax
movabs rax, 0x256374ff110f16eb
mov qword [rbp + 0x90], rax
mov qword [rbp + 0x98], r12
movabs rax, 0x32fb67755b87440d
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.14003a7f0
int3
movabs rax, 0x2ea8f6098cdd8746
mov qword [rbp + 0xc0], rax
movabs rax, 0x38a31d49288d558e
mov qword [rbp + 0xc8], rax
movabs rax, 0x47f9a04d7561db67
mov qword [rbp + 0xd0], rax
movabs rax, 0x87d0f772dc166201
mov qword [rbp + 0xd8], rax
mov qword [rbp + 0x60], r14
mov qword [rbp + 0x68], rsi
mov qword [rbp + 0x70], r13
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.14003a7f0
int3