Function at 0x4aad68
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x4aae06
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0xcc], eax
lea eax, [ebp + 0x60]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0xac], eax
lea eax, [ebp + 0x2c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x5c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x58]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x4c]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xa4]
movzx eax, byte [eax]
push eax
push dword [ebp - 0x14]
push dword [ebp - 0xcc]
push dword [ebp - 0x1c]
mov eax, dword [ebp - 0x7c]
movzx eax, byte [eax]
push eax
push 0x46b
push dword [ebp - 0x24]
push dword [ebp - 0xac]
push dword [ebp - 0x2c]
push 1
mov eax, dword [ebp - 0x84]
movzx eax, byte [eax]
push eax
call fcn.004ab077
add esp, 0x2c
jmp 0x4ab073
lea eax, [ebp + 0x3c]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x44]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x6c], eax
lea eax, [ebp + 0x40]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xc4], eax
lea eax, [ebp + 0x38]
mov dword [ebp - 0x5c], eax
lea eax, [ebp + 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
movzx eax, byte [eax]
test eax, eax
je 0x4aaebb
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x44], eax
push dword [ebp - 0x44]
push 0xa19
push 1
push 0x2264
push 0x7b5c
push 0
push dword [ebp - 0xb4]
mov eax, dword [ebp - 0x4c]
movzx eax, byte [eax]
push eax
call fcn.0048ddbb
add esp, 0x20
jmp 0x4ab073
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x74]
movzx eax, byte [eax]
test eax, eax
je 0x4ab019
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x38]
movzx eax, byte [eax]
test eax, eax
je 0x4aaf90
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x50], eax
and dword [ebp - 4], 0
jmp 0x4aaf55
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x6490
jge 0x4aaf8b
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
add eax, dword [ebp - 4]
cdq
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], edx
push dword [ebp - 0xd0]
push dword [ebp - 0xd4]
mov ecx, 0xad3d78
call fcn.0042cb49
jmp 0x4aaf4e
jmp 0x4ab017
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x98], eax
and dword [ebp - 8], 0
jmp 0x4aafca
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x735f
jge 0x4ab017
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x90]
mov eax, dword [eax]
mov ecx, dword [ecx]
sar eax, cl
mov ecx, dword [ebp - 0x98]
mov ecx, dword [ecx]
xor ecx, dword [ebp - 8]
or eax, ecx
cdq
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], edx
push dword [ebp - 0xdc]
push dword [ebp - 0xe0]
mov ecx, 0xad3d78
call fcn.0042cb49
jmp 0x4aafc3
jmp 0x4ab073
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xc8], eax
push 0x47e1
push 1
push 0
push 0
push 0x4803
push dword [ebp - 0xb8]
push 1
push dword [ebp - 0xc0]
push dword [ebp - 0xc8]
push 0x10b1
push 0xa72
call fcn.0048d7fc
add esp, 0x2c
mov esp, ebp
pop ebp
ret