Function at 0x47d673
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x4e106c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
jne 0x47d694
or eax, 0xffffffff
jmp 0x47d912
cmp dword [ebp + 0xc], 0
jg 0x47d6a2
push 0xfffffffffffffffe
pop eax
jmp 0x47d912
cmp dword [ebp + 0x10], 0
jne 0x47d6b0
push 0xfffffffffffffffd
pop eax
jmp 0x47d912
cmp dword [ebp + 0x14], 0
jg 0x47d6be
push 0xfffffffffffffffc
pop eax
jmp 0x47d912
cmp dword [ebp + 0x18], 0
jne 0x47d6cc
push 0xfffffffffffffffb
pop eax
jmp 0x47d912
cmp dword [ebp + 0x1c], 0
jg 0x47d6da
push 0xfffffffffffffffa
pop eax
jmp 0x47d912
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp + 0x1c]
jge 0x47d6ea
push 0xfffffffffffffff9
pop eax
jmp 0x47d912
and dword [ebp - 0x214], 0
and dword [ebp - 0x208], 0
jmp 0x47d707
mov eax, dword [ebp - 0x208]
inc eax
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0x100
jge 0x47d751
mov eax, dword [ebp - 0x208]
mov cl, byte [ebp - 0x208]
mov byte [ebp + eax - 0x104], cl
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x208]
mov al, byte [eax]
mov byte [ebp + ecx - 0x204], al
mov eax, dword [ebp - 0x214]
inc eax
cdq
idiv dword [ebp + 0xc]
mov dword [ebp - 0x214], edx
jmp 0x47d6fa
and dword [ebp - 0x210], 0
and dword [ebp - 0x208], 0
jmp 0x47d76e
mov eax, dword [ebp - 0x208]
inc eax
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 0x100
jge 0x47d7f7
mov eax, dword [ebp - 0x208]
movzx eax, byte [ebp + eax - 0x104]
add eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x208]
movzx ecx, byte [ebp + ecx - 0x204]
add eax, ecx
and eax, 0x800000ff
jns 0x47d7ac
dec eax
or eax, 0xffffff00
inc eax
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x210]
mov al, byte [ebp + eax - 0x104]
mov byte [ebp - 0x209], al
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x208]
mov cl, byte [ebp + ecx - 0x104]
mov byte [ebp + eax - 0x104], cl
mov eax, dword [ebp - 0x208]
mov cl, byte [ebp - 0x209]
mov byte [ebp + eax - 0x104], cl
jmp 0x47d761
and dword [ebp - 0x210], 0
mov eax, dword [ebp - 0x210]
mov dword [ebp - 0x208], eax
and dword [ebp - 0x214], 0
jmp 0x47d820
mov eax, dword [ebp - 0x214]
inc eax
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cmp eax, dword [ebp + 0x1c]
jge 0x47d910
mov eax, dword [ebp - 0x208]
inc eax
and eax, 0x800000ff
jns 0x47d844
dec eax
or eax, 0xffffff00
inc eax
mov dword [ebp - 0x208], eax
mov eax, dword [ebp - 0x208]
movzx eax, byte [ebp + eax - 0x104]
add eax, dword [ebp - 0x210]
and eax, 0x800000ff
jns 0x47d86c
dec eax
or eax, 0xffffff00
inc eax
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0x210]
mov al, byte [ebp + eax - 0x104]
mov byte [ebp - 0x209], al
mov eax, dword [ebp - 0x210]
mov ecx, dword [ebp - 0x208]
mov cl, byte [ebp + ecx - 0x104]
mov byte [ebp + eax - 0x104], cl
mov eax, dword [ebp - 0x208]
mov cl, byte [ebp - 0x209]
mov byte [ebp + eax - 0x104], cl
mov eax, dword [ebp - 0x208]
movzx eax, byte [ebp + eax - 0x104]
mov ecx, dword [ebp - 0x210]
movzx ecx, byte [ebp + ecx - 0x104]
add eax, ecx
and eax, 0x800000ff
jns 0x47d8de
dec eax
or eax, 0xffffff00
inc eax
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
movzx eax, byte [ebp + eax - 0x104]
mov ecx, dword [ebp + 0x18]
add ecx, dword [ebp - 0x214]
movzx ecx, byte [ecx]
xor eax, ecx
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 0x214]
mov byte [ecx], al
jmp 0x47d813
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00455912
mov esp, ebp
pop ebp
ret