Function at 0x140003750
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, [0x140019a38]
lea r8, [0x140019ac4]
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.140005d30
mov rcx, rax
call fcn.140002350
lea r9, [0x140019a38]
lea r8, [0x140019ac4]
lea rcx, [rsp + 0x60]
xor edx, edx
call fcn.140005d30
mov rcx, rax
call fcn.140002750
xor r14d, r14d
lea rdx, [0x140019a34]
lea rcx, [rbp - 0x60]
xor r8d, r8d
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], r14
mov word [rbp - 0x60], r14w
call fcn.140003550
lea rdx, [0x140019a34]
lea rcx, [rbp - 0x40]
xor r8d, r8d
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], r14
mov word [rbp - 0x40], r14w
call fcn.140003550
lea rdx, [0x140019a34]
lea rcx, [rbp - 0x20]
xor r8d, r8d
mov qword [rbp - 8], 7
mov qword [rbp - 0x10], r14
mov word [rbp - 0x20], r14w
call fcn.140003550
lea rdx, [0x140019a34]
lea rcx, [rbp - 0x80]
xor r8d, r8d
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], r14
mov word [rbp - 0x80], r14w
call fcn.140003550
lea r8d, [r14 + 0x11]
lea rdx, [0x140019ac8]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r14
mov word [rsp + 0x60], r14w
call fcn.140003550
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.140005340
cmp qword [rax + 0x18], 8
jb 0x1400038b1
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 0x1400038d7
mov rcx, qword [rbp + 0xd0]
call fcn.140006714
mov qword [rbp + 0xe8], 7
mov qword [rbp + 0xe0], r14
mov word [rbp + 0xd0], r14w
test rbx, rbx
je 0x140003b40
mov edx, 0x2710
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140003b2e
cmp eax, 0xffffffff
je 0x140003b2e
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 0x14000397b
lea rax, [0x1400028f0]
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 0x1400039ba
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.1400079f0
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, [0x140019a34]
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 0x14000398d
lea rcx, [0x140027670]
mov rdx, rsi
call fcn.140001f30
test byte [0x140027698], 2
je 0x140003ace
lea rax, [0x1400021f0]
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 0x140003ace
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 0x140003b23
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 0x140003af0
mov eax, dword [rbp + 0xb0]
jmp 0x14000398f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x140003997