Function at 0x468d80
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x514718
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov edx, dword [ebp + 0xc]
mov eax, edx
push esi
mov esi, ecx
push edi
cmp dword [edx + 0x14], 8
mov dword [ebp - 0x10], esi
jb 0x468daf
mov eax, dword [edx]
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x24], ecx
lea ecx, [eax + ecx*2]
mov eax, edx
jb 0x468dbe
mov eax, dword [edx]
mov edi, ecx
xor edx, edx
sub edi, eax
mov dword [ebp - 0x18], edx
inc edi
mov dword [ebp - 0x20], edx
shr edi, 1
cmp eax, ecx
cmova edi, edx
test edi, edi
je 0x468e06
mov ecx, dword [ebp - 0x18]
lea eax, [eax + 2]
movzx esi, word [eax - 2]
shr ecx, 2
shl edx, 6
add ecx, 0x9e3779b9
add edx, esi
add ecx, edx
mov edx, dword [ebp - 0x18]
xor edx, ecx
mov ecx, dword [ebp - 0x20]
inc ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], ecx
cmp ecx, edi
jne 0x468dd6
mov esi, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
lea eax, [esi + 4]
mov dword [ebp - 0x14], eax
mov eax, edx
xor edx, edx
mov dword [ebp - 0x28], ecx
div ecx
cmp dword [esi + 8], 0
mov edi, edx
mov dword [ebp - 0x20], edi
jne 0x468e2a
xor ecx, ecx
jmp 0x468eb4
mov eax, dword [esi + 0x14]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x468e38
mov ecx, dword [ecx]
jmp 0x468e3a
xor ecx, ecx
test ecx, ecx
je 0x468edf
mov eax, dword [ecx + 4]
cmp dword [ebp - 0x18], eax
jne 0x468ed3
cmp dword [ecx + 0x1c], 8
lea eax, [ecx + 8]
mov esi, dword [eax + 0x10]
jb 0x468e5c
mov eax, dword [eax]
mov edi, dword [ebp + 0xc]
mov edx, edi
mov dword [ebp - 0x1c], edi
cmp dword [edi + 0x14], 8
jb 0x468e6f
mov edx, dword [edi]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x24], esi
jne 0x468ea8
mov esi, dword [ebp - 0x24]
mov edi, esi
test esi, esi
je 0x468eb1
movzx edx, word [edx]
movzx esi, word [eax]
cmp dx, si
jb 0x468ea8
sub dword [ebp - 0x1c], eax
cmp dx, si
ja 0x468ea8
cmp edi, 1
je 0x468eb1
mov edx, dword [ebp - 0x1c]
add eax, 2
dec edi
movzx edx, word [edx + eax]
movzx esi, word [eax]
cmp dx, si
jae 0x468e8e
mov edi, dword [ebp - 0x20]
mov ecx, dword [ecx]
test ecx, ecx
jne 0x468e42
mov esi, dword [ebp - 0x10]
test ecx, ecx
je 0x468edf
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword [eax], ecx
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
xor edx, edx
div dword [ebp - 0x28]
cmp edx, edi
je 0x468eab
mov esi, dword [ebp - 0x10]
lea ecx, [esi + 3]
mov dword [ebp - 0x30], 0
lea eax, [ecx + 1]
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [ebp - 0x34], ecx
push 0x20
mov dword [ebp - 4], 0
mov word [ebp - 0x2c], 0
call fcn.004cd0d4
mov edi, eax
mov word [ebp - 0x2c], 0x101
mov eax, dword [ebp + 0x10]
xorps xmm0, xmm0
xor ecx, ecx
mov dword [ebp - 0x30], edi
add esp, 4
mov dword [edi], 0
mov dword [edi + 4], 0
movups xmmword [edi + 8], xmm0
movq qword [edi + 0x18], xmm0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
movups xmm0, xmmword [eax]
movups xmmword [edi + 8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [edi + 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov eax, dword [esi + 8]
lea edx, [eax + 1]
cmp dword [esi + 0x14], ecx
jne 0x468f91
push edx
mov ecx, esi
call fcn.00449460
mov ecx, eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
cmp eax, ecx
cmovae ecx, eax
push ecx
mov ecx, esi
call fcn.00442240
jmp 0x469011
cmp edx, dword [esi + 0x10]
jbe 0x469011
mov ecx, eax
mov dword [ebp + 0xc], 1
shr ecx, 1
add eax, ecx
cmp edx, eax
cmovae ecx, dword [ebp + 0xc]
add ecx, dword [esi + 8]
push ecx
mov ecx, esi
call fcn.00449460
mov ecx, dword [ebp - 0x14]
cmp eax, dword [ecx]
je 0x469014
push eax
mov ecx, esi
call fcn.00442240
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [esi + 0x14]
lea esi, [eax + ecx*4]
mov ecx, dword [esi]
test ecx, ecx
je 0x46900e
mov edi, dword [ebp - 0x14]
xor edx, edx
mov eax, dword [ecx + 4]
div dword [edi]
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 0x14]
cmp dword [eax + edx*4], 0
lea edx, [eax + edx*4]
jne 0x468ff7
mov dword [edx], esi
mov esi, ecx
jmp 0x469005
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, dword [edx]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [edx]
mov dword [eax], ecx
mov ecx, dword [esi]
test ecx, ecx
jne 0x468fd8
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
xor edx, edx
mov dword [edi + 4], eax
mov ecx, dword [ecx]
div ecx
mov esi, dword [esi + 0x14]
mov eax, dword [esi + edx*4]
mov dword [ebp + 0xc], esi
mov dword [ebp + 0x10], ecx
lea esi, [esi + edx*4]
test eax, eax
jne 0x469057
mov eax, dword [ebp + 0xc]
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
test eax, eax
je 0x46904d
mov eax, dword [eax + 4]
xor edx, edx
div dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [eax + edx*4], edi
mov dword [esi], ecx
mov eax, dword [ecx]
mov dword [edi], eax
mov dword [ecx], edi
jmp 0x46905f
mov eax, dword [eax]
mov dword [edi], eax
mov eax, dword [esi]
mov dword [eax], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
inc dword [eax + 8]
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov byte [eax + 4], 1
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc