Function at 0x5498ac
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
mov ebx, ecx
test ebx, ebx
js 0x5498c4
shr ebx, 2
mov esi, dword [edx + ebx*4]
dec ebx
push esi
jns 0x5498bd
mov edx, esp
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 5], edx
mov byte [ebp - 1], al
xor eax, eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 5]
mov edx, dword [ebp - 0xc]
mov al, byte [eax + edx]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov byte [edx + ecx], al
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 8
jne 0x5498d4
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00549150
cmp byte [ebp - 1], 0
jne 0x549a01
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
mov edx, dword [ebp - 0x10]
mov byte [ebp + edx - 0x14], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x54990e
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx + 4]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x54992c
push 0x63
lea eax, [ebp - 0x18]
push eax
push 3
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax*4 + 0x6ee9c0]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00549748
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov al, byte [ebp + eax - 0x14]
mov edx, dword [ebp - 0x10]
xor al, byte [ebp + edx - 0x18]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx + 4], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x549970
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x10
jne 0x549909
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx + 4]
mov edx, dword [ebp - 0x10]
mov byte [ebp + edx - 0x14], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x5499a3
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx + 4], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x5499c2
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov al, byte [ebp + eax - 0x14]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x5499e3
jmp 0x549b05
cmp byte [ebp - 1], 1
jne 0x549b05
mov dword [ebp - 0xc], 0xf
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
mov edx, dword [ebp - 0x10]
mov byte [ebp + edx - 0x14], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x549a17
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx + 4]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x549a35
push 0x63
lea eax, [ebp - 0x18]
push eax
push 3
mov eax, dword [ebp - 0xc]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea ecx, [eax*4 + 0x6ee9c0]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.00549748
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov al, byte [ebp + eax - 0x14]
mov edx, dword [ebp - 0x10]
xor al, byte [ebp + edx - 0x18]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx + 4], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x549a79
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xffffffff
jne 0x549a12
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx + 4]
mov edx, dword [ebp - 0x10]
mov byte [ebp + edx - 0x14], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x549aac
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x10]
mov al, byte [eax + edx]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx + 4], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x549acb
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov al, byte [ebp + eax - 0x14]
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov byte [edx + ecx], al
inc dword [ebp - 0x10]
cmp dword [ebp - 0x10], 4
jne 0x549aec
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
call fcn.005491ec
mov esi, dword [ebp - 0x24]
mov ebx, dword [ebp - 0x20]
mov esp, ebp
pop ebp
ret 8