Function at 0x4a6b50
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x246c
call fcn.004df2e0
mov eax, dword [0x50fb70]
xor eax, esp
mov dword [esp + 0x2468], eax
mov eax, dword [esp + 0x2478]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
je 0x4a6b89
push 0x50
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.00466930
jmp 0x4a6bab
mov ecx, dword [esp + 0x2478]
push ecx
lea edx, [esp + 0xd0]
push str.Profiles_d
push edx
mov edx, 0x50
call fcn.00493540
add esp, 0xc
push 0x800
push 0x4f9a98
lea eax, [esp + 0x1478]
push eax
push str.ArcName
lea ecx, [esp + 0xdc]
push ecx
call fcn.004964f0
cmp word [esp + 0x1470], bx
je 0x4a6bf7
xor eax, eax
jmp 0x4a6be0
movzx ecx, word [esp + eax + 0x1470]
mov word [eax + 0x550b7a], cx
add eax, 2
cmp cx, bx
jne 0x4a6be0
push edi
cmp byte [esp + 0x2480], bl
je 0x4a6d64
push str.FileNames
lea edx, [esp + 0xd4]
push edx
call fcn.00496570
cmp eax, ebx
jle 0x4a6cfe
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.004df0da
add esp, 4
push edi
push 0x4f9a98
mov esi, eax
push esi
push str.FileNames
lea eax, [esp + 0xe0]
push eax
call fcn.004964f0
push ebx
push ebx
push 0x551b7c
push esi
call fcn.0049dac0
push esi
call fcn.004e0284
add esp, 4
push 0x800
push 0x4f9a98
lea ecx, [esp + 0x47c]
push ecx
push str.CurDir
lea edx, [esp + 0xe0]
push edx
mov byte [0x561d16], 1
call fcn.004964f0
cmp word [esp + 0x474], bx
je 0x4a6cfe
lea eax, [esp + 0x474]
push eax
call fcn.004432f0
test al, al
je 0x4a6cfe
lea ecx, [esp + 0x474]
push ecx
mov ecx, 0x53fd10
call fcn.00490fd0
mov byte [0x561d16], 1
cmp word [0x550b7a], bx
je 0x4a6cfe
push 0x550b7a
call fcn.00451840
test al, al
jne 0x4a6cfe
push 0x800
push 0x550b7a
push 0x550b7a
mov ecx, 0x53fd10
call fcn.0048bb10
push str.ExclNames
lea edx, [esp + 0xd4]
push edx
call fcn.00496570
cmp eax, ebx
jle 0x4a6d64
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.004df0da
add esp, 4
push edi
push 0x4f9a98
mov esi, eax
push esi
push str.ExclNames
lea eax, [esp + 0xe0]
push eax
call fcn.004964f0
push ebx
push ebx
push 0x551bd8
push esi
call fcn.0049dac0
push esi
call fcn.004e0284
add esp, 4
push str.StoreNames
lea ecx, [esp + 0xd4]
push ecx
call fcn.00496570
cmp eax, 0x200
jg 0x4a6d82
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.004df0da
add esp, 4
push edi
push str..rar_.zip_.cab_.7z_.ace_.arj_.bz2_.gz_.lha_.lzh_.taz_.tgz_.xz_.txz
mov esi, eax
push esi
push str.StoreNames
lea eax, [esp + 0xe0]
push eax
call fcn.004964f0
push ebx
push ebx
push 0x551cec
push esi
call fcn.0049dac0
push esi
call fcn.004e0284
add esp, 4
push ebx
push str.Default
lea ecx, [esp + 0xd8]
push ecx
call fcn.00496520
push 1
push str.UseRAR
lea edx, [esp + 0xd8]
test eax, eax
push edx
setne byte [esp + 0x1b]
call fcn.00496520
neg eax
sbb eax, eax
inc eax
mov dword [0x54db28], eax
cmp eax, ebx
jne 0x4a6e2c
push ebx
push 0x4fffd0
lea eax, [esp + 0xd8]
push eax
call fcn.00496520
mov byte [0x54b907], 1
test eax, eax
jne 0x4a6e32
mov byte [0x54b907], bl
push 0x800
push 0x4f9a98
push 0x546780
push str.SFXModule
lea ecx, [esp + 0xe0]
push ecx
call fcn.004964f0
cmp word [0x546780], bx
jne 0x4a6e84
push ebx
push 0x4faaec
lea edx, [esp + 0xd8]
push edx
call fcn.00496520
neg eax
sbb eax, eax
and eax, 0x2a
mov word [0x546780], ax
xor eax, eax
mov word [0x546782], ax
push 0x800
push 0x4f9a98
push 0x54db32
push str.SFXIcon
lea ecx, [esp + 0xe0]
push ecx
call fcn.004964f0
push 0x800
push 0x4f9a98
push 0x54eb32
push str.SFXLogo
lea edx, [esp + 0xe0]
push edx
call fcn.004964f0
push ebx
push str.SFXElevate
lea eax, [esp + 0xd8]
push eax
call fcn.00496520
test eax, eax
push 0x4fa8a8
setne cl
push 0x550b7a
mov byte [0x54fb32], cl
call fcn.00451140
movzx edx, al
xor eax, eax
cmp word [0x546780], bx
setne al
cmp edx, eax
jne 0x4a6f20
push 1
push ebx
push 1
push ebx
push ebx
push 0x550b7a
mov ecx, 0x541e38
call fcn.00478a20
test al, al
je 0x4a6f44
cmp word [0x546780], bx
mov ecx, dword [0x54db28]
setne dl
push ecx
movzx eax, dl
push eax
push 0x800
push 0x550b7a
call fcn.004a6840
push 0x800
push 0x4f9a98
push 0x548786
push str.CmtFile
lea ecx, [esp + 0xe0]
push ecx
call fcn.004964f0
push 0x20000
call fcn.004df0da
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4a707c
push 0x20000
push ebx
push esi
push str.CmtDataWide
lea edx, [esp + 0xe0]
push edx
call fcn.00496540
cmp word [esi], bx
jne 0x4a6ff9
push 0x10000
push 0x4f9a98
push esi
push str.CmtTextWide
lea eax, [esp + 0xe0]
push eax
call fcn.004964f0
cmp word [esi], bx
jne 0x4a6ff9
push 0x10000
call fcn.004df0da
add esp, 4
push 0x10000
push ebx
mov edi, eax
push edi
push str.CmtTextData
lea ecx, [esp + 0xe0]
push ecx
call fcn.00496540
push 0x10000
push esi
push edi
call fcn.00469820
push edi
call fcn.004e0284
add esp, 4
xor edx, edx
mov word [esi + 0x1fffe], dx
mov eax, dword [0x561cfc]
push eax
cmp word [esi], bx
je 0x4a7065
call fcn.004e0284
mov eax, esi
add esp, 4
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4a7020
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.004df0da
add esp, 4
mov dword [0x561cfc], 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 0x4a7052
jmp 0x4a7073
call fcn.004e0284
add esp, 4
mov dword [0x561cfc], ebx
push esi
call fcn.004e0284
add esp, 4
push 0x32
push 0x4f9a98
lea ecx, [esp + 0x278]
push ecx
push str.VolumeSize
lea edx, [esp + 0xe0]
push edx
call fcn.004964f0
mov ax, word [esp + 0x270]
cmp ax, bx
jne 0x4a70c0
push ebx
push str.VolSize
lea eax, [esp + 0xd8]
push eax
call fcn.00496520
cdq
jmp 0x4a70ec
xor ecx, ecx
cmp ax, 0x41
sete cl
push ecx
call fcn.00469db0
test eax, eax
je 0x4a70df
mov eax, SysReAllocString
mov dword [0x54b8d4], eax
jmp 0x4a70f2
lea edx, [esp + 0x270]
push edx
call fcn.00469df0
mov dword [0x54b8d4], edx
push 2
mov dword [0x54b8d0], eax
push str.VolSizeMod
lea eax, [esp + 0xd8]
push eax
call fcn.00496520
push ebx
push str.VolPause
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x54fb40], eax
call fcn.00496520
push ebx
test eax, eax
push str.OldVolNames
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54ba4a], dl
call fcn.00496520
push ebx
test eax, eax
push str.RecVolNumber
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54b90c], cl
call fcn.00496520
push ebx
mov dword [0x54b8b0], eax
push str.Update
lea eax, [esp + 0xd8]
push eax
call fcn.00496520
push ebx
test eax, eax
push str.Fresh
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54b8c4], cl
call fcn.00496520
push ebx
test eax, eax
push str.SyncFiles
lea ecx, [esp + 0xd8]
setne al
push ecx
mov byte [0x54b8c3], al
call fcn.00496520
push ebx
test eax, eax
push str.Overwrite
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54ba22], dl
call fcn.00496520
push ebx
push str.Move
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x54b8a0], eax
call fcn.00496520
push ebx
test eax, eax
push str.ArcRecBin
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54b906], dl
call fcn.00496520
push ebx
test eax, eax
push str.ArcWipe
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54b90a], cl
call fcn.00496520
test eax, eax
push ebx
push str.WipeIfPassword
lea ecx, [esp + 0xd8]
setne al
push ecx
mov byte [0x54b909], al
call fcn.00496520
push ebx
test eax, eax
push str.Solid
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54fb3d], dl
call fcn.00496520
push ebx
push str.Test
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x54b8b8], eax
call fcn.00496520
push ebx
test eax, eax
push str.Recovery
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54ba49], dl
call fcn.00496520
push ebx
push str.EraseDest
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x54b8ac], eax
call fcn.00496520
push ebx
test eax, eax
push str.AddArcOnly
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54b908], dl
call fcn.00496520
push ebx
test eax, eax
push str.ClearArc
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54b8c1], cl
call fcn.00496520
push ebx
test eax, eax
push str.Lock
lea ecx, [esp + 0xd8]
setne al
push ecx
mov byte [0x54b8c0], al
call fcn.00496520
mov edi, 3
push edi
test eax, eax
push str.Method
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54ba48], dl
call fcn.00496520
push 0x400000
push str.DictSizeLZ
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x54b8a4], eax
call fcn.00496520
push 0x2000000
push str.DictSize
lea edx, [esp + 0xd8]
push edx
mov dword [0x54577c], eax
call fcn.00496520
mov dword [0x54db2c], eax
push 0x100
lea ecx, [esp + 0x174]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x2e0], ax
call fcn.004e01d0
add esp, 0xc
push 0x100
push ebx
lea edx, [esp + 0x178]
push edx
push str.PasswordWide
lea eax, [esp + 0xe0]
push eax
call fcn.00496540
cmp eax, ebx
jne 0x4a740f
push 0x100
push ebx
lea ecx, [esp + 0x178]
push ecx
push str.Password
lea edx, [esp + 0xe0]
push edx
mov byte [esp + 0x184], bl
call fcn.00496540
xor ecx, ecx
cmp eax, ebx
jle 0x4a73f3
jmp 0x4a73e0
mov dl, cl
add dl, 0x49
xor byte [esp + ecx + 0x170], dl
je 0x4a73f3
inc ecx
cmp ecx, eax
jl 0x4a73e0
push 0x80
lea eax, [esp + 0x2d8]
push eax
lea ecx, [esp + 0x178]
push ecx
call fcn.00469820
jmp 0x4a744b
xor ecx, ecx
cmp eax, ebx
jle 0x4a7431
jmp 0x4a7420
mov dl, cl
add dl, 0x49
xor byte [esp + ecx + 0x170], dl
inc ecx
cmp ecx, eax
jl 0x4a7420
push 0x80
lea eax, [esp + 0x2d8]
push eax
lea ecx, [esp + 0x178]
push ecx
call fcn.004698a0
cmp byte [esp + 0xf], bl
je 0x4a7461
cmp byte [0x54a894], bl
jne 0x4a7491
cmp byte [0x54a896], bl
jne 0x4a7491
lea edx, [esp + 0x2d4]
push edx
mov ecx, 0x54a794
call fcn.00464030
push ebx
push str.EncryptHeaders
lea eax, [esp + 0xd8]
push eax
call fcn.00496520
test eax, eax
setne cl
mov byte [0x54a896], cl
push 0x100
lea edx, [esp + 0x2d8]
push edx
call fcn.00463fb0
push 0x100
lea eax, [esp + 0x174]
push eax
call fcn.00463fb0
push ebx
push str.OpenShared
lea ecx, [esp + 0xd8]
push ecx
call fcn.00496520
push ebx
test eax, eax
push str.ProcessOwners
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54b905], dl
call fcn.00496520
push 1
test eax, eax
push str.SaveStreams
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54b8f8], cl
call fcn.00496520
push ebx
test eax, eax
push str.SaveSymLinks
lea ecx, [esp + 0xd8]
setne al
push ecx
mov byte [0x54ba24], al
call fcn.00496520
push ebx
test eax, eax
push str.SaveHardLinks
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54b8f9], dl
call fcn.00496520
push ebx
test eax, eax
push str.Background
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54b8fa], cl
call fcn.00496520
push ebx
test eax, eax
push str.WaitForOther
lea ecx, [esp + 0xd8]
setne al
push ecx
mov byte [0x54fb33], al
call fcn.00496520
push ebx
test eax, eax
push str.Shutdown
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54fb34], dl
call fcn.00496520
push ebx
test eax, eax
push str.GenerateArcName
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54cb11], cl
call fcn.00496520
test eax, eax
setne al
mov byte [0x54b920], al
push ebx
push str.VersionControl
lea ecx, [esp + 0xd8]
push ecx
call fcn.00496520
push ebx
push 0x4ffc8c
lea edx, [esp + 0xd8]
push edx
mov dword [0x54cb0c], eax
call fcn.00496520
neg eax
sbb eax, eax
neg eax
add eax, 2
push ebx
mov dword [0x54b8a8], eax
push str.FileCopies
lea eax, [esp + 0xd8]
push eax
call fcn.00496520
neg eax
push 1
sbb eax, eax
push str.QuickOpen
lea ecx, [esp + 0xd8]
neg eax
push ecx
mov dword [0x54b910], eax
call fcn.00496520
push 0x80
push str.yyyymmddhhmmss
push 0x54b922
push str.GenerateMask
lea edx, [esp + 0xe0]
push edx
mov dword [0x547780], eax
call fcn.004964f0
mov esi, 4
cmp word [0x54b922], bx
je 0x4a769d
mov ecx, str.yyyymmddhhnnss
mov eax, 0x54b922
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a7694
cmp dx, bx
je 0x4a7690
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a7694
add eax, esi
add ecx, esi
cmp dx, bx
jne 0x4a7670
xor eax, eax
jmp 0x4a7699
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4a76b6
xor eax, eax
nop
movzx ecx, word [eax + str.yyyymmddhhmmss]
mov word [eax + 0x54b922], cx
add eax, 2
cmp cx, bx
jne 0x4a76a0
push ebx
push str.FileTimeMode
lea eax, [esp + 0xd8]
push eax
call fcn.00496520
push ebx
push str.FileDays
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x561d04], eax
call fcn.00496520
push ebx
push str.FileHours
lea edx, [esp + 0xd8]
push edx
mov dword [0x561d08], eax
call fcn.00496520
push ebx
mov dword [0x561d0c], eax
push str.FileMinutes
lea eax, [esp + 0xd8]
push eax
call fcn.00496520
mov ecx, dword [0x561d04]
mov dword [0x561d10], eax
mov dword [0x54ba28], ebx
mov dword [0x54ba2c], ebx
mov dword [0x54ba30], ebx
mov dword [0x54ba34], ebx
cmp ecx, 1
je 0x4a773e
cmp ecx, 2
jne 0x4a7797
mov ecx, dword [0x561d0c]
mov edx, dword [0x561d08]
push eax
push ecx
push edx
lea eax, [esp + 0x3e0]
push str._dd_dh_dm
push eax
mov edx, 0x50
call fcn.00493540
add esp, 0x14
cmp dword [0x561d04], 1
jne 0x4a777f
lea ecx, [esp + 0x3d4]
push ecx
mov ecx, 0x54ba28
jmp 0x4a778c
lea edx, [esp + 0x3d4]
push edx
mov ecx, 0x54ba30
call fcn.00468250
mov ecx, dword [0x561d04]
cmp ecx, edi
je 0x4a779f
cmp ecx, esi
jne 0x4a77f3
push ebx
push str.FileTimeBefore
lea eax, [esp + 0xd8]
push eax
call fcn.00496520
cmp eax, ebx
je 0x4a77c9
cmp dword [0x561d04], edi
jne 0x4a77c9
push eax
mov ecx, 0x54ba28
call fcn.00468100
push ebx
push str.FileTimeAfter
lea ecx, [esp + 0xd8]
push ecx
call fcn.00496520
cmp eax, ebx
je 0x4a77f3
cmp dword [0x561d04], esi
jne 0x4a77f3
push eax
mov ecx, 0x54ba30
call fcn.00468100
push ebx
push str.ArcTimeOriginal
lea edx, [esp + 0xd8]
push edx
mov dword [0x54b8f0], ebx
call fcn.00496520
test eax, eax
je 0x4a781a
mov dword [0x54b8f0], 1
push ebx
push str.ArcTimeLatest
lea eax, [esp + 0xd8]
push eax
call fcn.00496520
test eax, eax
je 0x4a783b
mov dword [0x54b8f0], 2
push esi
push str.mtime
lea ecx, [esp + 0xd8]
push ecx
call fcn.00496520
push ebx
push str.ctime
lea edx, [esp + 0xd8]
push edx
mov dword [0x54cb14], eax
call fcn.00496520
push ebx
mov dword [0x54cb18], eax
push str.atime
lea eax, [esp + 0xd8]
push eax
call fcn.00496520
mov ecx, dword [0x551b90]
neg ecx
push ebx
sbb ecx, ecx
push str.PathsAbs
lea edx, [esp + 0xd8]
and ecx, 5
push edx
mov dword [0x54cb1c], eax
mov dword [0x54b8c8], ecx
call fcn.00496520
test eax, eax
je 0x4a78b3
mov dword [0x54b8c8], edi
push ebx
push str.PathsNone
lea eax, [esp + 0xd8]
push eax
call fcn.00496520
pop edi
test eax, eax
je 0x4a78d5
mov dword [0x54b8c8], 1
push ebx
push str.PathsAbsDrive
lea ecx, [esp + 0xd4]
push ecx
call fcn.00496520
test eax, eax
je 0x4a78f2
mov dword [0x54b8c8], esi
push ebx
push str.ImmExec
lea edx, [esp + 0xd4]
push edx
call fcn.00496520
push ebx
test eax, eax
push str.SeparateArc
lea ecx, [esp + 0xd4]
setne al
push ecx
mov byte [0x561d14], al
call fcn.00496520
push 0x800
push 0x4f9a98
push 0x54bb0c
test eax, eax
push str.EmailArcTo
lea eax, [esp + 0xdc]
setne dl
push eax
mov byte [0x54fb4c], dl
call fcn.004964f0
push 0xc0
push ebx
lea ecx, [esp + 0x14]
push ecx
push str.PackDetails
lea edx, [esp + 0xdc]
push edx
call fcn.00496540
push 0xc0
push ebx
push 0x54ba4c
call fcn.004e01d0
add esp, 0xc
xor eax, eax
mov ecx, dword [eax + 0x50f7cc]
mov edx, dword [eax + 0x50f7c8]
lea ecx, [ecx + ecx*2]
mov esi, dword [esp + ecx*4 + 0xc]
lea ecx, [esp + ecx*4 + 0xc]
lea edx, [edx + edx*2]
lea edx, [edx*4 + 0x54ba4c]
mov dword [edx], esi
mov esi, dword [ecx + 4]
mov ecx, dword [ecx + 8]
add eax, 8
mov dword [edx + 4], esi
mov dword [edx + 8], ecx
cmp eax, 0x40
jb 0x4a7980
mov ecx, dword [esp + 0x2470]
pop esi
pop ebx
xor ecx, esp
call fcn.004df2c4
add esp, 0x246c
ret 0xc