Function at 0x6a55b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x34
call fcn.004d61c0
mov eax, dword [0x7d3574]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], 0
cmp dword [ebp - 4], 0
jge 0x6a55f0
mov eax, dword [ebp + 0x1c]
mov dword [eax], 0xffffffff
jmp 0x6a59da
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
shl eax, 0x18
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
shl eax, 0x10
or eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
shl eax, 8
or eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
or eax, dword [ebp - 0x34]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
shl eax, 0x18
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
shl eax, 0x10
or eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
shl eax, 8
or eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx]
or eax, dword [ebp - 8]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x34]
shr edx, 0x18
and edx, 0xff
mov eax, dword [ebp - 0xc]
mov byte [eax], dl
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x34]
shr edx, 0x10
and edx, 0xff
mov eax, dword [ebp - 0xc]
mov byte [eax], dl
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x34]
shr edx, 8
and edx, 0xff
mov eax, dword [ebp - 0xc]
mov byte [eax], dl
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x34]
and edx, 0xff
mov eax, dword [ebp - 0xc]
mov byte [eax], dl
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
shr edx, 0x18
and edx, 0xff
mov eax, dword [ebp - 0xc]
mov byte [eax], dl
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
shr edx, 0x10
and edx, 0xff
mov eax, dword [ebp - 0xc]
mov byte [eax], dl
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
shr edx, 8
and edx, 0xff
mov eax, dword [ebp - 0xc]
mov byte [eax], dl
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
and edx, 0xff
mov eax, dword [ebp - 0xc]
mov byte [eax], dl
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
sub eax, 1
mov dword [ebp - 0x18], eax
test edx, edx
je 0x6a58cd
cmp dword [ebp - 4], 0
jne 0x6a5895
mov ecx, dword [ebp + 0x14]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.006a45f0
add esp, 8
lea eax, [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp - 0x30]
shr edx, 0x18
and edx, 0xff
mov eax, dword [ebp - 0xc]
mov byte [eax], dl
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x30]
shr edx, 0x10
and edx, 0xff
mov eax, dword [ebp - 0xc]
mov byte [eax], dl
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x30]
shr edx, 8
and edx, 0xff
mov eax, dword [ebp - 0xc]
mov byte [eax], dl
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x30]
and edx, 0xff
mov eax, dword [ebp - 0xc]
mov byte [eax], dl
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
shr eax, 0x18
and eax, 0xff
mov ecx, dword [ebp - 0xc]
mov byte [ecx], al
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x30]
shr eax, 0x10
and eax, 0xff
mov ecx, dword [ebp - 0xc]
mov byte [ecx], al
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x30]
shr eax, 8
and eax, 0xff
mov ecx, dword [ebp - 0xc]
mov byte [ecx], al
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x30]
and eax, 0xff
mov ecx, dword [ebp - 0xc]
mov byte [ecx], al
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx]
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp + eax - 0x24]
xor edx, ecx
mov eax, dword [ebp + 0xc]
mov byte [eax], dl
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
mov eax, dword [ebp - 4]
add eax, 1
and eax, 7
mov dword [ebp - 4], eax
jmp 0x6a5786
cmp dword [ebp - 0x14], 0
je 0x6a59b3
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x34]
shr ecx, 0x18
and ecx, 0xff
mov edx, dword [ebp - 0x10]
mov byte [edx], cl
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x34]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [ebp - 0x10]
mov byte [edx], cl
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x34]
shr ecx, 8
and ecx, 0xff
mov edx, dword [ebp - 0x10]
mov byte [edx], cl
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x34]
and ecx, 0xff
mov edx, dword [ebp - 0x10]
mov byte [edx], cl
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
shr ecx, 0x18
and ecx, 0xff
mov edx, dword [ebp - 0x10]
mov byte [edx], cl
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [ebp - 0x10]
mov byte [edx], cl
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
shr ecx, 8
and ecx, 0xff
mov edx, dword [ebp - 0x10]
mov byte [edx], cl
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
and ecx, 0xff
mov edx, dword [ebp - 0x10]
mov byte [edx], cl
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 0x1c]
mov eax, dword [ebp - 4]
mov dword [edx], eax
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.004d482d
mov esp, ebp
pop ebp
ret