Function at 0x4e6920
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, dword [ebp + 0xc]
movzx esi, word [esi]
mov dword [ebp - 0x28], esi
mov esi, dword [ebp + 8]
movzx esi, word [esi]
mov dword [ebp - 0x2c], esi
mov esi, edx
shl esi, 2
xor esi, edx
xor eax, eax
push edi
mov dword [ebp - 0x18], edx
cmp esi, 4
jae 0x4e69dd
push 8
pop edi
push 0x10
lea eax, [ecx + 2]
mov edx, edi
mov esi, edi
pop ecx
movzx ebx, byte [eax - 2]
add edx, ebx
movzx ebx, byte [eax - 1]
add esi, ebx
movzx ebx, byte [eax]
add edi, ebx
add eax, 4
dec ecx
jne 0x4e695d
sar esi, 4
lea ecx, [esi + esi]
sar edx, 4
sar edi, 4
lea eax, [edx + edx]
movzx si, byte [eax + 0x719350]
movzx ax, byte [eax + 0x719351]
lea edx, [edi + edi]
movzx di, byte [ecx + 0x719150]
movzx cx, byte [ecx + 0x719151]
shl si, 6
or si, di
movzx di, byte [edx + 0x719350]
shl ax, 6
or ax, cx
movzx cx, byte [edx + 0x719351]
shl si, 5
or si, di
shl ax, 5
or ax, cx
movzx edi, si
movzx esi, ax
jmp 0x4e6c0d
xor edi, edi
xor esi, esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], eax
add ecx, 2
mov dword [ebp - 0x1c], 0x10
mov edx, dword [ebp - 0x18]
and edx, 3
shl edx, 2
mov ebx, dword [edx + 0x68cef4]
add eax, dword [edx + 0x68cf04]
movzx edx, byte [ecx - 1]
mov dword [ebp - 0x14], ebx
imul edx, dword [ebp - 0x14]
add dword [ebp - 8], edx
movzx edx, byte [ecx]
imul edx, dword [ebp - 0x14]
movzx ebx, byte [ecx - 2]
imul ebx, dword [ebp - 0x14]
add dword [ebp - 0x10], edx
movzx edx, byte [ecx - 2]
add dword [ebp - 4], ebx
movzx ebx, byte [ecx]
shr dword [ebp - 0x18], 2
add esi, edx
movzx edx, byte [ecx - 1]
add edi, edx
mov edx, dword [ebp - 0xc]
add edx, ebx
add ecx, 4
dec dword [ebp - 0x1c]
mov dword [ebp - 0xc], edx
jne 0x4e69f7
imul esi, esi, 3
imul edi, edi, 3
imul edx, edx, 3
sub esi, dword [ebp - 4]
sub edi, dword [ebp - 8]
mov dword [ebp - 0x1c], esi
mov esi, eax
mov ecx, 0xff
mov dword [ebp - 0x18], edi
mov edi, eax
and eax, ecx
sar esi, 8
and esi, ecx
mov ebx, eax
imul eax, ebx
sar edi, 0x10
mov ecx, esi
imul ecx, edi
sub ecx, eax
mov dword [ebp - 0x20], ecx
sub edx, dword [ebp - 0x10]
mov eax, ebx
fild dword [ebp - 0x20]
imul eax, dword [ebp - 0x1c]
fdivr qword [0x68d4c8]
mov ecx, esi
mov dword [ebp - 0xc], edx
fstp dword [ebp - 0x20]
imul ecx, dword [ebp - 4]
fld dword [ebp - 0x20]
fld qword [0x68d4a8]
fmul st(1)
fdiv qword [0x68d4b0]
sub ecx, eax
mov dword [ebp - 0x14], ecx
fstp dword [ebp - 0x20]
fild dword [ebp - 0x14]
fld st(1)
fmulp st(1)
fld qword [0x68d440]
fadd st(1), st(0)
fxch st(1)
fstp dword [ebp - 0x14]
fld dword [ebp - 0x14]
call fcn.005bc570
test eax, eax
jge 0x4e6ae4
xor eax, eax
jmp 0x4e6aec
cmp eax, 0x1f
jle 0x4e6aec
push 0x1f
pop eax
shl eax, 0xb
movzx eax, ax
mov dword [ebp - 0x14], eax
mov eax, ebx
imul eax, dword [ebp - 0x18]
mov ecx, esi
imul ecx, dword [ebp - 8]
sub ecx, eax
mov dword [ebp - 0x24], ecx
fild dword [ebp - 0x24]
fmul dword [ebp - 0x20]
fadd st(1)
fstp dword [ebp - 0x24]
fld dword [ebp - 0x24]
call fcn.005bc570
test eax, eax
jge 0x4e6b21
xor eax, eax
jmp 0x4e6b29
cmp eax, 0x3f
jle 0x4e6b29
push 0x3f
pop eax
imul esi, dword [ebp - 0x10]
shl eax, 5
or dword [ebp - 0x14], eax
mov eax, ebx
imul eax, dword [ebp - 0xc]
sub esi, eax
mov dword [ebp - 0x24], esi
fild dword [ebp - 0x24]
fld st(2)
fmulp st(1)
fadd st(1)
fstp dword [ebp - 0x24]
fld dword [ebp - 0x24]
call fcn.005bc570
test eax, eax
jge 0x4e6b5a
xor eax, eax
jmp 0x4e6b62
cmp eax, 0x1f
jle 0x4e6b62
push 0x1f
pop eax
or dword [ebp - 0x14], eax
mov eax, edi
imul eax, dword [ebp - 0x1c]
mov ecx, ebx
imul ecx, dword [ebp - 4]
sub eax, ecx
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fld st(2)
fmulp st(1)
fadd st(1)
fstp dword [ebp - 0x24]
fld dword [ebp - 0x24]
call fcn.005bc570
test eax, eax
jge 0x4e6b92
xor eax, eax
jmp 0x4e6b9a
cmp eax, 0x1f
jle 0x4e6b9a
push 0x1f
pop eax
shl eax, 0xb
movzx esi, ax
mov eax, edi
imul eax, dword [ebp - 0x18]
mov ecx, ebx
imul ecx, dword [ebp - 8]
sub eax, ecx
mov dword [ebp - 0x24], eax
fild dword [ebp - 0x24]
fmul dword [ebp - 0x20]
fadd st(1)
fstp dword [ebp - 0x24]
fld dword [ebp - 0x24]
call fcn.005bc570
test eax, eax
jge 0x4e6bcc
xor eax, eax
jmp 0x4e6bd4
cmp eax, 0x3f
jle 0x4e6bd4
push 0x3f
pop eax
imul edi, dword [ebp - 0xc]
imul ebx, dword [ebp - 0x10]
sub edi, ebx
mov dword [ebp - 0x24], edi
shl eax, 5
or esi, eax
fild dword [ebp - 0x24]
fmulp st(2)
faddp st(1)
fstp dword [ebp - 0x24]
fld dword [ebp - 0x24]
call fcn.005bc570
test eax, eax
jge 0x4e6c00
xor eax, eax
jmp 0x4e6c08
cmp eax, 0x1f
jle 0x4e6c08
push 0x1f
pop eax
mov edi, dword [ebp - 0x14]
or esi, eax
mov eax, dword [ebp + 0xc]
mov word [eax], si
mov eax, dword [ebp + 8]
mov word [eax], di
cmp word [ebp - 0x28], si
jne 0x4e6c29
cmp word [ebp - 0x2c], di
jne 0x4e6c29
xor eax, eax
jmp 0x4e6c2c
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret