Function at 0x180077bf0
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp - 0x69], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rsi, rcx
mov rcx, qword [rcx + 0x48]
test rcx, rcx
je 0x180077f8f
mov rax, qword [rcx]
call qword [rax + 0x78]
mov rbx, rax
test rax, rax
je 0x180077f8f
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
movzx edi, al
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x51], xmm1
xor r14d, r14d
mov word [rbp - 0x61], r14w
mov r8, qword [rbx]
lea rdx, [rbp - 0x61]
mov rcx, rbx
call qword [r8 + 0x50]
lea rcx, [rsi + 0x60]
lea rax, [rbp - 0x61]
cmp rcx, rax
je 0x180077c9d
lea rdx, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae rdx, qword [rbp - 0x61]
mov r8, qword [rbp - 0x51]
call fcn.180005cd0
test dil, dil
je 0x180077f3a
mov qword [rbp - 0x31], r14
mov qword [rbp - 0x29], r14
mov qword [rbp - 0x31], r14
mov qword [rbp - 0x29], 7
mov word [rbp - 0x41], r14w
mov r8d, 0x26
lea rdx, str.F9CEBD4A_CEC5_4857_9191_8E7E54635DAF
lea rcx, [rbp - 0x41]
call fcn.180005cd0
nop
mov qword [rbp - 0x79], r14
mov word [rbp - 0x71], 0
mov word [rbp - 0x71], 0
xor bl, bl
cmp qword [rbp - 0x31], 0
je 0x180077cff
lea r8, [rbp - 0x41]
cmp qword [rbp - 0x29], 8
cmovae r8, qword [rbp - 0x41]
jmp 0x180077d02
mov r8, r14
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rdi, rax
mov qword [rbp - 0x79], rax
test rax, rax
je 0x180077d31
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, bl
mov ecx, 1
cmp eax, 0xb7
cmove ebx, ecx
mov byte [rbp - 0x70], bl
mov rdx, qword [rbp - 0x29]
cmp rdx, 8
jb 0x180077d74
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x41]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180077d6f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180077d6f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rbp - 0x31], r14
mov qword [rbp - 0x29], 7
mov word [rbp - 0x41], r14w
test rdi, rdi
je 0x180077d92
test bl, bl
jne 0x180077f22
lea rax, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae rax, qword [rbp - 0x61]
movzx r9d, word [rax]
mov edx, 0x9cbe
mov r8d, 3
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_RegisterHotKey]
test eax, eax
je 0x180077f22
lea rax, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae rax, qword [rbp - 0x61]
movzx eax, word [rax]
or eax, 0xc0000000
mov dword [rbp - 0x21], eax
xor eax, eax
mov qword [rbp - 0x1d], rax
mov qword [rbp - 0x15], rax
mov qword [rbp - 0xd], rax
mov qword [rbp - 5], rax
mov dword [rbp + 3], eax
mov rbx, qword [rsi + 0x58]
test rbx, rbx
je 0x180077f22
mov qword [rbp + 7], rax
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x17], rax
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x2f], rax
mov dword [rbp + 7], 0x9cbe
lea r8d, [rax + 3]
lea rdx, [0x1803d2528]
lea rcx, [rbp + 0x33]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy]
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rbp + 0xb], xmm0
movups xmm1, xmmword [rbp - 0x11]
movups xmmword [rbp + 0x1b], xmm1
movsd xmm0, qword [rbp - 1]
movsd qword [rbp + 0x2b], xmm0
lea rcx, [rbx + 0x10]
mov rdx, qword [rcx + 8]
cmp qword [rcx + 0x10], rdx
je 0x180077e76
movups xmm0, xmmword [rbp + 7]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rbp + 0x17]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rbp + 0x27]
movups xmmword [rdx + 0x20], xmm0
add qword [rcx + 8], 0x30
jmp 0x180077e7f
lea r8, [rbp + 7]
call fcn.1802671c0
mov r8b, 1
mov rcx, qword [rsi + 0x58]
call fcn.180266d70
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x11], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x11], xmm1
mov word [rbp - 0x21], r14w
mov r8d, 0x26
lea rdx, str.F9CEBD4A_CEC5_4857_9191_8E7E54635DAF
lea rcx, [rbp - 0x21]
call fcn.180005cd0
nop
lea rcx, [rsi + 0x80]
lea rdx, [rbp - 0x21]
call fcn.18015f870
nop
mov rdx, qword [rbp - 9]
cmp rdx, 8
jb 0x180077f10
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x21]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180077f0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180077f0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], r14w
test rdi, rdi
je 0x180077f34
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x79], r14
mov word [rbp - 0x71], 0
mov rdx, qword [rbp - 0x49]
cmp rdx, 8
jb 0x180077f7d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x61]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180077f78
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180077f78
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
movdqa xmm0, xmmword [0x1803f7240]
movdqu xmmword [rbp - 0x51], xmm0
mov word [rbp - 0x61], r14w
xor r9d, r9d
mov edx, 0x5000
mov r8d, 0x7d0
mov rcx, qword [rsi + 8]
call qword [sym.imp.USER32.dll_SetTimer]
xor eax, eax
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.180393f50
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret