Function at 0x7c43e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
cmp dword [esp + 0x2c], 0
js 0x7c48d8
mov ebp, ecx
movzx eax, word [edx + 2]
mov esi, edx
xor edx, edx
mov dword [esp + 0x10], eax
test eax, eax
mov eax, 0x8a
mov ecx, 7
cmove ecx, eax
mov dword [esp + 4], ecx
setne dl
add edx, 3
mov dword [esp], edx
mov edx, esi
mov edi, 0xffffffff
xor eax, eax
xor ecx, ecx
mov dword [esp + 0xc], esi
jmp 0x7c4441
mov edx, dword [esp + 0xc]
mov ebx, eax
inc eax
cmp ebx, dword [esp + 0x2c]
je 0x7c48d8
mov ebx, dword [esp + 0x10]
movzx edx, word [edx + eax*4 + 6]
mov dword [esp + 8], ecx
lea esi, [ecx + 1]
mov ecx, esi
cmp esi, dword [esp + 4]
mov dword [esp + 0x10], edx
jge 0x7c4461
cmp ebx, edx
je 0x7c4430
cmp ecx, dword [esp]
mov dword [esp], ebx
mov dword [esp + 0x14], eax
jl 0x7c455f
test ebx, ebx
je 0x7c4597
cmp ebx, edi
je 0x7c468f
movzx edx, word [ebp + ebx*4 + 0xa7e]
mov ecx, dword [ebp + 0x16bc]
mov eax, 0x10
movzx edi, word [ebp + ebx*4 + 0xa7c]
mov ebx, edi
shl ebx, cl
sub eax, edx
or bx, word [ebp + 0x16b8]
cmp ecx, eax
jle 0x7c4679
mov word [ebp + 0x16b8], bx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
lea esi, [ecx + 1]
mov dword [ebp + 0x14], esi
mov byte [eax + ecx], bl
movzx eax, byte [ebp + 0x16b9]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
lea ebx, [esi + 1]
mov dword [ebp + 0x14], ebx
mov byte [ecx + esi], al
mov eax, dword [ebp + 0x16bc]
mov cl, 0x10
sub cl, al
shr edi, cl
lea ecx, [edx + eax]
add ecx, 0xfffffff0
mov ebx, edi
jmp 0x7c467b
mov word [ebp + 0x16b8], ax
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov ebx, ebp
lea ebp, [esi + 1]
mov dword [ebx + 0x14], ebp
mov byte [ecx + esi], al
movzx eax, byte [ebx + 0x16b9]
mov ecx, dword [ebx + 8]
mov esi, dword [ebx + 0x14]
lea ebp, [esi + 1]
mov dword [ebx + 0x14], ebp
mov ebp, ebx
mov ebx, dword [esp]
mov byte [ecx + esi], al
mov eax, dword [ebp + 0x16bc]
mov cl, 0x10
sub cl, al
shr edi, cl
lea ecx, [edx + eax]
add ecx, 0xfffffff0
mov eax, edi
mov word [ebp + 0x16b8], ax
mov dword [ebp + 0x16bc], ecx
mov ecx, dword [esp + 4]
dec ecx
je 0x7c4896
mov dword [esp + 4], ecx
movzx edx, word [ebp + ebx*4 + 0xa7e]
mov ecx, dword [ebp + 0x16bc]
mov esi, 0x10
movzx edi, word [ebp + ebx*4 + 0xa7c]
mov eax, edi
shl eax, cl
sub esi, edx
or ax, word [ebp + 0x16b8]
cmp ecx, esi
jg 0x7c4500
add ecx, edx
jmp 0x7c4547
mov ecx, dword [ebp + 0x16bc]
movzx ebx, word [ebp + 0x16b8]
cmp dword [esp + 8], 9
jg 0x7c4612
movzx edx, word [ebp + 0xac2]
movzx edi, word [ebp + 0xac0]
mov eax, edi
shl eax, cl
or ebx, eax
mov eax, 0x10
sub eax, edx
cmp ecx, eax
jle 0x7c4789
mov word [ebp + 0x16b8], bx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
lea esi, [ecx + 1]
mov dword [ebp + 0x14], esi
mov byte [eax + ecx], bl
movzx eax, byte [ebp + 0x16b9]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
lea ebx, [esi + 1]
mov dword [ebp + 0x14], ebx
mov byte [ecx + esi], al
mov eax, dword [ebp + 0x16bc]
mov cl, 0x10
sub cl, al
shr edi, cl
add eax, edx
add eax, 0xfffffff0
mov ebx, edi
jmp 0x7c478d
movzx edx, word [ebp + 0xac6]
movzx edi, word [ebp + 0xac4]
mov eax, edi
shl eax, cl
or ebx, eax
mov eax, 0x10
sub eax, edx
cmp ecx, eax
jle 0x7c47fb
mov word [ebp + 0x16b8], bx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
lea esi, [ecx + 1]
mov dword [ebp + 0x14], esi
mov byte [eax + ecx], bl
movzx eax, byte [ebp + 0x16b9]
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
lea ebx, [esi + 1]
mov dword [ebp + 0x14], ebx
mov byte [ecx + esi], al
mov eax, dword [ebp + 0x16bc]
mov cl, 0x10
sub cl, al
shr edi, cl
add eax, edx
add eax, 0xfffffff0
mov ebx, edi
jmp 0x7c47ff
add ecx, edx
mov word [ebp + 0x16b8], bx
mov dword [ebp + 0x16bc], ecx
mov ecx, dword [esp + 8]
mov ebx, dword [esp]
mov dword [esp + 4], ecx
movzx esi, word [ebp + 0xabe]
mov ecx, dword [ebp + 0x16bc]
mov eax, 0x10
movzx edi, word [ebp + 0xabc]
mov edx, edi
shl edx, cl
sub eax, esi
or dx, word [ebp + 0x16b8]
cmp ecx, eax
jle 0x7c4704
mov word [ebp + 0x16b8], dx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov dword [esp], esi
lea esi, [ecx + 1]
mov dword [ebp + 0x14], esi
mov byte [eax + ecx], dl
movzx eax, byte [ebp + 0x16b9]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
lea esi, [edx + 1]
mov dword [ebp + 0x14], esi
mov byte [ecx + edx], al
mov eax, dword [ebp + 0x16bc]
mov cl, 0x10
sub cl, al
shr edi, cl
mov ecx, dword [esp]
add eax, ecx
add eax, 0xfffffff0
mov edx, edi
jmp 0x7c4708
mov eax, ecx
add eax, esi
mov word [ebp + 0x16b8], dx
mov dword [ebp + 0x16bc], eax
mov edx, dword [esp + 4]
add edx, 0xfffd
cmp eax, 0xf
jl 0x7c4774
movzx edi, dx
mov ecx, eax
shl edx, cl
or dx, word [ebp + 0x16b8]
mov word [ebp + 0x16b8], dx
mov esi, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov eax, edx
lea edx, [ecx + 1]
mov dword [ebp + 0x14], edx
mov byte [esi + ecx], al
movzx eax, byte [ebp + 0x16b9]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
lea esi, [edx + 1]
mov dword [ebp + 0x14], esi
mov byte [ecx + edx], al
mov eax, dword [ebp + 0x16bc]
mov cl, 0x10
sub cl, al
shr edi, cl
add eax, 0xfffffff2
jmp 0x7c4889
mov ecx, eax
shl edx, cl
or dx, word [ebp + 0x16b8]
add eax, 2
mov edi, edx
jmp 0x7c4889
mov eax, ecx
add eax, edx
mov word [ebp + 0x16b8], bx
mov dword [ebp + 0x16bc], eax
mov ebx, dword [esp + 8]
add ebx, 0xfffe
cmp eax, 0xe
jl 0x7c4866
movzx edi, bx
mov ecx, eax
shl ebx, cl
or bx, word [ebp + 0x16b8]
mov word [ebp + 0x16b8], bx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
lea edx, [ecx + 1]
mov dword [ebp + 0x14], edx
mov byte [eax + ecx], bl
movzx eax, byte [ebp + 0x16b9]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
lea esi, [edx + 1]
mov dword [ebp + 0x14], esi
mov byte [ecx + edx], al
mov eax, dword [ebp + 0x16bc]
mov cl, 0x10
sub cl, al
shr edi, cl
add eax, 0xfffffff3
jmp 0x7c4886
mov eax, ecx
add eax, edx
mov word [ebp + 0x16b8], bx
mov dword [ebp + 0x16bc], eax
mov ebx, dword [esp + 8]
add ebx, 0xfff6
cmp eax, 0xa
jl 0x7c4876
movzx edi, bx
mov ecx, eax
shl ebx, cl
or bx, word [ebp + 0x16b8]
mov word [ebp + 0x16b8], bx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
lea edx, [ecx + 1]
mov dword [ebp + 0x14], edx
mov byte [eax + ecx], bl
movzx eax, byte [ebp + 0x16b9]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x14]
lea esi, [edx + 1]
mov dword [ebp + 0x14], esi
mov byte [ecx + edx], al
mov eax, dword [ebp + 0x16bc]
mov cl, 0x10
sub cl, al
shr edi, cl
add eax, 0xfffffff7
jmp 0x7c4886
mov ecx, eax
shl ebx, cl
or bx, word [ebp + 0x16b8]
add eax, 3
jmp 0x7c4884
mov ecx, eax
shl ebx, cl
or bx, word [ebp + 0x16b8]
add eax, 7
mov edi, ebx
mov ebx, dword [esp]
mov word [ebp + 0x16b8], di
mov dword [ebp + 0x16bc], eax
xor ecx, ecx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x7c48ba
xor edx, edx
cmp ebx, eax
sete dl
mov eax, 4
sub eax, edx
mov dword [esp], eax
xor edx, 7
mov dword [esp + 4], edx
jmp 0x7c48c9
mov dword [esp + 4], 0x8a
mov dword [esp], 3
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x14]
mov edi, ebx
jmp 0x7c4434
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret