Function at 0x180077fd0
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x39], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1804e0010]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rdi, rcx
mov rcx, qword [rcx + 0x48]
test rcx, rcx
je 0x1800782a7
mov rax, qword [rcx]
call qword [rax + 0x78]
mov rcx, rax
test rax, rax
je 0x1800782a7
cmp qword [rdi + 0x58], 0
je 0x1800782a7
mov rax, qword [rax]
call qword [rax + 0x20]
test al, al
jne 0x18007808c
mov edx, 0x9cbe
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_UnregisterHotKey]
mov rbx, qword [rdi + 0x58]
mov rcx, qword [rbx + 0x10]
mov r8, qword [rbx + 0x18]
cmp rcx, r8
je 0x1800782a7
nop dword [rax + rax]
cmp dword [rcx], 0x9cbe
je 0x180078076
add rcx, 0x30
cmp rcx, r8
jne 0x180078060
jmp 0x1800782a7
lea rdx, [rcx + 0x30]
sub r8, rdx
call sub.VCRUNTIME140.dll_memmove
add qword [rbx + 0x18], 0xffffffffffffffd0
jmp 0x1800782a7
xor r14d, r14d
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x19], r14
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], r14w
lea r8d, [r14 + 0x26]
lea rdx, str.F9CEBD4A_CEC5_4857_9191_8E7E54635DAF
lea rcx, [rbp - 0x31]
call fcn.180005cd0
nop
mov qword [rbp - 0x49], r14
mov word [rbp - 0x41], r14w
mov word [rbp - 0x41], r14w
xor bl, bl
cmp qword [rbp - 0x21], r14
je 0x1800780e3
lea r8, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae r8, qword [rbp - 0x31]
jmp 0x1800780e6
mov r8, r14
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rsi, rax
mov qword [rbp - 0x49], rax
test rax, rax
je 0x180078115
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, bl
mov ecx, 1
cmp eax, 0xb7
cmove ebx, ecx
mov byte [rbp - 0x40], bl
mov rdx, qword [rbp - 0x19]
cmp rdx, 8
jb 0x180078158
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x31]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180078153
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180078153
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180393fb0
mov qword [rbp - 0x21], r14
mov qword [rbp - 0x19], 7
mov word [rbp - 0x31], r14w
test rsi, rsi
je 0x180078177
test bl, bl
je 0x180078177
jmp 0x180078294
lea rbx, [rdi + 0x60]
mov rax, rbx
cmp qword [rbx + 0x18], 8
jb 0x180078188
mov rax, qword [rbx]
movzx r9d, word [rax]
mov edx, 0x9cbe
mov r8d, 3
mov rcx, qword [rdi + 8]
call qword [sym.imp.USER32.dll_RegisterHotKey]
test eax, eax
je 0x18007828f
cmp qword [rbx + 0x18], 8
jb 0x1800781b3
mov rbx, qword [rbx]
movzx eax, word [rbx]
or eax, 0xc0000000
mov dword [rbp + 0xf], eax
xor eax, eax
mov qword [rbp + 0x13], rax
mov qword [rbp + 0x1b], rax
mov qword [rbp + 0x23], rax
mov qword [rbp + 0x2b], rax
mov dword [rbp + 0x33], eax
lea r8, [rbp + 0xf]
mov rcx, qword [rdi + 0x58]
call fcn.180266e80
mov r8b, 1
mov rcx, qword [rdi + 0x58]
call fcn.180266d70
lea rcx, [rdi + 0x80]
call fcn.18015fbb0
xorps xmm0, xmm0
movdqu xmmword [rbp - 1], xmm0
movdqa xmm1, xmmword [0x1803f7240]
movdqu xmmword [rbp - 1], xmm1
mov word [rbp - 0x11], r14w
mov r8d, 0x26
lea rdx, str.F9CEBD4A_CEC5_4857_9191_8E7E54635DAF
lea rcx, [rbp - 0x11]
call fcn.180005cd0
nop
lea rdx, [rbp - 0x11]
lea rcx, [rdi + 0x80]
call fcn.18015f870
nop
mov rdx, qword [rbp + 7]
cmp rdx, 8
jb 0x18007827d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180078278
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180078278
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 - 1], xmm0
mov word [rbp - 0x11], r14w
test rsi, rsi
je 0x1800782a1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x49], r14
mov word [rbp - 0x41], 0
xor eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.180393f50
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret