Function at 0x1400036a0
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 [0x140025b20]
xor rax, rsp
mov qword [rbp + 0xf0], rax
mov rdi, rcx
lea r9, [0x140019a08]
lea r8, [0x140019a7c]
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.140005c80
mov rcx, rax
call fcn.1400022a0
lea r9, [0x140019a08]
lea r8, [0x140019a7c]
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.140005c80
mov rcx, rax
call fcn.1400026a0
xor r14d, r14d
lea rdx, [0x140019a04]
lea rcx, [rbp - 0x60]
xor r8d, r8d
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], r14
mov word [rbp - 0x60], r14w
call fcn.1400034a0
lea rdx, [0x140019a04]
lea rcx, [rbp - 0x40]
xor r8d, r8d
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], r14
mov word [rbp - 0x40], r14w
call fcn.1400034a0
lea rdx, [0x140019a04]
lea rcx, [rbp - 0x20]
xor r8d, r8d
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], r14
mov word [rbp - 0x20], r14w
call fcn.1400034a0
lea rdx, [0x140019a04]
lea rcx, [rbp - 0x80]
xor r8d, r8d
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r14
mov word [rbp - 0x80], r14w
call fcn.1400034a0
lea r8d, [r14 + 0x11]
lea rdx, [0x140019a80]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r14
mov word [rsp + 0x60], r14w
call fcn.1400034a0
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.140005290
cmp qword [rax + 0x18], 8
jb 0x140003801
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 0x140003827
mov rcx, qword [rbp + 0xd0]
call fcn.140006664
mov qword [rbp + 0xe8], 7
mov qword [rbp + 0xe0], r14
mov word [rbp + 0xd0], r14w
test rbx, rbx
je 0x140003a90
mov edx, 0x2710
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140003a7e
cmp eax, 0xffffffff
je 0x140003a7e
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 0x1400038cb
lea rax, [0x140002840]
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 0x14000390a
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.140007940
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, [0x140019a04]
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 0x1400038dd
lea rcx, [0x140027670]
mov rdx, rsi
call fcn.140001f30
test byte [0x140027698], 2
je 0x140003a1e
lea rax, [0x140002140]
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 0x140003a1e
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 [0x140027688], 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 0x140003a73
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 0x140003a40
mov eax, dword [rbp + 0xb0]
jmp 0x1400038df
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400038e7