Function at 0x498170
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x246c
call fcn.004c1320
mov eax, dword [0x4eb0b4]
xor eax, esp
mov dword [esp + 0x2468], eax
mov eax, dword [esp + 0x2478]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
je 0x4981a9
push 0x50
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.0047f480
jmp 0x4981cb
mov ecx, dword [esp + 0x2478]
push ecx
lea edx, [esp + 0xd0]
push str.Profiles_d
push edx
mov edx, 0x50
call fcn.0041cb70
add esp, 0xc
push 0x800
push 0x4d79fc
lea eax, [esp + 0x478]
push eax
push str.ArcName
lea ecx, [esp + 0xdc]
push ecx
call fcn.0046c8c0
cmp word [esp + 0x470], bx
je 0x498217
xor eax, eax
jmp 0x498200
movzx ecx, word [esp + eax + 0x470]
mov word [eax + 0x550472], cx
add eax, 2
cmp cx, bx
jne 0x498200
push edi
cmp byte [esp + 0x2480], bl
je 0x498373
push str.FileNames
lea edx, [esp + 0xd4]
push edx
call fcn.0046c940
cmp eax, ebx
jle 0x49830d
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.004c12f7
add esp, 4
push edi
push 0x4d79fc
mov esi, eax
push esi
push str.FileNames
lea eax, [esp + 0xe0]
push eax
call fcn.0046c8c0
push ebx
push ebx
push 0x551474
push esi
call fcn.0047fe60
push esi
call fcn.004c1dca
add esp, 4
push 0x800
push 0x4d79fc
lea ecx, [esp + 0x147c]
push ecx
push str.CurDir
lea edx, [esp + 0xe0]
push edx
mov byte [0x56bee6], 1
call fcn.0046c8c0
cmp word [esp + 0x1474], bx
je 0x49830d
lea eax, [esp + 0x1474]
push eax
mov ecx, 0x53f4e8
call fcn.00450ff0
mov byte [0x56bee6], 1
cmp word [0x550472], bx
je 0x49830d
push 0x550472
call fcn.00460f20
test al, al
jne 0x49830d
push 0x800
push 0x550472
push 0x550472
mov ecx, 0x53f4e8
call fcn.0044bff0
push str.ExclNames
lea ecx, [esp + 0xd4]
push ecx
call fcn.0046c940
cmp eax, ebx
jle 0x498373
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.004c12f7
add esp, 4
push edi
push 0x4d79fc
mov esi, eax
push esi
push str.ExclNames
lea eax, [esp + 0xe0]
push eax
call fcn.0046c8c0
push ebx
push ebx
push 0x5514d0
push esi
call fcn.0047fe60
push esi
call fcn.004c1dca
add esp, 4
push str.StoreNames
lea ecx, [esp + 0xd4]
push ecx
call fcn.0046c940
cmp eax, 0x200
jg 0x498391
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.004c12f7
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.0046c8c0
push ebx
push ebx
push 0x5515e4
push esi
call fcn.0047fe60
push esi
call fcn.004c1dca
add esp, 4
push ebx
push 0x4dd108
lea ecx, [esp + 0xd8]
push ecx
call fcn.0046c8f0
push 1
push str.UseRAR
lea edx, [esp + 0xd8]
test eax, eax
push edx
setne byte [esp + 0x1b]
call fcn.0046c8f0
neg eax
sbb eax, eax
inc eax
mov dword [0x54d410], eax
cmp eax, ebx
jne 0x49843b
push ebx
push 0x4dd888
lea eax, [esp + 0xd8]
push eax
call fcn.0046c8f0
mov byte [0x54b1ef], 1
test eax, eax
jne 0x498441
mov byte [0x54b1ef], bl
push 0x800
push 0x4d79fc
push 0x546068
push str.SFXModule
lea ecx, [esp + 0xe0]
push ecx
call fcn.0046c8c0
cmp word [0x546068], bx
jne 0x498493
push ebx
push 0x4d81d8
lea edx, [esp + 0xd8]
push edx
call fcn.0046c8f0
neg eax
sbb eax, eax
and eax, 0x2a
mov word [0x546068], ax
xor eax, eax
mov word [0x54606a], ax
push 0x800
push 0x4d79fc
push 0x54d41a
push str.SFXIcon
lea ecx, [esp + 0xe0]
push ecx
call fcn.0046c8c0
push 0x800
push 0x4d79fc
push 0x54e41a
push str.SFXLogo
lea edx, [esp + 0xe0]
push edx
call fcn.0046c8c0
push ebx
push str.SFXElevate
lea eax, [esp + 0xd8]
push eax
call fcn.0046c8f0
test eax, eax
push 0x4d781c
setne cl
push 0x550472
mov byte [0x54f41a], cl
call fcn.00460840
movzx edx, al
xor eax, eax
cmp word [0x546068], bx
setne al
cmp edx, eax
jne 0x49852f
push 1
push ebx
push 1
push ebx
push ebx
push 0x550472
mov ecx, 0x541610
call fcn.00419370
test al, al
je 0x498553
cmp word [0x546068], bx
mov ecx, dword [0x54d410]
setne dl
push ecx
movzx eax, dl
push eax
push 0x800
push 0x550472
call fcn.00497e60
push 0x800
push 0x4d79fc
push 0x54806e
push str.CmtFile
lea ecx, [esp + 0xe0]
push ecx
call fcn.0046c8c0
push 0x20000
call fcn.004c12f7
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x49868c
push 0x20000
push ebx
push esi
push str.CmtDataWide
lea edx, [esp + 0xe0]
push edx
call fcn.0046c910
cmp word [esi], bx
jne 0x498608
push 0x10000
push 0x4d79fc
push esi
push str.CmtTextWide
lea eax, [esp + 0xe0]
push eax
call fcn.0046c8c0
cmp word [esi], bx
jne 0x498608
push 0x10000
call fcn.004c12f7
add esp, 4
push 0x10000
push ebx
mov edi, eax
push edi
push str.CmtTextData
lea ecx, [esp + 0xe0]
push ecx
call fcn.0046c910
push 0x10000
push esi
push edi
call fcn.00486bc0
push edi
call fcn.004c1dca
add esp, 4
xor edx, edx
mov word [esi + 0x1fffe], dx
mov eax, dword [0x56becc]
push eax
cmp word [esi], bx
je 0x498675
call fcn.004c1dca
mov eax, esi
add esp, 4
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x498630
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.004c12f7
add esp, 4
mov dword [0x56becc], 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 0x498662
jmp 0x498683
call fcn.004c1dca
add esp, 4
mov dword [0x56becc], ebx
push esi
call fcn.004c1dca
add esp, 4
push 0x32
push 0x4d79fc
lea ecx, [esp + 0x278]
push ecx
push str.VolumeSize
lea edx, [esp + 0xe0]
push edx
call fcn.0046c8c0
mov ax, word [esp + 0x270]
cmp ax, bx
jne 0x4986d0
push ebx
push str.VolSize
lea eax, [esp + 0xd8]
push eax
call fcn.0046c8f0
cdq
jmp 0x4986fc
xor ecx, ecx
cmp ax, 0x41
sete cl
push ecx
call fcn.004870e0
test eax, eax
je 0x4986ef
mov eax, 0x7fffffff
mov dword [0x54b1bc], eax
jmp 0x498702
lea edx, [esp + 0x270]
push edx
call fcn.00487100
mov dword [0x54b1bc], edx
push 2
mov dword [0x54b1b8], eax
push str.VolSizeMod
lea eax, [esp + 0xd8]
push eax
call fcn.0046c8f0
push ebx
push str.VolPause
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x54f428], eax
call fcn.0046c8f0
push ebx
test eax, eax
push str.OldVolNames
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54b332], dl
call fcn.0046c8f0
push ebx
test eax, eax
push str.RecVolNumber
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54b1f4], cl
call fcn.0046c8f0
push ebx
mov dword [0x54b198], eax
push 0x4dbe5c
lea eax, [esp + 0xd8]
push eax
call fcn.0046c8f0
push ebx
test eax, eax
push str.Fresh
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54b1ac], cl
call fcn.0046c8f0
push ebx
test eax, eax
push str.SyncFiles
lea ecx, [esp + 0xd8]
setne al
push ecx
mov byte [0x54b1ab], al
call fcn.0046c8f0
push ebx
test eax, eax
push str.Overwrite
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54b30a], dl
call fcn.0046c8f0
push ebx
push str.Move
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x54b188], eax
call fcn.0046c8f0
push ebx
test eax, eax
push str.ArcRecBin
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54b1ee], dl
call fcn.0046c8f0
push ebx
test eax, eax
push str.ArcWipe
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54b1f2], cl
call fcn.0046c8f0
test eax, eax
push ebx
push str.WipeIfPassword
lea ecx, [esp + 0xd8]
setne al
push ecx
mov byte [0x54b1f1], al
call fcn.0046c8f0
push ebx
test eax, eax
push str.Solid
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54f425], dl
call fcn.0046c8f0
push ebx
push str.Test
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x54b1a0], eax
call fcn.0046c8f0
push ebx
test eax, eax
push str.Recovery
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54b331], dl
call fcn.0046c8f0
push ebx
push str.EraseDest
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x54b194], eax
call fcn.0046c8f0
push ebx
test eax, eax
push str.AddArcOnly
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54b1f0], dl
call fcn.0046c8f0
push ebx
test eax, eax
push str.ClearArc
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54b1a9], cl
call fcn.0046c8f0
push ebx
test eax, eax
push 0x4d88b8
lea ecx, [esp + 0xd8]
setne al
push ecx
mov byte [0x54b1a8], al
call fcn.0046c8f0
mov edi, 3
push edi
test eax, eax
push str.Method
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54b330], dl
call fcn.0046c8f0
push 0x400000
push str.DictSizeLZ
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x54b18c], eax
call fcn.0046c8f0
push 0x2000000
push str.DictSize
lea edx, [esp + 0xd8]
push edx
mov dword [0x545064], eax
call fcn.0046c8f0
mov dword [0x54d414], eax
push 0x100
lea ecx, [esp + 0x174]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x2e0], ax
call fcn.004c1d50
add esp, 0xc
push 0x100
push ebx
lea edx, [esp + 0x178]
push edx
push str.PasswordWide
lea eax, [esp + 0xe0]
push eax
call fcn.0046c910
cmp eax, ebx
jne 0x498a1f
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.0046c910
xor ecx, ecx
cmp eax, ebx
jle 0x498a03
jmp 0x4989f0
mov dl, cl
add dl, 0x49
xor byte [esp + ecx + 0x170], dl
je 0x498a03
inc ecx
cmp ecx, eax
jl 0x4989f0
push 0x80
lea eax, [esp + 0x2d8]
push eax
lea ecx, [esp + 0x178]
push ecx
call fcn.00486bc0
jmp 0x498a5b
xor ecx, ecx
cmp eax, ebx
jle 0x498a41
jmp 0x498a30
mov dl, cl
add dl, 0x49
xor byte [esp + ecx + 0x170], dl
inc ecx
cmp ecx, eax
jl 0x498a30
push 0x80
lea eax, [esp + 0x2d8]
push eax
lea ecx, [esp + 0x178]
push ecx
call fcn.00486c40
cmp byte [esp + 0xf], bl
je 0x498a71
cmp byte [0x54a17c], bl
jne 0x498aa1
cmp byte [0x54a17e], bl
jne 0x498aa1
lea edx, [esp + 0x2d4]
push edx
mov ecx, 0x54a07c
call fcn.00478a60
push ebx
push str.EncryptHeaders
lea eax, [esp + 0xd8]
push eax
call fcn.0046c8f0
test eax, eax
setne cl
mov byte [0x54a17e], cl
push 0x100
lea edx, [esp + 0x2d8]
push edx
call fcn.004789e0
push 0x100
lea eax, [esp + 0x174]
push eax
call fcn.004789e0
push ebx
push str.OpenShared
lea ecx, [esp + 0xd8]
push ecx
call fcn.0046c8f0
push ebx
test eax, eax
push str.ProcessOwners
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54b1ed], dl
call fcn.0046c8f0
push 1
test eax, eax
push str.SaveStreams
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54b1e0], cl
call fcn.0046c8f0
push ebx
test eax, eax
push str.SaveSymLinks
lea ecx, [esp + 0xd8]
setne al
push ecx
mov byte [0x54b30c], al
call fcn.0046c8f0
push ebx
test eax, eax
push str.SaveHardLinks
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54b1e1], dl
call fcn.0046c8f0
push ebx
test eax, eax
push 0x4dd5c4
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54b1e2], cl
call fcn.0046c8f0
push ebx
test eax, eax
push str.WaitForOther
lea ecx, [esp + 0xd8]
setne al
push ecx
mov byte [0x54f41b], al
call fcn.0046c8f0
push ebx
test eax, eax
push str.Shutdown
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54f41c], dl
call fcn.0046c8f0
push ebx
test eax, eax
push str.GenerateArcName
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54c3f9], cl
call fcn.0046c8f0
test eax, eax
setne al
mov byte [0x54b208], al
push ebx
push str.VersionControl
lea ecx, [esp + 0xd8]
push ecx
call fcn.0046c8f0
push ebx
push str.BLAKE2
lea edx, [esp + 0xd8]
push edx
mov dword [0x54c3f4], eax
call fcn.0046c8f0
neg eax
sbb eax, eax
neg eax
add eax, 2
push ebx
mov dword [0x54b190], eax
push str.FileCopies
lea eax, [esp + 0xd8]
push eax
call fcn.0046c8f0
neg eax
push 1
sbb eax, eax
push str.QuickOpen
lea ecx, [esp + 0xd8]
neg eax
push ecx
mov dword [0x54b1f8], eax
call fcn.0046c8f0
push 0x80
push str.yyyymmddhhmmss
push 0x54b20a
push str.GenerateMask
lea edx, [esp + 0xe0]
push edx
mov dword [0x547068], eax
call fcn.0046c8c0
mov esi, 4
cmp word [0x54b20a], bx
je 0x498cad
mov ecx, str.yyyymmddhhnnss
mov eax, 0x54b20a
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x498ca4
cmp dx, bx
je 0x498ca0
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x498ca4
add eax, esi
add ecx, esi
cmp dx, bx
jne 0x498c80
xor eax, eax
jmp 0x498ca9
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x498cc6
xor eax, eax
nop
movzx ecx, word [eax + str.yyyymmddhhmmss]
mov word [eax + 0x54b20a], cx
add eax, 2
cmp cx, bx
jne 0x498cb0
push ebx
push str.FileTimeMode
lea eax, [esp + 0xd8]
push eax
call fcn.0046c8f0
push ebx
push str.FileDays
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x56bed4], eax
call fcn.0046c8f0
push ebx
push str.FileHours
lea edx, [esp + 0xd8]
push edx
mov dword [0x56bed8], eax
call fcn.0046c8f0
push ebx
mov dword [0x56bedc], eax
push str.FileMinutes
lea eax, [esp + 0xd8]
push eax
call fcn.0046c8f0
mov ecx, dword [0x56bed4]
mov dword [0x56bee0], eax
mov dword [0x54b310], ebx
mov dword [0x54b314], ebx
mov dword [0x54b318], ebx
mov dword [0x54b31c], ebx
cmp ecx, 1
je 0x498d4e
cmp ecx, 2
jne 0x498da7
mov ecx, dword [0x56bedc]
mov edx, dword [0x56bed8]
push eax
push ecx
push edx
lea eax, [esp + 0x3e0]
push str._dd_dh_dm
push eax
mov edx, 0x50
call fcn.0041cb70
add esp, 0x14
cmp dword [0x56bed4], 1
jne 0x498d8f
lea ecx, [esp + 0x3d4]
push ecx
mov ecx, 0x54b310
jmp 0x498d9c
lea edx, [esp + 0x3d4]
push edx
mov ecx, 0x54b318
call fcn.00482b90
mov ecx, dword [0x56bed4]
cmp ecx, edi
je 0x498daf
cmp ecx, esi
jne 0x498e03
push ebx
push str.FileTimeBefore
lea eax, [esp + 0xd8]
push eax
call fcn.0046c8f0
cmp eax, ebx
je 0x498dd9
cmp dword [0x56bed4], edi
jne 0x498dd9
push eax
mov ecx, 0x54b310
call fcn.00482a40
push ebx
push str.FileTimeAfter
lea ecx, [esp + 0xd8]
push ecx
call fcn.0046c8f0
cmp eax, ebx
je 0x498e03
cmp dword [0x56bed4], esi
jne 0x498e03
push eax
mov ecx, 0x54b318
call fcn.00482a40
push ebx
push str.ArcTimeOriginal
lea edx, [esp + 0xd8]
push edx
mov dword [0x54b1d8], ebx
call fcn.0046c8f0
test eax, eax
je 0x498e2a
mov dword [0x54b1d8], 1
push ebx
push str.ArcTimeLatest
lea eax, [esp + 0xd8]
push eax
call fcn.0046c8f0
test eax, eax
je 0x498e4b
mov dword [0x54b1d8], 2
push esi
push str.mtime
lea ecx, [esp + 0xd8]
push ecx
call fcn.0046c8f0
push ebx
push str.ctime
lea edx, [esp + 0xd8]
push edx
mov dword [0x54c3fc], eax
call fcn.0046c8f0
push ebx
mov dword [0x54c400], eax
push str.atime
lea eax, [esp + 0xd8]
push eax
call fcn.0046c8f0
mov ecx, dword [0x551488]
neg ecx
push ebx
sbb ecx, ecx
push str.PathsAbs
lea edx, [esp + 0xd8]
and ecx, 5
push edx
mov dword [0x54c404], eax
mov dword [0x54b1b0], ecx
call fcn.0046c8f0
test eax, eax
je 0x498ec3
mov dword [0x54b1b0], edi
push ebx
push str.PathsNone
lea eax, [esp + 0xd8]
push eax
call fcn.0046c8f0
pop edi
test eax, eax
je 0x498ee5
mov dword [0x54b1b0], 1
push ebx
push str.PathsAbsDrive
lea ecx, [esp + 0xd4]
push ecx
call fcn.0046c8f0
test eax, eax
je 0x498f02
mov dword [0x54b1b0], esi
push ebx
push str.ImmExec
lea edx, [esp + 0xd4]
push edx
call fcn.0046c8f0
push ebx
test eax, eax
push str.SeparateArc
lea ecx, [esp + 0xd4]
setne al
push ecx
mov byte [0x56bee4], al
call fcn.0046c8f0
push 0x800
push 0x4d79fc
push 0x54b3f4
test eax, eax
push str.EmailArcTo
lea eax, [esp + 0xdc]
setne dl
push eax
mov byte [0x54f434], dl
call fcn.0046c8c0
push 0xc0
push ebx
lea ecx, [esp + 0x14]
push ecx
push str.PackDetails
lea edx, [esp + 0xdc]
push edx
call fcn.0046c910
push 0xc0
push ebx
push 0x54b334
call fcn.004c1d50
add esp, 0xc
xor eax, eax
mov ecx, dword [eax + 0x4eaedc]
mov edx, dword [eax + 0x4eaed8]
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 + 0x54b334]
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 0x498f90
mov ecx, dword [esp + 0x2470]
pop esi
pop ebx
xor ecx, esp
call fcn.004c1302
add esp, 0x246c
ret 0xc