Function at 0x5351fa
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x60
jmp 0x5355f7
mov eax, dword [ebp + 0xc]
add eax, 0x10
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0x25
jne 0x53524d
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 8]
push eax
fild dword [esp]
add esp, 4
fstp dword [ebp - 0x28]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
push eax
fild dword [esp]
add esp, 4
fstp dword [ebp - 0x24]
jmp 0x53526b
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
fld dword [eax + 4]
fstp dword [ebp - 0x28]
mov eax, dword [ebp - 0x64]
fld dword [eax + 8]
fstp dword [ebp - 0x24]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0x25
jne 0x5352a4
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
push eax
fild dword [esp]
add esp, 4
fstp dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
push eax
fild dword [esp]
add esp, 4
fstp dword [ebp - 0x1c]
jmp 0x5352c2
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
fld dword [eax + 4]
fstp dword [ebp - 0x20]
mov eax, dword [ebp - 0x64]
fld dword [eax + 8]
fstp dword [ebp - 0x1c]
mov eax, dword [ebp + 0x1c]
cmp eax, 3
jne 0x53532e
mov eax, dword [ebp + 0xc]
add eax, 0x20
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
and eax, 0xff
cmp eax, 0x25
jne 0x535310
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 8]
push eax
fild dword [esp]
add esp, 4
fstp dword [ebp - 0x18]
mov eax, dword [ebp - 0x30]
mov eax, dword [eax + 0xc]
push eax
fild dword [esp]
add esp, 4
fstp dword [ebp - 0x14]
jmp 0x53532e
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
fld dword [eax + 4]
fstp dword [ebp - 0x18]
mov eax, dword [ebp - 0x64]
fld dword [eax + 8]
fstp dword [ebp - 0x14]
mov eax, dword [ebp + 8]
add eax, 0x80
fld dword [eax + 8]
fstp dword [ebp - 0xc]
mov eax, dword [ebp + 8]
add eax, 0x80
fld dword [eax + 0xc]
fstp dword [ebp - 0x10]
mov eax, dword [ebp + 0x18]
cmp eax, 0
je 0x5353c4
mov eax, dword [ebp + 8]
add eax, 0x80
mov eax, dword [eax + 0x10]
cmp eax, 0
je 0x5353ad
fld dword [ebp - 0xc]
fld dword [0x583f98]
fmulp st(1)
mov eax, dword [ebp + 8]
add eax, 0x80
fld dword [eax + 0x14]
fsubp st(1)
fstp dword [ebp - 0x28]
fld dword [ebp - 0x10]
fld dword [0x583f9c]
fmulp st(1)
mov eax, dword [ebp + 8]
add eax, 0x80
fld dword [eax + 0x18]
fsubp st(1)
fstp dword [ebp - 0x24]
jmp 0x5353b9
fld dword [ebp - 0xc]
fstp dword [ebp - 0x28]
fld dword [ebp - 0x10]
fstp dword [ebp - 0x24]
mov eax, dword [ebp + 0xc]
sub eax, 0x10
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x14]
cmp eax, 0
je 0x535441
mov eax, dword [ebp + 0x18]
xor al, 1
cmp eax, 0
je 0x5353f0
fld dword [ebp - 0x28]
fld dword [ebp - 0xc]
faddp st(1)
fstp dword [ebp - 0x28]
fld dword [ebp - 0x24]
fld dword [ebp - 0x10]
faddp st(1)
fstp dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x1c]
dec eax
cmp eax, 0
jle 0x535441
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x2c]
fld dword [eax]
fld dword [ebp - 0xc]
faddp st(1)
mov edx, eax
mov eax, dword [ebp - 0x2c]
fstp dword [eax]
mov eax, dword [ebp - 0x2c]
fld dword [eax + 4]
fld dword [ebp - 0x10]
faddp st(1)
mov edx, eax
mov eax, dword [ebp - 0x2c]
fstp dword [eax + 4]
mov eax, dword [ebp - 0x2c]
add eax, 8
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x68]
sub eax, 1
jg 0x535401
mov eax, dword [ebp + 8]
add eax, 0x80
mov edx, eax
xor eax, eax
inc eax
xchg edx, eax
mov dword [eax + 0x10], edx
mov eax, dword [ebp + 8]
add eax, 0x80
mov eax, dword [eax + 4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x1c]
cmp eax, 3
jne 0x535545
lea eax, [ebp - 0x50]
add eax, 0
mov edx, eax
fld dword [ebp - 0x28]
fstp dword [eax]
lea eax, [ebp - 0x50]
add eax, 0
mov edx, eax
fld dword [ebp - 0x24]
fstp dword [eax + 4]
lea eax, [ebp - 0x50]
add eax, 8
mov edx, eax
fld dword [ebp - 0x20]
fstp dword [eax]
lea eax, [ebp - 0x50]
add eax, 8
mov edx, eax
fld dword [ebp - 0x1c]
fstp dword [eax + 4]
lea eax, [ebp - 0x50]
add eax, 0x10
mov edx, eax
fld dword [ebp - 0x18]
fstp dword [eax]
lea eax, [ebp - 0x50]
add eax, 0x10
mov edx, eax
fld dword [ebp - 0x14]
fstp dword [eax + 4]
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x2c]
call eax
mov eax, dword [ebp + 8]
add eax, 0x80
mov edx, eax
fld dword [ebp - 0x20]
fstp dword [eax + 0x14]
mov eax, dword [ebp + 8]
add eax, 0x80
mov edx, eax
fld dword [ebp - 0x1c]
fstp dword [eax + 0x18]
mov eax, dword [ebp + 8]
add eax, 0x80
mov edx, eax
fld dword [ebp - 0x18]
fstp dword [eax + 8]
mov eax, dword [ebp + 8]
add eax, 0x80
mov edx, eax
fld dword [ebp - 0x14]
fstp dword [eax + 0xc]
jmp 0x5355e7
lea eax, [ebp - 0x60]
add eax, 0
mov edx, eax
fld dword [ebp - 0x28]
fstp dword [eax]
lea eax, [ebp - 0x60]
add eax, 0
mov edx, eax
fld dword [ebp - 0x24]
fstp dword [eax + 4]
lea eax, [ebp - 0x60]
add eax, 8
mov edx, eax
fld dword [ebp - 0x20]
fstp dword [eax]
lea eax, [ebp - 0x60]
add eax, 8
mov edx, eax
fld dword [ebp - 0x1c]
fstp dword [eax + 4]
lea eax, [ebp - 0x60]
push eax
push dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x30]
call eax
mov eax, dword [ebp + 8]
add eax, 0x80
mov edx, eax
fld dword [ebp - 0x28]
fstp dword [eax + 0x14]
mov eax, dword [ebp + 8]
add eax, 0x80
mov edx, eax
fld dword [ebp - 0x24]
fstp dword [eax + 0x18]
mov eax, dword [ebp + 8]
add eax, 0x80
mov edx, eax
fld dword [ebp - 0x20]
fstp dword [eax + 8]
mov eax, dword [ebp + 8]
add eax, 0x80
mov edx, eax
fld dword [ebp - 0x1c]
fstp dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
mov edx, eax
mov eax, dword [ebp + 0x1c]
shl eax, 4
add eax, edx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
cmp eax, edx
jb 0x535209
leave
ret 0x18