Function at 0x47f20b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x14
mov dword [esp + 4], 1
mov dword [esp], 0x10
call fcn.0047cb9e
mov dword [0xa71f34], eax
fld dword [ebp + 8]
fstp qword [esp + 8]
mov dword [esp + 4], str.__.6E
mov dword [esp], 0xa3ece0
call sub.msvcrt.dll_sprintf
mov dword [0xa71f38], eax
mov eax, dword [0xa71f38]
cmp eax, 0xd
jne 0x47f282
mov dword [esp + 8], 2
mov dword [esp + 4], 0xa3eceb
mov dword [esp], 0xa3ecec
call sub.msvcrt.dll_memmove
mov byte [0xa3eceb], 0x30
mov dword [0xa71f38], 0xe
mov dword [0xa71f3c], 7
mov dword [0xa71f40], 8
jmp 0x47f2d4
mov eax, dword [0xa71f40]
movzx eax, byte [eax + 0xa3ece0]
cmp al, 0x30
jne 0x47f2b7
mov eax, dword [0xa71f3c]
sub eax, 1
mov dword [0xa71f3c], eax
jmp 0x47f2c7
mov eax, dword [0xa71f40]
movzx eax, byte [eax + 0xa3ece0]
cmp al, 0x2e
jne 0x47f2e4
mov eax, dword [0xa71f40]
sub eax, 1
mov dword [0xa71f40], eax
mov eax, dword [0xa71f40]
test eax, eax
setg al
test al, al
jne 0x47f298
jmp 0x47f2e5
nop
mov eax, dword [0xa71f3c]
test eax, eax
jne 0x47f31b
mov eax, dword [0xa71f34]
mov dword [eax + 4], 2
mov eax, dword [0xa71f34]
mov eax, dword [eax]
mov byte [eax], 0x20
mov eax, dword [0xa71f34]
mov eax, dword [eax]
add eax, 1
mov byte [eax], 0x30
mov eax, dword [0xa71f34]
jmp 0x47f5df
movzx eax, byte [0xa3eceb]
movzx eax, al
imul eax, eax, 0x64
lea ecx, [eax - 0x12c0]
movzx eax, byte [0xa3ecec]
movzx edx, al
mov eax, edx
shl eax, 2
add eax, edx
add eax, eax
sub eax, 0x1e0
lea edx, [ecx + eax]
movzx eax, byte [0xa3eced]
movzx eax, al
sub eax, 0x30
add eax, edx
mov dword [0xa71f44], eax
movzx eax, byte [0xa3ecea]
cmp al, 0x2d
jne 0x47f374
mov eax, dword [0xa71f44]
neg eax
mov dword [0xa71f44], eax
mov eax, dword [0xa71f44]
cmp eax, 6
jg 0x47f398
mov edx, dword [0xa71f44]
mov eax, dword [0xa71f3c]
mov ecx, edx
sub ecx, eax
mov eax, ecx
cmp eax, 0xfffffff8
jge 0x47f507
mov dword [0xa71f48], 0
mov eax, dword [0xa71f3c]
add eax, 2
mov dword [0xa71f4c], eax
mov eax, dword [0xa71f3c]
cmp eax, 1
jne 0x47f3c6
mov eax, dword [0xa71f4c]
sub eax, 1
mov dword [0xa71f4c], eax
mov dword [0xa71f40], 0
jmp 0x47f408
mov eax, dword [0xa71f34]
mov edx, dword [eax]
mov eax, dword [0xa71f48]
add edx, eax
mov eax, dword [0xa71f40]
movzx eax, byte [eax + 0xa3ece0]
mov byte [edx], al
mov eax, dword [0xa71f48]
add eax, 1
mov dword [0xa71f48], eax
mov eax, dword [0xa71f40]
add eax, 1
mov dword [0xa71f40], eax
mov edx, dword [0xa71f40]
mov eax, dword [0xa71f4c]
cmp edx, eax
setl al
test al, al
jne 0x47f3d2
mov dword [0xa71f40], 9
jmp 0x47f45e
mov eax, dword [0xa71f34]
mov edx, dword [eax]
mov eax, dword [0xa71f48]
add edx, eax
mov eax, dword [0xa71f40]
movzx eax, byte [eax + 0xa3ece0]
mov byte [edx], al
mov eax, dword [0xa71f48]
add eax, 1
mov dword [0xa71f48], eax
mov eax, dword [0xa71f40]
add eax, 1
mov dword [0xa71f40], eax
mov eax, dword [0xa71f40]
cmp eax, 0xa
setle al
test al, al
jne 0x47f428
mov eax, dword [0xa71f44]
mov edx, eax
sar edx, 0x1f
xor eax, edx
sub eax, edx
mov dword [0xa71f44], eax
mov dword [0xa71f4c], 0xc
mov eax, dword [0xa71f44]
cmp eax, 0x63
jle 0x47f49e
mov dword [0xa71f4c], 0xb
mov eax, dword [0xa71f4c]
mov dword [0xa71f40], eax
jmp 0x47f4e0
mov eax, dword [0xa71f34]
mov edx, dword [eax]
mov eax, dword [0xa71f48]
add edx, eax
mov eax, dword [0xa71f40]
movzx eax, byte [eax + 0xa3ece0]
mov byte [edx], al
mov eax, dword [0xa71f48]
add eax, 1
mov dword [0xa71f48], eax
mov eax, dword [0xa71f40]
add eax, 1
mov dword [0xa71f40], eax
mov eax, dword [0xa71f40]
cmp eax, 0xd
setle al
test al, al
jne 0x47f4aa
mov eax, dword [0xa71f34]
mov edx, dword [0xa71f48]
mov dword [eax + 4], edx
mov eax, dword [0xa71f34]
jmp 0x47f5df
nop
mov edx, dword [0xa71f44]
mov eax, dword [0xa71f3c]
mov ecx, edx
sub ecx, eax
mov eax, ecx
not eax
mov dword [0xa71f40], eax
mov eax, dword [0xa71f40]
test eax, eax
jns 0x47f533
mov dword [0xa71f40], 0
mov byte [0xa3ecd0], 0x25
mov byte [0xa3ecd1], 0x20
mov byte [0xa3ecd2], 0x2e
mov eax, dword [0xa71f40]
add eax, 0x30
mov byte [0xa3ecd3], al
mov byte [0xa3ecd4], 0x66
mov byte [0xa3ecd5], 0
mov ebx, dword [0xa71f34]
fld dword [ebp + 8]
mov eax, dword [0xa71f34]
mov eax, dword [eax]
fstp qword [esp + 8]
mov dword [esp + 4], 0xa3ecd0
mov dword [esp], eax
call sub.msvcrt.dll_sprintf
mov dword [ebx + 4], eax
mov eax, dword [0xa71f34]
mov eax, dword [eax]
add eax, 1
movzx eax, byte [eax]
cmp al, 0x30
jne 0x47f5da
mov eax, dword [0xa71f34]
mov eax, dword [eax + 4]
sub eax, 2
mov edx, dword [0xa71f34]
mov edx, dword [edx]
lea ecx, [edx + 2]
mov edx, dword [0xa71f34]
mov edx, dword [edx]
add edx, 1
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], edx
call sub.msvcrt.dll_memmove
mov eax, dword [0xa71f34]
mov edx, dword [eax + 4]
sub edx, 1
mov dword [eax + 4], edx
mov eax, dword [0xa71f34]
add esp, 0x14
pop ebx
pop ebp
ret