Function at 0x489280
Capabilities:
Check mutex on windows
Inspect load icon resource
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ae1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x88
push ebx
push esi
push edi
mov edi, ecx
call fcn.00488f80
push 0
lea ecx, [ebp - 0x94]
call fcn.004b90e0
mov esi, dword [ebp + 8]
sub esp, 0x18
mov ecx, esp
mov dword [ebp + 8], esp
xor eax, eax
mov dword [edi + 0xb38], esi
mov dword [ebp - 4], 0
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x50daec
mov word [ecx], ax
call fcn.0040a410
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x10], esp
xor eax, eax
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x50daec
mov word [ecx], ax
call fcn.0040a410
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x5c], esp
xor eax, eax
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x50daec
mov word [ecx], ax
call fcn.0040a410
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x60], esp
xor eax, eax
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push 0x50daec
mov word [ecx], ax
call fcn.0040a410
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
xor eax, eax
push 0x15
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.SynTPEnhInstanceMutex
mov word [ecx], ax
call fcn.0040a410
lea eax, [ebp - 0x78]
mov byte [ebp - 4], 0
push eax
call fcn.004c8240
add esp, 0x7c
cmp dword [eax + 0x14], 8
jb 0x4893a9
mov eax, dword [eax]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
cmp dword [ebp - 0x64], 8
mov ebx, eax
jb 0x4893c7
push dword [ebp - 0x78]
call fcn.004cf489
add esp, 4
xor eax, eax
mov dword [ebp - 0x64], 7
mov dword [ebp - 0x68], 0
mov word [ebp - 0x78], ax
test ebx, ebx
jne 0x4893e6
xor esi, esi
jmp 0x489722
push 0x2710
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
je 0x4896e0
cmp eax, 0xffffffff
je 0x4896e0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x8000
push eax
call dword [sym.imp.KERNEL32.dll_SetPriorityClass]
push 0
push str.SynTPEnhWndClass
mov dword [ebp + 8], 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x48948a
test byte [0x652fc0], 1
je 0x489453
push str.SynTPEnh_already_running._n
push 1
push str.CSynTPEnh::WinMainOb
call fcn.004cb3a0
mov eax, dword [ebp - 0x10]
add esp, 0xc
mov esi, dword [ebp + 0x10]
lea ecx, [ebp + 8]
push ecx
push esi
push eax
mov ecx, edi
call fcn.00484560
push 0x527588
push esi
call fcn.004d299d
add esp, 8
test eax, eax
jne 0x4896f4
push 0x1c1a
mov ecx, edi
call fcn.00482b30
jmp 0x4896f4
push 0x67
push dword [edi + 0xb38]
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [edi + 0x14dc], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0x489750
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], str.ScrollerooWindowClass
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
jne 0x4894f5
push str.Failed_to_register_window_class._n
jmp 0x4896e5
push 0
push esi
push 0
push 0
push 0
push 0
push 0xfffffe70
push 0xfffffe70
push SysReAllocString
push str.Touchpad_driver_backward_compatibility_window
push str.ScrollerooWindowClass
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
test eax, eax
jne 0x489532
push str.CreateWindowEx___on_back_compat_window_failed._n
jmp 0x4896e5
lea eax, [ebp - 0x38]
mov dword [ebp - 0x14], str.SynTPEnhWndClass
push eax
call dword [sym.imp.USER32.dll_RegisterClassW]
test ax, ax
jne 0x489552
push str.Failed_to_register_window_class._n
jmp 0x4896e5
push 0
push esi
push 0
push 0
push 0
push 0
push 0xfffffe70
push 0xfffffe70
push SysReAllocString
push str.Touchpad_driver_helper_window
push str.SynTPEnhWndClass
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0x910], eax
test eax, eax
jne 0x489595
push str.SynTPEnh::WinMain__:_CreateWindowEx___failed._n
jmp 0x4896e5
lea ecx, [ebp + 8]
push ecx
push dword [ebp + 0x10]
mov ecx, edi
push eax
call fcn.00484560
test eax, eax
jne 0x4895b2
push str.Failed_to_Parse_CommandLine._n
jmp 0x4896e5
cmp dword [ebp + 8], 0
jne 0x4896f4
push 0
push 0
push 0
push str.SoftwareSynapticsSynTPEnh
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x94]
call fcn.004bcca0
test eax, eax
je 0x4895f5
push 0
lea eax, [edi + 0x7d4]
push eax
push eax
push str.AddAppProfileByHotKey
lea ecx, [ebp - 0x90]
call fcn.004cbcf0
cmp dword [edi + 0x7d4], 0
je 0x48962a
push 0
push dword [edi + 0xb38]
push 0x481410
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
test eax, eax
jne 0x48962a
push str.Failed_to_register_Low_LevelKeyboard_hook_n
push eax
push str.CSynTPEnh::WinMainOb
call fcn.004cb3a0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0x47f
push dword [edi + 0x910]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
lea eax, [ebp - 0x58]
push 0
push 0
push 0
push eax
call ebx
test eax, eax
je 0x4896be
mov esi, dword [sym.imp.USER32.dll_IsDialogMessageW]
lea esp, [esp]
mov eax, dword [edi + 0x924]
test eax, eax
je 0x48969a
lea ecx, [ebp - 0x58]
push ecx
push eax
call esi
test eax, eax
je 0x48969a
mov eax, dword [edi + 0x928]
test eax, eax
je 0x48969a
lea ecx, [ebp - 0x58]
push ecx
push eax
call esi
test eax, eax
jne 0x4896ae
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x58]
push eax
call ebx
test eax, eax
jne 0x489670
test byte [0x652fc0], 1
je 0x4896db
push str.Exiting._n
push 1
push str.CSynTPEnh::WinMainOb
call fcn.004cb3a0
add esp, 0xc
mov esi, dword [ebp - 0x50]
jmp 0x489722
push str.Wait_on_mutex_failed_n
push 0
push str.CSynTPEnh::WinMainOb
call fcn.004cb3a0
add esp, 0xc
test byte [0x652fc0], 1
je 0x489711
push str.Aborting._n
push 1
push str.CSynTPEnh::WinMainOb
call fcn.004cb3a0
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
lea ecx, [ebp - 0x94]
mov dword [ebp - 4], 0xffffffff
call fcn.004b93f0
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x10