Function at 0x534661
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
sub esp, 0x60
jmp 0x534a5e
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 0x5346b4
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 0x5346d2
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 0x53470b
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 0x534729
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 0x534795
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 0x534777
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 0x534795
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 0x53482b
mov eax, dword [ebp + 8]
add eax, 0x80
mov eax, dword [eax + 0x10]
cmp eax, 0
je 0x534814
fld dword [ebp - 0xc]
fld dword [0x582e88]
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 [0x582e8c]
fmulp st(1)
mov eax, dword [ebp + 8]
add eax, 0x80
fld dword [eax + 0x18]
fsubp st(1)
fstp dword [ebp - 0x24]
jmp 0x534820
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 0x5348a8
mov eax, dword [ebp + 0x18]
xor al, 1
cmp eax, 0
je 0x534857
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 0x5348a8
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 0x534868
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 0x5349ac
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 0x534a4e
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 0x534670
leave
ret 0x18