Function at 0x414ca9
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push eax
push ecx
nop
push edx
push ebx
push esp
push ebp
push esi
push edi
push ebp
mov ebp, esp
sub esp, 0x64
push ebx
push esi
push edi
mov edi, 7
mov dword [ebp - 0xc], 0xa
mov esi, 0xe
mov dword [ebp - 8], 9
mov eax, esi
add eax, dword [ebp - 8]
sub eax, 0x17
mov dword [ebp - 0x24], eax
and dword [ebp - 0x28], 0
jmp 0x414d4e
add dword [ebp - 0x28], 0x4ca
mov dword [ebp - 0x20], 0xbba0bf4e
mov dword [ebp - 0x24], 0x7841
jmp 0x414d57
dec dword [ebp - 0x20]
mov eax, dword [ebp - 8]
sub eax, 9
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x1c], 0x4af000
mov dword [ebp - 0x2c], 0x48b6c0
mov eax, edi
add eax, esi
sub eax, 0x12
mov dword [ebp - 0x10], eax
jmp 0x414d35
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x28]
movzx edx, byte [eax]
movzx ecx, byte [ebp - 0x20]
xor edx, ecx
mov byte [eax], dl
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x10], eax
jb 0x414d21
jmp 0x414da3
mov eax, dword [ebp - 8]
add eax, esi
sub eax, 0x14
cmp eax, dword [ebp - 0x44]
jbe 0x414d60
jmp 0x414d07
mov dword [ebp - 0x28], 0x48adf6
jmp 0x414ce4
add dword [ebp - 0x24], 0x1c1bf
jmp 0x414cfb
mov eax, esi
sub eax, 0xe
mov dword [ebp - 4], eax
jmp 0x414d7c
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x2c]
mov cl, byte [ecx + eax]
mov byte [edx + eax], cl
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x19d34
jb 0x414d6a
mov dword [ebp - 0x48], 0x4a54c0
mov dword [ebp - 0x4c], 0x4e2000
mov dword [ebp - 0x14], 0x4ac0c0
mov dword [ebp - 0x30], 0x10000000
jmp 0x414dab
inc dword [ebp - 0x44]
jmp 0x414ec2
mov eax, dword [ebp - 8]
sub eax, 9
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x48]
mov cl, byte [ecx + eax]
mov byte [edx + eax], cl
inc dword [ebp - 0x3c]
mov eax, 0x6720
cmp eax, dword [ebp - 0x3c]
ja 0x414db4
mov dword [ebp - 0x50], 0x34000
mov dword [ebp - 0x34], 0x1000
mov ebx, dword [ebp - 0xc]
sub ebx, 0xa
jmp 0x414eb1
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
sub eax, 0xb
add eax, dword [ebp - 0x14]
add eax, ebx
mov dword [ebp - 0x58], eax
jmp 0x414e37
mov eax, dword [ebp - 0x58]
mov ax, word [eax]
mov word [ebp - 0x54], ax
movzx edx, word [ebp - 0x54]
mov ecx, edi
sub ecx, 3
shl edx, cl
mov word [ebp - 0x52], dx
movzx edx, word [ebp - 0x52]
mov ecx, edi
add ecx, esi
sub ecx, 0x11
sar edx, cl
mov word [ebp - 0x52], dx
movzx edx, word [ebp - 0x54]
mov ecx, esi
sub ecx, 2
sar edx, cl
mov word [ebp - 0x5a], dx
jmp 0x414e42
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x34]
mov dword [ebp - 0x18], eax
jmp 0x414dfc
mov eax, dword [ebp - 0xc]
add eax, edi
sub eax, 0x11
movzx edx, word [ebp - 0x54]
cmp eax, edx
je 0x414f48
mov eax, dword [ebp - 0xc]
sub eax, 0xa
cmp ebx, eax
je 0x414e73
mov eax, esi
add eax, edi
sub eax, 0x15
movzx edx, word [ebp - 0x52]
cmp eax, edx
je 0x414f48
test ch, dl
add byte [eax], al
invalid
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x30]
mov dword [ebp - 0x60], eax
movzx eax, word [ebp - 0x5a]
mov edx, esi
add edx, edi
sub edx, 0x12
cmp eax, edx
jne 0x414ea3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
movzx edx, word [ebp - 0x52]
add eax, edx
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x60]
mov al, byte [0x10891003]
mov eax, dword [ebp - 8]
mov edx, eax
add edx, eax
mov eax, edx
sub eax, 0x10
add ebx, eax
mov eax, dword [ebp - 0x14]
cmp ebx, dword [eax + 4]
jb 0x414de9
jmp 0x414f48
mov eax, esi
add eax, dword [ebp - 0xc]
sub eax, 0x16
cmp eax, dword [ebp - 0x44]
jne 0x414d3f
inc dword [ebp - 0x20]
jmp 0x414d3f
mov eax, 0x4ae940
cmp eax, dword [ebp - 0x14]
ja 0x414dd0
mov eax, dword [ebp - 8]
lea eax, [esi + eax + 0x431]
mov dword [ebp - 0x38], eax
mov eax, esi
add eax, 0x137a
mov dword [ebp - 0x40], eax
jmp 0x414f1d
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0xc]
sub edx, 0x10
add ecx, edx
mul ecx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x40], eax
jmp 0x414f2f
mov eax, dword [ebp - 0x38]
mov ecx, esi
add ecx, 9
mul ecx
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x38], eax
jmp 0x414f02
mov eax, dword [ebp - 0x40]
mov edx, dword [ebp - 0x38]
add edx, eax
mov ecx, esi
add ecx, dword [ebp - 0xc]
sub ecx, 0x10
add edx, ecx
add eax, edx
mov dword [ebp - 0x40], eax
jmp 0x414f55
mov eax, dword [ebp - 0x14]
mov edx, dword [eax + 4]
add edx, eax
mov dword [ebp - 0x14], edx
jmp 0x414edb
mov eax, dword [ebp - 0xc]
add eax, 0x9a
add dword [ebp - 0x38], eax
pop edi
pop esi
pop ebx
leave
jmp 0x4ba054