Function at 0x4aa390
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x246c
call fcn.004e3510
mov eax, dword [0x514bc0]
xor eax, esp
mov dword [esp + 0x2468], eax
mov eax, dword [esp + 0x2478]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
je 0x4aa3c9
push 0x50
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.00467570
jmp 0x4aa3eb
mov ecx, dword [esp + 0x2478]
push ecx
lea edx, [esp + 0xd0]
push str.Profiles_d
push edx
mov edx, 0x50
call fcn.00458640
add esp, 0xc
push 0x800
push 0x4fdab8
lea eax, [esp + 0x1478]
push eax
push str.ArcName
lea ecx, [esp + 0xdc]
push ecx
call fcn.00499a60
cmp word [esp + 0x1470], bx
je 0x4aa437
xor eax, eax
jmp 0x4aa420
movzx ecx, word [esp + eax + 0x1470]
mov word [eax + 0x555ba2], cx
add eax, 2
cmp cx, bx
jne 0x4aa420
push edi
cmp byte [esp + 0x2480], bl
je 0x4aa5a6
push str.FileNames
lea edx, [esp + 0xd4]
push edx
call fcn.00499650
mov edi, eax
cmp edi, ebx
jle 0x4aa53f
add edi, 0xa
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e330d
add esp, 4
push edi
push 0x4fdab8
mov esi, eax
push esi
push str.FileNames
lea eax, [esp + 0xe0]
push eax
call fcn.00499a60
push ebx
push ebx
push 0x556ba4
push esi
call fcn.004a1230
push esi
call fcn.004e44b4
add esp, 4
push 0x800
push 0x4fdab8
lea ecx, [esp + 0x47c]
push ecx
push str.CurDir
lea edx, [esp + 0xe0]
push edx
mov byte [0x567dee], 1
call fcn.00499a60
cmp word [esp + 0x474], bx
je 0x4aa53f
lea eax, [esp + 0x474]
push eax
call fcn.00443cc0
test al, al
je 0x4aa53f
lea ecx, [esp + 0x474]
push ecx
mov ecx, 0x544c98
call fcn.00492f40
mov byte [0x567dee], 1
cmp word [0x555ba2], bx
je 0x4aa53f
push 0x555ba2
call fcn.004522a0
test al, al
jne 0x4aa53f
push 0x800
push 0x555ba2
push 0x555ba2
mov ecx, 0x544c98
call fcn.0048d930
push str.ExclNames
lea edx, [esp + 0xd4]
push edx
call fcn.00499650
mov edi, eax
cmp edi, ebx
jle 0x4aa5a6
add edi, 0xa
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e330d
add esp, 4
push edi
push 0x4fdab8
mov esi, eax
push esi
push str.ExclNames
lea eax, [esp + 0xe0]
push eax
call fcn.00499a60
push ebx
push ebx
push 0x556c00
push esi
call fcn.004a1230
push esi
call fcn.004e44b4
add esp, 4
push str.StoreNames
lea ecx, [esp + 0xd4]
push ecx
call fcn.00499650
cmp eax, 0x200
jg 0x4aa5c4
mov eax, 0x200
lea edi, [eax + 0xa]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004e330d
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.00499a60
push ebx
push ebx
push 0x556d14
push esi
call fcn.004a1230
push esi
call fcn.004e44b4
add esp, 4
push ebx
push str.Default
lea ecx, [esp + 0xd8]
push ecx
call fcn.00499a90
push 1
push str.UseRAR
lea edx, [esp + 0xd8]
test eax, eax
push edx
setne byte [esp + 0x1b]
call fcn.00499a90
neg eax
sbb eax, eax
inc eax
mov dword [0x552b50], eax
cmp eax, ebx
jne 0x4aa66d
push ebx
push 0x504430
lea eax, [esp + 0xd8]
push eax
call fcn.00499a90
mov byte [0x55092f], 1
test eax, eax
jne 0x4aa673
mov byte [0x55092f], bl
push 0x800
push 0x4fdab8
push 0x54b7a8
push str.SFXModule
lea ecx, [esp + 0xe0]
push ecx
call fcn.00499a60
cmp word [0x54b7a8], bx
jne 0x4aa6c5
push ebx
push 0x4febcc
lea edx, [esp + 0xd8]
push edx
call fcn.00499a90
neg eax
sbb eax, eax
and eax, 0x2a
mov word [0x54b7a8], ax
xor eax, eax
mov word [0x54b7aa], ax
push 0x800
push 0x4fdab8
push 0x552b5a
push str.SFXIcon
lea ecx, [esp + 0xe0]
push ecx
call fcn.00499a60
push 0x800
push 0x4fdab8
push 0x553b5a
push str.SFXLogo
lea edx, [esp + 0xe0]
push edx
call fcn.00499a60
push ebx
push str.SFXElevate
lea eax, [esp + 0xd8]
push eax
call fcn.00499a90
test eax, eax
push 0x4fe97c
setne cl
push 0x555ba2
mov byte [0x554b5a], cl
call fcn.00451c30
movzx edx, al
xor eax, eax
cmp word [0x54b7a8], bx
setne al
cmp edx, eax
jne 0x4aa761
push 1
push ebx
push 1
push ebx
push ebx
push 0x555ba2
mov ecx, 0x546dc0
call fcn.004799a0
test al, al
je 0x4aa785
cmp word [0x54b7a8], bx
mov ecx, dword [0x552b50]
setne dl
push ecx
movzx eax, dl
push eax
push 0x800
push 0x555ba2
call fcn.004aa080
push 0x800
push 0x4fdab8
push 0x54d7ae
push str.CmtFile
lea ecx, [esp + 0xe0]
push ecx
call fcn.00499a60
push 0x20000
call fcn.004e330d
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x4aa8bc
push 0x20000
push ebx
push esi
push str.CmtDataWide
lea edx, [esp + 0xe0]
push edx
call fcn.00499ab0
cmp word [esi], bx
jne 0x4aa83a
push 0x10000
push 0x4fdab8
push esi
push str.CmtTextWide
lea eax, [esp + 0xe0]
push eax
call fcn.00499a60
cmp word [esi], bx
jne 0x4aa83a
push 0x10000
call fcn.004e330d
add esp, 4
push 0x10000
push ebx
mov edi, eax
push edi
push str.CmtTextData
lea ecx, [esp + 0xe0]
push ecx
call fcn.00499ab0
push 0x10000
push esi
push edi
call fcn.0046a540
push edi
call fcn.004e44b4
add esp, 4
xor edx, edx
mov word [esi + 0x1fffe], dx
mov eax, dword [0x567dd4]
push eax
cmp word [esi], bx
je 0x4aa8a5
call fcn.004e44b4
mov eax, esi
add esp, 4
lea edx, [eax + 2]
jmp 0x4aa860
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4aa860
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.004e330d
add esp, 4
mov dword [0x567dd4], 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 0x4aa892
jmp 0x4aa8b3
call fcn.004e44b4
add esp, 4
mov dword [0x567dd4], ebx
push esi
call fcn.004e44b4
add esp, 4
push 0x32
push 0x4fdab8
lea ecx, [esp + 0x278]
push ecx
push str.VolumeSize
lea edx, [esp + 0xe0]
push edx
call fcn.00499a60
mov ax, word [esp + 0x270]
cmp ax, bx
jne 0x4aa900
push ebx
push str.VolSize
lea eax, [esp + 0xd8]
push eax
call fcn.00499a90
cdq
jmp 0x4aa92c
xor ecx, ecx
cmp ax, 0x41
sete cl
push ecx
call sub.USER32.dll_CharUpperW
test eax, eax
je 0x4aa91f
mov eax, SysReAllocString
mov dword [0x5508fc], eax
jmp 0x4aa932
lea edx, [esp + 0x270]
push edx
call fcn.0046aa80
mov dword [0x5508fc], edx
push 2
mov dword [0x5508f8], eax
push str.VolSizeMod
lea eax, [esp + 0xd8]
push eax
call fcn.00499a90
push ebx
push str.VolPause
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x554b68], eax
call fcn.00499a90
push ebx
test eax, eax
push str.OldVolNames
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x550a72], dl
call fcn.00499a90
push ebx
test eax, eax
push str.RecVolNumber
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x550934], cl
call fcn.00499a90
push ebx
mov dword [0x5508d8], eax
push str.Update
lea eax, [esp + 0xd8]
push eax
call fcn.00499a90
push ebx
test eax, eax
push str.Fresh
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x5508ec], cl
call fcn.00499a90
push ebx
test eax, eax
push str.SyncFiles
lea ecx, [esp + 0xd8]
setne al
push ecx
mov byte [0x5508eb], al
call fcn.00499a90
push ebx
test eax, eax
push str.Overwrite
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x550a4a], dl
call fcn.00499a90
push ebx
push str.Move
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x5508c8], eax
call fcn.00499a90
push ebx
test eax, eax
push str.ArcRecBin
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x55092e], dl
call fcn.00499a90
push ebx
test eax, eax
push str.ArcWipe
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x550932], cl
call fcn.00499a90
test eax, eax
push ebx
push str.WipeIfPassword
lea ecx, [esp + 0xd8]
setne al
push ecx
mov byte [0x550931], al
call fcn.00499a90
push ebx
test eax, eax
push str.Solid
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x554b65], dl
call fcn.00499a90
push ebx
push str.Test
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x5508e0], eax
call fcn.00499a90
push ebx
test eax, eax
push str.Recovery
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x550a71], dl
call fcn.00499a90
push ebx
push str.EraseDest
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x5508d4], eax
call fcn.00499a90
push ebx
test eax, eax
push str.AddArcOnly
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x550930], dl
call fcn.00499a90
push ebx
test eax, eax
push str.ClearArc
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x5508e9], cl
call fcn.00499a90
push ebx
test eax, eax
push str.Lock
lea ecx, [esp + 0xd8]
setne al
push ecx
mov byte [0x5508e8], al
call fcn.00499a90
mov edi, 3
push edi
test eax, eax
push str.Method
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x550a70], dl
call fcn.00499a90
push 0x400000
push str.DictSizeLZ
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x5508cc], eax
call fcn.00499a90
push 0x2000000
push str.DictSize
lea edx, [esp + 0xd8]
push edx
mov dword [0x54a7a4], eax
call fcn.00499a90
mov dword [0x552b54], eax
push 0x100
lea ecx, [esp + 0x174]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x2e0], ax
call fcn.004e4400
add esp, 0xc
push 0x100
push ebx
lea edx, [esp + 0x178]
push edx
push str.PasswordWide
lea eax, [esp + 0xe0]
push eax
call fcn.00499ab0
cmp eax, ebx
jne 0x4aac4f
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.00499ab0
xor ecx, ecx
cmp eax, ebx
jle 0x4aac33
jmp 0x4aac20
mov dl, cl
add dl, 0x49
xor byte [esp + ecx + 0x170], dl
je 0x4aac33
inc ecx
cmp ecx, eax
jl 0x4aac20
push 0x80
lea eax, [esp + 0x2d8]
push eax
lea ecx, [esp + 0x178]
push ecx
call fcn.0046a540
jmp 0x4aac8b
xor ecx, ecx
cmp eax, ebx
jle 0x4aac71
jmp 0x4aac60
mov dl, cl
add dl, 0x49
xor byte [esp + ecx + 0x170], dl
inc ecx
cmp ecx, eax
jl 0x4aac60
push 0x80
lea eax, [esp + 0x2d8]
push eax
lea ecx, [esp + 0x178]
push ecx
call fcn.0046a5c0
cmp byte [esp + 0xf], bl
je 0x4aaca1
cmp byte [0x54f8bc], bl
jne 0x4aacd1
cmp byte [0x54f8be], bl
jne 0x4aacd1
lea edx, [esp + 0x2d4]
push edx
mov ecx, 0x54f7bc
call fcn.00464ad0
push ebx
push str.EncryptHeaders
lea eax, [esp + 0xd8]
push eax
call fcn.00499a90
test eax, eax
setne cl
mov byte [0x54f8be], cl
push 0x100
lea edx, [esp + 0x2d8]
push edx
call fcn.00464a50
push 0x100
lea eax, [esp + 0x174]
push eax
call fcn.00464a50
push ebx
push str.OpenShared
lea ecx, [esp + 0xd8]
push ecx
call fcn.00499a90
push ebx
test eax, eax
push str.ProcessOwners
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x55092d], dl
call fcn.00499a90
push 1
test eax, eax
push str.SaveStreams
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x550920], cl
call fcn.00499a90
push ebx
test eax, eax
push str.SaveSymLinks
lea ecx, [esp + 0xd8]
setne al
push ecx
mov byte [0x550a4c], al
call fcn.00499a90
push ebx
test eax, eax
push str.SaveHardLinks
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x550921], dl
call fcn.00499a90
push ebx
test eax, eax
push str.Background
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x550922], cl
call fcn.00499a90
push ebx
test eax, eax
push str.WaitForOther
lea ecx, [esp + 0xd8]
setne al
push ecx
mov byte [0x554b5b], al
call fcn.00499a90
push ebx
test eax, eax
push str.Shutdown
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x554b5c], dl
call fcn.00499a90
push ebx
test eax, eax
push str.GenerateArcName
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x551b39], cl
call fcn.00499a90
test eax, eax
setne al
mov byte [0x550948], al
push ebx
push str.VersionControl
lea ecx, [esp + 0xd8]
push ecx
call fcn.00499a90
push ebx
push 0x5040ec
lea edx, [esp + 0xd8]
push edx
mov dword [0x551b34], eax
call fcn.00499a90
neg eax
sbb eax, eax
neg eax
add eax, 2
push ebx
mov dword [0x5508d0], eax
push str.FileCopies
lea eax, [esp + 0xd8]
push eax
call fcn.00499a90
neg eax
push 1
sbb eax, eax
push str.QuickOpen
lea ecx, [esp + 0xd8]
neg eax
push ecx
mov dword [0x550938], eax
call fcn.00499a90
push 0x80
push str.yyyymmddhhmmss
push 0x55094a
push str.GenerateMask
lea edx, [esp + 0xe0]
push edx
mov dword [0x54c7a8], eax
call fcn.00499a60
mov esi, 4
cmp word [0x55094a], bx
je 0x4aaedd
mov ecx, str.yyyymmddhhnnss
mov eax, 0x55094a
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4aaed4
cmp dx, bx
je 0x4aaed0
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4aaed4
add eax, esi
add ecx, esi
cmp dx, bx
jne 0x4aaeb0
xor eax, eax
jmp 0x4aaed9
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4aaef6
xor eax, eax
nop
movzx ecx, word [eax + str.yyyymmddhhmmss]
mov word [eax + 0x55094a], cx
add eax, 2
cmp cx, bx
jne 0x4aaee0
push ebx
push str.FileTimeMode
lea eax, [esp + 0xd8]
push eax
call fcn.00499a90
push ebx
push str.FileDays
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x567ddc], eax
call fcn.00499a90
push ebx
push str.FileHours
lea edx, [esp + 0xd8]
push edx
mov dword [0x567de0], eax
call fcn.00499a90
push ebx
mov dword [0x567de4], eax
push str.FileMinutes
lea eax, [esp + 0xd8]
push eax
call fcn.00499a90
mov ecx, dword [0x567ddc]
mov dword [0x567de8], eax
mov dword [0x550a50], ebx
mov dword [0x550a54], ebx
mov dword [0x550a58], ebx
mov dword [0x550a5c], ebx
cmp ecx, 1
je 0x4aaf7e
cmp ecx, 2
jne 0x4aafd7
mov ecx, dword [0x567de4]
mov edx, dword [0x567de0]
push eax
push ecx
push edx
lea eax, [esp + 0x3e0]
push str._dd_dh_dm
push eax
mov edx, 0x50
call fcn.00458640
add esp, 0x14
cmp dword [0x567ddc], 1
jne 0x4aafbf
lea ecx, [esp + 0x3d4]
push ecx
mov ecx, 0x550a50
jmp 0x4aafcc
lea edx, [esp + 0x3d4]
push edx
mov ecx, 0x550a58
call fcn.00468ed0
mov ecx, dword [0x567ddc]
cmp ecx, edi
je 0x4aafdf
cmp ecx, esi
jne 0x4ab033
push ebx
push str.FileTimeBefore
lea eax, [esp + 0xd8]
push eax
call fcn.00499a90
cmp eax, ebx
je 0x4ab009
cmp dword [0x567ddc], edi
jne 0x4ab009
push eax
mov ecx, 0x550a50
call fcn.00468d80
push ebx
push str.FileTimeAfter
lea ecx, [esp + 0xd8]
push ecx
call fcn.00499a90
cmp eax, ebx
je 0x4ab033
cmp dword [0x567ddc], esi
jne 0x4ab033
push eax
mov ecx, 0x550a58
call fcn.00468d80
push ebx
push str.ArcTimeOriginal
lea edx, [esp + 0xd8]
push edx
mov dword [0x550918], ebx
call fcn.00499a90
test eax, eax
je 0x4ab05a
mov dword [0x550918], 1
push ebx
push str.ArcTimeLatest
lea eax, [esp + 0xd8]
push eax
call fcn.00499a90
test eax, eax
je 0x4ab07b
mov dword [0x550918], 2
push esi
push str.mtime
lea ecx, [esp + 0xd8]
push ecx
call fcn.00499a90
push ebx
push str.ctime
lea edx, [esp + 0xd8]
push edx
mov dword [0x551b3c], eax
call fcn.00499a90
push ebx
mov dword [0x551b40], eax
push str.atime
lea eax, [esp + 0xd8]
push eax
call fcn.00499a90
mov ecx, dword [0x556bb8]
neg ecx
push ebx
sbb ecx, ecx
push str.PathsAbs
lea edx, [esp + 0xd8]
and ecx, 5
push edx
mov dword [0x551b44], eax
mov dword [0x5508f0], ecx
call fcn.00499a90
test eax, eax
je 0x4ab0f3
mov dword [0x5508f0], edi
push ebx
push str.PathsNone
lea eax, [esp + 0xd8]
push eax
call fcn.00499a90
pop edi
test eax, eax
je 0x4ab115
mov dword [0x5508f0], 1
push ebx
push str.PathsAbsDrive
lea ecx, [esp + 0xd4]
push ecx
call fcn.00499a90
test eax, eax
je 0x4ab132
mov dword [0x5508f0], esi
push ebx
push str.ImmExec
lea edx, [esp + 0xd4]
push edx
call fcn.00499a90
push ebx
test eax, eax
push str.SeparateArc
lea ecx, [esp + 0xd4]
setne al
push ecx
mov byte [0x567dec], al
call fcn.00499a90
push 0x800
push 0x4fdab8
push 0x550b34
test eax, eax
push str.EmailArcTo
lea eax, [esp + 0xdc]
setne dl
push eax
mov byte [0x554b75], dl
call fcn.00499a60
push 0xc0
push ebx
lea ecx, [esp + 0x14]
push ecx
push str.PackDetails
lea edx, [esp + 0xdc]
push edx
call fcn.00499ab0
push 0xc0
push ebx
push 0x550a74
call fcn.004e4400
add esp, 0xc
xor eax, eax
mov ecx, dword [eax + 0x514814]
mov edx, dword [eax + 0x514810]
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 + 0x550a74]
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 0x4ab1c0
mov ecx, dword [esp + 0x2470]
pop esi
pop ebx
xor ecx, esp
call fcn.004e34f4
add esp, 0x246c
ret 0xc