Function at 0x535d7d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x60
jmp 0x53617a
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 0x535dd0
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 0x535dee
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 0x535e27
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 0x535e45
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 0x535eb1
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 0x535e93
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 0x535eb1
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 0x535f47
mov eax, dword [ebp + 8]
add eax, 0x80
mov eax, dword [eax + 0x10]
cmp eax, 0
je 0x535f30
fld dword [ebp - 0xc]
fld dword [0x5864a8]
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 [0x5864ac]
fmulp st(1)
mov eax, dword [ebp + 8]
add eax, 0x80
fld dword [eax + 0x18]
fsubp st(1)
fstp dword [ebp - 0x24]
jmp 0x535f3c
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 0x535fc4
mov eax, dword [ebp + 0x18]
xor al, 1
cmp eax, 0
je 0x535f73
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 0x535fc4
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 0x535f84
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 0x5360c8
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 0x53616a
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 0x535d8c
leave
ret 0x18