Function at 0x140087730
Capabilities:
Check mutex on windows
Log keystrokes via application hook

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov qword [rbp + 0xb0], 0xfffffffffffffffe
mov qword [rsp + 0x240], rbx
mov r14, r9
mov r15, rdx
mov rdi, rcx
call fcn.14008bc30
xor edx, edx
lea rcx, [rbp + 0xb8]
call fcn.1400ca710
nop
mov qword [rdi + 0xc20], r15
lea rax, [rbp - 0x20]
mov qword [rbp + 0x130], rax
lea rax, [rbp - 0x60]
mov qword [rbp + 0x138], rax
lea rax, [rsp + 0x60]
mov qword [rbp + 0xa0], rax
lea rax, [rbp - 0x80]
mov qword [rbp + 0xa8], rax
mov qword [rbp - 8], 7
xor ebx, ebx
mov qword [rbp - 0x10], rbx
mov word [rbp - 0x20], bx
xor r8d, r8d
lea rdx, [0x1401246c4]
lea rcx, [rbp - 0x20]
call fcn.140007750
nop
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], rbx
mov word [rbp - 0x60], bx
xor r8d, r8d
lea rdx, [0x1401246c4]
lea rcx, [rbp - 0x60]
call fcn.140007750
nop
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rbx
mov word [rsp + 0x60], bx
xor r8d, r8d
lea rdx, [0x1401246c4]
lea rcx, [rsp + 0x60]
call fcn.140007750
nop
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rbx
mov word [rbp - 0x80], bx
xor r8d, r8d
lea rdx, [0x1401246c4]
lea rcx, [rbp - 0x80]
call fcn.140007750
nop
mov qword [rbp + 0x68], 7
mov qword [rbp + 0x60], rbx
mov word [rbp + 0x50], bx
lea r8d, [rbx + 0x15]
lea rdx, str.SynTPEnhInstanceMutex
lea rcx, [rbp + 0x50]
call fcn.140007750
nop
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x50]
lea rcx, [rbp - 0x40]
call fcn.1400dde50
cmp qword [rax + 0x18], 8
jb 0x14008789c
mov rax, qword [rax]
mov r8, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexW]
mov rsi, rax
cmp qword [rbp - 0x28], 8
jb 0x1400878bc
mov rcx, qword [rbp - 0x40]
call fcn.1400e5d14
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rbx
mov word [rbp - 0x40], bx
test rsi, rsi
je 0x140087bdb
mov edx, 0x2710
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140087bc6
cmp eax, 0xffffffff
je 0x140087bc6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0x8000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
mov dword [rbp + 0x130], ebx
xor edx, edx
lea r12, str.SynTPEnhWndClass
mov rcx, r12
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140087967
lea r9, [rbp + 0x130]
mov r8, r14
mov rdx, rax
mov rcx, rdi
call fcn.1400865a0
lea rdx, [0x1401357c8]
mov rcx, r14
call fcn.1400e7f74
test rax, rax
jne 0x140087bc6
mov edx, 0x1c1a
mov rcx, rdi
call fcn.1400872e0
jmp 0x140087bc6
mov edx, 0x67
mov rcx, qword [rdi + 0xc20]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rdi + 0x16c8], rax
mov dword [rbp], ebx
lea rcx, [0x140081a90]
mov qword [rbp + 8], rcx
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rbx
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
lea r13, str.ScrollerooWindowClass
mov qword [rbp + 0x40], r13
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x140087bc6
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
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 0x140087bc6
mov qword [rbp + 0x40], r12
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x140087bc6
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x40], rbx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], 0xfffffe70
mov dword [rsp + 0x20], 0xfffffe70
mov r9d, 0x80000000
lea r8, str.Touchpad_driver_helper_window
mov rdx, r12
mov ecx, 0x80
call qword [sym.imp.USER32.dll_CreateWindowExW]
mov qword [rdi + 0x9e0], rax
test rax, rax
je 0x140087bc6
lea r9, [rbp + 0x130]
mov r8, r14
mov rdx, rax
mov rcx, rdi
call fcn.1400865a0
test eax, eax
je 0x140087bc6
cmp dword [rbp + 0x130], 0
jne 0x140087bc6
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea r8, str.SoftwareSynapticsSynTPEnh
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0xb8]
call fcn.1400ca880
test eax, eax
je 0x140087af7
lea r8, [rdi + 0x7e8]
mov qword [rsp + 0x20], rbx
mov r9, r8
lea rdx, str.AddAppProfileByHotKey
lea rcx, [rbp + 0xc0]
call fcn.1400e1690
cmp dword [rdi + 0x7e8], 0
je 0x140087b1b
xor r9d, r9d
mov r8, qword [rdi + 0xc20]
lea rdx, [0x14008be50]
lea ecx, [r9 + 0xd]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x47f
mov rcx, qword [rdi + 0x9e0]
call qword [sym.imp.USER32.dll_PostMessageW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x70]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
je 0x140087bbe
nop dword [rax + rax]
mov rcx, qword [rdi + 0xa00]
test rcx, rcx
je 0x140087b94
lea rdx, [rbp + 0x70]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
je 0x140087b94
mov rcx, qword [rdi + 0xa08]
test rcx, rcx
je 0x140087b94
lea rdx, [rbp + 0x70]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x140087ba8
lea rcx, [rbp + 0x70]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x70]
call qword [sym.imp.USER32.dll_DispatchMessageW]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x70]
call qword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jne 0x140087b60
mov ebx, dword [rbp + 0x80]
jmp 0x140087bdb
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or ebx, 0xffffffff
lea rcx, [rbp + 0xb8]
call fcn.1400ca820
mov eax, ebx
mov rbx, qword [rsp + 0x240]
add rsp, 0x1f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret