Function at 0x480b60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x10], ecx
cmp dword [ebp + 8], 0
js 0x48110f
mov eax, dword [ebp - 0x2c]
movzx ecx, word [eax + 2]
xor eax, eax
mov dword [ebp - 0x28], ecx
test ecx, ecx
sete al
mov edx, 0x8a
mov ecx, 7
cmove ecx, edx
mov edx, 4
sub edx, eax
mov dword [ebp - 0x14], edx
xor edi, edi
dec edi
xor edx, edx
xor ebx, ebx
jmp 0x480c50
mov ebx, dword [ebp - 0x20]
movzx edx, word [edi + ebx*4 + 0xace]
mov esi, 0x10
sub esi, edx
movzx ebx, word [edi + ebx*4 + 0xacc]
mov dword [ebp - 0x18], ebx
shl ebx, cl
or bx, word [edi + 0x1708]
mov word [edi + 0x1708], bx
cmp ecx, esi
jg 0x480bf5
add ecx, edx
mov edi, dword [ebp - 0x10]
mov dword [edi + 0x170c], ecx
dec eax
je 0x480d70
jmp 0x480bb0
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi + 8]
mov dword [ebp - 0x14], ecx
mov esi, dword [edi + 0x14]
lea ecx, [esi + 1]
mov dword [edi + 0x14], ecx
mov ecx, dword [ebp - 0x14]
mov byte [ecx + esi], bl
mov cl, byte [edi + 0x1709]
mov byte [ebp - 0x14], cl
mov esi, dword [edi + 8]
mov ebx, dword [edi + 0x14]
lea ecx, [ebx + 1]
mov dword [edi + 0x14], ecx
mov cl, byte [ebp - 0x14]
mov byte [esi + ebx], cl
mov ebx, dword [edi + 0x170c]
mov cl, 0x10
sub cl, bl
mov esi, dword [ebp - 0x18]
shr esi, cl
mov word [edi + 0x1708], si
lea ecx, [edx + ebx]
add ecx, 0xfffffff0
jmp 0x480be6
mov esi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], edx
movzx edx, word [eax + edx*4 + 6]
mov dword [ebp - 0x18], ebx
lea eax, [ebx + 1]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], esi
cmp esi, edx
sete dl
cmp eax, ecx
jge 0x480f25
test dl, dl
je 0x480c90
mov edx, dword [ebp - 0x24]
lea esi, [edx + 1]
mov ebx, eax
cmp edx, dword [ebp + 8]
mov edx, esi
jne 0x480c50
jmp 0x48110f
cmp eax, dword [ebp - 0x14]
jge 0x480ca3
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi + 0x170c]
jmp 0x480bb0
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x480dac
cmp ecx, edi
je 0x4810fc
mov edi, dword [ebp - 0x10]
movzx esi, word [edi + ecx*4 + 0xace]
mov eax, dword [edi + 0x170c]
mov edx, 0x10
sub edx, esi
movzx ebx, word [edi + ecx*4 + 0xacc]
mov dword [ebp - 0x14], ebx
mov ecx, eax
shl ebx, cl
or bx, word [edi + 0x1708]
mov word [edi + 0x1708], bx
cmp eax, edx
jg 0x480f74
mov ecx, eax
add eax, esi
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x18], eax
mov dword [edi + 0x170c], eax
movzx ebx, word [edi + 0xb0e]
mov edx, 0x10
movzx eax, word [edi + 0xb0c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
shl eax, cl
mov dword [ebp - 0x14], ebx
sub edx, ebx
or ax, word [edi + 0x1708]
cmp ecx, edx
jg 0x480eda
mov ebx, dword [ebp - 0x18]
add ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x170c], ebx
add esi, 0xfffd
cmp ebx, 0xf
jge 0x480fd1
mov ecx, ebx
shl esi, cl
or eax, esi
mov word [edx + 0x1708], ax
add ebx, 2
mov dword [edx + 0x170c], ebx
nop dword [eax]
xor eax, eax
mov edx, dword [ebp - 0x28]
test edx, edx
je 0x480d95
xor ecx, ecx
mov edi, dword [ebp - 0x20]
cmp edi, edx
sete cl
mov edx, 4
sub edx, ecx
mov dword [ebp - 0x14], edx
xor ecx, 7
jmp 0x480c7b
mov ecx, 0x8a
mov dword [ebp - 0x14], 3
mov edx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
jmp 0x480c7e
mov esi, dword [ebp - 0x18]
cmp esi, 9
jg 0x480e18
mov edx, dword [ebp - 0x10]
movzx ebx, word [edx + 0xb12]
mov ecx, dword [edx + 0x170c]
mov edi, 0x10
movzx eax, word [edx + 0xb10]
mov dword [ebp - 0x1c], eax
shl eax, cl
mov dword [ebp - 0x14], ebx
sub edi, ebx
or ax, word [edx + 0x1708]
cmp ecx, edi
jg 0x480f2c
mov ebx, ecx
add ebx, dword [ebp - 0x14]
mov dword [edx + 0x170c], ebx
add esi, 0xfffe
cmp ebx, 0xe
jge 0x48108c
mov ecx, ebx
shl esi, cl
or eax, esi
mov word [edx + 0x1708], ax
add ebx, 3
jmp 0x480d63
mov edi, dword [ebp - 0x10]
movzx ebx, word [edi + 0xb16]
mov ecx, dword [edi + 0x170c]
mov edx, 0x10
movzx eax, word [edi + 0xb14]
mov dword [ebp - 0x1c], eax
shl eax, cl
mov dword [ebp - 0x14], ebx
sub edx, ebx
or ax, word [edi + 0x1708]
cmp ecx, edx
jg 0x481041
mov ebx, ecx
add ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x170c], ebx
add esi, 0xfff6
cmp ebx, 0xa
jl 0x480fbc
movzx edi, si
mov ecx, ebx
shl esi, cl
or eax, esi
mov ecx, dword [ebp - 0x10]
mov word [ecx + 0x1708], ax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x14]
lea esi, [edx + 1]
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x14], esi
mov byte [ecx + edx], al
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0x1709]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x14]
lea esi, [edx + 1]
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x14], esi
mov byte [ecx + edx], al
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax + 0x170c]
mov cl, 0x10
sub cl, bl
shr edi, cl
mov eax, dword [ebp - 0x10]
mov word [eax + 0x1708], di
mov edx, dword [ebp - 0x10]
add ebx, 0xfffffff7
jmp 0x480d63
mov edx, dword [ebp - 0x10]
mov word [edx + 0x1708], ax
mov ebx, dword [edx + 8]
mov edi, dword [edx + 0x14]
lea ecx, [edi + 1]
mov dword [edx + 0x14], ecx
mov byte [ebx + edi], al
mov bl, byte [edx + 0x1709]
mov ecx, dword [edx + 8]
mov edi, dword [edx + 0x14]
lea eax, [edi + 1]
mov dword [edx + 0x14], eax
mov byte [ecx + edi], bl
mov eax, dword [edx + 0x170c]
mov cl, 0x10
sub cl, al
mov edx, dword [ebp - 0x14]
lea ebx, [edx + eax]
add ebx, 0xfffffff0
mov eax, dword [ebp - 0x1c]
shr eax, cl
jmp 0x480d3b
xor edx, edx
jmp 0x480c77
mov word [edx + 0x1708], ax
mov ebx, dword [edx + 8]
mov edi, dword [edx + 0x14]
lea ecx, [edi + 1]
mov dword [edx + 0x14], ecx
mov byte [ebx + edi], al
mov bl, byte [edx + 0x1709]
mov ecx, dword [edx + 8]
mov edi, dword [edx + 0x14]
lea eax, [edi + 1]
mov dword [edx + 0x14], eax
mov byte [ecx + edi], bl
mov eax, dword [edx + 0x170c]
mov cl, 0x10
sub cl, al
mov edi, dword [ebp - 0x14]
lea ebx, [edi + eax]
add ebx, 0xfffffff0
mov eax, dword [ebp - 0x1c]
shr eax, cl
jmp 0x480dee
mov edi, dword [ebp - 0x10]
mov eax, dword [edi + 8]
mov edx, dword [edi + 0x14]
lea ecx, [edx + 1]
mov dword [edi + 0x14], ecx
mov byte [eax + edx], bl
mov al, byte [edi + 0x1709]
mov edx, dword [edi + 8]
mov ebx, dword [edi + 0x14]
lea ecx, [ebx + 1]
mov dword [edi + 0x14], ecx
mov byte [edx + ebx], al
mov ebx, dword [edi + 0x170c]
mov cl, 0x10
sub cl, bl
mov eax, dword [ebp - 0x14]
shr eax, cl
mov word [edi + 0x1708], ax
lea eax, [esi + ebx]
add eax, 0xfffffff0
jmp 0x480cfa
mov ecx, ebx
shl esi, cl
or eax, esi
mov word [edx + 0x1708], ax
add ebx, 7
jmp 0x480d63
movzx edi, si
mov ecx, ebx
shl esi, cl
or eax, esi
mov ecx, dword [ebp - 0x10]
mov word [ecx + 0x1708], ax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x14]
lea esi, [edx + 1]
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x14], esi
mov byte [ecx + edx], al
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0x1709]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x14]
lea esi, [edx + 1]
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x14], esi
mov byte [ecx + edx], al
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax + 0x170c]
mov cl, 0x10
sub cl, bl
shr edi, cl
mov eax, dword [ebp - 0x10]
mov word [eax + 0x1708], di
mov edx, dword [ebp - 0x10]
add ebx, 0xfffffff2
jmp 0x480d63
mov edx, dword [ebp - 0x10]
mov word [edx + 0x1708], ax
mov ebx, dword [edx + 8]
mov edi, dword [edx + 0x14]
lea ecx, [edi + 1]
mov dword [edx + 0x14], ecx
mov byte [ebx + edi], al
mov bl, byte [edx + 0x1709]
mov ecx, dword [edx + 8]
mov edi, dword [edx + 0x14]
lea eax, [edi + 1]
mov dword [edx + 0x14], eax
mov byte [ecx + edi], bl
mov eax, dword [edx + 0x170c]
mov cl, 0x10
sub cl, al
mov edx, dword [ebp - 0x14]
lea ebx, [edx + eax]
add ebx, 0xfffffff0
mov eax, dword [ebp - 0x1c]
shr eax, cl
jmp 0x480e52
movzx edi, si
mov ecx, ebx
shl esi, cl
or eax, esi
mov ecx, dword [ebp - 0x10]
mov word [ecx + 0x1708], ax
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x14]
lea esi, [edx + 1]
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x14], esi
mov byte [ecx + edx], al
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 0x1709]
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx + 8]
mov edx, dword [ebp - 0x10]
mov edx, dword [edx + 0x14]
lea esi, [edx + 1]
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x14], esi
mov byte [ecx + edx], al
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax + 0x170c]
mov cl, 0x10
sub cl, bl
shr edi, cl
mov eax, dword [ebp - 0x10]
mov word [eax + 0x1708], di
mov edx, dword [ebp - 0x10]
add ebx, 0xfffffff3
jmp 0x480d63
mov edi, dword [ebp - 0x10]
mov ecx, dword [edi + 0x170c]
mov dword [ebp - 0x18], ecx
mov esi, eax
jmp 0x480d06
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret