Function at 0x497bf0
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x23ac
call fcn.004c0c80
mov eax, dword [0x4eb984]
xor eax, esp
mov dword [esp + 0x23a8], eax
mov eax, dword [esp + 0x23b8]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
je 0x497c26
push 0x50
push eax
lea eax, [esp + 0x14]
push eax
call fcn.0047ef70
jmp 0x497c45
mov ecx, dword [esp + 0x23b8]
push ecx
lea edx, [esp + 0x10]
push str.Profiles_d
push edx
mov edx, 0x50
call fcn.00495190
add esp, 0xc
push 0x800
push 0x4d79fc
lea eax, [esp + 0x3b8]
push eax
push str.ArcName
lea ecx, [esp + 0x1c]
push ecx
call fcn.0046c5c0
cmp word [esp + 0x3b0], bx
je 0x497c97
xor eax, eax
jmp 0x497c80
movzx ecx, word [esp + eax + 0x3b0]
mov word [eax + 0x550d52], cx
add eax, 2
cmp cx, bx
jne 0x497c80
push edi
cmp byte [esp + 0x23c0], bl
je 0x497de4
push str.FileNames
lea edx, [esp + 0x14]
push edx
call fcn.0046c640
cmp eax, ebx
jle 0x497d84
lea edi, [eax + eax + 0xa]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c0c57
add esp, 4
push edi
push 0x4d79fc
mov esi, eax
push esi
push str.FileNames
lea eax, [esp + 0x20]
push eax
call fcn.0046c5c0
push ebx
push ebx
push 0x551d54
push esi
call fcn.0047f8d0
push esi
call fcn.004c172a
add esp, 4
push 0x800
push 0x4d79fc
lea ecx, [esp + 0x13bc]
push ecx
push str.CurDir
lea edx, [esp + 0x20]
push edx
mov byte [0x56c7c6], 1
call fcn.0046c5c0
cmp word [esp + 0x13b4], bx
je 0x497d84
lea eax, [esp + 0x13b4]
push eax
mov ecx, 0x53fdc8
call fcn.00450b30
mov byte [0x56c7c6], 1
cmp word [0x550d52], bx
je 0x497d84
push 0x550d52
call fcn.00460c20
test al, al
jne 0x497d84
push 0x800
push 0x550d52
push 0x550d52
mov ecx, 0x53fdc8
call fcn.0044bbf0
push str.ExclNames
lea ecx, [esp + 0x14]
push ecx
call fcn.0046c640
cmp eax, ebx
jle 0x497de4
lea edi, [eax + eax + 0xa]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c0c57
add esp, 4
push edi
push 0x4d79fc
mov esi, eax
push esi
push str.ExclNames
lea eax, [esp + 0x20]
push eax
call fcn.0046c5c0
push ebx
push ebx
push 0x551db0
push esi
call fcn.0047f8d0
push esi
call fcn.004c172a
add esp, 4
push str.StoreNames
lea ecx, [esp + 0x14]
push ecx
call fcn.0046c640
cmp eax, 0x200
jg 0x497dff
mov eax, 0x200
lea edi, [eax + eax + 0xa]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c0c57
add esp, 4
push edi
push str..rar_.zip_.cab_.7z_.ace_.arj_.bz2_.gz_.lha_.lzh_.taz_.tgz
mov esi, eax
push esi
push str.StoreNames
lea eax, [esp + 0x20]
push eax
call fcn.0046c5c0
push ebx
push ebx
push 0x551ec4
push esi
call fcn.0047f8d0
push esi
call fcn.004c172a
add esp, 4
push ebx
push str.Default
lea ecx, [esp + 0x18]
push ecx
call fcn.0046c5f0
push 1
push str.UseRAR
lea edx, [esp + 0x18]
test eax, eax
push edx
setne byte [esp + 0x1b]
call fcn.0046c5f0
neg eax
sbb eax, eax
inc eax
mov dword [0x54dcf0], eax
cmp eax, ebx
jne 0x497e9d
push ebx
push 0x4dd8e0
lea eax, [esp + 0x18]
push eax
call fcn.0046c5f0
mov byte [0x54bacf], 1
test eax, eax
jne 0x497ea3
mov byte [0x54bacf], bl
push 0x800
push 0x4d79fc
push 0x546948
push str.SFXModule
lea ecx, [esp + 0x20]
push ecx
call fcn.0046c5c0
cmp word [0x546948], bx
jne 0x497eef
push ebx
push 0x4d81d8
lea edx, [esp + 0x18]
push edx
call fcn.0046c5f0
neg eax
sbb eax, eax
and eax, 0x2a
mov word [0x546948], ax
xor eax, eax
mov word [0x54694a], ax
push 0x800
push 0x4d79fc
push 0x54dcfa
push str.SFXIcon
lea ecx, [esp + 0x20]
push ecx
call fcn.0046c5c0
push 0x800
push 0x4d79fc
push 0x54ecfa
push str.SFXLogo
lea edx, [esp + 0x20]
push edx
call fcn.0046c5c0
push ebx
push str.SFXElevate
lea eax, [esp + 0x18]
push eax
call fcn.0046c5f0
test eax, eax
push 0x4d781c
setne cl
push 0x550d52
mov byte [0x54fcfa], cl
call fcn.00460550
movzx edx, al
xor eax, eax
cmp word [0x546948], bx
setne al
cmp edx, eax
jne 0x497f82
push 1
push ebx
push 1
push ebx
push ebx
push 0x550d52
mov ecx, 0x541ef0
call fcn.00419120
test al, al
je 0x497fa6
cmp word [0x546948], bx
mov ecx, dword [0x54dcf0]
setne dl
push ecx
movzx eax, dl
push eax
push 0x800
push 0x550d52
call fcn.004978e0
push 0x800
push 0x4d79fc
push 0x54894e
push str.CmtFile
lea ecx, [esp + 0x20]
push ecx
call fcn.0046c5c0
push 0x20000
call fcn.004c0c57
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4980cc
push 0x20000
push ebx
push esi
push str.CmtDataWide
lea edx, [esp + 0x20]
push edx
call fcn.0046c610
cmp word [esi], bx
jne 0x49804f
push 0x10000
push 0x4d79fc
push esi
push str.CmtTextWide
lea eax, [esp + 0x20]
push eax
call fcn.0046c5c0
cmp word [esi], bx
jne 0x49804f
push 0x10000
call fcn.004c0c57
add esp, 4
push 0x10000
push ebx
mov edi, eax
push edi
push str.CmtTextData
lea ecx, [esp + 0x20]
push ecx
call fcn.0046c610
push 0x10000
push esi
push edi
call fcn.00486590
push edi
call fcn.004c172a
add esp, 4
xor edx, edx
mov word [esi + 0x1fffe], dx
mov eax, dword [0x56c7ac]
push eax
cmp word [esi], bx
je 0x4980b5
call fcn.004c172a
mov eax, esi
add esp, 4
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x498070
sub eax, edx
sar eax, 1
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004c0c57
add esp, 4
mov dword [0x56c7ac], eax
mov ecx, esi
mov edx, eax
movzx eax, word [ecx]
mov word [edx], ax
add ecx, 2
add edx, 2
cmp ax, bx
jne 0x4980a2
jmp 0x4980c3
call fcn.004c172a
add esp, 4
mov dword [0x56c7ac], ebx
push esi
call fcn.004c172a
add esp, 4
push 0x32
push 0x4d79fc
lea ecx, [esp + 0x1b8]
push ecx
push str.VolumeSize
lea edx, [esp + 0x20]
push edx
call fcn.0046c5c0
mov ax, word [esp + 0x1b0]
cmp ax, bx
jne 0x49810a
push ebx
push str.VolSize
lea eax, [esp + 0x18]
push eax
call fcn.0046c5f0
cdq
jmp 0x498136
xor ecx, ecx
cmp ax, 0x41
sete cl
push ecx
call fcn.00486ab0
test eax, eax
je 0x498129
mov eax, 0x7fffffff
mov dword [0x54ba9c], eax
jmp 0x49813c
lea edx, [esp + 0x1b0]
push edx
call fcn.00486ad0
mov dword [0x54ba9c], edx
push 2
mov dword [0x54ba98], eax
push str.VolSizeMod
lea eax, [esp + 0x18]
push eax
call fcn.0046c5f0
push ebx
push str.VolPause
lea ecx, [esp + 0x18]
push ecx
mov dword [0x54fd08], eax
call fcn.0046c5f0
push ebx
test eax, eax
push str.OldVolNames
lea eax, [esp + 0x18]
setne dl
push eax
mov byte [0x54bc12], dl
call fcn.0046c5f0
push ebx
test eax, eax
push str.RecVolNumber
lea edx, [esp + 0x18]
setne cl
push edx
mov byte [0x54bad4], cl
call fcn.0046c5f0
push ebx
mov dword [0x54ba78], eax
push str.Update
lea eax, [esp + 0x18]
push eax
call fcn.0046c5f0
push ebx
test eax, eax
push str.Fresh
lea edx, [esp + 0x18]
setne cl
push edx
mov byte [0x54ba8c], cl
call fcn.0046c5f0
push ebx
test eax, eax
push str.SyncFiles
lea ecx, [esp + 0x18]
setne al
push ecx
mov byte [0x54ba8b], al
call fcn.0046c5f0
push ebx
test eax, eax
push str.Overwrite
lea eax, [esp + 0x18]
setne dl
push eax
mov byte [0x54bbea], dl
call fcn.0046c5f0
push ebx
push str.Move
lea ecx, [esp + 0x18]
push ecx
mov dword [0x54ba68], eax
call fcn.0046c5f0
push ebx
test eax, eax
push str.ArcRecBin
lea eax, [esp + 0x18]
setne dl
push eax
mov byte [0x54bace], dl
call fcn.0046c5f0
push ebx
test eax, eax
push str.ArcWipe
lea edx, [esp + 0x18]
setne cl
push edx
mov byte [0x54bad2], cl
call fcn.0046c5f0
test eax, eax
push ebx
push str.WipeIfPassword
lea ecx, [esp + 0x18]
setne al
push ecx
mov byte [0x54bad1], al
call fcn.0046c5f0
push 1
test eax, eax
push str.Solid
lea eax, [esp + 0x18]
setne dl
push eax
mov byte [0x54fd05], dl
call fcn.0046c5f0
push ebx
push str.Test
lea ecx, [esp + 0x18]
push ecx
mov dword [0x54ba80], eax
call fcn.0046c5f0
push ebx
test eax, eax
push str.Recovery
lea eax, [esp + 0x18]
setne dl
push eax
mov byte [0x54bc11], dl
call fcn.0046c5f0
push ebx
push str.EraseDest
lea ecx, [esp + 0x18]
push ecx
mov dword [0x54ba74], eax
call fcn.0046c5f0
push ebx
test eax, eax
push str.AddArcOnly
lea eax, [esp + 0x18]
setne dl
push eax
mov byte [0x54bad0], dl
call fcn.0046c5f0
push ebx
test eax, eax
push str.ClearArc
lea edx, [esp + 0x18]
setne cl
push edx
mov byte [0x54ba89], cl
call fcn.0046c5f0
push ebx
test eax, eax
push str.Lock
lea ecx, [esp + 0x18]
setne al
push ecx
mov byte [0x54ba88], al
call fcn.0046c5f0
mov edi, 3
push edi
test eax, eax
push str.Method
lea eax, [esp + 0x18]
setne dl
push eax
mov byte [0x54bc10], dl
call fcn.0046c5f0
push 0x400000
push str.DictSizeLZ
lea ecx, [esp + 0x18]
push ecx
mov dword [0x54ba6c], eax
call fcn.0046c5f0
push 0x2000000
push str.DictSize
lea edx, [esp + 0x18]
push edx
mov dword [0x545944], eax
call fcn.0046c5f0
mov dword [0x54dcf4], eax
push 0x100
lea ecx, [esp + 0xb4]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x220], ax
call fcn.004c16b0
add esp, 0xc
push 0x100
push ebx
lea edx, [esp + 0xb8]
push edx
push str.PasswordWide
lea eax, [esp + 0x20]
push eax
call fcn.0046c610
cmp eax, ebx
jne 0x49840f
push 0x100
push ebx
lea ecx, [esp + 0xb8]
push ecx
push str.Password
lea edx, [esp + 0x20]
push edx
mov byte [esp + 0xc4], bl
call fcn.0046c610
xor ecx, ecx
cmp eax, ebx
jle 0x4983f3
lea ebx, [ebx]
mov dl, cl
add dl, 0x49
xor byte [esp + ecx + 0xb0], dl
je 0x4983f3
inc ecx
cmp ecx, eax
jl 0x4983e0
push 0x80
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0xb8]
push ecx
call fcn.00486590
jmp 0x49844b
xor ecx, ecx
cmp eax, ebx
jle 0x498431
jmp 0x498420
mov dl, cl
add dl, 0x49
xor byte [esp + ecx + 0xb0], dl
inc ecx
cmp ecx, eax
jl 0x498420
push 0x80
lea eax, [esp + 0x218]
push eax
lea ecx, [esp + 0xb8]
push ecx
call fcn.00486610
cmp byte [esp + 0xf], bl
je 0x498461
cmp byte [0x54aa5c], bl
jne 0x49848e
cmp byte [0x54aa5e], bl
jne 0x49848e
lea edx, [esp + 0x214]
push edx
mov ecx, 0x54a95c
call fcn.00478550
push ebx
push str.EncryptHeaders
lea eax, [esp + 0x18]
push eax
call fcn.0046c5f0
test eax, eax
setne cl
mov byte [0x54aa5e], cl
push 0x100
lea edx, [esp + 0x218]
push edx
call fcn.004784d0
push 0x100
lea eax, [esp + 0xb4]
push eax
call fcn.004784d0
push ebx
push str.OpenShared
lea ecx, [esp + 0x18]
push ecx
call fcn.0046c5f0
push ebx
test eax, eax
push str.ProcessOwners
lea eax, [esp + 0x18]
setne dl
push eax
mov byte [0x54bacd], dl
call fcn.0046c5f0
push 1
test eax, eax
push str.SaveStreams
lea edx, [esp + 0x18]
setne cl
push edx
mov byte [0x54bac0], cl
call fcn.0046c5f0
push ebx
test eax, eax
push str.SaveSymLinks
lea ecx, [esp + 0x18]
setne al
push ecx
mov byte [0x54bbec], al
call fcn.0046c5f0
push ebx
test eax, eax
push str.SaveHardLinks
lea eax, [esp + 0x18]
setne dl
push eax
mov byte [0x54bac1], dl
call fcn.0046c5f0
push ebx
test eax, eax
push str.Background
lea edx, [esp + 0x18]
setne cl
push edx
mov byte [0x54bac2], cl
call fcn.0046c5f0
push ebx
test eax, eax
push str.WaitForOther
lea ecx, [esp + 0x18]
setne al
push ecx
mov byte [0x54fcfb], al
call fcn.0046c5f0
push ebx
test eax, eax
push str.Shutdown
lea eax, [esp + 0x18]
setne dl
push eax
mov byte [0x54fcfc], dl
call fcn.0046c5f0
push ebx
test eax, eax
push str.GenerateArcName
lea edx, [esp + 0x18]
setne cl
push edx
mov byte [0x54ccd9], cl
call fcn.0046c5f0
test eax, eax
setne al
mov byte [0x54bae8], al
push ebx
push str.VersionControl
lea ecx, [esp + 0x18]
push ecx
call fcn.0046c5f0
push ebx
push 0x4dd59c
lea edx, [esp + 0x18]
push edx
mov dword [0x54ccd4], eax
call fcn.0046c5f0
neg eax
sbb eax, eax
neg eax
add eax, 2
push ebx
mov dword [0x54ba70], eax
push str.FileCopies
lea eax, [esp + 0x18]
push eax
call fcn.0046c5f0
neg eax
push 1
sbb eax, eax
push str.QuickOpen
lea ecx, [esp + 0x18]
neg eax
push ecx
mov dword [0x54bad8], eax
call fcn.0046c5f0
push 0x80
push str.yyyymmddhhmmss
push 0x54baea
push str.GenerateMask
lea edx, [esp + 0x20]
push edx
mov dword [0x547948], eax
call fcn.0046c5c0
mov esi, 4
cmp word [0x54baea], bx
je 0x49866d
mov ecx, str.yyyymmddhhnnss
mov eax, 0x54baea
lea ecx, [ecx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x498664
cmp dx, bx
je 0x498660
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x498664
add eax, esi
add ecx, esi
cmp dx, bx
jne 0x498640
xor eax, eax
jmp 0x498669
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x498686
xor eax, eax
nop
movzx ecx, word [eax + str.yyyymmddhhmmss]
mov word [eax + 0x54baea], cx
add eax, 2
cmp cx, bx
jne 0x498670
push ebx
push str.FileTimeMode
lea eax, [esp + 0x18]
push eax
call fcn.0046c5f0
push ebx
push str.FileDays
lea ecx, [esp + 0x18]
push ecx
mov dword [0x56c7b4], eax
call fcn.0046c5f0
push ebx
push str.FileHours
lea edx, [esp + 0x18]
push edx
mov dword [0x56c7b8], eax
call fcn.0046c5f0
push ebx
mov dword [0x56c7bc], eax
push str.FileMinutes
lea eax, [esp + 0x18]
push eax
call fcn.0046c5f0
mov ecx, dword [0x56c7b4]
mov dword [0x56c7c0], eax
mov dword [0x54bbf0], ebx
mov dword [0x54bbf4], ebx
mov dword [0x54bbf8], ebx
mov dword [0x54bbfc], ebx
cmp ecx, 1
je 0x498702
cmp ecx, 2
jne 0x49875b
mov ecx, dword [0x56c7bc]
mov edx, dword [0x56c7b8]
push eax
push ecx
push edx
lea eax, [esp + 0x320]
push str._dd_dh_dm
push eax
mov edx, 0x50
call fcn.00495190
add esp, 0x14
cmp dword [0x56c7b4], 1
jne 0x498743
lea ecx, [esp + 0x314]
push ecx
mov ecx, 0x54bbf0
jmp 0x498750
lea edx, [esp + 0x314]
push edx
mov ecx, 0x54bbf8
call fcn.00482570
mov ecx, dword [0x56c7b4]
cmp ecx, edi
je 0x498763
cmp ecx, esi
jne 0x4987b1
push ebx
push str.FileTimeBefore
lea eax, [esp + 0x18]
push eax
call fcn.0046c5f0
cmp eax, ebx
je 0x49878a
cmp dword [0x56c7b4], edi
jne 0x49878a
push eax
mov ecx, 0x54bbf0
call fcn.00482420
push ebx
push str.FileTimeAfter
lea ecx, [esp + 0x18]
push ecx
call fcn.0046c5f0
cmp eax, ebx
je 0x4987b1
cmp dword [0x56c7b4], esi
jne 0x4987b1
push eax
mov ecx, 0x54bbf8
call fcn.00482420
push ebx
push str.ArcTimeOriginal
lea edx, [esp + 0x18]
push edx
mov dword [0x54bab8], ebx
call fcn.0046c5f0
test eax, eax
je 0x4987d5
mov dword [0x54bab8], 1
push ebx
push str.ArcTimeLatest
lea eax, [esp + 0x18]
push eax
call fcn.0046c5f0
test eax, eax
je 0x4987f3
mov dword [0x54bab8], 2
push esi
push str.mtime
lea ecx, [esp + 0x18]
push ecx
call fcn.0046c5f0
push ebx
push str.ctime
lea edx, [esp + 0x18]
push edx
mov dword [0x54ccdc], eax
call fcn.0046c5f0
push ebx
mov dword [0x54cce0], eax
push str.atime
lea eax, [esp + 0x18]
push eax
call fcn.0046c5f0
mov ecx, dword [0x551d68]
neg ecx
push ebx
sbb ecx, ecx
push str.PathsAbs
lea edx, [esp + 0x18]
and ecx, 5
push edx
mov dword [0x54cce4], eax
mov dword [0x54ba90], ecx
call fcn.0046c5f0
test eax, eax
je 0x49885f
mov dword [0x54ba90], edi
push ebx
push str.PathsNone
lea eax, [esp + 0x18]
push eax
call fcn.0046c5f0
pop edi
test eax, eax
je 0x49887e
mov dword [0x54ba90], 1
push ebx
push str.PathsAbsDrive
lea ecx, [esp + 0x14]
push ecx
call fcn.0046c5f0
test eax, eax
je 0x498898
mov dword [0x54ba90], esi
push ebx
push str.ImmExec
lea edx, [esp + 0x14]
push edx
call fcn.0046c5f0
push ebx
test eax, eax
push str.SeparateArc
lea ecx, [esp + 0x14]
setne al
push ecx
mov byte [0x56c7c4], al
call fcn.0046c5f0
push 0x800
push 0x4d79fc
push 0x54bcd4
test eax, eax
push str.EmailArcTo
lea eax, [esp + 0x1c]
setne dl
push eax
mov byte [0x54fd14], dl
call fcn.0046c5c0
push 0xc0
push ebx
push 0x54bc14
push str.PackDetails
lea ecx, [esp + 0x1c]
push ecx
call fcn.0046c610
mov ecx, dword [esp + 0x23b0]
pop esi
pop ebx
xor ecx, esp
call fcn.004c0c62
add esp, 0x23ac
ret 0xc