Function at 0x445b41
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250000e0
mov dword [ebp - 0x100], ebx
mov dword [ebp - 0xdc], esi
mov dword [ebp - 0xd8], edi
mov dword [ebp - 4], eax
mov edi, 0
mov edx, 0
mov byte [ebp - 0xd4], 0
jmp 0x445bb9
inc edi
inc edx
cmp edi, 0x12
jle 0x445b88
mov edi, 1
mov byte [ebp - 0xd4], 1
imul ecx, edi, 0xa
mov eax, dword [ebp + 8]
mov dword [ebp + ecx + 0xffff9a], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + ecx - 0xc6], eax
mov ax, word [ebp + 0x10]
mov word [ebp + ecx - 0xc2], ax
fld xword [0x7b5330]
fld xword [ebp + 8]
fdivrp st(1)
fstp xword [ebp + 8]
mov eax, dword [ebp - 4]
fld1
fld xword [eax - 0x10]
fsubp st(1)
fld xword [ebp + 8]
fcompp
fnstsw ax
sahf
ja 0x445b75
test edx, edx
je 0x445d75
mov eax, edi
inc eax
mov esi, eax
xor eax, 0x50012fe
mov esi, 1
mov eax, dword [ebp - 4]
fldz
fstp xword [eax - 0x20]
dec edx
mov eax, dword [ebp - 4]
mov dword [eax - 0x38], edx
mov esi, esi
mov eax, dword [ebp - 4]
mov eax, dword [eax - 0x3c]
test eax, eax
jle 0x445cb2
fnstcw word [ebp - 0xc8]
fnstcw word [ebp - 0xc4]
or word [ebp - 0xc8], 0xf00
imul eax, edi, 0xa
mov edx, dword [ebp - 4]
fld xword [edx - 0x20]
fld xword [ebp + eax + 0xffff67]
fsubrp st(1)
fldcw word [ebp - 0xc8]
fistp qword [ebp - 0xd0]
fldcw word [ebp - 0xc4]
wait
mov ebx, dword [ebp - 0xd0]
mov eax, dword [ebp - 4]
dec dword [eax - 0x3c]
mov eax, dword [ebp - 4]
inc dword [eax - 0x34]
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx - 0x34]
mov eax, ebx
add eax, 0x30
mov byte [ecx + edx - 0x13c], al
mov eax, dword [ebp - 4]
movzx edx, byte [eax - 0x34]
mov al, byte [eax + edx - 0x3600013c]
cmp al, 0x39
add byte [esi], bh
mov eax, dword [ebp - 4]
movzx edx, byte [eax - 0x34]
movzx eax, byte [eax + edx - 0x13c]
sub eax, 0xa
mov edx, dword [ebp - 4]
movzx ecx, byte [edx - 0x34]
mov byte [edx + ecx - 0x13c], al
mov eax, dword [ebp - 4]
mov eax, dword [eax - 0x34]
dec eax
push eax
mov eax, dword [ebp - 4]
lea edx, [eax - 0x13c]
mov eax, dword [ebp - 4]
mov ecx, 0xff
call fcn.00445d91
imul edx, edi, 0xa
movzx eax, word [ebp + edx - 0x6f00c2]
push eax
add byte [ebp + edx - 0xc6], dh
push dword [ebp + edx - 0xca]
call fcn.00444981
fld xword [0x7b5330]
fmulp st(1)
mov eax, dword [ebp - 4]
fstp xword [eax - 0x20]
sub edi, 1
jne 0x445ce9
mov edi, 0x12
mov al, byte [ebp - 0xd4]
test al, al
je 0x445cf7
cmp edi, esi
je 0x445d14
mov al, byte [ebp - 0xd4]
test al, al
jne 0x445d06
cmp edi, 0x12
je 0x445d14
mov eax, dword [ebp + 0x7c]
mov eax, dword [eax]
test eax, eax
jne 0x445bf5
mov al, byte [ebp - 0xd4]
test al, al
jne 0x445d23
cmp edi, 0x12
jge 0x445d75
mov eax, dword [ebp - 4]
mov dword [eax - 0x3c], 0xffffffff
imul edx, edi, 0xa
mov eax, dword [ebp - 4]
fld xword [eax - 0x20]
fld xword [ebp + edx - 0xca]
fsubrp st(1)
sub esp, 0xc
fstp xword [esp]
call fcn.00444981
fld xword [0x7b5380]
fcompp
fnstsw ax
sahf
ja 0x445d9f
mov eax, dword [ebp]
movzx eax, byte [eax - 0x34]
push eax
mov eax, dword [ebp - 4]
lea edx, [eax - 0x13c]
mov eax, dword [ebp - 4]
mov ecx, 0xff
call fcn.00445d91
mov ebx, dword [ebp - 0xe0]
mov esi, dword [ebp - 0xdc]
mov edi, dword [ebp - 0xd8]
leave
ret 0xc
cld
mov eax, edx
mov cl, byte [ebp + 8]
scasb al, byte es:[edi]
add dword [eax], eax
add byte [eax], al
lea esi, [esi]
movzx edx, cl
movzx edx, byte [eax + edx]
add edx, ebx
movzx esi, cl
mov byte [eax + esi], dl
mov ebx, 0
movzx edx, cl
mov dl, byte [eax + edx]
cmp dl, 0x39
jbe 0x445dd8
movzx edx, cl
mov byte [eax + edx], 0x30
mov ebx, 1
dec cl
test ebx, ebx
jne 0x445dad
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
leave
ret 4