Function at 0x71de30
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
and ecx, 7
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0x14], 5
jae 0x71de5b
xor eax, eax
jmp 0x71e0ad
mov edx, dword [ebp - 0x14]
sub edx, 4
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
add eax, 5
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0x18]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
jmp 0x71de8a
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x24]
jae 0x71dea8
mov edx, dword [ebp - 4]
movzx eax, byte [edx]
and eax, 0xfe
cmp eax, 0xe8
jne 0x71dea6
jmp 0x71dea8
jmp 0x71de81
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x24]
jb 0x71deef
cmp dword [ebp - 0x1c], 2
jbe 0x71ded4
mov dword [ebp - 0x28], 0
jmp 0x71dedf
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
shr edx, cl
mov dword [ebp - 0x28], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov eax, dword [ebp - 0x10]
jmp 0x71e0ad
cmp dword [ebp - 0x1c], 2
jbe 0x71defe
mov dword [ebp - 0xc], 0
jmp 0x71df4c
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
shr edx, cl
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
je 0x71df4c
cmp dword [ebp - 0xc], 4
ja 0x71df33
cmp dword [ebp - 0xc], 3
je 0x71df33
mov eax, dword [ebp - 0xc]
shr eax, 1
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + eax + 1]
add edx, 1
and edx, 0xfe
jne 0x71df4c
mov eax, dword [ebp - 0xc]
shr eax, 1
or eax, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
jmp 0x71de6d
mov edx, 1
shl edx, 2
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
add ecx, 1
and ecx, 0xfe
jne 0x71e094
mov edx, 1
shl edx, 2
mov eax, dword [ebp - 4]
movzx ecx, byte [eax + edx]
shl ecx, 0x18
mov edx, 1
imul eax, edx, 3
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax]
shl eax, 0x10
or ecx, eax
mov edx, 1
shl edx, 1
mov eax, dword [ebp - 4]
movzx edx, byte [eax + edx]
shl edx, 8
or ecx, edx
mov eax, 1
shl eax, 0
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax]
or ecx, eax
mov dword [ebp - 8], ecx
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x10]
add edx, 5
mov dword [ebp - 0x10], edx
cmp dword [ebp + 0x10], 0
je 0x71dfda
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
jmp 0x71dfe3
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x20]
mov dword [ebp - 8], ecx
cmp dword [ebp - 0xc], 0
je 0x71e03f
mov edx, dword [ebp - 0xc]
and edx, 6
shl edx, 2
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x2c]
shr eax, cl
movzx ecx, al
add ecx, 1
and ecx, 0xfe
jne 0x71e038
mov edx, 0x100
mov ecx, dword [ebp - 0x2c]
shl edx, cl
sub edx, 1
xor edx, dword [ebp - 8]
mov dword [ebp - 8], edx
cmp dword [ebp + 0x10], 0
je 0x71e02f
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x20]
mov dword [ebp - 8], eax
jmp 0x71e038
mov ecx, dword [ebp - 8]
sub ecx, dword [ebp - 0x20]
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0
mov edx, 1
shl edx, 0
mov eax, dword [ebp - 4]
mov cl, byte [ebp - 8]
mov byte [eax + edx], cl
mov edx, dword [ebp - 8]
shr edx, 8
mov eax, 1
shl eax, 1
mov ecx, dword [ebp - 4]
mov byte [ecx + eax], dl
mov edx, dword [ebp - 8]
shr edx, 0x10
mov eax, 1
imul ecx, eax, 3
mov eax, dword [ebp - 4]
mov byte [eax + ecx], dl
mov ecx, dword [ebp - 8]
shr ecx, 0x18
and ecx, 1
xor edx, edx
sub edx, ecx
mov eax, 1
shl eax, 2
mov ecx, dword [ebp - 4]
mov byte [ecx + eax], dl
jmp 0x71e0a8
mov edx, dword [ebp - 0xc]
shr edx, 1
or edx, 4
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
jmp 0x71de6d
mov esp, ebp
pop ebp
ret 0xc