Function at 0x7e75cc
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
je 0x7e7612
cmp dword [edi + 0x604], 0
je 0x7e760c
mov esi, dword [edi + 0x5fc]
test esi, esi
je 0x7e7604
mov eax, esi
call fcn.0088b6d8
test al, al
jne 0x7e760c
mov esi, dword [edi + 0x604]
jmp 0x7e7612
mov esi, dword [edi + 0x5fc]
cmp byte [0x9154f8], 0
je 0x7e7674
test edi, edi
je 0x7e7674
test esi, esi
je 0x7e7674
mov eax, esi
call fcn.0088b6d8
test al, al
je 0x7e7674
cmp byte [esi + 0x1c], 0
jne 0x7e7674
mov eax, edi
call fcn.007cf180
call fcn.0088b6d8
test al, al
je 0x7e7674
movzx eax, byte [ebp + 0x10]
push eax
push 0
push 0
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, edi
call fcn.007cf180
mov edx, eax
movzx ecx, bl
mov eax, esi
call fcn.0088b904
test al, al
jne case.0x7e7680.5
movzx eax, bl
cmp eax, 8
ja case.0x7e7680.5
jmp dword [eax*4 + 0x7e7687]
movzx eax, byte [ebp + 0x10]
dec al
jne case.0x7e7680.5
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.00816a88
jmp case.0x7e7680.5
movzx eax, byte [ebp + 0x10]
dec al
jne case.0x7e7680.5
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp + 0xc]
dec esi
test esi, esi
jl case.0x7e7680.5
inc esi
movzx edx, word [eax]
shr edx, 8
mov byte [ebx + 2], dl
movzx edx, word [eax + 2]
shr edx, 8
mov byte [ebx + 1], dl
movzx edx, word [eax + 4]
shr edx, 8
mov byte [ebx], dl
add ebx, 3
add eax, 6
dec esi
jne 0x7e76e9
jmp case.0x7e7680.5
movzx eax, byte [ebp + 0x10]
dec al
jne case.0x7e7680.5
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp + 0xc]
dec esi
test esi, esi
jl case.0x7e7680.5
inc esi
movzx edx, byte [eax]
and dl, 0xff
mov byte [ebx + 2], dl
movzx edx, byte [eax + 2]
and dl, 0xff
mov byte [ebx + 1], dl
movzx edx, byte [eax + 4]
and dl, 0xff
mov byte [ebx], dl
add ebx, 3
add eax, 6
dec esi
jne 0x7e7732
jmp case.0x7e7680.5
movzx eax, byte [ebp + 0x10]
dec al
je 0x7e7849
dec al
je 0x7e7779
sub al, 2
je 0x7e77ac
dec al
je 0x7e77ed
jmp case.0x7e7680.5
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov esi, dword [ebp + 0xc]
dec esi
test esi, esi
jl case.0x7e7680.5
inc esi
movzx eax, byte [ebx + 2]
shl eax, 0x10
mov ax, word [ebx]
push eax
call fcn.007e749c
mov dword [edi], eax
add ebx, 3
add edi, 4
dec esi
jne 0x7e778c
jmp case.0x7e7680.5
mov ebx, dword [ebp - 4]
mov edi, dword [ebp - 8]
mov esi, dword [ebp + 0xc]
dec esi
test esi, esi
jl case.0x7e7680.5
inc esi
movzx eax, byte [ebx + 2]
shl eax, 0x10
mov ax, word [ebx]
push eax
lea eax, [ebp - 0x10]
call fcn.008727f8
mov ax, word [ebp - 0x10]
mov word [edi], ax
mov al, byte [ebp - 0xe]
mov byte [edi + 2], al
add ebx, 3
add edi, 3
dec esi
jne 0x7e77bf
jmp case.0x7e7680.5
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
mov esi, dword [ebp + 0xc]
dec esi
test esi, esi
jl case.0x7e7680.5
inc esi
mov ecx, ebx
movzx eax, byte [ecx + 2]
mov edx, dword [0x8e70c8]
imul dword [edx]
movzx edx, byte [ecx + 1]
mov edi, dword [0x8e6f20]
imul edx, dword [edi]
add eax, edx
movzx edx, byte [ecx]
mov ecx, dword [0x8e6668]
imul edx, dword [ecx]
add eax, edx
mov ecx, 0x64
cdq
idiv ecx
mov edx, dword [ebp - 0xc]
mov byte [edx], al
add ebx, 3
inc dword [ebp - 0xc]
dec esi
jne 0x7e7803
jmp case.0x7e7680.5
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + ecx*2]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0040e578
jmp case.0x7e7680.5
movzx eax, byte [ebp + 0x10]
dec al
jne case.0x7e7680.5
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp + 0xc]
dec esi
test esi, esi
jl case.0x7e7680.5
inc esi
lea edx, [ebp - 0x10]
mov eax, dword [edi]
call fcn.007e737c
mov ax, word [ebp - 0x10]
mov word [ebx], ax
mov al, byte [ebp - 0xe]
mov byte [ebx + 2], al
add ebx, 3
add edi, 4
dec esi
jne 0x7e787e
jmp case.0x7e7680.5
movzx eax, byte [ebp + 0x10]
dec al
jne case.0x7e7680.5
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp + 0xc]
dec esi
test esi, esi
jl case.0x7e7680.5
inc esi
mov eax, edi
mov dl, 0xff
sub dl, byte [eax]
mov byte [eax], dl
mov dl, 0xff
sub dl, byte [eax + 1]
mov byte [eax + 1], dl
mov dl, 0xff
sub dl, byte [eax + 2]
mov byte [eax + 2], dl
mov dl, 0xff
sub dl, byte [eax + 3]
mov byte [eax + 3], dl
lea edx, [ebp - 0x10]
mov eax, dword [edi]
call fcn.007e737c
mov ax, word [ebp - 0x10]
mov word [ebx], ax
mov al, byte [ebp - 0xe]
mov byte [ebx + 2], al
add ebx, 3
add edi, 4
add edi, 2
dec esi
jne 0x7e78c2
jmp case.0x7e7680.5
movzx eax, byte [ebp + 0x10]
dec al
jne case.0x7e7680.5
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp + 0xc]
dec esi
test esi, esi
jl case.0x7e7680.5
inc esi
movzx eax, byte [edi + 2]
shl eax, 0x10
mov ax, word [edi]
push eax
lea eax, [ebp - 0x10]
call fcn.00872bd4
mov ax, word [ebp - 0x10]
mov word [ebx], ax
mov al, byte [ebp - 0xe]
mov byte [ebx + 2], al
add edi, 3
add ebx, 3
dec esi
jne 0x7e791e
jmp case.0x7e7680.5
movzx eax, byte [ebp + 0x10]
dec al
jne case.0x7e7680.5
mov edi, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov esi, dword [ebp + 0xc]
dec esi
test esi, esi
jl case.0x7e7680.5
inc esi
movzx eax, byte [edi + 2]
push eax
movzx ecx, byte [edi + 1]
movzx edx, byte [edi]
mov eax, ebx
call fcn.0088db08
add edi, 3
add ebx, 3
dec esi
jne 0x7e7960
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc