Function at 0x45e5e5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x24
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], 0x20
call fcn.0045bb9e
mov dword [0xa4f8b8], eax
fld qword [ebp - 0x10]
fstp qword [esp + 8]
mov dword [esp + 4], str.__.15E
mov dword [esp], 0xa1c680
call sub.msvcrt.dll_sprintf
mov dword [0xa4f8bc], eax
mov eax, dword [0xa4f8bc]
cmp eax, 0x16
jne 0x45e668
mov dword [esp + 8], 2
mov dword [esp + 4], 0xa1c694
mov dword [esp], 0xa1c695
call sub.msvcrt.dll_memmove
mov byte [0xa1c694], 0x30
mov dword [0xa4f8bc], 0x17
movzx eax, byte [0xa1c691]
cmp al, 0x39
jne 0x45e6c9
fld qword [ebp - 0x10]
fstp qword [esp + 8]
mov dword [esp + 4], str.__.14E
mov dword [esp], 0xa1c6a0
call sub.msvcrt.dll_sprintf
mov eax, dword [0xa1c6a0]
mov dword [0xa1c680], eax
mov eax, dword [0xa1c6a4]
mov dword [0xa1c684], eax
mov eax, dword [0xa1c6a8]
mov dword [0xa1c688], eax
mov eax, dword [0xa1c6ac]
mov dword [0xa1c68c], eax
movzx eax, byte [0xa1c6b0]
mov byte [0xa1c690], al
mov byte [0xa1c691], 0x30
mov byte [0xa1c692], 0x44
mov dword [0xa4f8c0], 0x10
mov dword [0xa4f8c4], 0x11
jmp 0x45e722
mov eax, dword [0xa4f8c4]
movzx eax, byte [eax + 0xa1c680]
cmp al, 0x30
jne 0x45e705
mov eax, dword [0xa4f8c0]
sub eax, 1
mov dword [0xa4f8c0], eax
jmp 0x45e715
mov eax, dword [0xa4f8c4]
movzx eax, byte [eax + 0xa1c680]
cmp al, 0x2e
jne 0x45e732
mov eax, dword [0xa4f8c4]
sub eax, 1
mov dword [0xa4f8c4], eax
mov eax, dword [0xa4f8c4]
test eax, eax
setg al
test al, al
jne 0x45e6e6
jmp 0x45e733
nop
mov eax, dword [0xa4f8c0]
test eax, eax
jne 0x45e769
mov eax, dword [0xa4f8b8]
mov dword [eax + 4], 2
mov eax, dword [0xa4f8b8]
mov eax, dword [eax]
mov byte [eax], 0x20
mov eax, dword [0xa4f8b8]
mov eax, dword [eax]
add eax, 1
mov byte [eax], 0x30
mov eax, dword [0xa4f8b8]
jmp 0x45ea54
movzx eax, byte [0xa1c694]
movzx eax, al
imul eax, eax, 0x64
lea ecx, [eax - 0x12c0]
movzx eax, byte [0xa1c695]
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 [0xa1c696]
movzx eax, al
sub eax, 0x30
add eax, edx
mov dword [0xa4f8c8], eax
movzx eax, byte [0xa1c693]
cmp al, 0x2d
jne 0x45e7c2
mov eax, dword [0xa4f8c8]
neg eax
mov dword [0xa4f8c8], eax
mov eax, dword [0xa4f8c8]
cmp eax, 0xf
jg 0x45e7e6
mov edx, dword [0xa4f8c8]
mov eax, dword [0xa4f8c0]
mov ecx, edx
sub ecx, eax
mov eax, ecx
cmp eax, 0xffffffef
jge 0x45e955
mov dword [0xa4f8cc], 0
mov eax, dword [0xa4f8c0]
add eax, 2
mov dword [0xa4f8d0], eax
mov eax, dword [0xa4f8c0]
cmp eax, 1
jne 0x45e814
mov eax, dword [0xa4f8d0]
sub eax, 1
mov dword [0xa4f8d0], eax
mov dword [0xa4f8c4], 0
jmp 0x45e856
mov eax, dword [0xa4f8b8]
mov edx, dword [eax]
mov eax, dword [0xa4f8cc]
add edx, eax
mov eax, dword [0xa4f8c4]
movzx eax, byte [eax + 0xa1c680]
mov byte [edx], al
mov eax, dword [0xa4f8cc]
add eax, 1
mov dword [0xa4f8cc], eax
mov eax, dword [0xa4f8c4]
add eax, 1
mov dword [0xa4f8c4], eax
mov edx, dword [0xa4f8c4]
mov eax, dword [0xa4f8d0]
cmp edx, eax
setl al
test al, al
jne 0x45e820
mov dword [0xa4f8c4], 0x12
jmp 0x45e8ac
mov eax, dword [0xa4f8b8]
mov edx, dword [eax]
mov eax, dword [0xa4f8cc]
add edx, eax
mov eax, dword [0xa4f8c4]
movzx eax, byte [eax + 0xa1c680]
mov byte [edx], al
mov eax, dword [0xa4f8cc]
add eax, 1
mov dword [0xa4f8cc], eax
mov eax, dword [0xa4f8c4]
add eax, 1
mov dword [0xa4f8c4], eax
mov eax, dword [0xa4f8c4]
cmp eax, 0x13
setle al
test al, al
jne 0x45e876
mov eax, dword [0xa4f8c8]
mov edx, eax
sar edx, 0x1f
xor eax, edx
sub eax, edx
mov dword [0xa4f8c8], eax
mov dword [0xa4f8d0], 0x15
mov eax, dword [0xa4f8c8]
cmp eax, 0x63
jle 0x45e8ec
mov dword [0xa4f8d0], 0x14
mov eax, dword [0xa4f8d0]
mov dword [0xa4f8c4], eax
jmp 0x45e92e
mov eax, dword [0xa4f8b8]
mov edx, dword [eax]
mov eax, dword [0xa4f8cc]
add edx, eax
mov eax, dword [0xa4f8c4]
movzx eax, byte [eax + 0xa1c680]
mov byte [edx], al
mov eax, dword [0xa4f8cc]
add eax, 1
mov dword [0xa4f8cc], eax
mov eax, dword [0xa4f8c4]
add eax, 1
mov dword [0xa4f8c4], eax
mov eax, dword [0xa4f8c4]
cmp eax, 0x16
setle al
test al, al
jne 0x45e8f8
mov eax, dword [0xa4f8b8]
mov edx, dword [0xa4f8cc]
mov dword [eax + 4], edx
mov eax, dword [0xa4f8b8]
jmp 0x45ea54
nop
mov edx, dword [0xa4f8c8]
mov eax, dword [0xa4f8c0]
mov ecx, edx
sub ecx, eax
mov eax, ecx
not eax
mov dword [0xa4f8c4], eax
mov eax, dword [0xa4f8c4]
test eax, eax
jns 0x45e981
mov dword [0xa4f8c4], 0
mov byte [0xa1c670], 0x25
mov byte [0xa1c671], 0x20
mov byte [0xa1c672], 0x2e
mov eax, dword [0xa4f8c4]
cmp eax, 9
jle 0x45e9b6
mov byte [0xa1c673], 0x31
mov eax, dword [0xa4f8c4]
add eax, 0x26
mov byte [0xa1c674], al
jmp 0x45e9ca
mov byte [0xa1c673], 0x30
mov eax, dword [0xa4f8c4]
add eax, 0x30
mov byte [0xa1c674], al
mov byte [0xa1c675], 0x66
mov byte [0xa1c676], 0
mov ebx, dword [0xa4f8b8]
mov eax, dword [0xa4f8b8]
mov eax, dword [eax]
fld qword [ebp - 0x10]
fstp qword [esp + 8]
mov dword [esp + 4], 0xa1c670
mov dword [esp], eax
call sub.msvcrt.dll_sprintf
mov dword [ebx + 4], eax
mov eax, dword [0xa4f8b8]
mov eax, dword [eax]
add eax, 1
movzx eax, byte [eax]
cmp al, 0x30
jne 0x45ea4f
mov eax, dword [0xa4f8b8]
mov eax, dword [eax + 4]
sub eax, 2
mov edx, dword [0xa4f8b8]
mov edx, dword [edx]
lea ecx, [edx + 2]
mov edx, dword [0xa4f8b8]
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 [0xa4f8b8]
mov edx, dword [eax + 4]
sub edx, 1
mov dword [eax + 4], edx
mov eax, dword [0xa4f8b8]
add esp, 0x24
pop ebx
pop ebp
ret