Function at 0x407080
Capabilities:
Get common file path
Get geographical location
Persist via run registry key
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x42376c
push eax
mov eax, 0x3680
mov dword fs:[0], esp
call fcn.0041a8f0
call fcn.00407ae0
movsx eax, al
add eax, 0xffffffce
cmp eax, 0x26
ja case.0x4070bb.54
xor ecx, ecx
mov cl, byte [eax + 0x407ab0]
jmp dword [ecx*4 + 0x407a9c]
push 3
push str.Start
push 0x425718
push 0x80000002
call fcn.00407b70
push 1
push str.ErrorControl
push 0x425718
push 0x80000002
call fcn.00407b70
push str.Pointer_Port
push str.Group
push 0x425718
push 0x80000002
call fcn.00404690
push str.SystemRootSystem32DriversTBUPDDWD.SYS
push str.ImagePath
push 0x425718
push 0x80000002
call fcn.00404690
add esp, 0x40
push 2
push 0x42ad9c
push 0x425718
push 0x80000002
call fcn.00407b70
push 1
push str.Type
push 0x425718
push 0x80000002
call fcn.00407b70
push str.TBUPDD
push str.Driver_Name
push 0x425718
push 0x80000002
call fcn.00404690
push 1
push str.Start
push str.SystemCurrentControlSetServicesmouclass
push 0x80000002
call fcn.00407b70
add esp, 0x40
jmp 0x407379
push str.TBUPDD
push str.Driver_Name
push 0x425718
push 0x80000002
call fcn.00404690
mov al, byte [0x432bd6]
add esp, 0x10
test al, al
je 0x407379
push 0
push str.Loaded
push str.SystemCurrentControlSetServices_vxd_vpend
push 0x80000002
call fcn.00407b70
add esp, 0x10
jmp 0x407379
push str.TBUPDD95
push str.Driver_Name
push 0x425718
push 0x80000002
call fcn.00404690
mov al, byte [0x432bd6]
add esp, 0x10
test al, al
je 0x407379
push 0
push str.Loaded
push str.SystemCurrentControlSetServices_vxd_vpend
push 0x80000002
call fcn.00407b70
add esp, 0x10
jmp 0x407379
push 1
push str.Start
push 0x425718
push 0x80000002
call fcn.00407b70
push 1
push str.ErrorControl
push 0x425718
push 0x80000002
call fcn.00407b70
push str.Pointer_Port
push str.Group
push 0x425718
push 0x80000002
call fcn.00404690
push str.SystemRootSystem32DriversTBUPDDNT.SYS
push str.ImagePath
push 0x425718
push 0x80000002
call fcn.00404690
add esp, 0x40
push 2
push 0x42ad9c
push 0x425718
push 0x80000002
call fcn.00407b70
push 1
push str.Type
push 0x425718
push 0x80000002
call fcn.00407b70
push str.TBUPDD
push str.Driver_Name
push 0x425718
push 0x80000002
call fcn.00404690
push 1
push str.Start
push str.SystemCurrentControlSetServicesTBUPDDMP
push 0x80000002
call fcn.00407b70
add esp, 0x40
push 1
push str.ErrorControl
push str.SystemCurrentControlSetServicesTBUPDDMP
push 0x80000002
call fcn.00407b70
push str.Pointer_Port
push str.Group
push str.SystemCurrentControlSetServicesTBUPDDMP
push 0x80000002
call fcn.00404690
push str.SystemRootSystem32DriversTBUPDDMP.SYS
push str.ImagePath
push str.SystemCurrentControlSetServicesTBUPDDMP
push 0x80000002
call fcn.00404690
push 1
push 0x42ad9c
push str.SystemCurrentControlSetServicesTBUPDDMP
push 0x80000002
call fcn.00407b70
add esp, 0x40
push 1
push str.Type
push str.SystemCurrentControlSetServicesTBUPDDMP
push 0x80000002
call fcn.00407b70
push 1
push str.ConnectMultiplePorts
push str.SystemCurrentControlSetServicesmouclassParameters
push 0x80000002
call fcn.00407b70
push 1
push str.Start
push str.SystemCurrentControlSetServicesmouclass
push 0x80000002
call fcn.00407b70
add esp, 0x30
mov eax, dword [0x432be4]
push esi
test eax, eax
push edi
jne 0x40759f
mov dl, byte [0x432408]
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 0x4257d4
push 0x80000002
stosb byte es:[edi], al
call fcn.0040ae30
lea eax, [esp + 0x69c]
push 0x1000
push eax
push str.Bundles
push 0x4257d4
push 0x80000002
call fcn.0040ae30
lea ecx, [esp + 0x16b0]
lea edx, [esp + 0x6b0]
push ecx
push edx
call fcn.0041a750
add esp, 0x30
test eax, eax
jne 0x40759f
lea edi, [esp + 0x688]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x407464
mov edi, 0x42a8f0
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 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 + 0x688]
mov ecx, edx
push eax
and ecx, 3
push str.Bundles
push 0x4257d4
rep movsb byte es:[edi], byte [esi]
push 0x80000002
call fcn.00404690
lea ecx, [esp + 0x18]
push ecx
push str.Prev_Bundle_Handle
push 0x4257d4
push 0x80000002
call fcn.0040adc0
add esp, 0x20
test al, al
jne 0x4074d7
xor eax, eax
jmp 0x4074db
mov eax, dword [esp + 8]
inc eax
push eax
push str.Prev_Bundle_Handle
push 0x4257d4
push 0x80000002
mov dword [esp + 0x18], eax
call fcn.00407b70
or ecx, 0xffffffff
mov edi, 0x4257d4
xor eax, eax
lea edx, [esp + 0x2698]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
shr ecx, 2
mov edi, edx
lea edx, [esp + 0x2698]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x42a310
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 + 0x2698]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x1698]
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 eax, dword [esp + 0x18]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x269c]
push str.Bundle_Handle
push ecx
push 0x80000002
call fcn.00407b70
add esp, 0x20
push 0x4326b4
call fcn.00412d20
push eax
call fcn.00410bf0
lea edx, [esp + 0x588]
push 0x100
push edx
push str.Customisation
push 0
call fcn.00410fa4
lea eax, [esp + 0x588]
mov ecx, 0x432498
push eax
call fcn.00413ed9
push 1
push str.Install_In_Progress
push 0
call fcn.004110f4
lea ecx, [esp + 0x54]
push 0x10
push ecx
push str.InfName
push 0
call fcn.00410fa4
lea edx, [esp + 0x54]
mov ecx, 0x4324a0
push edx
call fcn.00413ed9
lea eax, [esp + 0x484]
push 0x104
push eax
push str.DfltFolder
push 0
call fcn.00410fa4
mov eax, dword [0x432be4]
test eax, eax
jne 0x40776b
lea ecx, [esp + 0x178]
push 0x104
push ecx
push str.ProgramFilesDir
push str.SoftwareMicrosoftWindowsCurrentVersion
push 0x80000002
call fcn.0040ae30
mov edi, 0x42a310
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.0041107e
lea ecx, [esp + 0x74]
push 0x104
push ecx
push str.DfltGroup
push 0
call fcn.00410fa4
lea edx, [esp + 0x74]
push edx
push str.UPDD_Group
push 0
call fcn.0041107e
push 1
push str.Number_Of_Devices
push 0
call fcn.004110f4
lea eax, [esp + 0x14]
push 0x10
push eax
push str.DfltDoubleClickHeight
push 0
call fcn.00410fa4
lea ecx, [esp + 0x14]
push ecx
push str.DoubleClickHeight
push 0
call fcn.0041107e
lea edx, [esp + 0x14]
push 0x10
push edx
push str.DfltDoubleClickWidth
push 0
call fcn.00410fa4
lea eax, [esp + 0x14]
push eax
push str.DoubleClickWidth
push 0
call fcn.0041107e
lea ecx, [esp + 0x14]
push 0x10
push ecx
push str.DfltDoubleClickSpeed
push 0
call fcn.00410fa4
lea edx, [esp + 0x14]
push edx
push str.DoubleClickSpeed
push 0
call fcn.0041107e
push 0
push str.UseLinearisation
push 0
call fcn.004110f4
push 0
push str.PS2Support
call fcn.004110bb
lea eax, [esp + 0x27c]
push 0x104
push eax
push str.UPDD_Folder
push 0
call fcn.00410fa4
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.00404690
mov eax, dword [0x432be4]
add esp, 0x10
test eax, eax
jne 0x407974
lea ecx, [esp + 0x34]
push ecx
push 0
call fcn.00416a1f
add esp, 8
push 0x280
push str.Primary_Monitor_Width
call fcn.004110bb
push 0x1e0
push str.Primary_Monitor_Height
call fcn.004110bb
mov edx, dword [esp + 0x34]
push edx
push str.Primary_Monitor_Left
call fcn.004110bb
mov eax, dword [esp + 0x38]
push eax
push str.Primary_Monitor_Top
call fcn.004110bb
lea ecx, [esp + 0x64]
push ecx
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [esp + 0x6c]
xor edx, edx
cmp esi, 0x3e8
setge dl
inc edx
push edx
push str.MouseSpeed
call fcn.004110bb
push 0
push str.Rotate
call fcn.004110bb
mov al, byte [0x432408]
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.00407c50
test eax, eax
push 0x100
je 0x4078b7
lea ecx, [esp + 0x78]
push ecx
push 0x432408
push str.Control_PaneldesktopResourceLocale
jmp 0x4078c6
lea edx, [esp + 0x78]
push edx
push str.Locale
push str.Control_PanelInternational
push 0x80000001
call fcn.0040ae30
add esp, 0x14
lea eax, [esp + 8]
lea ecx, [esp + 0x74]
push eax
push 0x42aaec
push ecx
call fcn.0041aa48
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.00413e2e
lea ecx, [esp + 0x2c]
push 2
push ecx
mov ecx, eax
mov dword [esp + 0x3698], 0
call fcn.0041430d
mov ecx, eax
mov byte [esp + 0x3690], 1
call fcn.00413ead
push eax
push str.Language
push 0
call fcn.0041107e
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3690], 0
call fcn.00413e8c
lea ecx, [esp + 0x14]
mov dword [esp + 0x3690], 0xffffffff
call fcn.00413e8c
push str.UPDDTidy
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push 0x80000002
call fcn.00413a04
push str.upddtidy
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push 0x80000002
call fcn.00413a04
add esp, 0x18
call fcn.00410e6e
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.00413e2e
push str.win.ini
lea ecx, [esp + 0x28]
mov dword [esp + 0x3694], 2
call fcn.00413e2e
lea ecx, [esp + 0x24]
mov byte [esp + 0x3690], 3
push ecx
lea ecx, [esp + 0x10]
call fcn.00413fec
lea ecx, [esp + 0x24]
mov byte [esp + 0x3690], 2
call fcn.00413e8c
call fcn.00407c50
pop edi
pop esi
test eax, eax
je 0x407a32
lea ecx, [esp + 4]
call fcn.00413ead
push eax
push 0x42aac4
push str.SkipMouseRedetect
push str.Windows
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x42a630
push str.SoftwareTouch_BaseTBMorphPlacement
push 0x80000001
call fcn.00415a5c
push 0x42aa7c
push str.SoftwareTouch_BaseTBMorphPlacement
push 0x80000001
call fcn.00415a5c
add esp, 0x18
lea ecx, [esp + 4]
mov dword [esp + 0x3688], 0xffffffff
call fcn.00413e8c
mov ecx, dword [esp + 0x3680]
mov dword fs:[0], ecx
add esp, 0x368c
ret
push 0
push 7
call fcn.00406fe0
add esp, 8
push 4
call fcn.00419f80
lea ecx, [ecx]
ret 0x4070