Function at 0x4080c0
Capabilities:
Check os version

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43eb4c
push eax
mov eax, 0x3680
mov dword fs:[0], esp
call fcn.00433d80
call 0x4080c0
movsx eax, al
add eax, 0xffffffce
cmp eax, 0x26
ja case.0x4076fb.54
xor ecx, ecx
mov cl, byte [eax + 0x408098]
jmp dword [ecx*4 + 0x408084]
push 3
push str.Start
push 0x442708
push 0x80000002
call fcn.00408150
push 1
push str.ErrorControl
push 0x442708
push 0x80000002
call fcn.00408150
push str.Pointer_Port
push str.Group
push 0x442708
push 0x80000002
call fcn.00404d10
push str.SystemRootSystem32DriversTBUPDDWD.SYS
push str.ImagePath
push 0x442708
push 0x80000002
call fcn.00404d10
add esp, 0x40
push 2
push 0x44ade8
push 0x442708
push 0x80000002
call fcn.00408150
push 1
push str.Type
push 0x442708
push 0x80000002
call fcn.00408150
push str.TBUPDD
push str.Driver_Name
push 0x442708
push 0x80000002
call fcn.00404d10
push 1
push str.Start
push str.SystemCurrentControlSetServicesmouclass
push 0x80000002
call fcn.00408150
add esp, 0x40
jmp 0x4079b9
push str.TBUPDD
push str.Driver_Name
push 0x442708
push 0x80000002
call fcn.00404d10
mov al, byte [0x454882]
add esp, 0x10
test al, al
je 0x4079b9
push 0
push str.Loaded
push str.SystemCurrentControlSetServices_vxd_vpend
push 0x80000002
call fcn.00408150
add esp, 0x10
jmp 0x4079b9
push str.TBUPDD95
push str.Driver_Name
push 0x442708
push 0x80000002
call fcn.00404d10
mov al, byte [0x454882]
add esp, 0x10
test al, al
je 0x4079b9
push 0
push str.Loaded
push str.SystemCurrentControlSetServices_vxd_vpend
push 0x80000002
call fcn.00408150
add esp, 0x10
jmp 0x4079b9
push 1
push str.Start
push 0x442708
push 0x80000002
call fcn.00408150
push 1
push str.ErrorControl
push 0x442708
push 0x80000002
call fcn.00408150
push str.Pointer_Port
push str.Group
push 0x442708
push 0x80000002
call fcn.00404d10
push str.SystemRootSystem32DriversTBUPDDNT.SYS
push str.ImagePath
push 0x442708
push 0x80000002
call fcn.00404d10
add esp, 0x40
push 2
push 0x44ade8
push 0x442708
push 0x80000002
call fcn.00408150
push 1
push str.Type
push 0x442708
push 0x80000002
call fcn.00408150
push str.TBUPDD
push str.Driver_Name
push 0x442708
push 0x80000002
call fcn.00404d10
push 1
push str.Start
push str.SystemCurrentControlSetServicesTBUPDDMP
push 0x80000002
call fcn.00408150
add esp, 0x40
push 1
push str.ErrorControl
push str.SystemCurrentControlSetServicesTBUPDDMP
push 0x80000002
call fcn.00408150
push str.Pointer_Port
push str.Group
push str.SystemCurrentControlSetServicesTBUPDDMP
push 0x80000002
call fcn.00404d10
push str.SystemRootSystem32DriversTBUPDDMP.SYS
push str.ImagePath
push str.SystemCurrentControlSetServicesTBUPDDMP
push 0x80000002
call fcn.00404d10
push 1
push 0x44ade8
push str.SystemCurrentControlSetServicesTBUPDDMP
push 0x80000002
call fcn.00408150
add esp, 0x40
push 1
push str.Type
push str.SystemCurrentControlSetServicesTBUPDDMP
push 0x80000002
call fcn.00408150
push 1
push str.ConnectMultiplePorts
push str.SystemCurrentControlSetServicesmouclassParameters
push 0x80000002
call fcn.00408150
push 1
push str.Start
push str.SystemCurrentControlSetServicesmouclass
push 0x80000002
call fcn.00408150
add esp, 0x30
mov eax, dword [0x454890]
push esi
test eax, eax
push edi
jne 0x407b8d
mov dl, byte [0x4540b0]
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x1689]
mov byte [esp + 0x1688], dl
mov byte [esp + 0x688], dl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0x689]
lea edx, [esp + 0x1688]
rep stosd dword es:[edi], eax
push 0x1000
push edx
stosw word es:[edi], ax
push str.Installing_Bundle
push 0x4427c4
push 0x80000002
stosb byte es:[edi], al
call fcn.0040bc10
lea eax, [esp + 0x69c]
push 0x1000
push eax
push str.Bundles
push 0x4427c4
push 0x80000002
call fcn.0040bc10
lea edi, [esp + 0x6b0]
or ecx, 0xffffffff
xor eax, eax
add esp, 0x28
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x407a89
mov edi, 0x44a918
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x688]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
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 + 0x1688]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x688]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x688]
push ecx
push str.Bundles
push 0x4427c4
push 0x80000002
call fcn.00404d10
push 1
push str.Prev_Bundle_Handle
push 0x4427c4
push 0x80000002
call fcn.00408150
or ecx, 0xffffffff
mov edi, 0x4427c4
xor eax, eax
lea edx, [esp + 0x26a8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 1
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x26ac]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
push str.Bundle_Handle
rep movsb byte es:[edi], byte [esi]
mov edi, 0x44a3cc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x26b0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x16b0]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x26b0]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push eax
push 0x80000002
call fcn.00408150
add esp, 0x30
push 1
call fcn.004138ee
lea ecx, [esp + 0x588]
push pe_nt_image_headers32
push ecx
push str.Customisation
push 0
call fcn.00413c6a
lea edx, [esp + 0x588]
mov ecx, 0x454140
push edx
call fcn.00416d5d
push 1
push str.Install_In_Progress
push 0
call fcn.00413e16
lea eax, [esp + 0x54]
push 0x10
push eax
push str.InfName
push 0
call fcn.00413c6a
lea ecx, [esp + 0x54]
push ecx
mov ecx, 0x454148
call fcn.00416d5d
lea edx, [esp + 0x484]
push 0x104
push edx
push str.DfltFolder
push 0
call fcn.00413c6a
mov eax, dword [0x454890]
test eax, eax
jne 0x407d50
lea eax, [esp + 0x178]
push 0x104
push eax
push str.ProgramFilesDir
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
call fcn.0040bc10
mov edi, 0x44a3cc
or ecx, 0xffffffff
xor eax, eax
add esp, 0x14
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x178]
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [esp + 0x178]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x484]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [esp + 0x178]
and ecx, 3
push eax
push str.UPDD_Folder
push 0
rep movsb byte es:[edi], byte [esi]
call fcn.00413d76
lea ecx, [esp + 0x74]
push 0x104
push ecx
push str.DfltGroup
push 0
call fcn.00413c6a
lea edx, [esp + 0x74]
push edx
push str.UPDD_Group
push 0
call fcn.00413d76
push 1
push str.Number_Of_Devices
push 0
call fcn.00413e16
lea eax, [esp + 0x14]
push 0x10
push eax
push str.DfltDoubleClickHeight
push 0
call fcn.00413c6a
lea ecx, [esp + 0x14]
push ecx
push str.DoubleClickHeight
push 0
call fcn.00413d76
lea edx, [esp + 0x14]
push 0x10
push edx
push str.DfltDoubleClickWidth
push 0
call fcn.00413c6a
lea eax, [esp + 0x14]
push eax
push str.DoubleClickWidth
push 0
call fcn.00413d76
lea ecx, [esp + 0x14]
push 0x10
push ecx
push str.DfltDoubleClickSpeed
push 0
call fcn.00413c6a
lea edx, [esp + 0x14]
push edx
push str.DoubleClickSpeed
push 0
call fcn.00413d76
push 0
push str.UseLinearisation
push 0
call fcn.00413e16
push 0
push str.PS2Support
call fcn.00413dc8
lea eax, [esp + 0x27c]
push 0x104
push eax
push str.UPDD_Folder
push 0
call fcn.00413c6a
mov edi, str.TBSystry.exe
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x27c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x27c]
mov ecx, edx
push eax
and ecx, 3
push str.TBSysTray
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
rep movsb byte es:[edi], byte [esi]
push 0x80000002
call fcn.00404d10
mov eax, dword [0x454890]
add esp, 0x10
test eax, eax
jne 0x407f61
lea ecx, [esp + 0x34]
push ecx
push 0
call fcn.004190ad
push 0x280
push str.Primary_Monitor_Width
call fcn.00413dc8
push 0x1e0
push str.Primary_Monitor_Height
call fcn.00413dc8
mov edx, dword [esp + 0x34]
push edx
push str.Primary_Monitor_Left
call fcn.00413dc8
mov eax, dword [esp + 0x38]
push eax
push str.Primary_Monitor_Top
call fcn.00413dc8
lea ecx, [esp + 0x64]
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x6c]
xor edx, edx
cmp eax, 0x3e8
setge dl
inc edx
push edx
push str.MouseSpeed
call fcn.00413dc8
push 0
push str.Rotate
call fcn.00413dc8
push 1
push str.InitialMousePortEnabled
call fcn.00413dc8
mov al, byte [0x4540b0]
mov ecx, 0x3f
mov byte [esp + 0x74], al
xor eax, eax
lea edi, [esp + 0x75]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.00408230
test eax, eax
push pe_nt_image_headers32
je 0x407ea4
lea ecx, [esp + 0x78]
push ecx
push 0x4540b0
push str.Control_PaneldesktopResourceLocale
jmp 0x407eb3
lea edx, [esp + 0x78]
push edx
push str.Locale
push str.Control_PanelInternational
push 0x80000001
call fcn.0040bc10
add esp, 0x14
lea eax, [esp + 8]
lea ecx, [esp + 0x74]
push eax
push 0x44ab20
push ecx
call fcn.00433ee3
mov eax, dword [esp + 0x14]
add esp, 0xc
and eax, 0xff
lea edx, [esp + 0x44]
mov dword [esp + 8], eax
push 0x10
push edx
and eax, 0xffff
push 3
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
lea eax, [esp + 0x44]
lea ecx, [esp + 0x14]
push eax
call fcn.00416cb2
lea ecx, [esp + 0x2c]
push 2
push ecx
mov ecx, eax
mov dword [esp + 0x3698], 0
call fcn.00417191
mov ecx, eax
mov byte [esp + 0x3690], 1
call fcn.00416d31
push eax
push str.Language
push 0
call fcn.00413d76
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3690], 0
call fcn.00416d10
lea ecx, [esp + 0x14]
mov dword [esp + 0x3690], 0xffffffff
call fcn.00416d10
push str.UPDDTidy
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
call fcn.0041695e
push str.upddtidy
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call fcn.0041695e
call fcn.00413b01
lea edx, [esp + 0x380]
push 0x104
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x380]
lea ecx, [esp + 0xc]
push eax
call fcn.00416cb2
push str.win.ini
lea ecx, [esp + 0x28]
mov dword [esp + 0x3694], 2
call fcn.00416cb2
lea ecx, [esp + 0x24]
mov byte [esp + 0x3690], 3
push ecx
lea ecx, [esp + 0x10]
call fcn.00416e70
lea ecx, [esp + 0x24]
mov byte [esp + 0x3690], 2
call fcn.00416d10
call fcn.00408230
pop edi
pop esi
test eax, eax
je 0x40801c
lea ecx, [esp + 4]
call fcn.00416d31
push eax
push 0x44aaf8
push str.SkipMouseRedetect
push str.Windows
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x44a738
push str.SoftwareTouch_BaseTBMorphPlacement
push 0x80000001
call fcn.004187ec
push 0x44aab0
push str.SoftwareTouch_BaseTBMorphPlacement
push 0x80000001
call fcn.004187ec
add esp, 0x18
lea ecx, [esp + 4]
mov dword [esp + 0x3688], 0xffffffff
call fcn.00416d10
mov ecx, dword [esp + 0x3680]
mov dword fs:[0], ecx
add esp, 0x368c
ret
push 0
push 7
call fcn.00407620
add esp, 8
push 4
call fcn.00433453
nop
add dh, byte [edi + 0x40]
add byte [eax + edi*2 + 64], dl
add byte [0xc6004078], cl
ja 0x4080d3
add byte [eax - 0x80], dh
inc eax
add byte [eax], al
add al, 1
add al, byte [esp + eax]
add eax, dword [esp + eax]
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 4
add al, 0
nop
sub esp, 0x94
lea eax, [esp]
mov dword [esp], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x408111
cmp dword [esp + 4], 5
jne 0x408108
mov eax, dword [esp + 8]
cmp eax, 1
jne 0x4080fb
mov al, 0x58
add esp, 0x94
ret
test eax, eax
jne 0x408108
mov al, 0x32
add esp, 0x94
ret
mov al, 0x34
add esp, 0x94
ret
cmp eax, 1
jne 0x408143
mov eax, dword [esp + 8]
cmp eax, 0xa
jne 0x408128
mov al, 0x38
add esp, 0x94
ret
cmp eax, 0x5a
jne 0x408136
mov al, 0x38
add esp, 0x94
ret
cmp dword [esp + 4], 4
jne 0x408143
test eax, eax
mov al, 0x35
je 0x408145
mov al, 0x3f
add esp, 0x94
ret