Function at 0x100161c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov dword [ebp - 4], 0
lea edi, [edi]
sub ecx, dword [0x100727c0]
add ecx, dword [0x100727c0]
add ebx, dword [0x100727b4]
add eax, dword [0x100727b8]
add edx, dword [0x100727c8]
sub ebx, dword [0x100727b4]
inc edx
sub edx, dword [0x100727c8]
dec edx
sub eax, dword [0x100727b8]
mov dword [ebp - 0x10], 0
lea edi, [edi]
sub ecx, dword [0x100727c0]
add ecx, dword [0x100727c0]
add ebx, dword [0x100727b4]
add eax, dword [0x100727b8]
add edx, dword [0x100727c8]
sub ebx, dword [0x100727b4]
inc edx
sub edx, dword [0x100727c8]
dec edx
sub eax, dword [0x100727b8]
mov byte [ebp - 0xc], 0
lea edi, [edi]
sub ecx, dword [0x100727c0]
add ecx, dword [0x100727c0]
add ebx, dword [0x100727b4]
add eax, dword [0x100727b8]
add edx, dword [0x100727c8]
sub ebx, dword [0x100727b4]
inc edx
sub edx, dword [0x100727c8]
dec edx
sub eax, dword [0x100727b8]
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
push 0x10074160
call dword [0x10072f18]
movsx eax, byte [0x100727cc]
mov ecx, dword [0x100748a0]
xor ecx, eax
mov dword [ebp - 0x18], ecx
mov esi, dword [ebp - 0x18]
cmp esi, 0
je 0x100164e7
lea edi, [edi]
sub ecx, dword [0x100727c0]
add ecx, dword [0x100727c0]
add ebx, dword [0x100727b4]
add eax, dword [0x100727b8]
add edx, dword [0x100727c8]
sub ebx, dword [0x100727b4]
inc edx
sub edx, dword [0x100727c8]
dec edx
sub eax, dword [0x100727b8]
mov esi, dword [esi]
cmp esi, 0
je 0x100164e7
lea edi, [edi]
sub ecx, dword [0x100727c0]
add ecx, dword [0x100727c0]
add ebx, dword [0x100727b4]
add eax, dword [0x100727b8]
add edx, dword [0x100727c8]
sub ebx, dword [0x100727b4]
inc edx
sub edx, dword [0x100727c8]
dec edx
sub eax, dword [0x100727b8]
mov dword [ebp - 4], esi
mov dword [ebp - 0x14], 6
jmp 0x10016336
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 0x2e
jge 0x100164e7
mov esi, dword [ebp - 4]
lea edi, [edi]
sub ecx, dword [0x100727c0]
add ecx, dword [0x100727c0]
add ebx, dword [0x100727b4]
add eax, dword [0x100727b8]
add edx, dword [0x100727c8]
sub ebx, dword [0x100727b4]
inc edx
sub edx, dword [0x100727c8]
dec edx
sub eax, dword [0x100727b8]
mov ecx, dword [ebp - 0x14]
lea edi, [edi]
sub ecx, dword [0x100727c0]
add ecx, dword [0x100727c0]
add ebx, dword [0x100727b4]
add eax, dword [0x100727b8]
add edx, dword [0x100727c8]
sub ebx, dword [0x100727b4]
inc edx
sub edx, dword [0x100727c8]
dec edx
sub eax, dword [0x100727b8]
movzx ebx, byte [0x1007489c]
imul ebx, ebx, 4
imul ecx, ebx
lea edi, [edi]
sub ecx, dword [0x100727c0]
add ecx, dword [0x100727c0]
add ebx, dword [0x100727b4]
add eax, dword [0x100727b8]
add edx, dword [0x100727c8]
sub ebx, dword [0x100727b4]
inc edx
sub edx, dword [0x100727c8]
dec edx
sub eax, dword [0x100727b8]
lea esi, [esi + ecx]
lea edi, [edi]
sub ecx, dword [0x100727c0]
add ecx, dword [0x100727c0]
add ebx, dword [0x100727b4]
add eax, dword [0x100727b8]
add edx, dword [0x100727c8]
sub ebx, dword [0x100727b4]
inc edx
sub edx, dword [0x100727c8]
dec edx
sub eax, dword [0x100727b8]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x10]
lea edi, [edi]
sub ecx, dword [0x100727c0]
add ecx, dword [0x100727c0]
add ebx, dword [0x100727b4]
add eax, dword [0x100727b8]
add edx, dword [0x100727c8]
sub ebx, dword [0x100727b4]
inc edx
sub edx, dword [0x100727c8]
dec edx
sub eax, dword [0x100727b8]
mov al, byte [esi]
lea edi, [edi]
sub ecx, dword [0x100727c0]
add ecx, dword [0x100727c0]
add ebx, dword [0x100727b4]
add eax, dword [0x100727b8]
add edx, dword [0x100727c8]
sub ebx, dword [0x100727b4]
inc edx
sub edx, dword [0x100727c8]
dec edx
sub eax, dword [0x100727b8]
mov byte [ebp - 0xc], al
mov eax, dword [ebp - 0xc]
and eax, 0xff
test eax, eax
jne 0x100164e2
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
lea edi, [edi]
sub ecx, dword [0x100727c0]
add ecx, dword [0x100727c0]
add ebx, dword [0x100727b4]
add eax, dword [0x100727b8]
add edx, dword [0x100727c8]
sub ebx, dword [0x100727b4]
inc edx
sub edx, dword [0x100727c8]
dec edx
sub eax, dword [0x100727b8]
jmp 0x1001632d
push 0x10074160
call dword [0x10072f20]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret