Function at 0x488640
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov ebx, edx
test ebx, ebx
js 0x488675
mov esi, dword [eax + ebx*4]
dec ebx
push esi
jns 0x48866e
mov eax, esp
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00404878
xor eax, eax
push ebp
push 0x488bec
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
mov ecx, 1
mov edx, dword [0x488600]
call fcn.00405870
add esp, 4
push 4
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, dword [0x488620]
call fcn.00405870
add esp, 4
mov eax, dword [ebp + 8]
call fcn.004043c8
mov eax, dword [ebp - 0x10]
call fcn.0040569c
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov edx, ebx
call fcn.0048845c
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 8]
call fcn.00404688
test eax, eax
jbe 0x48870c
mov ebx, 1
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx - 1]
mov ecx, dword [ebp - 0xc]
add dword [ecx], edx
inc ebx
dec eax
jne 0x4886fb
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 4], edx
mov esi, 1
mov eax, dword [ebp - 8]
call fcn.00404688
test eax, eax
jbe 0x488745
mov ebx, 1
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx - 1]
imul edx, esi
mov ecx, dword [ebp - 0xc]
add dword [ecx + 4], edx
mov edx, esi
add edx, edx
mov esi, edx
inc ebx
dec eax
jne 0x48872a
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 8], edx
mov esi, 1
mov eax, dword [ebp - 8]
call fcn.00404688
mov ebx, eax
cmp ebx, 1
jb 0x48877c
mov eax, dword [ebp - 8]
movzx eax, byte [eax + ebx - 1]
imul esi
mov edx, dword [ebp - 0xc]
add dword [edx + 8], eax
mov eax, esi
add eax, eax
mov esi, eax
dec ebx
test ebx, ebx
jne 0x488761
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 8]
call fcn.00404688
test eax, eax
jbe 0x4887a7
mov ebx, 1
mov edx, dword [ebp - 8]
movzx edx, byte [edx + ebx - 1]
mov ecx, dword [ebp - 0xc]
xor dword [ecx + 0xc], edx
inc ebx
dec eax
jne 0x488795
xor ebx, ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + ebx*4]
mov edx, dword [ebp - 0xc]
add eax, dword [edx + ebx*4]
mov ecx, 0x24
xor edx, edx
div ecx
mov esi, edx
mov eax, dword [ebp - 0x10]
mov dword [eax + ebx*4], esi
test esi, esi
jge 0x4887d1
mov eax, dword [ebp - 0x10]
add dword [eax + ebx*4], 0x24
lea eax, [ebp - 0x18]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + ebx*4]
mov ecx, dword [0x48c6cc]
mov dl, byte [ecx + edx]
call fcn.004045b0
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp + 8]
call fcn.00404690
mov eax, dword [ebp + 8]
inc ebx
cmp ebx, 4
jne 0x4887a9
mov esi, 0xffff
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x488c08
call fcn.0040990c
push dword [ebp - 0x1c]
lea eax, [ebp - 0x28]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x488c08
call fcn.0040990c
push dword [ebp - 0x28]
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x488c08
call fcn.0040990c
push dword [ebp - 0x2c]
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x488c08
call fcn.0040990c
push dword [ebp - 0x30]
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00404748
mov eax, dword [ebp - 0x14]
call fcn.00404688
test eax, eax
jbe 0x4888d9
mov ebx, 1
mov edx, esi
and edx, 0xff
mov ecx, dword [ebp - 0x14]
movzx ecx, byte [ecx + ebx - 1]
xor edx, ecx
mov edx, dword [edx*4 + 0x48c2cc]
shr esi, 8
and esi, 0xff
xor edx, esi
mov esi, edx
inc ebx
dec eax
jne 0x4888af
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x24], esi
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x488c18
call fcn.0040990c
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp + 8]
call fcn.00404690
mov eax, dword [ebp + 8]
lea eax, [ebp - 0x14]
mov edx, dword [ebp + 8]
mov edx, dword [edx]
call fcn.00404460
mov eax, dword [ebp + 8]
call fcn.004043c8
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
lea edx, [ebp - 0x24]
xor ecx, ecx
mov eax, 0x488c08
call fcn.0040990c
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax + 3]
and eax, 1
test eax, eax
jne 0x488a76
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x14]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0x40]
call fcn.00402e50
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x14]
mov dl, byte [edx + 4]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x40]
mov cl, 2
call fcn.00402e20
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x48]
call fcn.00402e50
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x14]
mov dl, byte [edx + 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x48]
mov cl, 3
call fcn.00402e20
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x50]
call fcn.00402e50
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x14]
mov dl, byte [edx + 5]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x50]
mov cl, 4
call fcn.00402e20
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x58]
call fcn.00402e50
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x14]
mov dl, byte [edx + 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x58]
mov cl, 5
call fcn.00402e20
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x60]
call fcn.00402e50
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x14]
mov dl, byte [edx + 6]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x60]
mov cl, 6
call fcn.00402e20
lea edx, [ebp - 0x60]
lea eax, [ebp - 0x24]
call fcn.00402e50
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x14]
mov dl, byte [edx + 3]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x24]
mov cl, 7
call fcn.00402e20
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x6c]
call fcn.00402e50
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x14]
mov dl, byte [edx + 7]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x6c]
mov cl, 8
call fcn.00402e20
lea edx, [ebp - 0x6c]
mov eax, dword [ebp + 8]
call fcn.0040462c
jmp 0x488ba0
lea eax, [ebp - 0x3c]
mov edx, dword [ebp - 0x14]
mov dl, byte [edx]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0x40]
call fcn.00402e50
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x14]
mov dl, byte [edx + 4]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x40]
mov cl, 2
call fcn.00402e20
lea edx, [ebp - 0x40]
lea eax, [ebp - 0x48]
call fcn.00402e50
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x14]
mov dl, byte [edx + 5]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x48]
mov cl, 3
call fcn.00402e20
lea edx, [ebp - 0x48]
lea eax, [ebp - 0x50]
call fcn.00402e50
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x14]
mov dl, byte [edx + 1]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x50]
mov cl, 4
call fcn.00402e20
lea edx, [ebp - 0x50]
lea eax, [ebp - 0x58]
call fcn.00402e50
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x14]
mov dl, byte [edx + 2]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x58]
mov cl, 5
call fcn.00402e20
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x60]
call fcn.00402e50
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x14]
mov dl, byte [edx + 6]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x60]
mov cl, 6
call fcn.00402e20
lea edx, [ebp - 0x60]
lea eax, [ebp - 0x24]
call fcn.00402e50
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x14]
mov dl, byte [edx + 7]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x24]
mov cl, 7
call fcn.00402e20
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x6c]
call fcn.00402e50
lea eax, [ebp - 0x44]
mov edx, dword [ebp - 0x14]
mov dl, byte [edx + 3]
mov byte [eax + 1], dl
mov byte [eax], 1
lea edx, [ebp - 0x44]
lea eax, [ebp - 0x6c]
mov cl, 8
call fcn.00402e20
lea edx, [ebp - 0x6c]
mov eax, dword [ebp + 8]
call fcn.0040462c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x488bf3
lea eax, [ebp - 0x38]
mov edx, 5
call fcn.004043ec
lea eax, [ebp - 0x1c]
mov edx, 3
call fcn.004043ec
lea eax, [ebp - 0x10]
mov edx, dword [0x488620]
call fcn.0040587c
lea eax, [ebp - 0xc]
mov edx, dword [0x488600]
call fcn.0040587c
lea eax, [ebp - 8]
call fcn.004043c8
ret