Function at 0x425a90
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp - 0x28]
mov cx, word [ebp + 8]
mov word [eax + 4], cx
mov edx, dword [ebp - 0x28]
mov dword [edx], 0
mov eax, dword [ebp - 0x28]
movzx ecx, word [eax + 4]
test ecx, ecx
jne 0x425abd
jmp 0x425cf0
mov edx, dword [ebp - 0x28]
movzx eax, word [edx + 4]
cmp eax, 1
jne 0x425bb7
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x10], 0
push str.ETDApi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edx, dword [ebp - 0x28]
mov dword [edx + 0x10], eax
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0x10], 0
je 0x425b16
push str.SetETDConfig
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x14], eax
push str.Load_ETDApi.dll_success
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x425b2d
xor edx, edx
mov eax, dword [ebp - 0x28]
mov word [eax + 4], dx
xor ecx, ecx
mov word [0x4464f0], cx
jmp 0x425cf0
mov dword [ebp - 0x18], 2
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0xc], 0xffffffff
mov dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], 0
sub esp, 0x14
mov edx, esp
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
mov ecx, dword [ebp - 0x14]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x10]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0xc]
mov dword [edx + 0xc], ecx
mov eax, dword [ebp - 8]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x14]
call edx
add esp, 0x14
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x10
jne 0x425ba3
mov eax, dword [ebp - 0x28]
mov dword [eax], 1
push str.Enable
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x425bb7
mov ecx, dword [ebp - 0x28]
mov dword [ecx], 0
push str.Disable
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x28]
movzx eax, word [edx + 4]
cmp eax, 2
jne 0x425cf0
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 8], 0
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov edx, dword [ebp - 0x28]
add edx, 8
push edx
push str.c_a2A
push 1
push 0
push 0x441168
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 8]
mov ecx, dword [ecx]
push eax
mov edx, dword [ecx + 0xc]
call edx
mov eax, dword [ebp - 0x28]
mov dword [eax + 0xc], 0
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 0x20]
push ecx
push 2
push 0
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 8]
mov eax, dword [eax]
push edx
mov ecx, dword [eax + 0x10]
call ecx
mov edx, dword [ebp - 0x28]
add edx, 0xc
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 8]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 8]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
cmp ecx, 0x14
jg 0x425c77
mov eax, dword [ebp - 0x28]
cmp dword [eax + 0xc], 0
je 0x425c79
jmp 0x425c8d
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + 0xc], 0
je 0x425c22
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0xc], 0
jne 0x425cbe
xor eax, eax
mov ecx, dword [ebp - 0x28]
mov word [ecx + 4], ax
xor edx, edx
mov word [0x4464f0], dx
push 0
push str.HotkeySewrvice
push str.Cant_find_TouchPad_Device
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x425cf0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push 0x10000171
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0xc]
mov edx, dword [edx]
push ecx
mov eax, dword [edx + 0xc]
call eax
xor ecx, ecx
cmp dword [ebp - 0x1c], 0
sete cl
mov edx, dword [ebp - 0x28]
mov dword [edx], ecx
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret 4