Function at 0x4029c0
Capabilities:
Delete registry key
Get common file path
Hide graphical window
Persist via run registry key
Persist via windows service
Set registry value

Disassembly:
sub esp, 0x10c
lea eax, [esp + 4]
push ebx
push esi
push edi
push ebp
mov edi, str.Inf
push pe_nt_image_headers32
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x14]
mov edi, str.Other
push eax
call fcn.00401c10
add esp, 4
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x14]
push eax
call fcn.00401c10
add esp, 4
call fcn.00401620
test eax, eax
jne 0x402afc
cmp dword [0x40cb54], 0
jne 0x402abc
push 0x30
push str.Setup_Error
push str.Unrecoverable_Error_During_Setup__Exiting
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
mov eax, dword [0x40cb58]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x40cb58]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x40cb58], 0
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
mov edi, str.Unrecoverable_Error_During_Setup__Exiting_n
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
mov edi, 0x40bb50
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
pop ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
cmp dword [0x40cb54], 0
jne 0x402b13
push 0
mov eax, dword [0x40cb58]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, str.SystemCurrentControlSetServicesVxdMonmouse
lea edi, [esp + 0x14]
mov ecx, 0xb
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x14]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
push eax
mov esi, str.SystemCurrentControlSetServicesClassEloTouchscreen
push 0x80000002
call ebx
lea edi, [esp + 0x14]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
mov esi, str.EnumRootEloTouchscreen
push ecx
push 0x80000002
call ebx
lea edi, [esp + 0x14]
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea eax, [esp + 0x14]
push eax
push 0x80000002
call ebx
call fcn.00401aa0
test eax, eax
jne 0x402b92
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10c
ret
lea eax, [esp + 0x98]
push pe_nt_image_headers32
push eax
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [esp + 0x14]
mov ecx, 0xc
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea ecx, [esp + 0x10]
lea eax, [esp + 0x14]
push ecx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyA]
push eax
push 0x80000002
call ebx
test eax, eax
jne 0x402c5d
lea edi, [esp + 0x98]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
shr ecx, 2
mov esi, edi
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.ELOCAL32.EXE
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x14]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push 1
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push 0
push str.MONMOUSE
push ecx
call ebp
jmp 0x402c63
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov esi, str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallMonmouse
lea edi, [esp + 0x14]
mov ecx, 0xf
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x10]
lea ecx, [esp + 0x14]
movsb byte es:[edi], byte [esi]
push eax
push ecx
push 0x80000002
call ebx
test eax, eax
jne 0x402d41
mov esi, str.MonitorMouse_for_Windows_95
lea edi, [esp + 0x14]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0x14]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push 1
push 0
push str.DisplayName
push ecx
call ebp
lea edi, [esp + 0x98]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
shr ecx, 2
mov esi, edi
lea edi, [esp + 0x14]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.MmUninst.exe
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov ecx, 0xffffffff
lea edi, [esp + 0x14]
sub eax, eax
repne scasb al, byte es:[edi]
dec edi
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x14]
mov ecx, 0xffffffff
sub eax, eax
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push eax
push 1
push 0
push str.UninstallString
push ecx
call ebp
mov eax, 1
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x10c
ret