Function at 0x488a90
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x14
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, 1
mov dword [ebp - 0x10], 1
mov eax, 0
mov dword [ebp - 0x14], 0
jmp 0x488de0
mov eax, dword [ebp + 0xc]
cmp eax, 0x15b0
jge 0x488acd
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0x15b0
jl 0x488ae3
mov eax, 0x15b0
mov dword [ebp - 0x1c], 0x15b0
mov eax, dword [ebp - 0x1c]
push edx
mov edx, 0x10
mov ecx, edx
cdq
idiv ecx
pop edx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, 0
je 0x488d5f
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
mov edx, eax
mov eax, dword [ebp - 0x10]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 1]
mov edx, eax
mov eax, dword [ebp - 0x10]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 2]
mov edx, eax
mov eax, dword [ebp - 0x10]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 3]
mov edx, eax
mov eax, dword [ebp - 0x10]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 4]
mov edx, eax
mov eax, dword [ebp - 0x10]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 5]
mov edx, eax
mov eax, dword [ebp - 0x10]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 6]
mov edx, eax
mov eax, dword [ebp - 0x10]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 7]
mov edx, eax
mov eax, dword [ebp - 0x10]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 8]
mov edx, eax
mov eax, dword [ebp - 0x10]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 9]
mov edx, eax
mov eax, dword [ebp - 0x10]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0xa]
mov edx, eax
mov eax, dword [ebp - 0x10]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0xb]
mov edx, eax
mov eax, dword [ebp - 0x10]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0xc]
mov edx, eax
mov eax, dword [ebp - 0x10]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0xd]
mov edx, eax
mov eax, dword [ebp - 0x10]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0xe]
mov edx, eax
mov eax, dword [ebp - 0x10]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0xf]
mov edx, eax
mov eax, dword [ebp - 0x10]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
add eax, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
cmp eax, 0
jne 0x488b03
mov eax, dword [ebp - 0x1c]
push edx
mov edx, 0x10
mov ecx, edx
cdq
idiv ecx
mov eax, edx
pop edx
mov dword [ebp - 0x18], eax
jmp 0x488da3
mov eax, dword [ebp - 0xc]
mov al, byte [eax]
mov edx, eax
mov eax, dword [ebp - 0x10]
and edx, 0xff
add eax, edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
add eax, edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x18]
dec eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
cmp eax, 0
jne 0x488d75
mov eax, dword [ebp - 0x10]
push edx
mov edx, 0xfff1
mov ecx, edx
cdq
idiv ecx
mov eax, edx
pop edx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
push edx
mov edx, 0xfff1
mov ecx, edx
cdq
idiv ecx
mov eax, edx
pop edx
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 0x1c]
sub eax, edx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
cmp eax, 0
jg 0x488abd
mov eax, dword [ebp - 0x14]
shl eax, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x10]
or eax, edx
leave
ret 8