Function at 0x41e858
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov esi, eax
mov dword [esp], 7
mov dword [esp + 4], 0x20
mov dword [esp + 8], 0x80
mov eax, dword [esi + 0x990]
mov dword [esp + 0xc], eax
jmp 0x41ebab
mov edx, dword [esi + 0x24]
and dword [esi + 0x149c], edx
xor ecx, ecx
mov dword [esi + 0x54], ecx
mov edx, dword [esi]
mov eax, dword [esi + 0x149c]
mov bl, byte [edx + eax]
dec eax
and eax, dword [esi + 0x24]
mov edx, dword [esi]
cmp bl, byte [edx + eax]
jne 0x41e8e0
mov dword [esi + 0x58], 1
jmp 0x41e8b7
inc dword [esi + 0x58]
mov ecx, dword [esi + 0x149c]
mov eax, dword [esi + 0x58]
add ecx, eax
and ecx, dword [esi + 0x24]
mov edx, dword [esi]
cmp bl, byte [edx + ecx]
jne 0x41e8d3
cmp eax, 0x100
jl 0x41e8b4
cmp dword [esi + 0x58], 7
jl 0x41e8e0
mov dword [esi + 0x54], 1
mov eax, dword [esi + 0x149c]
mov ecx, dword [esi]
xor edx, edx
mov dl, byte [ecx + eax + 2]
mov ecx, dword [esi]
movzx ecx, byte [ecx + eax + 1]
mov edx, dword [edx*4 + 0x43e080]
shl edx, 0xa
mov ecx, dword [ecx*4 + 0x43e080]
shl ecx, 4
add edx, ecx
mov ecx, dword [esi]
movzx ecx, byte [ecx + eax]
add edx, ecx
mov ecx, edx
mov edx, dword [esi]
and ecx, 0x3ffff
movzx edx, byte [edx + eax + 3]
mov edx, dword [edx*4 + 0x43e080]
shl edx, 6
add ecx, edx
and ecx, 0x3ffff
mov dword [esp + 0x10], ecx
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
mov edi, dword [esi + 0x149c]
movzx eax, byte [ecx + eax + 4]
mov ecx, dword [esi + 0x10]
mov eax, dword [eax*4 + 0x43e080]
shl eax, 8
add eax, dword [esp + 0x10]
and eax, dword [esi + 0x1c]
mov edx, dword [edx + eax*4]
and edx, dword [esi + 0x24]
mov dword [ecx + eax*4], edi
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x149c]
mov dword [eax + ecx*4], edx
test byte [esi + 0x149c], 0xf
jne 0x41e9a3
cmp dword [esi + 0x54], 0
jne 0x41e9a3
mov dword [esi + 0x58], 0x1f
mov ecx, edx
mov eax, esi
mov edx, 1
call fcn.0041d658
cmp dword [esi + 0x58], 0x80
jge 0x41e9a3
xor eax, eax
mov dword [esi + 0x54], eax
cmp dword [esi + 0x54], 0
je 0x41eb70
mov edx, dword [esp + 0xc]
sub edx, dword [esi + 0x149c]
and edx, dword [esi + 0x24]
cmp edx, dword [esi + 0x58]
jbe 0x41eb70
cmp byte [esi + 0x14a1], 0
jne 0x41e9db
mov ecx, dword [esi + 0x54]
cmp ecx, dword [esi + 0x149c]
ja 0x41eb70
mov eax, dword [esi + 0x149c]
inc eax
and eax, dword [esi + 0x24]
mov dword [esi + 0x149c], eax
xor ecx, ecx
jmp 0x41eae2
mov eax, dword [esi + 0x149c]
mov edx, dword [esi]
mov ebx, dword [esi]
movzx edx, byte [edx + eax]
inc eax
and eax, dword [esi + 0x24]
movzx eax, byte [ebx + eax]
shl eax, 8
mov bl, byte [esi + 0x149c]
add edx, eax
mov eax, edx
mov edx, dword [esi + 4]
and eax, 0x3fff
mov byte [edx + eax], bl
mov eax, dword [esi + 0x149c]
mov edx, dword [esi]
mov ebx, dword [esi]
movzx edx, byte [edx + eax + 2]
movzx ebx, byte [ebx + eax + 1]
mov edx, dword [edx*4 + 0x43e080]
shl edx, 0xa
mov ebx, dword [ebx*4 + 0x43e080]
shl ebx, 4
add edx, ebx
mov ebx, dword [esi]
movzx eax, byte [ebx + eax]
add edx, eax
mov bx, word [esi + 0x149c]
and edx, 0x3ffff
mov eax, edx
mov edx, dword [esi + 8]
mov word [edx + eax*2], bx
mov edx, dword [esi + 0x149c]
mov ebx, dword [esi]
movzx ebx, byte [ebx + edx + 3]
mov ebx, dword [ebx*4 + 0x43e080]
shl ebx, 6
add eax, ebx
mov ebx, dword [esi + 0xc]
and eax, 0x3ffff
mov dword [ebx + eax*4], edx
mov edx, dword [esi]
mov ebx, dword [esi + 0x149c]
mov edi, dword [esi + 0x10]
movzx edx, byte [edx + ebx + 4]
mov edx, dword [edx*4 + 0x43e080]
shl edx, 8
add eax, edx
mov edx, dword [esi + 0x10]
and eax, dword [esi + 0x1c]
mov edx, dword [edx + eax*4]
and edx, dword [esi + 0x24]
mov dword [edi + eax*4], ebx
mov ebx, dword [esi]
movzx ebx, byte [ebx + edx]
xor eax, ebx
test al, 0xf
je 0x41eac5
xor edx, edx
mov eax, dword [esi + 0x14]
mov ebx, dword [esi + 0x149c]
mov dword [eax + ebx*4], edx
mov eax, dword [esi + 0x149c]
inc eax
and eax, dword [esi + 0x24]
mov dword [esi + 0x149c], eax
inc ecx
mov edx, dword [esi + 0x58]
dec edx
cmp ecx, edx
jl 0x41e9f2
lea ebx, [esi + 0x14b0]
mov edx, dword [esi + 0x60a4]
mov eax, ebx
call fcn.00432558
cmp dword [esi + 0x54], 1
jne 0x41eb25
mov eax, ebx
mov edx, 5
call fcn.00432558
mov edx, dword [esi + 0x58]
mov eax, ebx
add edx, 0xfffffffc
call fcn.00432558
jmp 0x41ebab
mov eax, ebx
mov edx, 4
call fcn.00432558
sub dword [esi + 0x54], 2
mov edx, dword [esi + 0x54]
mov eax, ebx
shr edx, 0x10
call fcn.00432558
mov edx, dword [esi + 0x54]
mov eax, ebx
shr edx, 8
and edx, 0xff
call fcn.00432558
xor edx, edx
mov eax, ebx
mov dl, byte [esi + 0x54]
call fcn.00432558
mov edx, dword [esi + 0x58]
mov eax, ebx
add edx, 0xffffffe0
call fcn.00432558
jmp 0x41ebab
mov edi, ebx
lea ebp, [esi + 0x14b0]
and edi, 0xff
mov eax, ebp
mov edx, edi
call fcn.00432558
cmp edi, dword [esi + 0x60a4]
jne 0x41eb9b
mov eax, ebp
mov edx, 1
call fcn.00432558
mov ecx, dword [esi + 0x149c]
inc ecx
and ecx, dword [esi + 0x24]
mov dword [esi + 0x149c], ecx
lea ebx, [esi + 0x990]
mov edi, dword [esi + 0x149c]
cmp edi, dword [ebx]
jne 0x41ebc6
mov eax, ebx
call fcn.00420b98
mov dl, 1
jmp 0x41ebc8
xor edx, edx
test dl, dl
je 0x41e887
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret