Function at 0x447fe0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x20
mov edi, ecx
mov dword [esp + 0xc], 0
mov eax, dword [ecx + 8]
mov dword [esp + 0x1c], eax
mov dword [esp + 4], 0xe0e7e6e5
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x448046
nop
nop
nop
nop
nop
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.004497e0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x448020
mov eax, dword [esp + 4]
mov ecx, dword [0x459d64]
test ecx, ecx
je 0x44809e
xor edx, edx
mov esi, dword [0x459d68]
nop
nop
nop
nop
cmp dword [esi + edx*8], 0xf3285e74
je 0x448070
inc edx
cmp ecx, edx
jne 0x448060
jmp 0x44809e
mov ecx, dword [esi + edx*8 + 4]
cmp ecx, eax
je 0x44809e
lea eax, [esp + 0x1c]
lea edx, [esp + 0xc]
push 4
push 0x3000
push eax
push 0
push edx
push 0xffffffffffffffff
push 6
push dword [0x459d6c]
push ecx
call fcn.00449ba0
add esp, 0x24
test eax, eax
js 0x44810c
mov ecx, dword [esp + 0x34]
push 0
push 0
push dword [edi + 8]
push dword [esp + 0x18]
push dword [edi + 4]
mov dword [esp + 0x28], edi
push dword [edi]
call fcn.00447060
test eax, eax
jns 0x4480d5
xor edi, edi
mov ebx, 0
cmp eax, 0x8000000d
jne 0x448185
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 8]
add edx, ecx
sub edx, dword [esp + 0x3c]
xor edi, edi
mov ebx, 0
mov dword [esp + 0x10], ecx
cmp edx, ecx
jbe 0x448185
mov ecx, dword [esp + 0x40]
mov esi, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
dec eax
mov ebp, dword [esp + 0x10]
jmp 0x448123
xor edi, edi
xor ebx, ebx
jmp 0x44822a
add ebp, edi
inc ebp
xor edi, edi
mov ebx, 0
cmp ebp, edx
jae 0x448185
test ecx, ecx
je 0x44812c
cmp byte [ecx], 0x3f
je 0x448134
movzx ebx, byte [ebp]
cmp bl, byte [esi]
jne 0x448117
cmp dword [esp + 0x3c], 2
jb 0x44815d
xor edi, edi
jmp 0x448150
movzx ebx, byte [ebp + edi + 1]
cmp bl, byte [esi + edi + 1]
jne 0x448115
inc edi
cmp eax, edi
je 0x44815d
test ecx, ecx
je 0x448140
cmp byte [ecx + edi + 1], 0x3f
jne 0x448140
jmp 0x44814b
test ebp, ebp
je 0x448181
mov eax, ebp
mov edi, dword [esp + 0x10]
xor eax, edi
not edi
and edi, ebp
add edi, edi
sub edi, eax
mov ebx, edi
sar ebx, 0x1f
mov eax, dword [esp + 0x14]
add edi, dword [eax]
adc ebx, dword [eax + 4]
jmp 0x448185
xor edi, edi
xor ebx, ebx
mov dword [esp + 0x18], 0
mov dword [esp + 4], 0xe0e7e6e5
mov word [esp + 8], 0
mov byte [esp + 0xa], 0
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 6
ja 0x4481d6
mov eax, dword [esp]
movzx eax, byte [esp + eax + 4]
push dword [esp]
push eax
call fcn.004497e0
add esp, 8
mov ecx, dword [esp]
mov byte [esp + ecx + 4], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 7
jb 0x4481b0
mov eax, dword [0x459d64]
test eax, eax
je 0x44822a
mov ecx, dword [esp + 4]
xor edx, edx
mov esi, dword [0x459d68]
nop
nop
nop
nop
nop
cmp dword [esi + edx*8], 0x731cdbf3
je 0x448200
inc edx
cmp eax, edx
jne 0x4481f0
jmp 0x44822a
mov eax, dword [esi + edx*8 + 4]
cmp eax, ecx
je 0x44822a
lea ecx, [esp + 0x18]
lea edx, [esp + 0xc]
push 0x8000
push ecx
push edx
push 0xffffffffffffffff
push 4
push dword [0x459d6c]
push eax
call fcn.00449ba0
add esp, 0x1c
mov eax, edi
mov edx, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret 0x10