Function at 0x498940
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x246c
call fcn.004c1c40
mov eax, dword [0x4ec0b4]
xor eax, esp
mov dword [esp + 0x2468], eax
mov eax, dword [esp + 0x2478]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
je 0x498979
push 0x50
push eax
lea eax, [esp + 0xd4]
push eax
call fcn.0047fbe0
jmp 0x49899b
mov ecx, dword [esp + 0x2478]
push ecx
lea edx, [esp + 0xd0]
push str.Profiles_d
push edx
mov edx, 0x50
call fcn.00407810
add esp, 0xc
push 0x800
push 0x4d89fc
lea eax, [esp + 0x478]
push eax
push str.ArcName
lea ecx, [esp + 0xdc]
push ecx
call fcn.0046ceb0
cmp word [esp + 0x470], bx
je 0x4989e7
xor eax, eax
jmp 0x4989d0
movzx ecx, word [esp + eax + 0x470]
mov word [eax + 0x55147a], cx
add eax, 2
cmp cx, bx
jne 0x4989d0
push edi
cmp byte [esp + 0x2480], bl
je 0x498b43
push str.FileNames
lea edx, [esp + 0xd4]
push edx
call fcn.0046cf30
cmp eax, ebx
jle 0x498add
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.004c1c17
add esp, 4
push edi
push 0x4d89fc
mov esi, eax
push esi
push str.FileNames
lea eax, [esp + 0xe0]
push eax
call fcn.0046ceb0
push ebx
push ebx
push 0x55247c
push esi
call fcn.004805c0
push esi
call fcn.004c26ea
add esp, 4
push 0x800
push 0x4d89fc
lea ecx, [esp + 0x147c]
push ecx
push str.CurDir
lea edx, [esp + 0xe0]
push edx
mov byte [0x56ceee], 1
call fcn.0046ceb0
cmp word [esp + 0x1474], bx
je 0x498add
lea eax, [esp + 0x1474]
push eax
mov ecx, 0x5404f0
call fcn.00451650
mov byte [0x56ceee], 1
cmp word [0x55147a], bx
je 0x498add
push 0x55147a
call fcn.00461570
test al, al
jne 0x498add
push 0x800
push 0x55147a
push 0x55147a
mov ecx, 0x5404f0
call fcn.0044c5f0
push str.ExclNames
lea ecx, [esp + 0xd4]
push ecx
call fcn.0046cf30
cmp eax, ebx
jle 0x498b43
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.004c1c17
add esp, 4
push edi
push 0x4d89fc
mov esi, eax
push esi
push str.ExclNames
lea eax, [esp + 0xe0]
push eax
call fcn.0046ceb0
push ebx
push ebx
push 0x5524d8
push esi
call fcn.004805c0
push esi
call fcn.004c26ea
add esp, 4
push str.StoreNames
lea ecx, [esp + 0xd4]
push ecx
call fcn.0046cf30
cmp eax, 0x200
jg 0x498b61
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.004c1c17
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.0046ceb0
push ebx
push ebx
push 0x5525ec
push esi
call fcn.004805c0
push esi
call fcn.004c26ea
add esp, 4
push ebx
push str.Default
lea ecx, [esp + 0xd8]
push ecx
call fcn.0046cee0
push 1
push str.UseRAR
lea edx, [esp + 0xd8]
test eax, eax
push edx
setne byte [esp + 0x1b]
call fcn.0046cee0
neg eax
sbb eax, eax
inc eax
mov dword [0x54e418], eax
cmp eax, ebx
jne 0x498c0b
push ebx
push 0x4de888
lea eax, [esp + 0xd8]
push eax
call fcn.0046cee0
mov byte [0x54c1f7], 1
test eax, eax
jne 0x498c11
mov byte [0x54c1f7], bl
push 0x800
push 0x4d89fc
push 0x547070
push str.SFXModule
lea ecx, [esp + 0xe0]
push ecx
call fcn.0046ceb0
cmp word [0x547070], bx
jne 0x498c63
push ebx
push 0x4d91d8
lea edx, [esp + 0xd8]
push edx
call fcn.0046cee0
neg eax
sbb eax, eax
and eax, 0x2a
mov word [0x547070], ax
xor eax, eax
mov word [0x547072], ax
push 0x800
push 0x4d89fc
push 0x54e422
push str.SFXIcon
lea ecx, [esp + 0xe0]
push ecx
call fcn.0046ceb0
push 0x800
push 0x4d89fc
push 0x54f422
push str.SFXLogo
lea edx, [esp + 0xe0]
push edx
call fcn.0046ceb0
push ebx
push str.SFXElevate
lea eax, [esp + 0xd8]
push eax
call fcn.0046cee0
test eax, eax
push 0x4d881c
setne cl
push 0x55147a
mov byte [0x550422], cl
call fcn.00460e70
movzx edx, al
xor eax, eax
cmp word [0x547070], bx
setne al
cmp edx, eax
jne 0x498cff
push 1
push ebx
push 1
push ebx
push ebx
push 0x55147a
mov ecx, 0x542618
call fcn.004194b0
test al, al
je 0x498d23
cmp word [0x547070], bx
mov ecx, dword [0x54e418]
setne dl
push ecx
movzx eax, dl
push eax
push 0x800
push 0x55147a
call fcn.00498630
push 0x800
push 0x4d89fc
push 0x549076
push str.CmtFile
lea ecx, [esp + 0xe0]
push ecx
call fcn.0046ceb0
push 0x20000
call fcn.004c1c17
mov esi, eax
add esp, 4
cmp esi, ebx
je 0x498e5c
push 0x20000
push ebx
push esi
push str.CmtDataWide
lea edx, [esp + 0xe0]
push edx
call fcn.0046cf00
cmp word [esi], bx
jne 0x498dd8
push 0x10000
push 0x4d89fc
push esi
push str.CmtTextWide
lea eax, [esp + 0xe0]
push eax
call fcn.0046ceb0
cmp word [esi], bx
jne 0x498dd8
push 0x10000
call fcn.004c1c17
add esp, 4
push 0x10000
push ebx
mov edi, eax
push edi
push str.CmtTextData
lea ecx, [esp + 0xe0]
push ecx
call fcn.0046cf00
push 0x10000
push esi
push edi
call fcn.00487280
push edi
call fcn.004c26ea
add esp, 4
xor edx, edx
mov word [esi + 0x1fffe], dx
mov eax, dword [0x56ced4]
push eax
cmp word [esi], bx
je 0x498e45
call fcn.004c26ea
mov eax, esi
add esp, 4
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x498e00
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.004c1c17
add esp, 4
mov dword [0x56ced4], 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 0x498e32
jmp 0x498e53
call fcn.004c26ea
add esp, 4
mov dword [0x56ced4], ebx
push esi
call fcn.004c26ea
add esp, 4
push 0x32
push 0x4d89fc
lea ecx, [esp + 0x278]
push ecx
push str.VolumeSize
lea edx, [esp + 0xe0]
push edx
call fcn.0046ceb0
mov ax, word [esp + 0x270]
cmp ax, bx
jne 0x498ea0
push ebx
push str.VolSize
lea eax, [esp + 0xd8]
push eax
call fcn.0046cee0
cdq
jmp 0x498ecc
xor ecx, ecx
cmp ax, 0x41
sete cl
push ecx
call fcn.004877a0
test eax, eax
je 0x498ebf
mov eax, 0x7fffffff
mov dword [0x54c1c4], eax
jmp 0x498ed2
lea edx, [esp + 0x270]
push edx
call fcn.004877c0
mov dword [0x54c1c4], edx
push 2
mov dword [0x54c1c0], eax
push str.VolSizeMod
lea eax, [esp + 0xd8]
push eax
call fcn.0046cee0
push ebx
push str.VolPause
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x550430], eax
call fcn.0046cee0
push ebx
test eax, eax
push str.OldVolNames
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54c33a], dl
call fcn.0046cee0
push ebx
test eax, eax
push str.RecVolNumber
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54c1fc], cl
call fcn.0046cee0
push ebx
mov dword [0x54c1a0], eax
push str.Update
lea eax, [esp + 0xd8]
push eax
call fcn.0046cee0
push ebx
test eax, eax
push str.Fresh
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54c1b4], cl
call fcn.0046cee0
push ebx
test eax, eax
push str.SyncFiles
lea ecx, [esp + 0xd8]
setne al
push ecx
mov byte [0x54c1b3], al
call fcn.0046cee0
push ebx
test eax, eax
push str.Overwrite
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54c312], dl
call fcn.0046cee0
push ebx
push str.Move
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x54c190], eax
call fcn.0046cee0
push ebx
test eax, eax
push str.ArcRecBin
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54c1f6], dl
call fcn.0046cee0
push ebx
test eax, eax
push str.ArcWipe
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54c1fa], cl
call fcn.0046cee0
test eax, eax
push ebx
push str.WipeIfPassword
lea ecx, [esp + 0xd8]
setne al
push ecx
mov byte [0x54c1f9], al
call fcn.0046cee0
push ebx
test eax, eax
push str.Solid
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x55042d], dl
call fcn.0046cee0
push ebx
push str.Test
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x54c1a8], eax
call fcn.0046cee0
push ebx
test eax, eax
push str.Recovery
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54c339], dl
call fcn.0046cee0
push ebx
push str.EraseDest
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x54c19c], eax
call fcn.0046cee0
push ebx
test eax, eax
push str.AddArcOnly
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54c1f8], dl
call fcn.0046cee0
push ebx
test eax, eax
push str.ClearArc
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54c1b1], cl
call fcn.0046cee0
push ebx
test eax, eax
push str.Lock
lea ecx, [esp + 0xd8]
setne al
push ecx
mov byte [0x54c1b0], al
call fcn.0046cee0
mov edi, 3
push edi
test eax, eax
push str.Method
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54c338], dl
call fcn.0046cee0
push 0x400000
push str.DictSizeLZ
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x54c194], eax
call fcn.0046cee0
push 0x2000000
push str.DictSize
lea edx, [esp + 0xd8]
push edx
mov dword [0x54606c], eax
call fcn.0046cee0
mov dword [0x54e41c], eax
push 0x100
lea ecx, [esp + 0x174]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x2e0], ax
call fcn.004c2670
add esp, 0xc
push 0x100
push ebx
lea edx, [esp + 0x178]
push edx
push str.PasswordWide
lea eax, [esp + 0xe0]
push eax
call fcn.0046cf00
cmp eax, ebx
jne 0x4991ef
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.0046cf00
xor ecx, ecx
cmp eax, ebx
jle 0x4991d3
jmp 0x4991c0
mov dl, cl
add dl, 0x49
xor byte [esp + ecx + 0x170], dl
je 0x4991d3
inc ecx
cmp ecx, eax
jl 0x4991c0
push 0x80
lea eax, [esp + 0x2d8]
push eax
lea ecx, [esp + 0x178]
push ecx
call fcn.00487280
jmp 0x49922b
xor ecx, ecx
cmp eax, ebx
jle 0x499211
jmp 0x499200
mov dl, cl
add dl, 0x49
xor byte [esp + ecx + 0x170], dl
inc ecx
cmp ecx, eax
jl 0x499200
push 0x80
lea eax, [esp + 0x2d8]
push eax
lea ecx, [esp + 0x178]
push ecx
call fcn.00487300
cmp byte [esp + 0xf], bl
je 0x499241
cmp byte [0x54b184], bl
jne 0x499271
cmp byte [0x54b186], bl
jne 0x499271
lea edx, [esp + 0x2d4]
push edx
mov ecx, 0x54b084
call fcn.004791b0
push ebx
push str.EncryptHeaders
lea eax, [esp + 0xd8]
push eax
call fcn.0046cee0
test eax, eax
setne cl
mov byte [0x54b186], cl
push 0x100
lea edx, [esp + 0x2d8]
push edx
call fcn.00479130
push 0x100
lea eax, [esp + 0x174]
push eax
call fcn.00479130
push ebx
push str.OpenShared
lea ecx, [esp + 0xd8]
push ecx
call fcn.0046cee0
push ebx
test eax, eax
push str.ProcessOwners
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54c1f5], dl
call fcn.0046cee0
push 1
test eax, eax
push str.SaveStreams
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54c1e8], cl
call fcn.0046cee0
push ebx
test eax, eax
push str.SaveSymLinks
lea ecx, [esp + 0xd8]
setne al
push ecx
mov byte [0x54c314], al
call fcn.0046cee0
push ebx
test eax, eax
push str.SaveHardLinks
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x54c1e9], dl
call fcn.0046cee0
push ebx
test eax, eax
push str.Background
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54c1ea], cl
call fcn.0046cee0
push ebx
test eax, eax
push str.WaitForOther
lea ecx, [esp + 0xd8]
setne al
push ecx
mov byte [0x550423], al
call fcn.0046cee0
push ebx
test eax, eax
push str.Shutdown
lea eax, [esp + 0xd8]
setne dl
push eax
mov byte [0x550424], dl
call fcn.0046cee0
push ebx
test eax, eax
push str.GenerateArcName
lea edx, [esp + 0xd8]
setne cl
push edx
mov byte [0x54d401], cl
call fcn.0046cee0
test eax, eax
setne al
mov byte [0x54c210], al
push ebx
push str.VersionControl
lea ecx, [esp + 0xd8]
push ecx
call fcn.0046cee0
push ebx
push 0x4de544
lea edx, [esp + 0xd8]
push edx
mov dword [0x54d3fc], eax
call fcn.0046cee0
neg eax
sbb eax, eax
neg eax
add eax, 2
push ebx
mov dword [0x54c198], eax
push str.FileCopies
lea eax, [esp + 0xd8]
push eax
call fcn.0046cee0
neg eax
push 1
sbb eax, eax
push str.QuickOpen
lea ecx, [esp + 0xd8]
neg eax
push ecx
mov dword [0x54c200], eax
call fcn.0046cee0
push 0x80
push str.yyyymmddhhmmss
push 0x54c212
push str.GenerateMask
lea edx, [esp + 0xe0]
push edx
mov dword [0x548070], eax
call fcn.0046ceb0
mov esi, 4
cmp word [0x54c212], bx
je 0x49947d
mov ecx, str.yyyymmddhhnnss
mov eax, 0x54c212
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x499474
cmp dx, bx
je 0x499470
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x499474
add eax, esi
add ecx, esi
cmp dx, bx
jne 0x499450
xor eax, eax
jmp 0x499479
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x499496
xor eax, eax
nop
movzx ecx, word [eax + str.yyyymmddhhmmss]
mov word [eax + 0x54c212], cx
add eax, 2
cmp cx, bx
jne 0x499480
push ebx
push str.FileTimeMode
lea eax, [esp + 0xd8]
push eax
call fcn.0046cee0
push ebx
push str.FileDays
lea ecx, [esp + 0xd8]
push ecx
mov dword [0x56cedc], eax
call fcn.0046cee0
push ebx
push str.FileHours
lea edx, [esp + 0xd8]
push edx
mov dword [0x56cee0], eax
call fcn.0046cee0
push ebx
mov dword [0x56cee4], eax
push str.FileMinutes
lea eax, [esp + 0xd8]
push eax
call fcn.0046cee0
mov ecx, dword [0x56cedc]
mov dword [0x56cee8], eax
mov dword [0x54c318], ebx
mov dword [0x54c31c], ebx
mov dword [0x54c320], ebx
mov dword [0x54c324], ebx
cmp ecx, 1
je 0x49951e
cmp ecx, 2
jne 0x499577
mov ecx, dword [0x56cee4]
mov edx, dword [0x56cee0]
push eax
push ecx
push edx
lea eax, [esp + 0x3e0]
push str._dd_dh_dm
push eax
mov edx, 0x50
call fcn.00407810
add esp, 0x14
cmp dword [0x56cedc], 1
jne 0x49955f
lea ecx, [esp + 0x3d4]
push ecx
mov ecx, 0x54c318
jmp 0x49956c
lea edx, [esp + 0x3d4]
push edx
mov ecx, 0x54c320
call fcn.00483260
mov ecx, dword [0x56cedc]
cmp ecx, edi
je 0x49957f
cmp ecx, esi
jne 0x4995d3
push ebx
push str.FileTimeBefore
lea eax, [esp + 0xd8]
push eax
call fcn.0046cee0
cmp eax, ebx
je 0x4995a9
cmp dword [0x56cedc], edi
jne 0x4995a9
push eax
mov ecx, 0x54c318
call fcn.00483110
push ebx
push str.FileTimeAfter
lea ecx, [esp + 0xd8]
push ecx
call fcn.0046cee0
cmp eax, ebx
je 0x4995d3
cmp dword [0x56cedc], esi
jne 0x4995d3
push eax
mov ecx, 0x54c320
call fcn.00483110
push ebx
push str.ArcTimeOriginal
lea edx, [esp + 0xd8]
push edx
mov dword [0x54c1e0], ebx
call fcn.0046cee0
test eax, eax
je 0x4995fa
mov dword [0x54c1e0], 1
push ebx
push str.ArcTimeLatest
lea eax, [esp + 0xd8]
push eax
call fcn.0046cee0
test eax, eax
je 0x49961b
mov dword [0x54c1e0], 2
push esi
push str.mtime
lea ecx, [esp + 0xd8]
push ecx
call fcn.0046cee0
push ebx
push str.ctime
lea edx, [esp + 0xd8]
push edx
mov dword [0x54d404], eax
call fcn.0046cee0
push ebx
mov dword [0x54d408], eax
push str.atime
lea eax, [esp + 0xd8]
push eax
call fcn.0046cee0
mov ecx, dword [0x552490]
neg ecx
push ebx
sbb ecx, ecx
push str.PathsAbs
lea edx, [esp + 0xd8]
and ecx, 5
push edx
mov dword [0x54d40c], eax
mov dword [0x54c1b8], ecx
call fcn.0046cee0
test eax, eax
je 0x499693
mov dword [0x54c1b8], edi
push ebx
push str.PathsNone
lea eax, [esp + 0xd8]
push eax
call fcn.0046cee0
pop edi
test eax, eax
je 0x4996b5
mov dword [0x54c1b8], 1
push ebx
push str.PathsAbsDrive
lea ecx, [esp + 0xd4]
push ecx
call fcn.0046cee0
test eax, eax
je 0x4996d2
mov dword [0x54c1b8], esi
push ebx
push str.ImmExec
lea edx, [esp + 0xd4]
push edx
call fcn.0046cee0
push ebx
test eax, eax
push str.SeparateArc
lea ecx, [esp + 0xd4]
setne al
push ecx
mov byte [0x56ceec], al
call fcn.0046cee0
push 0x800
push 0x4d89fc
push 0x54c3fc
test eax, eax
push str.EmailArcTo
lea eax, [esp + 0xdc]
setne dl
push eax
mov byte [0x55043c], dl
call fcn.0046ceb0
push 0xc0
push ebx
lea ecx, [esp + 0x14]
push ecx
push str.PackDetails
lea edx, [esp + 0xdc]
push edx
call fcn.0046cf00
push 0xc0
push ebx
push 0x54c33c
call fcn.004c2670
add esp, 0xc
xor eax, eax
mov ecx, dword [eax + 0x4ebedc]
mov edx, dword [eax + 0x4ebed8]
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 + 0x54c33c]
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 0x499760
mov ecx, dword [esp + 0x2470]
pop esi
pop ebx
xor ecx, esp
call fcn.004c1c22
add esp, 0x246c
ret 0xc