Function at 0x446b10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0xc
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
fld dword [ebp + 0xd0]
fcomp dword [esp + 0x24]
fnstsw ax
test ah, 0x41
jnp 0x446e16
mov eax, dword [esp + 0x20]
test eax, eax
jge 0x446b54
mov ecx, dword [0xed1a50]
inc eax
shl eax, 5
sub ecx, eax
push ecx
push ebp
call fcn.004469d0
add esp, 8
pop edi
pop esi
pop ebp
add esp, 0xc
ret
lea edx, [eax + eax*2]
mov eax, dword [0xed1a48]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
lea edx, [eax + edx*4]
mov dword [esp + 0x1c], edx
mov eax, dword [edx]
mov cl, byte [eax + 0x10]
cmp cl, 3
jae 0x446b94
and ecx, 0xff
fld dword [esi + ecx*4]
fsub dword [eax + 0xc]
fld dword [edi + ecx*4]
fsub dword [eax + 0xc]
fstp dword [esp + 0x2c]
fld dword [ebp + ecx*4 + 0x94]
jmp 0x446bde
fld dword [esi + 4]
fmul dword [eax + 4]
fld dword [esi + 8]
fmul dword [eax + 8]
faddp st(1)
fld dword [esi]
fmul dword [eax]
faddp st(1)
fsub dword [eax + 0xc]
fld dword [edi + 4]
fmul dword [eax + 4]
fld dword [edi + 8]
fmul dword [eax + 8]
faddp st(1)
fld dword [edi]
fmul dword [eax]
faddp st(1)
fsub dword [eax + 0xc]
mov eax, dword [ebp + 0xc4]
test eax, eax
fstp dword [esp + 0x2c]
je 0x446bd8
fld dword [0x5314c0]
jmp 0x446bde
fld dword [0x531b28]
fld dword [0x5314e8]
fadd st(1)
fld st(2)
fcomp st(1)
fnstsw ax
and eax, 0x100
jne 0x446c26
fld dword [esp + 0x2c]
fcompp
fnstsw ax
and eax, 0x100
jne 0x446c28
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
push edi
push esi
push ecx
mov ecx, dword [edx + 4]
push eax
push ecx
fstp st(0)
push ebp
fstp st(0)
call fcn.00446b10
add esp, 0x18
pop edi
pop esi
pop ebp
add esp, 0xc
ret
fstp st(0)
fld st(0)
fchs
fsub dword [0x5314e8]
fld st(2)
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x446c6e
fld dword [esp + 0x2c]
fcompp
fnstsw ax
test ah, 5
jp 0x446c70
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [edx + 8]
push edi
push esi
push eax
push ecx
push edx
fstp st(0)
push ebp
fstp st(0)
call fcn.00446b10
add esp, 0x18
pop edi
pop esi
pop ebp
add esp, 0xc
ret
fstp st(0)
fld st(1)
fcomp dword [esp + 0x2c]
push ebx
fld st(1)
fnstsw ax
test ah, 5
jp 0x446cc6
fsub dword [esp + 0x30]
mov ebx, 1
fdivr qword [0x531478]
fld st(1)
fadd st(3)
fadd qword [0x531ac8]
fld st(1)
fmulp st(1)
fstp dword [esp + 0x30]
fxch st(2)
fsub st(1)
fadd qword [0x531ac8]
fmulp st(2)
fstp st(0)
fcom dword [0x5314c0]
fnstsw ax
test ah, 5
jp 0x446d0f
fstp st(0)
fld dword [0x5314c0]
jmp 0x446d26
fcomp dword [esp + 0x30]
xor ebx, ebx
fnstsw ax
and eax, 0x4100
jne 0x446d03
fld st(1)
fsub dword [esp + 0x30]
fdivr qword [0x531478]
fld st(2)
fsub st(2)
fsub qword [0x531ac8]
fld st(1)
fmulp st(1)
fstp dword [esp + 0x30]
fxch st(1)
faddp st(2)
fxch st(1)
fadd qword [0x531ac8]
fmulp st(1)
jmp 0x446caf
fstp st(0)
mov dword [esp + 0x30], 0
jmp 0x446d1e
fcom dword [0x5314e8]
fnstsw ax
and eax, 0x4100
jne 0x446d26
fstp st(0)
fld dword [0x5314e8]
fld dword [edi]
fsub dword [esi]
mov edx, dword [esp + 0x20]
lea eax, [esp + 0x10]
push eax
push esi
fmul st(1)
push ecx
mov ecx, dword [esp + 0x34]
fadd dword [esi]
fstp dword [esp + 0x1c]
fld dword [edi + 4]
fsub dword [esi + 4]
fmul st(1)
fadd dword [esi + 4]
fstp dword [esp + 0x20]
fld dword [edi + 8]
fsub dword [esi + 8]
fmul st(1)
fadd dword [esi + 8]
fstp dword [esp + 0x24]
fld dword [esp + 0x38]
fsub dword [esp + 0x34]
mov eax, dword [edx + ebx*4 + 4]
fstp dword [esp + 0x40]
fld dword [esp + 0x40]
fmul st(1)
fadd dword [esp + 0x34]
fstp dword [esp]
push ecx
push eax
push ebp
fstp st(0)
call fcn.00446b10
fld dword [esp + 0x48]
fcom dword [0x5314c0]
add esp, 0x18
fnstsw ax
test ah, 5
jp 0x446da4
fstp st(0)
fld dword [0x5314c0]
jmp 0x446dbb
fcom dword [0x5314e8]
fnstsw ax
and eax, 0x4100
jne 0x446dbb
fstp st(0)
fld dword [0x5314e8]
fld dword [edi]
fsub dword [esi]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x10]
push edi
fmul st(1)
push ecx
push edx
xor ebx, 1
push ecx
fadd dword [esi]
fstp dword [esp + 0x20]
fld dword [edi + 4]
fsub dword [esi + 4]
fmul st(1)
fadd dword [esi + 4]
fstp dword [esp + 0x24]
fld dword [edi + 8]
fsub dword [esi + 8]
fmul st(1)
fadd dword [esi + 8]
fstp dword [esp + 0x28]
fld dword [esp + 0x44]
fmul st(1)
mov ecx, dword [eax + ebx*4 + 4]
fadd dword [esp + 0x38]
fstp dword [esp]
push ecx
push ebp
fstp st(0)
call fcn.00446b10
add esp, 0x18
pop ebx
pop edi
pop esi
pop ebp
add esp, 0xc
ret