Function at 0x476270
Capabilities:
Encode data using xor
Get common file path

Disassembly:
sub esp, 0x55c
mov eax, dword [0x4c0390]
xor eax, esp
mov dword [esp + 0x558], eax
mov eax, dword [esp + 0x570]
push ebp
mov ebp, dword [esp + 0x570]
push esi
push edi
push str.Profiles_d
mov dword [esp + 0x10], eax
call fcn.00456460
cmp dword [esp + 0x574], 0xffffffff
mov edi, eax
jne 0x47633a
xor esi, esi
mov dword [esp + 0x574], edi
test edi, edi
jle 0x47633a
push esi
lea ecx, [esp + 0x98]
push str.Profiles_d
push ecx
call fcn.0049e0d5
add esp, 0xc
push 0x200
push 0x4b1914
lea edx, [esp + 0x16c]
push edx
push str.Name
lea eax, [esp + 0xa4]
push eax
call fcn.004563a0
mov ecx, ebp
lea eax, [esp + 0x164]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x476323
test dl, dl
je 0x47631f
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x476323
add eax, 2
add ecx, 2
test dl, dl
jne 0x476303
xor eax, eax
jmp 0x476328
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x476333
inc esi
cmp esi, edi
jl 0x4762c0
jmp 0x47633a
mov dword [esp + 0x574], esi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x476351
push 0x50
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00464e60
jmp 0x47636b
mov edx, dword [esp + 0x574]
push edx
lea eax, [esp + 0x14]
push str.Profiles_d
push eax
call fcn.0049e0d5
add esp, 0xc
push ebp
push str.Name
lea ecx, [esp + 0x18]
push ecx
call fcn.00456260
cmp byte [esp + 0x570], 0
je 0x4763bf
xor esi, esi
test edi, edi
jle 0x4763bf
jmp 0x476390
push esi
lea edx, [esp + 0x98]
push str.Profiles_d
push edx
call fcn.0049e0d5
add esp, 0xc
push 0
push str.Default
lea eax, [esp + 0x9c]
push eax
call fcn.004562a0
inc esi
cmp esi, edi
jl 0x476390
movzx ecx, byte [esp + 0x570]
push ecx
push str.Default
lea edx, [esp + 0x18]
push edx
call fcn.004562a0
push str.ArcName
lea eax, [esp + 0x14]
push eax
call fcn.004561e0
push str.FileNames
lea ecx, [esp + 0x14]
push ecx
call fcn.004561e0
push 0
push str.ImmExec
lea edx, [esp + 0x18]
push edx
call fcn.004562a0
test ebx, ebx
je 0x476510
mov esi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push 0x6b
push ebx
call esi
push eax
push str.ImmExec
lea eax, [esp + 0x18]
push eax
call fcn.004562a0
push 0x6d
push ebx
call esi
push eax
push str.AddToMenu
lea ecx, [esp + 0x18]
push ecx
call fcn.004562a0
push 0x66
push ebx
call esi
test eax, eax
je 0x476474
push 0x400
lea edx, [esp + 0x168]
push edx
push 0x67
push ebx
call dword [sym.imp.USER32.dll_GetDlgItemTextA]
lea eax, [esp + 0x164]
push eax
push str.ArcName
lea ecx, [esp + 0x18]
push ecx
call fcn.00456260
push 0x68
push ebx
call esi
test eax, eax
je 0x476510
push 0x69
push ebx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, eax
push ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
mov esi, eax
add esi, 0xa
xor ecx, ecx
mov eax, esi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0049ec14
add esp, 4
push esi
mov edi, eax
push edi
push ebp
call fcn.0047d9c0
push edi
push str.FileNames
lea eax, [esp + 0x18]
push eax
call fcn.00456280
push edi
call fcn.0049ea65
add esp, 4
cmp byte [esp + 0x56c], 0
jne 0x476b45
lea ecx, [esp + 0x164]
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edx, [esp + 0x164]
push edx
push str.CurDir
lea eax, [esp + 0x18]
push eax
call fcn.00456260
jmp 0x47651e
cmp byte [esp + 0x56c], 0
jne 0x476b45
mov ecx, dword [0x4e81b0]
push ecx
call fcn.00465870
mov esi, eax
push esi
call fcn.00464b10
push eax
push str.ExclNames
lea edx, [esp + 0x18]
push edx
call fcn.00456260
push esi
call fcn.0049ea65
mov eax, dword [0x4e81bc]
add esp, 4
push eax
call fcn.00465870
mov esi, eax
push esi
call fcn.00464b10
push eax
push str.StoreNames
lea ecx, [esp + 0x18]
push ecx
call fcn.00456260
push esi
call fcn.0049ea65
add esp, 4
xor edx, edx
cmp dword [0x4e614c], edx
lea eax, [esp + 0x10]
sete dl
push edx
push str.UseRAR
push eax
call fcn.004562a0
push 0x4e32c0
push str.SFXModule
lea ecx, [esp + 0x18]
push ecx
call fcn.00456260
push 0x4b1d54
lea edx, [esp + 0x14]
push edx
call fcn.004561e0
push 0x4e6151
push str.SFXIcon
lea eax, [esp + 0x18]
push eax
call fcn.00456260
push 0x4e6551
push str.SFXLogo
lea ecx, [esp + 0x18]
push ecx
call fcn.00456260
movzx edx, byte [0x4e6951]
push edx
push str.SFXElevate
lea eax, [esp + 0x18]
push eax
call fcn.004562a0
push 0x4e42c0
push str.CmtFile
lea ecx, [esp + 0x18]
push ecx
call fcn.00456260
cmp byte [0x4e42c0], 0
je 0x476618
mov eax, 0x4b1914
jmp 0x476624
mov edx, dword [0x4f6300]
push edx
call fcn.00464b10
mov ecx, eax
lea esi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x476630
sub ecx, esi
inc ecx
push ecx
push eax
push str.CmtTextData
lea eax, [esp + 0x1c]
push eax
call fcn.00456300
mov eax, dword [0x4e5780]
mov ecx, dword [0x4e5784]
cmp eax, 0x7fffffff
jne 0x47667b
cmp ecx, 0x7fffffff
jne 0x47667b
mov ecx, dword [str.Auto]
mov dl, byte [0x4b46b0]
mov dword [esp + 0x60], ecx
mov byte [esp + 0x64], dl
jmp 0x476687
lea edx, [esp + 0x60]
push edx
push ecx
push eax
call fcn.00464ee0
lea eax, [esp + 0x60]
push eax
push str.VolumeSize
lea ecx, [esp + 0x18]
push ecx
call fcn.00456260
movzx edx, byte [0x4e586b]
push edx
push str.VolPause
lea eax, [esp + 0x18]
push eax
call fcn.004562a0
movzx ecx, byte [0x4e5868]
push ecx
push str.OldVolNames
lea edx, [esp + 0x18]
push edx
call fcn.004562a0
mov eax, dword [0x4e5760]
push eax
push str.RecVolNumber
lea ecx, [esp + 0x18]
push ecx
call fcn.004562a0
movzx edx, byte [0x4e5775]
push edx
push str.Update
lea eax, [esp + 0x18]
push eax
call fcn.004562a0
movzx ecx, byte [0x4e5774]
push ecx
push str.Fresh
lea edx, [esp + 0x18]
push edx
call fcn.004562a0
movzx eax, byte [0x4e57b6]
push eax
push str.SyncFiles
lea ecx, [esp + 0x18]
push ecx
call fcn.004562a0
mov edx, dword [0x4e5754]
push edx
push str.Overwrite
lea eax, [esp + 0x18]
push eax
call fcn.004562a0
movzx ecx, byte [0x4e57b3]
push ecx
push str.Move
lea edx, [esp + 0x18]
push edx
call fcn.004562a0
movzx eax, byte [0x4e57b5]
push eax
push str.ArcRecBin
lea ecx, [esp + 0x18]
push ecx
call fcn.004562a0
movzx edx, byte [0x4e57b4]
push edx
push str.ArcWipe
lea eax, [esp + 0x18]
push eax
call fcn.004562a0
mov ecx, dword [0x4e5768]
push ecx
push str.Solid
lea edx, [esp + 0x18]
push edx
call fcn.004562a0
movzx eax, byte [0x4e5772]
push eax
push 0x4b18bc
lea ecx, [esp + 0x18]
push ecx
call fcn.004562a0
movzx edx, byte [0x4e586a]
push edx
push str.Test
lea eax, [esp + 0x18]
push eax
call fcn.004562a0
mov ecx, dword [0x4e575c]
push ecx
push str.Recovery
lea edx, [esp + 0x18]
push edx
call fcn.004562a0
movzx eax, byte [0x4e57b1]
push eax
push str.EraseDest
lea ecx, [esp + 0x18]
push ecx
call fcn.004562a0
movzx edx, byte [0x4e5771]
push edx
push str.AddArcOnly
lea eax, [esp + 0x18]
push eax
call fcn.004562a0
movzx ecx, byte [0x4e5770]
push ecx
push str.ClearArc
lea edx, [esp + 0x18]
push edx
call fcn.004562a0
movzx eax, byte [0x4e5869]
push eax
push str.Lock
lea ecx, [esp + 0x18]
push ecx
call fcn.004562a0
mov edx, dword [0x4e5758]
push edx
push str.Method
lea eax, [esp + 0x18]
push eax
call fcn.004562a0
mov ecx, dword [0x4e2ebc]
push ecx
push str.DictSizeLZ
lea edx, [esp + 0x18]
push edx
call fcn.004562a0
movzx eax, byte [0x4e6952]
push eax
push str.Background
lea ecx, [esp + 0x18]
push ecx
call fcn.004562a0
movzx edx, byte [0x4e6953]
push edx
push str.WaitForOther
lea eax, [esp + 0x18]
push eax
call fcn.004562a0
movzx ecx, byte [0x4e5d32]
push ecx
push str.Shutdown
lea edx, [esp + 0x18]
push edx
call fcn.004562a0
xor eax, eax
jmp 0x4768b0
mov cl, byte [eax + 0x4e52c8]
mov byte [esp + eax + 0xe4], cl
inc eax
test cl, cl
jne 0x4768b0
lea eax, [esp + 0xe4]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4768d0
sub eax, edx
lea ecx, [eax + 1]
xor eax, eax
test ecx, ecx
jbe 0x4768f3
mov dl, al
add dl, 0x49
xor byte [esp + eax + 0xe4], dl
inc eax
cmp eax, ecx
jb 0x4768e2
push ecx
lea eax, [esp + 0xe8]
push eax
push str.Password
lea ecx, [esp + 0x1c]
push ecx
call fcn.00456300
movzx edx, byte [0x4e5348]
push edx
push str.EncryptHeaders
lea eax, [esp + 0x18]
push eax
call fcn.004562a0
movzx ecx, byte [0x4e57b2]
push ecx
push str.OpenShared
lea edx, [esp + 0x18]
push edx
call fcn.004562a0
movzx eax, byte [0x4e57a4]
push eax
push str.ProcessOwners
lea ecx, [esp + 0x18]
push ecx
call fcn.004562a0
movzx edx, byte [0x4e5809]
push edx
push str.SaveStreams
lea eax, [esp + 0x18]
push eax
call fcn.004562a0
movzx ecx, byte [0x4e57b7]
push ecx
push str.GenerateArcName
lea edx, [esp + 0x18]
push edx
call fcn.004562a0
mov eax, dword [0x4e5d2c]
push eax
push str.VersionControl
lea ecx, [esp + 0x18]
push ecx
call fcn.004562a0
push 0x4e57b8
push str.GenerateMask
lea edx, [esp + 0x18]
push edx
call fcn.00456260
mov eax, dword [0x4f6308]
push eax
push str.FileTimeMode
lea ecx, [esp + 0x18]
push ecx
call fcn.004562a0
mov edx, dword [0x4f630c]
push edx
push str.FileDays
lea eax, [esp + 0x18]
push eax
call fcn.004562a0
mov ecx, dword [0x4f6310]
push ecx
push str.FileHours
lea edx, [esp + 0x18]
push edx
call fcn.004562a0
mov eax, dword [0x4f6314]
push eax
push str.FileMinutes
lea ecx, [esp + 0x18]
push ecx
call fcn.004562a0
mov ecx, 0x4e580c
call fcn.00467a30
push eax
push str.FileTimeBefore
lea edx, [esp + 0x18]
push edx
call fcn.004562a0
mov ecx, 0x4e5830
call fcn.00467a30
push eax
push str.FileTimeAfter
lea eax, [esp + 0x18]
push eax
call fcn.004562a0
xor ecx, ecx
cmp dword [0x4e579c], 1
lea edx, [esp + 0x10]
sete cl
push ecx
push str.ArcTimeOriginal
push edx
call fcn.004562a0
xor eax, eax
mov esi, 2
cmp dword [0x4e579c], esi
lea ecx, [esp + 0x10]
sete al
push eax
push str.ArcTimeLatest
push ecx
call fcn.004562a0
mov edx, dword [0x4e5d34]
push edx
push str.mtime
lea eax, [esp + 0x18]
push eax
call fcn.004562a0
mov ecx, dword [0x4e5d38]
push ecx
push str.ctime
lea edx, [esp + 0x18]
push edx
call fcn.004562a0
mov eax, dword [0x4e5d3c]
push eax
push str.atime
lea ecx, [esp + 0x18]
push ecx
call fcn.004562a0
xor edx, edx
cmp dword [0x4e5778], 3
lea eax, [esp + 0x10]
sete dl
push edx
push str.PathsAbs
push eax
call fcn.004562a0
xor ecx, ecx
cmp dword [0x4e5778], esi
lea edx, [esp + 0x10]
sete cl
push ecx
push str.PathsNone
push edx
call fcn.004562a0
xor eax, eax
cmp dword [0x4e5778], 5
lea ecx, [esp + 0x10]
sete al
push eax
push str.PathsAbsDrive
push ecx
call fcn.004562a0
movzx edx, byte [0x4f631a]
push edx
push str.SeparateArc
lea eax, [esp + 0x18]
push eax
call fcn.004562a0
push 0x4e592c
push str.EmailArcTo
lea ecx, [esp + 0x18]
push ecx
call fcn.00456260
push 0xc0
push 0x4e586c
push str.PackDetails
lea edx, [esp + 0x1c]
push edx
call fcn.00456300
mov ecx, dword [esp + 0x564]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0049e0c6
add esp, 0x55c
ret 0x14