Function at 0x140087840
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.14008bc40
xor edx, edx
lea rcx, [rbp + 0xb8]
call fcn.1400c9420
nop
mov qword [rdi + 0xc18], 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, [0x1401226e8]
lea rcx, [rbp - 0x20]
call fcn.1400076c0
nop
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], rbx
mov word [rbp - 0x60], bx
xor r8d, r8d
lea rdx, [0x1401226e8]
lea rcx, [rbp - 0x60]
call fcn.1400076c0
nop
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rbx
mov word [rsp + 0x60], bx
xor r8d, r8d
lea rdx, [0x1401226e8]
lea rcx, [rsp + 0x60]
call fcn.1400076c0
nop
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rbx
mov word [rbp - 0x80], bx
xor r8d, r8d
lea rdx, [0x1401226e8]
lea rcx, [rbp - 0x80]
call fcn.1400076c0
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.1400076c0
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.1400dc9c0
cmp qword [rax + 0x18], 8
jb 0x1400879ac
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 0x1400879cc
mov rcx, qword [rbp - 0x40]
call fcn.1400e4058
mov qword [rbp - 0x28], 7
mov qword [rbp - 0x30], rbx
mov word [rbp - 0x40], bx
test rsi, rsi
je 0x140087ccb
mov edx, 0x2710
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x140087cb6
cmp eax, 0xffffffff
je 0x140087cb6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0x8000
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
xor edx, edx
lea r12, str.SynTPEnhWndClass
mov rcx, r12
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x140087a68
mov r8, r14
mov rdx, rax
mov rcx, rdi
call fcn.1400866d0
lea rdx, [0x14013334c]
mov rcx, r14
call fcn.1400e62b4
test rax, rax
jne 0x140087cb6
lea edx, [rax + 2]
mov rcx, rdi
call fcn.140087410
jmp 0x140087cb6
mov edx, 0x67
mov rcx, qword [rdi + 0xc18]
call qword [sym.imp.USER32.dll_LoadIconW]
mov qword [rdi + 0x1698], rax
mov dword [rbp], ebx
lea rcx, [0x140081cd0]
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 0x140087cb6
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 0x140087cb6
mov qword [rbp + 0x40], r12
lea rcx, [rbp]
call qword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
je 0x140087cb6
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 + 0x9d8], rax
test rax, rax
je 0x140087cb6
mov r8, r14
mov rdx, rax
mov rcx, rdi
call fcn.1400866d0
test eax, eax
je 0x140087cb6
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.1400c9590
test eax, eax
je 0x140087be4
lea r8, [rdi + 0x7e0]
mov qword [rsp + 0x20], rbx
mov r9, r8
lea rdx, str.AddAppProfileByHotKey
lea rcx, [rbp + 0xc0]
call fcn.1400dfc90
cmp dword [rdi + 0x7e0], 0
je 0x140087c08
xor r9d, r9d
mov r8, qword [rdi + 0xc18]
lea rdx, [0x14008bdc0]
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 + 0x9d8]
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 0x140087cae
nop dword [rax + rax]
mov rcx, qword [rdi + 0x9f8]
test rcx, rcx
je 0x140087c84
lea rdx, [rbp + 0x70]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
je 0x140087c84
mov rcx, qword [rdi + 0xa00]
test rcx, rcx
je 0x140087c84
lea rdx, [rbp + 0x70]
call qword [sym.imp.USER32.dll_IsDialogMessageW]
test eax, eax
jne 0x140087c98
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 0x140087c50
mov ebx, dword [rbp + 0x80]
jmp 0x140087ccb
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.1400c9530
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