Function at 0x4a6f20
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x246c
call fcn.004df840
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 0x4a6f59
push 0x50
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.00466b20
jmp 0x4a6f7b
mov ecx, dword [esp + 0x2478]
push ecx
lea edx, [esp + 0xd0]
push str.Profiles_d
push edx
mov edx, 0x50
call fcn.00460180
add esp, 0xc
push 0x800
push 0x4f9a98
lea eax, [esp + 0x1478]
push eax
push str.ArcName
lea ecx, [esp + 0xdc]
push ecx
call fcn.00496860
cmp word [esp + 0x1470], bx
je 0x4a6fc7
xor eax, eax
jmp 0x4a6fb0
movzx ecx, word [esp + eax + 0x1470]
mov word [eax + 0x550b7a], cx
add eax, 2
cmp cx, bx
jne 0x4a6fb0
push edi
cmp byte [esp + 0x2480], bl
je 0x4a7134
push str.FileNames
lea edx, [esp + 0xd4]
push edx
call fcn.004968e0
cmp eax, ebx
jle 0x4a70ce
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.004df63a
add esp, 4
push edi
push 0x4f9a98
mov esi, eax
push esi
push str.FileNames
lea eax, [esp + 0xe0]
push eax
call fcn.00496860
push ebx
push ebx
push 0x551b7c
push esi
call fcn.0049de30
push esi
call fcn.004e07e4
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.00496860
cmp word [esp + 0x474], bx
je 0x4a70ce
lea eax, [esp + 0x474]
push eax
call fcn.00443510
test al, al
je 0x4a70ce
lea ecx, [esp + 0x474]
push ecx
mov ecx, 0x53fd10
call fcn.004913b0
mov byte [0x561d16], 1
cmp word [0x550b7a], bx
je 0x4a70ce
push 0x550b7a
call fcn.00451a60
test al, al
jne 0x4a70ce
push 0x800
push 0x550b7a
push 0x550b7a
mov ecx, 0x53fd10
call fcn.0048bea0
push str.ExclNames
lea edx, [esp + 0xd4]
push edx
call fcn.004968e0
cmp eax, ebx
jle 0x4a7134
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.004df63a
add esp, 4
push edi
push 0x4f9a98
mov esi, eax
push esi
push str.ExclNames
lea eax, [esp + 0xe0]
push eax
call fcn.00496860
push ebx
push ebx
push 0x551bd8
push esi
call fcn.0049de30
push esi
call fcn.004e07e4
add esp, 4
push str.StoreNames
lea ecx, [esp + 0xd4]
push ecx
call fcn.004968e0
cmp eax, 0x200
jg 0x4a7152
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.004df63a
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.00496860
push ebx
push ebx
push 0x551cec
push esi
call fcn.0049de30
push esi
call fcn.004e07e4
add esp, 4
push ebx
push str.Default
lea ecx, [esp + 0xd8]
push ecx
call fcn.00496890
push 1
push str.UseRAR
lea edx, [esp + 0xd8]
test eax, eax
push edx
setne byte [esp + 0x1b]
call fcn.00496890
neg eax
sbb eax, eax
inc eax
mov dword [0x54db28], eax
cmp eax, ebx
jne 0x4a71fc
push ebx
push 0x4fffd0
lea eax, [esp + 0xd8]
push eax
call fcn.00496890
mov byte [0x54b907], 1
test eax, eax
jne 0x4a7202
mov byte [0x54b907], bl
push 0x800
push 0x4f9a98
push 0x546780
push str.SFXModule
lea ecx, [esp + 0xe0]
push ecx
call fcn.00496860
cmp word [0x546780], bx
jne 0x4a7254
push ebx
push 0x4faaec
lea edx, [esp + 0xd8]
push edx
call fcn.00496890
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.00496860
push 0x800
push 0x4f9a98
push 0x54eb32
push str.SFXLogo
lea edx, [esp + 0xe0]
push edx
call fcn.00496860
push ebx
push str.SFXElevate
lea eax, [esp + 0xd8]
push eax
call fcn.00496890
test eax, eax
push 0x4fa8a8
setne cl
push 0x550b7a
mov byte [0x54fb32], cl
call fcn.00451360
movzx edx, al
xor eax, eax
cmp word [0x546780], bx
setne al
cmp edx, eax
jne 0x4a72f0
push 1
push ebx
push 1
push ebx
push ebx
push 0x550b7a
mov ecx, 0x541e38
call fcn.00478da0
test al, al
je 0x4a7314
cmp word [0x546780], bx
mov ecx, dword [0x54db28]
setne dl
push ecx
movzx eax, dl
push eax
push 0x800
push 0x550b7a
call fcn.004a6c10
push 0x800
push 0x4f9a98
push 0x548786
push str.CmtFile
lea ecx, [esp + 0xe0]
push ecx
call fcn.00496860
push 0x20000
call fcn.004df63a
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4a744c
push 0x20000
push ebx
push esi
push str.CmtDataWide
lea edx, [esp + 0xe0]
push edx
call fcn.004968b0
cmp word [esi], bx
jne 0x4a73c9
push 0x10000
push 0x4f9a98
push esi
push str.CmtTextWide
lea eax, [esp + 0xe0]
push eax
call fcn.00496860
cmp word [esi], bx
jne 0x4a73c9
push 0x10000
call fcn.004df63a
add esp, 4
push 0x10000
push ebx
mov edi, eax
push edi
push str.CmtTextData
lea ecx, [esp + 0xe0]
push ecx
call fcn.004968b0
push 0x10000
push esi
push edi
call fcn.00469b00
push edi
call fcn.004e07e4
add esp, 4
xor edx, edx
mov word [esi + 0x1fffe], dx
mov eax, dword [0x561cfc]
push eax
cmp word [esi], bx
je 0x4a7435
call fcn.004e07e4
mov eax, esi
add esp, 4
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4a73f0
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.004df63a
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 0x4a7422
jmp 0x4a7443
call fcn.004e07e4
add esp, 4
mov dword [0x561cfc], ebx
push esi
call fcn.004e07e4
add esp, 4
push 0x32
push 0x4f9a98
lea ecx, [esp + 0x278]
push ecx
push str.VolumeSize
lea edx, [esp + 0xe0]
push edx
call fcn.00496860
mov ax, word [esp + 0x270]
cmp ax, bx
jne 0x4a7490
push ebx
push str.VolSize
lea eax, [esp + 0xd8]
push eax
call fcn.00496890
cdq
jmp 0x4a74bc
xor ecx, ecx
cmp ax, 0x41
sete cl
push ecx
call fcn.0046a090
test eax, eax
je 0x4a74af
mov eax, SysReAllocString
mov dword [0x54b8d4], eax
jmp 0x4a74c2
lea edx, [esp + 0x270]
push edx
call fcn.0046a0d0
mov dword [0x54b8d4], edx
push 2
mov dword [0x54b8d0], eax
push str.VolSizeMod
lea eax, [esp + 0xd8]
push eax
call fcn.00496890
push ebx
push str.VolPause
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x54fb40], eax
call fcn.00496890
push ebx
test eax, eax
push str.OldVolNames
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54ba4a], dl
call fcn.00496890
push ebx
test eax, eax
push str.RecVolNumber
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54b90c], cl
call fcn.00496890
push ebx
mov dword [0x54b8b0], eax
push str.Update
lea eax, [esp + 0xd8]
push eax
call fcn.00496890
push ebx
test eax, eax
push str.Fresh
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54b8c4], cl
call fcn.00496890
push ebx
test eax, eax
push str.SyncFiles
lea ecx, [esp + 0xd8]
setne al
push ecx
mov byte [0x54b8c3], al
call fcn.00496890
push ebx
test eax, eax
push str.Overwrite
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54ba22], dl
call fcn.00496890
push ebx
push str.Move
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x54b8a0], eax
call fcn.00496890
push ebx
test eax, eax
push str.ArcRecBin
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54b906], dl
call fcn.00496890
push ebx
test eax, eax
push str.ArcWipe
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54b90a], cl
call fcn.00496890
test eax, eax
push ebx
push str.WipeIfPassword
lea ecx, [esp + 0xd8]
setne al
push ecx
mov byte [0x54b909], al
call fcn.00496890
push ebx
test eax, eax
push str.Solid
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54fb3d], dl
call fcn.00496890
push ebx
push str.Test
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x54b8b8], eax
call fcn.00496890
push ebx
test eax, eax
push str.Recovery
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54ba49], dl
call fcn.00496890
push ebx
push str.EraseDest
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x54b8ac], eax
call fcn.00496890
push ebx
test eax, eax
push str.AddArcOnly
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54b908], dl
call fcn.00496890
push ebx
test eax, eax
push str.ClearArc
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54b8c1], cl
call fcn.00496890
push ebx
test eax, eax
push str.Lock
lea ecx, [esp + 0xd8]
setne al
push ecx
mov byte [0x54b8c0], al
call fcn.00496890
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.00496890
push 0x400000
push str.DictSizeLZ
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x54b8a4], eax
call fcn.00496890
push 0x2000000
push str.DictSize
lea edx, [esp + 0xd8]
push edx
mov dword [0x54577c], eax
call fcn.00496890
mov dword [0x54db2c], eax
push 0x100
lea ecx, [esp + 0x174]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x2e0], ax
call fcn.004e0730
add esp, 0xc
push 0x100
push ebx
lea edx, [esp + 0x178]
push edx
push str.PasswordWide
lea eax, [esp + 0xe0]
push eax
call fcn.004968b0
cmp eax, ebx
jne 0x4a77df
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.004968b0
xor ecx, ecx
cmp eax, ebx
jle 0x4a77c3
jmp 0x4a77b0
mov dl, cl
add dl, 0x49
xor byte [esp + ecx + 0x170], dl
je 0x4a77c3
inc ecx
cmp ecx, eax
jl 0x4a77b0
push 0x80
lea eax, [esp + 0x2d8]
push eax
lea ecx, [esp + 0x178]
push ecx
call fcn.00469b00
jmp 0x4a781b
xor ecx, ecx
cmp eax, ebx
jle 0x4a7801
jmp 0x4a77f0
mov dl, cl
add dl, 0x49
xor byte [esp + ecx + 0x170], dl
inc ecx
cmp ecx, eax
jl 0x4a77f0
push 0x80
lea eax, [esp + 0x2d8]
push eax
lea ecx, [esp + 0x178]
push ecx
call fcn.00469b80
cmp byte [esp + 0xf], bl
je 0x4a7831
cmp byte [0x54a894], bl
jne 0x4a7861
cmp byte [0x54a896], bl
jne 0x4a7861
lea edx, [esp + 0x2d4]
push edx
mov ecx, 0x54a794
call fcn.00464220
push ebx
push str.EncryptHeaders
lea eax, [esp + 0xd8]
push eax
call fcn.00496890
test eax, eax
setne cl
mov byte [0x54a896], cl
push 0x100
lea edx, [esp + 0x2d8]
push edx
call fcn.004641a0
push 0x100
lea eax, [esp + 0x174]
push eax
call fcn.004641a0
push ebx
push str.OpenShared
lea ecx, [esp + 0xd8]
push ecx
call fcn.00496890
push ebx
test eax, eax
push str.ProcessOwners
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54b905], dl
call fcn.00496890
push 1
test eax, eax
push str.SaveStreams
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54b8f8], cl
call fcn.00496890
push ebx
test eax, eax
push str.SaveSymLinks
lea ecx, [esp + 0xd8]
setne al
push ecx
mov byte [0x54ba24], al
call fcn.00496890
push ebx
test eax, eax
push str.SaveHardLinks
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54b8f9], dl
call fcn.00496890
push ebx
test eax, eax
push str.Background
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54b8fa], cl
call fcn.00496890
push ebx
test eax, eax
push str.WaitForOther
lea ecx, [esp + 0xd8]
setne al
push ecx
mov byte [0x54fb33], al
call fcn.00496890
push ebx
test eax, eax
push str.Shutdown
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54fb34], dl
call fcn.00496890
push ebx
test eax, eax
push str.GenerateArcName
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54cb11], cl
call fcn.00496890
test eax, eax
setne al
mov byte [0x54b920], al
push ebx
push str.VersionControl
lea ecx, [esp + 0xd8]
push ecx
call fcn.00496890
push ebx
push 0x4ffc8c
lea edx, [esp + 0xd8]
push edx
mov dword [0x54cb0c], eax
call fcn.00496890
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.00496890
neg eax
push 1
sbb eax, eax
push str.QuickOpen
lea ecx, [esp + 0xd8]
neg eax
push ecx
mov dword [0x54b910], eax
call fcn.00496890
push 0x80
push str.yyyymmddhhmmss
push 0x54b922
push str.GenerateMask
lea edx, [esp + 0xe0]
push edx
mov dword [0x547780], eax
call fcn.00496860
mov esi, 4
cmp word [0x54b922], bx
je 0x4a7a6d
mov ecx, str.yyyymmddhhnnss
mov eax, 0x54b922
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4a7a64
cmp dx, bx
je 0x4a7a60
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4a7a64
add eax, esi
add ecx, esi
cmp dx, bx
jne 0x4a7a40
xor eax, eax
jmp 0x4a7a69
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4a7a86
xor eax, eax
nop
movzx ecx, word [eax + str.yyyymmddhhmmss]
mov word [eax + 0x54b922], cx
add eax, 2
cmp cx, bx
jne 0x4a7a70
push ebx
push str.FileTimeMode
lea eax, [esp + 0xd8]
push eax
call fcn.00496890
push ebx
push str.FileDays
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x561d04], eax
call fcn.00496890
push ebx
push str.FileHours
lea edx, [esp + 0xd8]
push edx
mov dword [0x561d08], eax
call fcn.00496890
push ebx
mov dword [0x561d0c], eax
push str.FileMinutes
lea eax, [esp + 0xd8]
push eax
call fcn.00496890
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 0x4a7b0e
cmp ecx, 2
jne 0x4a7b67
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.00460180
add esp, 0x14
cmp dword [0x561d04], 1
jne 0x4a7b4f
lea ecx, [esp + 0x3d4]
push ecx
mov ecx, 0x54ba28
jmp 0x4a7b5c
lea edx, [esp + 0x3d4]
push edx
mov ecx, 0x54ba30
call fcn.00468530
mov ecx, dword [0x561d04]
cmp ecx, edi
je 0x4a7b6f
cmp ecx, esi
jne 0x4a7bc3
push ebx
push str.FileTimeBefore
lea eax, [esp + 0xd8]
push eax
call fcn.00496890
cmp eax, ebx
je 0x4a7b99
cmp dword [0x561d04], edi
jne 0x4a7b99
push eax
mov ecx, 0x54ba28
call fcn.004683e0
push ebx
push str.FileTimeAfter
lea ecx, [esp + 0xd8]
push ecx
call fcn.00496890
cmp eax, ebx
je 0x4a7bc3
cmp dword [0x561d04], esi
jne 0x4a7bc3
push eax
mov ecx, 0x54ba30
call fcn.004683e0
push ebx
push str.ArcTimeOriginal
lea edx, [esp + 0xd8]
push edx
mov dword [0x54b8f0], ebx
call fcn.00496890
test eax, eax
je 0x4a7bea
mov dword [0x54b8f0], 1
push ebx
push str.ArcTimeLatest
lea eax, [esp + 0xd8]
push eax
call fcn.00496890
test eax, eax
je 0x4a7c0b
mov dword [0x54b8f0], 2
push esi
push str.mtime
lea ecx, [esp + 0xd8]
push ecx
call fcn.00496890
push ebx
push str.ctime
lea edx, [esp + 0xd8]
push edx
mov dword [0x54cb14], eax
call fcn.00496890
push ebx
mov dword [0x54cb18], eax
push str.atime
lea eax, [esp + 0xd8]
push eax
call fcn.00496890
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.00496890
test eax, eax
je 0x4a7c83
mov dword [0x54b8c8], edi
push ebx
push str.PathsNone
lea eax, [esp + 0xd8]
push eax
call fcn.00496890
pop edi
test eax, eax
je 0x4a7ca5
mov dword [0x54b8c8], 1
push ebx
push str.PathsAbsDrive
lea ecx, [esp + 0xd4]
push ecx
call fcn.00496890
test eax, eax
je 0x4a7cc2
mov dword [0x54b8c8], esi
push ebx
push str.ImmExec
lea edx, [esp + 0xd4]
push edx
call fcn.00496890
push ebx
test eax, eax
push str.SeparateArc
lea ecx, [esp + 0xd4]
setne al
push ecx
mov byte [0x561d14], al
call fcn.00496890
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.00496860
push 0xc0
push ebx
lea ecx, [esp + 0x14]
push ecx
push str.PackDetails
lea edx, [esp + 0xdc]
push edx
call fcn.004968b0
push 0xc0
push ebx
push 0x54ba4c
call fcn.004e0730
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 0x4a7d50
mov ecx, dword [esp + 0x2470]
pop esi
pop ebx
xor ecx, esp
call fcn.004df824
add esp, 0x246c
ret 0xc