Function at 0x140006450
Capabilities:
Check mutex on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x14002bb20]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rdi, rcx
lea r9, [0x14001eff8]
lea r8, [0x14001f0cc]
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.140007b30
mov rcx, rax
call fcn.140004f50
lea r9, [0x14001eff8]
lea r8, [0x14001f0cc]
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.140007b30
mov rcx, rax
call fcn.140005400
xor r14d, r14d
lea rdx, [0x14001eff4]
lea rcx, [rbp - 0x60]
xor r8d, r8d
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], r14
mov word [rbp - 0x60], r14w
call fcn.140006250
lea rdx, [0x14001eff4]
lea rcx, [rbp - 0x40]
xor r8d, r8d
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], r14
mov word [rbp - 0x40], r14w
call fcn.140006250
lea rdx, [0x14001eff4]
lea rcx, [rbp - 0x20]
xor r8d, r8d
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], r14
mov word [rbp - 0x20], r14w
call fcn.140006250
lea rdx, [0x14001eff4]
lea rcx, [rbp - 0x80]
xor r8d, r8d
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r14
mov word [rbp - 0x80], r14w
call fcn.140006250
lea r8d, [r14 + 0x11]
lea rdx, [0x14001f0d0]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r14
mov word [rsp + 0x60], r14w
call fcn.140006250
lea rax, [rbp - 0x60]
lea r9, [rbp - 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x40]
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
call fcn.140007140
cmp qword [rax + 0x18], 8
jb 0x1400065b1
mov rax, qword [rax]
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp qword [rbp + 0xe8], 8
mov rbx, rax
jb 0x1400065d7
mov rcx, qword [rbp + 0xd0]
call fcn.140009b44
mov qword [rbp + 0xe8], 7
mov qword [rbp + 0xe0], r14
mov word [rbp + 0xd0], r14w
test rbx, rbx
je 0x140006840
mov edx, 0x2710
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x14000682e
cmp eax, 0xffffffff
je 0x14000682e
mov qword [rsp + 0x228], rsi
lea rsi, str.SynTPHelperWndClass
xor edx, edx
mov rcx, rsi
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
jne 0x14000667b
lea rax, [0x1400055f0]
xorps xmm0, xmm0
xorps xmm1, xmm1
lea rcx, [rbp + 0x50]
mov dword [rbp + 0x50], r14d
mov qword [rbp + 0x60], r14
movdqa xmmword [rbp + 0x70], xmm0
movdqa xmmword [rbp + 0x80], xmm1
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x68], rdi
mov qword [rbp + 0x90], rsi
call qword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
jne 0x1400066ba
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
mov rsi, qword [rsp + 0x228]
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.14000ac80
mov rbx, qword [rsp + 0x230]
add rsp, 0x200
pop r14
pop rdi
pop rbp
ret
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r14d
lea r8, [0x14001eff4]
mov r9d, 0x80000000
mov rdx, rsi
mov ecx, 0x88
mov dword [rsp + 0x28], 0xffffff9c
mov dword [rsp + 0x20], 0xffffff9c
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov rcx, rbx
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rsi, rsi
je 0x14000668d
lea rcx, [0x14002d760]
mov rdx, rsi
call fcn.140004a40
test byte [0x14002d790], 2
je 0x1400067ce
lea rax, [0x140004df0]
xorps xmm0, xmm0
xorps xmm1, xmm1
lea rbx, str.SynTPHelperOSDWndClass
lea rcx, [rbp]
mov dword [rbp], r14d
movdqa xmmword [rbp + 0x20], xmm0
movdqa xmmword [rbp + 0x30], xmm1
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x40], rbx
call qword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x1400067ce
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], r14d
mov dword [rsp + 0x30], r14d
lea r8, str.Touchpad_OSD_window
mov r9d, 0x80000000
mov rdx, rbx
mov ecx, 0x88
mov dword [rsp + 0x28], 0xffffff38
mov dword [rsp + 0x20], 0xffffff38
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [0x14002d780], rax
lea rcx, [rbp + 0xa0]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140006823
nop word [rax + rax]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0xa0]
call qword [sym.imp.USER32.dll_DispatchMessageW]
lea rcx, [rbp + 0xa0]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x1400067f0
mov eax, dword [rbp + 0xb0]
jmp 0x14000668f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140006697