Function at 0x7509d4fc
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc9c
mov eax, dword [0x7509f008]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc8c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc88], eax
mov eax, dword [edx + 0x870]
add eax, 0x20
mov ecx, eax
shl ecx, 3
cmp ecx, 0x320
mov dword [ebp - 0xc98], ecx
jb 0x7509d544
xor eax, eax
jmp 0x7509d7db
shl eax, 4
push ebx
push esi
mov esi, eax
push edi
mov ecx, esi
mov ebx, ecx
shr ecx, 2
xor eax, eax
lea edi, [ebp - 0x644]
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, esi
shr ecx, 2
xor eax, eax
lea edi, [ebp - 0xc84]
rep stosd dword es:[edi], eax
mov ecx, esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [ebp + 0x18]
test eax, eax
jbe 0x7509d75d
mov ecx, dword [ebp + 0x14]
mov edi, dword [edx + 0x30]
shl ecx, 2
mov dword [ebp - 0xc90], ecx
mov ecx, dword [ebp + 0x10]
shl ecx, 2
mov dword [ebp - 0xc94], ecx
mov dword [ebp - 0xc9c], eax
mov esi, 0x400
mov ecx, dword [ebp - 0xc8c]
mov eax, dword [edx + 0x34]
xor ebx, ebx
and ecx, 7
inc ebx
shl ebx, cl
mov ecx, dword [ebp - 0xc8c]
shr ecx, 3
mov al, byte [eax + ecx]
test al, bl
mov eax, dword [ebp - 0xc8c]
jne 0x7509d5db
movzx eax, byte [eax + edi]
jmp 0x7509d66e
mov cl, byte [edi + eax]
cmp cl, 7
mov eax, dword [edx + 0x2c]
jae 0x7509d629
mov ebx, dword [ebp - 0xc94]
mov eax, dword [ebx + eax]
cmp eax, esi
jae 0x7509d5fd
movzx eax, byte [eax + edx + 0x45c]
jmp 0x7509d61d
cmp eax, 0x80000
jae 0x7509d614
shr eax, 9
movzx eax, byte [eax + edx + 0x45c]
add eax, 0x12
jmp 0x7509d61d
shr eax, 0x11
movzx eax, al
add eax, 0x22
movzx ecx, cl
lea eax, [ecx + eax*8 + 0x100]
jmp 0x7509d667
mov ecx, dword [ebp - 0xc94]
mov eax, dword [ecx + eax]
cmp eax, esi
jae 0x7509d640
movzx eax, byte [eax + edx + 0x45c]
jmp 0x7509d660
cmp eax, 0x80000
jae 0x7509d657
shr eax, 9
movzx eax, byte [eax + edx + 0x45c]
add eax, 0x12
jmp 0x7509d660
shr eax, 0x11
movzx eax, al
add eax, 0x22
lea eax, [eax*8 + 0x107]
add dword [ebp - 0xc94], 4
mov ecx, dword [ebp - 0xc88]
inc dword [ebp - 0xc8c]
xor ebx, ebx
and ecx, 7
lea eax, [ebp + eax*2 - 0x644]
inc word [eax]
mov eax, dword [edx + 0x34]
inc ebx
shl ebx, cl
mov ecx, dword [ebp - 0xc88]
shr ecx, 3
mov al, byte [eax + ecx]
test al, bl
mov eax, dword [ebp - 0xc88]
jne 0x7509d6ae
movzx eax, byte [eax + edi]
jmp 0x7509d741
mov cl, byte [edi + eax]
cmp cl, 7
mov eax, dword [edx + 0x2c]
jae 0x7509d6fc
mov ebx, dword [ebp - 0xc90]
mov eax, dword [ebx + eax]
cmp eax, esi
jae 0x7509d6d0
movzx eax, byte [eax + edx + 0x45c]
jmp 0x7509d6f0
cmp eax, 0x80000
jae 0x7509d6e7
shr eax, 9
movzx eax, byte [eax + edx + 0x45c]
add eax, 0x12
jmp 0x7509d6f0
shr eax, 0x11
movzx eax, al
add eax, 0x22
movzx ecx, cl
lea eax, [ecx + eax*8 + 0x100]
jmp 0x7509d73a
mov ecx, dword [ebp - 0xc90]
mov eax, dword [ecx + eax]
cmp eax, esi
jae 0x7509d713
movzx eax, byte [eax + edx + 0x45c]
jmp 0x7509d733
cmp eax, 0x80000
jae 0x7509d72a
shr eax, 9
movzx eax, byte [eax + edx + 0x45c]
add eax, 0x12
jmp 0x7509d733
shr eax, 0x11
movzx eax, al
add eax, 0x22
lea eax, [eax*8 + 0x107]
add dword [ebp - 0xc90], 4
inc dword [ebp - 0xc88]
lea eax, [ebp + eax*2 - 0xc84]
inc word [eax]
dec dword [ebp - 0xc9c]
jne 0x7509d5ab
xor esi, esi
xor edi, edi
cmp dword [ebp - 0xc98], esi
jbe 0x7509d7d6
mov ax, word [ebp + esi*2 - 0x644]
cmp ax, 0x100
movzx eax, ax
jae 0x7509d783
movzx eax, byte [eax + 0x7509d830]
jmp 0x7509d790
shr eax, 8
movzx eax, byte [eax + 0x7509d830]
add eax, 8
mov cx, word [ebp + esi*2 - 0xc84]
cmp cx, 0x100
movzx ecx, cx
jae 0x7509d7ab
movzx ecx, byte [ecx + 0x7509d830]
jmp 0x7509d7b8
shr ecx, 8
movzx ecx, byte [ecx + 0x7509d830]
add ecx, 8
mov eax, dword [eax*4 + 0x7509d7e8]
sub eax, dword [ecx*4 + 0x7509d7e8]
cdq
xor eax, edx
sub eax, edx
add edi, eax
inc esi
cmp esi, dword [ebp - 0xc98]
jb 0x7509d769
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
call fcn.750922a9
leave
ret 0x14