Function at 0x401000
Capabilities:
Create process on windows
Create process suspended
Log keystrokes via polling
Read .ini file
Set registry value

Disassembly:
sub esp, 0xfc4
mov ecx, 9
lea eax, [esp + 0xbc4]
push ebx
push ebp
push esi
push edi
mov esi, str.SOFTWAREBrotherPrinterInformation
lea edi, [esp + 0x160]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0xfd8]
push 0x400
movsb byte es:[edi], byte [esi]
push eax
push ecx
mov edi, 1
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0xbd4]
lea eax, [esp + 0x5cc]
push edx
push eax
call esi
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [esp + 0x5cc]
push ecx
call ebp
dec eax
mov bl, 0x5c
js 0x401077
cmp byte [esp + eax + 0x5cc], bl
je 0x4010f3
dec eax
jns 0x40106b
mov esi, dword [esp + 0x1c]
and esi, 0xffff
cmp byte [esp + esi + 0x187], bl
jne 0x401151
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x188]
push str.Brinst.ini
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x188]
push ecx
lea edx, [esp + 0x9d0]
push 0x104
push edx
push str.InstDataName
push str.InstDataName
push str.Installer
call ebx
lea eax, [esp + 0x9cc]
lea ecx, [esp + 0x5cc]
push eax
push ecx
call edi
lea edx, [esp + 0x5cc]
push str.Disk
push edx
jmp 0x4011c0
mov byte [esp + eax + 0x5cd], 0
lea edx, [esp + 0x5cc]
lea eax, [esp + 0x188]
push edx
push eax
call esi
lea ecx, [esp + 0x188]
push ecx
call ebp
lea edx, [esp + 0x5cc]
mov esi, eax
push edx
call ebp
sub eax, 2
js 0x40107b
cmp byte [esp + eax + 0x5cc], bl
jne 0x40113c
cmp edi, 1
jne 0x401144
xor edi, edi
dec eax
jns 0x40112c
jmp 0x40107b
mov byte [esp + eax + 0x5cd], 0
jmp 0x40107b
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x188]
push 0x4071f4
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x188]
push ecx
lea edx, [esp + 0x9d0]
push 0x104
push edx
push str.WebDataName
push str.WebDataName
push str.Installer
call ebx
lea eax, [esp + 0x5cc]
push 0x4071e4
push eax
call edi
lea ecx, [esp + 0x9cc]
lea edx, [esp + 0x5cc]
push ecx
push edx
call edi
lea eax, [esp + 0x5cc]
push str.Disk
push eax
call edi
lea ecx, [esp + 0x188]
lea edx, [esp + 0x4c]
push ecx
push 0x104
push edx
push str.SetupDisk
push str.SetupDisk
push str.Installer
call ebx
lea eax, [esp + 0x4c]
lea ecx, [esp + 0x5cc]
push eax
push ecx
call edi
lea edx, [esp + 0x5cc]
push str.Setup.exe
push edx
call edi
lea eax, [esp + 0x34]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push 0xf003f
push 0
push 0
lea edx, [esp + 0x178]
push 0
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x4019d1
lea eax, [esp + 0xbd4]
push eax
call ebp
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
lea ecx, [esp + 0xbd4]
mov edx, dword [esp + 0x10]
push eax
push ecx
push 1
push 0
push str.ModulePath
push edx
call esi
lea eax, [esp + 0x188]
lea ecx, [esp + 0x4c]
push eax
push 0x104
push ecx
push str.Company
push str.Company
push str.Installer
call ebx
lea edx, [esp + 0x4c]
push edx
call ebp
push eax
lea eax, [esp + 0x50]
mov ecx, dword [esp + 0x14]
push eax
push 1
push 0
push str.Company
push ecx
call esi
lea edx, [esp + 0x188]
lea eax, [esp + 0x38]
push edx
push 0x104
push eax
push str.NoData
push str.ModelName
push str.Installer
call ebx
lea ecx, [esp + 0x38]
push ecx
call ebp
lea edx, [esp + 0x38]
push eax
mov eax, dword [esp + 0x14]
push edx
push 1
push 0
push str.ModelName
push eax
call esi
lea ecx, [esp + 0x4c]
push str.NoData
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x401304
lea edx, [esp + 0x38]
lea eax, [esp + 0x4c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x40131c
lea ecx, [esp + 0x4c]
push 0x4071a0
push ecx
call edi
lea edx, [esp + 0x38]
lea eax, [esp + 0x4c]
push edx
push eax
call edi
lea ecx, [esp + 0x4c]
push ecx
call ebp
lea edx, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x14]
push edx
push 1
push 0
push str.PrinterName
push eax
call esi
lea ecx, [esp + 0x188]
lea edx, [esp + 0x4c]
push ecx
push 0x104
push edx
push str.Type
push str.Type
push str.Installer
call ebx
lea eax, [esp + 0x4c]
push eax
call ebp
lea ecx, [esp + 0x4c]
push eax
mov edx, dword [esp + 0x14]
push ecx
push 1
push 0
push str.ModelType
push edx
call esi
lea eax, [esp + 0x188]
lea ecx, [esp + 0x4c]
push eax
push 0x104
push ecx
push str.Twainname
push str.Twainname
push str.Installer
call ebx
lea edx, [esp + 0x4c]
push edx
call ebp
push eax
lea eax, [esp + 0x50]
mov ecx, dword [esp + 0x14]
push eax
push 1
push 0
push str.TwainName
push ecx
call esi
lea edx, [esp + 0x188]
lea eax, [esp + 0x4c]
push edx
push 0x104
push eax
push str.Nodata
push str.PdfName
push str.Installer
call ebx
lea ecx, [esp + 0x4c]
push ecx
call ebp
lea edx, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x14]
push edx
push 1
push 0
push str.PdfName
push eax
call esi
lea ecx, [esp + 0x188]
lea edx, [esp + 0x4c]
push ecx
push 0x104
push edx
push str.Nodata
push str.PdfNameMain
push str.Installer
call ebx
lea eax, [esp + 0x4c]
push eax
call ebp
lea ecx, [esp + 0x4c]
push eax
mov edx, dword [esp + 0x14]
push ecx
push 1
push 0
push str.PdfNameMain
push edx
call esi
lea eax, [esp + 0x188]
lea ecx, [esp + 0x4c]
push eax
push 0x104
push ecx
push str.Nodata
push str.PdfNamePc
push str.Installer
call ebx
lea edx, [esp + 0x4c]
push edx
call ebp
push eax
lea eax, [esp + 0x50]
mov ecx, dword [esp + 0x14]
push eax
push 1
push 0
push str.PdfNamePc
push ecx
call esi
lea edx, [esp + 0x188]
lea eax, [esp + 0x4c]
push edx
push 0x104
push eax
push str.Nodata
push str.ReadMeName
push str.Installer
call ebx
lea ecx, [esp + 0x4c]
push ecx
call ebp
lea edx, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x14]
push edx
push 1
push 0
push str.ReadMeName
push eax
call esi
lea ecx, [esp + 0x188]
lea edx, [esp + 0x4c]
push ecx
push 0x104
push edx
push str.Nodata
push str.DiffLangName
push str.Installer
call ebx
lea eax, [esp + 0x4c]
push eax
call ebp
lea ecx, [esp + 0x4c]
push eax
mov edx, dword [esp + 0x14]
push ecx
push 1
push 0
push str.DiffLangName
push edx
call esi
lea eax, [esp + 0x188]
push eax
push 0
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push str.LangID
push str.Installer
call edi
lea ecx, [esp + 0x20]
push 4
mov edx, dword [esp + 0x14]
push ecx
push 4
push 0
push str.LangID
push edx
mov dword [esp + 0x38], eax
call esi
lea eax, [esp + 0xad0]
lea ecx, [esp + 0x5cc]
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
call fcn.004019f0
add esp, 0xc
lea eax, [esp + 0x188]
lea ecx, [esp + 0x4c]
push eax
push 0x104
push ecx
push str.ProductID
push str.ProductID
push str.Installer
call ebx
lea edx, [esp + 0x4c]
push edx
call ebp
push eax
lea eax, [esp + 0x50]
mov ecx, dword [esp + 0x14]
push eax
push 1
push 0
push str.ProductID
push ecx
call esi
lea edx, [esp + 0x188]
push edx
push 0
push str.InfNumberUsb
push str.Installer
call edi
push 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push 4
push 0
push str.InfNumberUsb
push ecx
call esi
lea edx, [esp + 0x188]
push edx
push 0
push str.InfNumberPara
push str.Installer
call edi
push 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push 4
push 0
push str.InfNumberPara
push ecx
call esi
lea edx, [esp + 0x188]
push edx
push 0
push str.PrinterOnly
push str.Installer
call edi
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push 4
push eax
push 4
push 0
push str.PrinterOnly
push ecx
call esi
lea edx, [esp + 0x188]
push edx
push 0
push str.ByteCode
push str.Installer
call edi
push 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
push 4
push 0
push str.ByteCode
push ecx
call esi
lea edx, [esp + 0x188]
push edx
push 0
push str.Asia
push str.Installer
call edi
push 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x30], eax
lea eax, [esp + 0x30]
push eax
push 4
push 0
push str.Asia
push ecx
call esi
lea edx, [esp + 0x188]
push edx
push 0
push 0x4070cc
push str.Installer
call edi
push 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x28]
push eax
push 4
push 0
push 0x4070cc
push ecx
call esi
lea edx, [esp + 0x188]
push edx
push 1
push str.PcfaxTx
push str.Installer
call edi
push 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x2c]
push eax
push 4
push 0
push str.PcfaxTx
push ecx
call esi
lea edx, [esp + 0x188]
push edx
push 1
push str.PcfaxRx
push str.Installer
call edi
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push 4
push eax
push 4
push 0
push str.PcfaxRx
push ecx
call esi
lea edx, [esp + 0x188]
push edx
push 1
push str.Twain
push str.Installer
call edi
push 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 4
push 0
push str.Twain
push ecx
call esi
lea edx, [esp + 0x188]
push edx
push 1
push str.Prtdrv
push str.Installer
call edi
push 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 4
push 0
push str.Prtdrv
push ecx
call esi
lea edx, [esp + 0x188]
push edx
push 1
push str.PrtdrvPs
push str.Installer
call edi
push 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 4
push 0
push str.PrtdrvPs
push ecx
call esi
lea edx, [esp + 0x188]
push edx
push 1
push 0x40709c
push str.Installer
call edi
push 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 4
push 0
push 0x40709c
push ecx
call esi
lea edx, [esp + 0x188]
push edx
push 1
push str.Font
push str.Installer
call edi
push 4
mov dword [esp + 0x18], eax
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push 4
push 0
push str.Font
push ecx
call esi
lea edx, [esp + 0x188]
push edx
push 1
push str.Media
push str.Installer
call edi
push 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 4
push 0
push str.Media
push ecx
call esi
lea edx, [esp + 0x188]
push edx
push 0
push 0x407088
push str.Installer
call edi
push 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 4
push 0
push 0x407088
push ecx
call esi
lea edx, [esp + 0x188]
push edx
push 0
push str.ScanStation
push str.Installer
call edi
push 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 4
push 0
push str.ScanStation
push ecx
call esi
lea edx, [esp + 0x188]
push edx
push 0
push 0x407078
push str.Installer
call edi
push 4
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 4
push 0
push 0x407078
push ecx
call esi
lea edx, [esp + 0x188]
push edx
push 1
push str.PPort
push str.Installer
call edi
push 0x10
mov dword [esp + 0x20], eax
call dword [sym.imp.USER32.dll_GetKeyState]
test ah, 0x80
je 0x4018fd
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x1c]
push 4
push eax
push 4
push 0
push str.PPort
push ecx
call esi
lea edx, [esp + 0x30]
push 4
mov eax, dword [esp + 0x14]
push edx
push 4
push 0
push str.MflProExe
push eax
mov dword [esp + 0x48], 1
call esi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x588]
lea edx, [esp + 0x588]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x150]
push ecx
push edx
push eax
push eax
push eax
push 1
push eax
push eax
lea eax, [esp + 0xaf0]
lea ecx, [esp + 0x5ec]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x4019b8
lea edx, [esp + 0x5cc]
lea eax, [esp + 0xad0]
push edx
push str.Cannot_start_Application_Installer.___s_
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [esp + 0xad0]
push 0
push str.Error
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0xfc4
ret 0x10
mov edx, dword [esp + 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xfc4
ret 0x10