Function at 0x458610
Capabilities:
Check mutex on windows

Disassembly:
mov rax, rsp
sub rsp, 0x148
mov qword [rsp + 0x108], 0xfffffffffffffffe
mov qword [rax - 8], rbx
mov qword [rax - 0x10], rbp
mov qword [rax - 0x18], rsi
mov qword [rax - 0x20], rdi
mov qword [rax - 0x28], r12
mov qword [rax - 0x30], r13
mov rbp, r9
mov rsi, rdx
mov rbx, rcx
lea rcx, [rax - 0x98]
call fcn.00483ea0
nop
mov qword [rbx + 0x420], rsi
lea r8, str.SynTPEnhInstanceMutex
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rdi, rax
test rax, rax
jne 0x458688
lea rcx, [rsp + 0xb0]
call fcn.004819e0
xor eax, eax
jmp 0x458951
mov edx, 0x2710
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x45892c
cmp eax, 0xffffffff
je 0x45892c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0x8000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
xor edx, edx
lea r13, str.SynTPEnhWndClass
mov rcx, r13
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x4586e8
mov r8, rbp
mov rdx, rax
mov rcx, rbx
call fcn.00450630
jmp 0x45892c
xor r12d, r12d
mov dword [rsp + 0x60], r12d
lea rax, [0x00457a90]
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], r12d
mov dword [rsp + 0x74], r12d
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x88], r12
mov qword [rsp + 0x90], r12
mov qword [rsp + 0x98], r12
mov qword [rsp + 0xa0], r13
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x45892c
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], 0xfffffe70
mov dword [rsp + 0x20], 0xfffffe70
mov r9d, 0x80000000
lea r8, str.Touchpad_driver_helper_window
mov rdx, r13
mov ecx, 0x80
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rbx + 0x1e8], rax
test rax, rax
je 0x45892c
lea r13, str.ScrollerooWindowClass
mov qword [rsp + 0xa0], r13
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x45892c
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], r12d
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x28], 0xfffffe70
mov dword [rsp + 0x20], 0xfffffe70
mov r9d, 0x80000000
lea r8, str.Touchpad_driver_backward_compatibility_window
mov rdx, r13
mov ecx, 0x80
call qword [sym.imp.USER32.dll_CreateWindowExW]
test rax, rax
je 0x45892c
mov r8, rbp
mov rdx, qword [rbx + 0x1e8]
mov rcx, rbx
call fcn.00450630
test eax, eax
je 0x45892c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], r12d
xor r9d, r9d
lea r8, str.SoftwareSynapticsSynTPEnh
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0xb8]
call fcn.00488b60
test eax, eax
je 0x45888d
lea r8, [rbx + 8]
mov qword [rsp + 0x20], r12
mov r9, r8
lea rdx, str.ShowDriverWarning
lea rcx, [rsp + 0xb8]
call fcn.004883d0
xor r9d, r9d
xor r8d, r8d
mov edx, 0x47f
mov rcx, qword [rbx + 0x1e8]
call qword [sym.imp.USER32.dll_PostMessageW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xd8]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x458914
nop
mov rcx, qword [rbx + 0x208]
test rcx, rcx
je 0x4588de
lea rdx, [rsp + 0xd8]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x4588fa
lea rcx, [rsp + 0xd8]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0xd8]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0xd8]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x4588c0
mov ebx, dword [rsp + 0xe8]
lea rcx, [rsp + 0xb0]
call fcn.004819e0
mov eax, ebx
jmp 0x458951
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0xb0]
call fcn.004819e0
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x140]
mov rbp, qword [rsp + 0x138]
mov rsi, qword [rsp + 0x130]
mov rdi, qword [rsp + 0x128]
mov r12, qword [rsp + 0x120]
mov r13, qword [rsp + 0x118]
add rsp, 0x148
ret